OSDN Git Service

* genrecog.c (pred): Update comparison_operator for the unordered
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-04-09  Richard Henderson  <rth@cygnus.com>
2
3         * genrecog.c (pred): Update comparison_operator for the unordered
4         operators.
5
6         * config/i386/i386.c (no_comparison_operator): Disallow unordered
7         operators.
8         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
9         (uno_comparison_operator): New.
10         (put_condition_code): Handle UNORDERED/ORDERED.
11         (unsigned_comparison): Likewise.
12         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
13         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
14         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
15         update all callers.  Handle all 8 unordered operators.
16         (ix86_expand_setcc): Lose the unordered argument, update all callers.
17         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
18         * config/i386/i386.h (PREDICATE_CODES): Update.
19         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
20         (ix86_expand_branch, ix86_expand_setcc): Update.
21         * config/i386/i386.md (sunordered, sordered): New.
22         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
23         (bunordered, bordered): New.
24         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
25         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
26         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
27
28 2000-04-09  Philip Blundell  <philb@gnu.org>
29
30         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
31         
32 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
33
34         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
35         fix_truncxfhi2): New patterns.
36         * i386.c (output_fix_trunc): Handle converting to HImode.
37
38 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
39
40         * ssa.c (convert_to_ssa): Eliminate dead code when calling
41         life_analysis.  
42         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
43         (for_each_successor_phi): Change parameter to basic_block.
44         (coalesce_regs_in_successor_phi_nodes): Likewise.
45         (coalesce_regs_in_copies): Likewise.
46         (compute_coalesced_reg_partition): Use basic_block instead of index.
47         * rtl.h (convert_to_ssa): Delete.
48         (convert_from_ssa): Likewise.
49         (successor_phi_fn): Likewise.
50         (for_each_successor_phi): Likewise.
51         (in_ssa_form): Likewise.
52         * basic-block.h (convert_to_ssa): Moved from rtl.h.
53         (convert_from_ssa): Likewise.
54         (successor_phi_fn): Likewise.
55         (in_ssa_form): Likewise.
56         (for_each_successor_phi): Likewise.  Change parameter to basic_block. 
57         * flow.c (calculate_global_regs_live): Pass a basic_block to
58         for_each_successor_phi.
59
60 2000-04-08  Richard Henderson  <rth@cygnus.com>
61
62         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
63         was modified in the current insn.
64
65 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
66
67         * arm/thumb.md: Delete.
68         * arm/thumb-protos.h: Delete.
69
70 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
71
72         Merge changes from merged-arm-thumb-backend-branch onto trunk.
73
74         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
75
76         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
77         into branch.
78
79         * arm.md (nop): Use the standard RTL expression.  Don't code as a
80         define_expand.
81         (*arm_nop, *thumb_nop): Delete.
82
83         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
84         constants.  Use casts instead.
85         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
86         output_multi_immediate, arm_poke_function_name): Likewise.
87         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
88         MASK_RETURN_ADDDR): Likewise.
89
90         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
91
92         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325 
93         into branch.
94         
95         * arm.md (eh_epilogue): New function.
96         * arm.h (struct machine_function): Move to here ...
97         * arm.c: ... from here.
98         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
99         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
100         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
101
102         2000-03-30  Nick Clifton  <nickc@cygnus.com>
103
104         * config/arm/semi.h (ASM_SPEC): Restore definition.
105         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
106
107         * config/arm/elf.h (ASM_SPEC): Restore definition.
108         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
109
110         * config/arm/arm.h (ASM_SPEC): Remove definition.
111         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
112
113         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
114
115         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
116
117         2000-03-24  Nick Clifton  <nickc@cygnus.com>
118
119         Various formating tidyups, elimination of compile time
120         warnings and synchronisation with internal sources:
121         
122         * config/arm/arm-protos.h (assemble_align): Add prototype.
123         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
124         (gen_comapre_reg): Rename to arm_gen_compare_reg.
125         (arm_return_addr_rtx): Rename to arm_return_addr.
126
127         * config/arm/arm.c: Include except.h.
128         Define shorter typenames for strict minipool_node and struct
129         minipool_fix.
130         (arm_return_in_memory): For WinCE return all structures <= 32 bits
131         in memory.
132         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
133         (gen_comapre_reg): Rename to arm_gen_compare_reg.
134
135         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
136         already defined.
137         (ASM_SPEC): Define if not already defined.
138         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
139
140         * config/arm/arm.md: Rename references to gen_rotated_half_load to
141         arm_gen_rotated_half_load, and references to gen_comapre_reg to
142         arm_gen_compare_reg.
143         (indirect_jump):  Only accept register operands.
144         (load_indirect_jump): Keep this pattern since combine can generate
145         it.
146
147         * config/arm/coff.h: Include aout.h.
148         (MULTILIB_DEFAULTS): Only define if not already defined.
149
150         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
151         into arm.h (so that COFF ports can support thumb based aliases).
152         (ASM_SPEC): Move definition into arm.h
153         
154         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
155         redundant apcs spec.
156         (ASM_SPEC): Move definition to arm.h
157
158         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
159
160         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
161         for entries in the .bss section
162
163         2000-03-23  Nick Clifton  <nickc@cygnus.com>
164
165         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
166         to thumb_far_jump_used_p.
167
168         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
169         single integer parameter.
170
171         * config/arm/arm.c (struct machine_function): Add two new
172         fields, 'far_jump_used' and 'arg_pointer_live'.
173         (thumb_far_jump_used_p): Once the decision has been made that
174         far jumps might be used, always return true.
175         If being called from the initial elimination offset macro then
176         do not bother to perform the test if the arg pointer is not
177         being used.
178         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
179         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
180
181         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
182
183         * arm.c (output_return_instruction): Handle more cases where we can
184         return from a function with an ldr instruction.
185         (arm_output_epilogue): Likewise.
186
187         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
188         if we need to push a large stack frame and there are no callee-saved
189         registers.
190
191         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
192         in ARM code if the frame pointer has been eliminated.
193
194         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
195         unspec_volatile arguments to avoid duplicates.
196         (consttable_1, consttable_2): Fixes for big-endian mode.
197
198         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
199         as appropriate.
200
201         Re-write constant pool code.
202         * arm.c (minipool_node, minipool_fix): New types.
203         (minifix): Delete type.
204         (arm_add_minipool_constant): Delete.
205         (arm_compute_minipool_offsets, arm_find_barrier, 
206         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
207         (get_jump_table_size): Now returns HOST_WIDE_INT.
208         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
209         functions.
210         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
211         (assign_minipool_offsets, arm_print_value): Likewise.
212         (dump_minipool): Rewrite.
213         (arm_barrier_cost): New function.
214         (create_fix_barrier): New function.
215         (push_minipool_barrier): New function.
216         (push_minipool_fix): Record additional information about the fixup 
217         required.
218         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
219         check the mode of what needs fixing.
220         (arm_reorg): Rewrite.
221
222         2000-03-08  Nick Clifton  <nickc@cygnus.com>
223
224         * config/arm/arm.md (indirect_jump): Force constant addresses into
225         a register. 
226
227         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
228
229         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
230
231         2000-02-24  Nick Clifton  <nickc@cygnus.com>
232
233         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
234         adjust is word aligned.
235         (thumb_expand_epilogue): Make sure that stack adjust is word
236         aligned.
237
238         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
239         
240         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
241
242         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
243         pointer relative addresses.
244
245         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
246
247         * arm.c (find_barrier): Find the last barrier within the allowed 
248         range.
249
250         2000-02-09  Nick Clifton  <nickc@cygnus.com>
251
252         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
253
254         2000-02-09  Nick Clifton  <nickc@cygnus.com>
255
256         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
257         ARM_FUNCTION_PROFILER. 
258
259         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
260         ARM_FUNCTION_PROFILER. 
261
262         * config/arm/linux-oldld.h: Imported from mainline sources.
263
264         2000-02-07  Nick Clifton  <nickc@cygnus.com>
265
266         * config/arm/lib1funcs.asm: Merge in thumb functions from
267         lib1thumb.asm.
268         
269         * config/arm/lib1thumb.asm: Delete.
270
271         2000-02-04  Nick Clifton  <nickc@cygnus.com>
272
273         * config/arm/arm.c: Sychronised with current Red hat local
274         sources. 
275         * config/arm/arm.h: Ditto.
276         * config/arm/arm-protos.h: Ditto.
277
278         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
279
280         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
281
282         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
283         byte stores.
284
285         2000-02-02  Nick Clifton  <nickc@cygnus.com>
286
287         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
288
289         * config/arm/arm.md (epilogue): Fix rtl checking abort because
290         (return) was emited using an emit_insn() call. 
291         
292         2000-01-31  Nick Clifton  <nickc@cygnus.com>
293
294         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
295         thumb stack frame.
296         (thumb_exit): Move frame pointer back into hard frame pointer
297         register if backtracing is being used.
298
299         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
300
301         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113 
302         into branch.
303
304         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
305
306         * config/arm/arm.md (neg_pool_offset): Provide default for new
307         attribute.
308         (arm_movsi_insn): Add neg_pool_offset attribute.
309         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
310         rtx for the insn that starts the scan and an unsigned long for its
311         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
312         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
313         instructions in *PINSERTED.
314         (struct minipool_fixup): Add MIN_ADDRESS elt.
315         (sort_fixups): Compute it.
316         (arm_reorg): Changes to support inserting pools before the insn to be
317         fixed up.
318
319         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
320
321         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
322         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
323         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
324
325         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
326
327         * config/arm/semi.h (TARGET_VERSION): Do not define if already
328         defined.
329         (TARGET_DEFAULT): Do not define if already defined.
330
331         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
332
333         * config/arm/arm.md (anddi3): Allow disjoint source operands.
334         (iordi3): Allow disjoint source operands.
335         (xordi3): Allow disjoint source operands.
336         (negdi2): Permit construction for ARM and Thumb.
337         (arm_negdi2): Renamed version of old negdi2 pattern.
338         (thumb_negdi2): New pattern: Only permit non-overlapping
339         source and destination.
340
341         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
342
343         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
344         scratch low register so that it will not be deleted.
345
346         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
347
348         * config/arm/pe.h (ARM_PE): Define.
349         
350         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
351         interfacearm attribute if this is a PE toolchain.
352         (output_return_instruction): Do not emit anything if the function
353         has the naked attribute set.
354         (is_called_in_ARM_mode): If the function has the interfacearm
355         attribute then return true.
356         (thumb_expand_prologue): Do not generate a prologue for naked
357         functions.
358         (thumb_expand_epilogue): Do not generate an epilogie for a naked
359         function.
360         (output_thumb_prologue): Do not bother if the function is naked.
361         Strip PE encoding from function name before emitting.
362
363         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
364
365         * arm.md (pic_load_addr): Fix constraints.
366
367         * arm.md (casesi_insn): Fix mis-applied patch.
368
369         * arm.md ("core" function unit): Add rules for single- and
370         multi-cycle insns.
371         (All TARGET_THUMB patterns): Add "type" attribute information
372         where needed.
373         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
374         the following insn is a CALL.
375
376         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
377         pointer.
378         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the 
379         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
380         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
381         
382         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
383
384         * config/arm/linux-gas.h: oops - this file was missed out when the
385         branch was created...
386
387         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
388
389         * thumb.c: Deleted.  Move contents to ...
390         * arm.c: ... here.
391         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
392         rule for thumb.o
393         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
394         * configure: Regen.
395
396         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
397         declare a prototype for asm_output_align();
398
399         * arm.c (thumb_condition_code): Delete.
400         (arm_print_operand): Always use arm_condition_code array.
401
402         * arm.c (thumb_return_addr_rtx): Delete.
403         (arm_save_machine_status, arm_restore_machine_status): Delete.
404         (arm_init_machine_status, arm_mark_machine_status): New functions.
405         (arm_init_expanders): Update accordingly.
406         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
407         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
408         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
409         
410         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
411
412         * configure.in : Fix arm-*-aout target to use new t-arm-aout
413         script. 
414         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
415         targets.
416
417         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
418
419         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
420         stack backtrace structure.
421
422         * config/arm/arm-protos.h: Add prototypes for functions defined in
423         arm/pe.h.
424         
425         * config/arm/arm.c (arm_override_options): Fix selection of 
426         attributes of default processor.
427         
428         * config/arm/coff.h: Delete needless #include.
429         
430         * config/arm/pe.c: Delete unused code.
431         
432         * config/arm/pe.h (CPP_DEFINES): Delete
433         (SUBTARGET_CPP_SPEC): Define.
434         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
435         
436         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
437
438         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
439
440         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
441         updated.
442         (CAN_DEBUG_WITHOUT_FP): Define.
443         (FIXED_REGISTERS): Make r11 call-saved.
444         (CALL_USED_REGISTERS): Likewise.
445         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
446         (FRAME_POINTER_REQUIRED): Correct logic for determining when a 
447         frame-pointer is required.
448         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
449         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
450         if the target normally needs a stack frame in non-leaf functions.
451         (use_return_insn): Correct logic for determining when a return
452         instruction can be used.
453         (output_return_instruction): Handle the frame-pointer register as
454         a normal register when not TARGET_APCS_FRAME.
455         (arm_output_prologue): Likewise.
456         (arm_output_epilogue): Likewise.
457         (output_func_epilogue): Likewise.
458         (arm_expand_prologue): Likewise.
459         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
460
461         * arm.c (use_return_insn): No need to check floating point regs if
462         TARGET_SOFT_FLOAT.
463         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
464         the code of value stored in the minipool array.
465         (arm_add_minipool_constant): Likewise.
466
467 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
468
469         * basic-block.h (conflict_graph_enum_fn): K&R fix.
470
471 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
472
473         * tree.c (tree_expr_nonnegative_p): New function.
474
475         * tree.h (tree_expr_nonnegative_p): Declare.
476
477         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
478         elide some sign_compare warnings.
479         (build_conditional_expr): Likewise.
480
481 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
482
483         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
484
485         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
486         * i386.c (print_operand): Use the proper suffix for a 387 HImode
487         operand.  Abort if a 387 operand has an unsupported size.
488
489 2000-04-08  Neil Booth  <NeilB@earthling.net>
490
491         * cppexp.c (parse_charconst): Null does not end character
492         constants.
493         * cppinit.c (ISTABLE): Null character handled as whitespace.
494         * cpplex.c (null_warning):  new function.
495         (skip_string): Emit warning if nulls encountered.
496         (_cpp_skip_hspace): Emit warning if nulls encountered.
497         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
498         them.
499         * cpp.texi: Update.
500
501 2000-04-07  Richard Henderson  <rth@cygnus.com>
502
503         * flow.c (loop_depth): Remove.
504         (reg_next_use, cc0_live, mem_set_list): Replace with ...
505         (struct propagate_block_info): New.
506         (life_analysis): Don't allocate reg_next_use.
507         (propagate_block_delete_insn): Break out of propagate_block.
508         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
509         (propagate_block_delete_libcall): Likewise.
510         (propagate_block): Create a propagate_block_info struct to pass
511         to subroutines.  Allocate one not two temporary regsets.  Don't
512         clobber memory for const calls.  Look for clobbers in
513         CALL_INSN_FUNCTION_USAGE.
514         (mark_set_regs): Recognize COND_EXEC.
515         (mark_set_reg): Break out of mark_set_1.
516         (mark_used_reg): Break out of mark_used_regs.
517         (mark_used_regs): Recognize COND_EXEC.
518         (insn_dead_p): Use propagate_block_info struct.
519         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
520         (find_auto_inc, try_pre_increment_1): Likewise.
521         (print_rtl_with_bb): Dump regs live at end too.
522         (count_reg_sets_1): Pass in loop_depth.
523         (count_reg_sets, count_reg_references): Likewise.
524         (recompute_reg_usage): Provide it.
525
526 2000-04-07  Richard Henderson  <rth@cygnus.com>
527
528         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
529         not the raw files.
530
531 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
532
533         * cpplib.c (do_elif): Skip the rest of the line if we're
534         not going to bother evaluating it.
535         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
536         to avoid pointless calls to the lexer.
537
538 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
539
540         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
541
542 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
543
544         * calls.c (expand_call): emit_queue if we're trying a sibcall.
545
546 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
547
548         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
549
550 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
551
552         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
553         crtend so they can be multilibbed.
554         (STAGESTUFF): Remove s-crt and s-crtS.
555
556 2000-04-07  Richard Henderson  <rth@cygnus.com>
557
558         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
559         if we discover we need a pseudo and no_new_pseudos is true.
560         * config/alpha/alpha.md (ne:DI insn): New.
561         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
562
563 2000-04-07  Richard Henderson  <rth@cygnus.com>
564
565         * rtl.def (COND_EXEC): New.
566         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
567         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
568
569         * genconfig.c (have_cond_arith_flag): Remove.
570         (have_cond_exec_flag): New.
571         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
572         (main): Print HAVE_conditional_execution.
573
574         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
575         (sched_analyze_insn, print_pattern): Likewise.
576         * reload.c (find_equiv_reg): Likewise.
577         * rtlanal.c (reg_referenced_p): Likewise.
578         (note_stores, dead_or_set_regno_p): Likewise.
579         (reg_overlap_mentioned_p): Rewrite to use a switch.
580
581         * ggc.h (struct rtx_def): Forward declare.
582
583         * print-rtl.c (debug_rtx_range): New.
584         * rtl.h (debug_rtx_range): Declare.
585
586         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
587
588         * gcse.c (gcse_main): Don't rebuild the CFG here.
589         (delete_null_pointer_checks): Likewise.
590         * ssa.c (convert_to_ssa): Likewise.
591         * toplev.c (rest_of_compilation): Do it here instead.  Combine
592         sequential calls to TIMEVAR.  Consistently use `insns' instead of
593         `get_insns()'.  Always split insns after reload when optimizing.
594
595         * basic-block.h (merge_blocks_nomove): Declare.
596         (tidy_fallthru_edge): Declare.
597         * flow.c (merge_blocks_nomove): Document as merging into previous
598         blocks.  Remove cruft from between blocks; remove all edges out of A.
599         (tidy_fallthru_edge): Export.
600
601 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
602
603         * ssa.c (compute_conservative_reg_partition): Declare with
604         void arguments.
605         * toplev.c (clean_dump_file): Remove previously-deleted function
606         inadvertantly merged back in.
607         * conflict.c (conflict_graph_add): Use a single call to
608         htab_find_slot to look up and insert.
609
610 2000-04-06  Richard Henderson  <rth@cygnus.com>
611
612         * genrecog.c (*): Rename _last_insn to last_insn.
613         (make_insn_sequence): Set the position of the peephole2 C test
614         to be at the last insn.
615
616 2000-04-06  Richard Henderson  <rth@cygnus.com>
617
618         * flow.c (compute_flow_dominators): Free worklist.
619
620 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
621
622         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
623
624 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
625
626         * rtl.h (INSN_P): New macro.
627         (successor_phi_fn): New typedef.
628         (for_each_successor_phi): New prototype.
629         (in_ssa_form): New variable.
630         (PHI_NODE_P): Likewise.
631         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
632         phi nodes in successors.
633         (mark_used_regs): Add PHI case.
634         (set_phi_alternative_reg): New function.
635         (life_analysis): Assert that dead code elimination is not selected
636         when in SSA form.
637         * toplev.c (to_ssa_time): New variable.
638         (from_ssa_time): Likewise.
639         (compile_file): Zero to_ssa_time and from_ssa_time.
640         Print time to convert to and from SSA.
641         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
642         (print_time): Compute percent fraction as integer.
643         * ssa.c (PHI_NODE_P): Moved to rtl.h.
644         (convert_to_ssa): Check if we're already in SSA.  
645         Don't eliminate dead code in life_analysis.
646         Rerun flow and life analysis at bottom.
647         (eliminate_phi): Use canonical regnos when adding nodes.
648         (mark_reg_in_phi): New function.
649         (mark_phi_and_copy_regs): Likewise.
650         (convert_from_ssa): Rerun life analysis at top.  
651         Use coalesced partition.
652         Check for removing a phi node at the end of the block.
653         (compute_coalesced_reg_partition): New function.
654         (coalesce_regs_in_copies): Likewise.
655         (coalesce_reg_in_phi): Likewise.
656         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
657         (for_each_successor_phi): Likewise.
658         (rename_context): New struct.
659         (rename_block): Use a rename_context with rename_insn_1.  When
660         renaming sets of a subreg, emit a copy of the entire reg first.
661         (rename_insn_1): Treat data as a rename_context *.  Save current
662         insn in set_data.
663         (rename_set_data): Add field set_insn.
664         * Makefile.in (HASHTAB_H): Move up in file.
665         (OBSTACK_H): New macro.
666         (collect2.o): Use OBSTACK_H in dependencies.
667         (sdbout.o): Likewise.
668         (emit-rtl.o): Likewise.
669         (simplify-rtx.o): Likewise.
670         (fix-header.o): Likewise.
671         (OBJS): Add conflict.o.
672         (conflict.o): New rule.
673         * basic-block.h: Include partition.h.
674         (conflict_graph): New typedef.
675         (conflict_graph_enum_fn): Likewise.
676         (conflict_graph_new): New prototype.
677         (conflict_graph_delete): Likewise.
678         (conflict_graph_add): Likewise.
679         (conflict_graph_conflict_p): Likewise.
680         (conflict_graph_enum): Likewise.
681         (conflict_graph_merge_regs): Likewise.
682         (conflict_graph_print): Likewise.
683         (conflict_graph_compute): Likewise.
684         * conflict.c: New file.
685
686 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
687
688         * tlink.c (read_repo_files): Don't look for .rpo info for
689         linker flags.
690
691 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
692
693         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
694
695 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
696
697         * config/sh/lib1funcs.asm (___udivsi3_i4):
698         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
699         only depends on FMOVD_WORKS.
700
701 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
702
703         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
704         make double constant 8-byte aligned.
705
706 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
707
708         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
709         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
710         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
711         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
712         Accept storing GENERAL_REGS into offsetable memory.
713         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
714         building a TFmode constant other than 0.0L into GENERAL_REGS.
715
716 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
717
718         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
719         
720 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
721
722         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
723         (macro_cleanup): No need to cast pbuf->macro.
724         (collect_expansion): Use _cpp_get_define_token.  Goto done if
725         it returns VSPACE.  Remove check for trailing space after
726         CPP_COMMENT.
727         (_cpp_create_definition): Don't diddle flags here.  Return
728         directly on error.
729         (unsafe_chars): Handle c1 being EOF.
730         (push_macro_expansion): Use unsafe_chars for both accidental-paste
731         checks.  Don't push the buffer till after we're done with
732         them.
733         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
734         (PEEKN, FORWARD, GETC, PEEKC): Use them.
735         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
736         appropriately.
737         (_cpp_parse_assertion): Don't NUL terminate.
738         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
739         hspace before calling _cpp_parse_assertion.  Remove all sets
740         of only_seen_white. Treat '\f' as hspace.  Don't do anything
741         special with '\n' here.
742         (maybe_macroexpand): Handle T_EMPTY hash entries without
743         pushing a buffer at all.
744         (cpp_get_token): Handle clearing only_seen_white here.  Handle
745         incrementing the line number here.  Clear
746         potential_control_macro as well as only_seen_white, if
747         appropriate.
748         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
749         (_cpp_get_define_token): New function, basically like
750         _cpp_get_directive_token was but doesn't eat horizontal space.
751         Don't do anything with only_seen_white here.
752         (_cpp_get_directive_token): Just call _cpp_get_define_token
753         repeatedly till it returns non-hspace.
754
755         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
756         (conditional_skip, skip_if_group): Return int.
757         (DIRECTIVE_TABLE): Change origin of all conditional directives
758         to "COND".
759         (TRAD_DIRECT_P): New macro.
760         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
761         an error for a bogus directive, unless -lang-asm.  Use
762         TRAD_DIRECT_P. Loop calling handler functions till one returns
763         zero.
764         (get_macro_name): Don't diddle flags here.
765         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
766         Create T_EMPTY nodes for #define macro /* nothing */.
767         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
768         Use hp->name when calling pass_thru_directive.
769         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
770         Return the result of conditional_skip and/or skip_if_group.
771         Don't call _cpp_output_line_command.
772         (consider_directive_while_skipping): Use _cpp_get_directive_token.
773         Issue -Wtraditional warnings as appropriate.  Don't complain
774         about unrecognized directives.  If we are to stop skipping,
775         return the number of the directive that ended the skip.
776         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
777         expansion and line commands while skipping.  Return the result
778         of consider_directive_while_skipping, if nonzero.
779         (do_endif): Just set potential_control_macro here.
780         (validate_else): Use _cpp_get_directive_token.
781         (do_assert, do_unassert): Don't save pointers into the
782         token_buffer across calls to the lexer.  Use
783         _cpp_get_directive_token.  
784
785         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
786         pointer, not an offset.  Replace 'data', which was a generic
787         pointer, with 'macro', which points to a struct hashnode.
788         (cpp_reader): Add 'potential_control_macro' pointer.
789         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
790         (CPP_BUF_GET, CPP_FORWARD): Delete.
791         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
792         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
793         ACTIVE_MARK_P): Update.
794         (_cpp_get_define_token): New internal function.
795         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
796
797 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
798
799         * configure.in: And here.
800         * configure: Regenerate.
801         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
802         --enable-libstdcxx-v3 is passed at configure time.
803         * config.h.in: Regenerate.
804
805 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
806
807         * final.c (final): Use xcalloc to allocate line_note_exists.
808         * function.c (free_after_compilation): Free the temp_slots.
809         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
810         (combine_temp_slot): Free temp_slots when they get combined.
811         (purge_addressof): Fix typo in comment.
812         * stmt.c (mark_goto_fixup): Mark the fixup itself.
813         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
814
815         * ggc.h: Include varray.h.
816         (ggc_pending_trees): Declare.
817         (ggc_mark_tree_children): Remove declaration.
818         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
819         * ggc-common.c (ggc_pending_trees): New variable.
820         (ggc_mark_roots): Call ggc_mark_trees.
821         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
822         the ggc_pending_trees.
823         * Makefile.in (GGC_H): New variable.  Use it throughout in place
824         of ggc.h.
825         
826 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
827
828         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
829         GET_MODE_SIZE.
830
831 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
832
833         * sh.c (sh_insn_length_adjustment): New function.
834         * sh-protos.h (sh_insn_length_adjustment): Declare.
835         * sh.h (ADJUST_INSN_LENGTH): Use it.
836
837 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
838
839         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
840         from the insn where REG_RETVAL is added.
841         (emit_no_conflict_block): Ditto.
842
843         * md.texi (Standard Names): Clarify when movX is needed.
844
845         * combine.c (simplify_comparison) [MINUS]: Do not replace
846         all (op (minus A B) 0) with (op A B).
847
848 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
849                           J"orn Rennecke <amylaar@cygnus.co.uk>
850
851         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
852         (block_lump_real): Likewise.
853
854 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
855
856         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
857         remaining non-zero debugging masks.
858
859 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
860
861         * basic-block.h (verify_flow_info): Declare.
862         (flow_loop_outside_edge_p): Declare.
863         * flow.c (verify_flow_info): Remove declaration.
864         (clear_log_links, flow_loop_outside_edge_p): Likewise.
865
866 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
867
868         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
869         not C++ comments.
870
871 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
872
873         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
874         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
875         seqdi_zero_trunc+1): Allow splits only if registers are
876         different.
877
878 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
879
880         * acconfig.h: Add HAVE_GAS_HIDDEN.
881         * config.in: Regenerated.
882         * configure.in: Add test for .hidden pseudo-op in gas.
883         * configure: Regenerated.
884         * crtstuff.c: Include auto-host.h.
885         Emit additional .hidden pseudo-op for __dso_handle if the
886         assembler knows about it.
887
888 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
889
890         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
891         before freeing argnames.
892         * cpplib.c (do_ifndef): Cast return value of xstrdup.
893
894 2000-04-05  Michael Meissner  <meissner@redhat.com>
895
896         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
897         Walton <jonboy@gordian.com> to make memory references with update
898         work wtih -mregnames.
899
900 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
901
902         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
903         (regrename_optimize): Rename variables `def_uses' and
904         `ext_basic_blocks' to avoid conflicts with similarly named
905         typedefs in traditional C.
906
907         * calls.c (initialize_argument_information): Fix typo in previous
908         change.
909
910 2000-04-04  Richard Henderson  <rth@cygnus.com>
911
912         * regrename.c (consider_available): Test fixed_regs not
913         PIC_OFFSET_TABLE_REGNUM.
914
915 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
916
917         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
918         crtend.
919         (CRTSTUFF_T_CFLAGS_S): Delete definition.
920         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
921         (ENDFILE_LINUX_SPEC): Always use crtend.
922         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
923         (powerpc-*-linux-gnu): Likewise.
924         * configure: Regenerate.
925
926         * config/rs6000/eabi.h: Don't include sysv4.h.
927         (MULTILIB_DEFAULTS): Don't define.
928         * config/rs6000/eabiaix.h: Don't include eabi.h.
929         * config/rs6000/eabile.h: Delete.
930         * config/rs6000/eabilesim.h: Delete.
931         * config/rs6000/eabisim.h: Don't include eabi.h.
932         * config/rs6000/linux.h: Don't include sysv4.h.
933         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
934         (MULTILIB_DEFAULTS): Don't redefine.
935         * config/rs6000/rtems.h: Don't include eabi.h.
936         * config/rs6000/sol2.h: Don't include sysv4le.h.
937         * config/rs6000/sysv4le.h: Don't include sysv4.h.
938         * config/rs6000/t-ppc: Delete.
939         * config/rs6000/t-ppcgas: Correct comment.
940         * config/rs6000/t-ppcos: Correct comment.  Don't build 
941         multilibs for -fPIC, rather use -fPIC -mstrict-align 
942         as default.
943         * config/rs6000/t-ppc: Delete.
944         * config/rs6000/vxppc.h: Don't include sysv4.h.
945         * config/rs6000/vxppcle.h: Delete.
946         * configure.in: Use multiple header files for p2pc ELF targets
947         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
948         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
949         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
950         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
951         always available for these platforms.
952
953 2000-04-04  Richard Henderson  <rth@cygnus.com>
954
955         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
956
957 2000-04-04  Stan Cox  <scox@cygnus.com> 
958
959         * Makefile.in: Add rules for regrename.o
960         * regrename.c: New file.
961         * rtl.h (regrename_optimize): Add prototype.
962         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
963         (compile_file, decode_d_option): Add support for -frename-registers.
964         (rest_of_compilation): Call regrename_optimize.
965         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
966         New macros.     
967         
968 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
969
970         * Makefile (gccbug): New target.
971         (doc): Depend on it.
972         * gcc.texi (Bugs): Link subnodes.
973         (gccbug): New node.
974         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
975         Document severities, priorities, and classes in bug form.
976
977 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
978
979         * cpplex.c (trigraph_map, speccase): Combine into single
980         table, chartab.
981         (NORMAL, NONTRI): New macros.
982         (_cpp_read_and_prescan): Change to use unified table.  Use
983         is_hspace to test for whitespace.
984
985         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
986         definition that doesn't provoke the "empty body in an
987         if-statement" warning.
988
989 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
990
991         * builtins.c (expand_builtin_strlen): Force the source to
992         be a memory address.
993
994 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
995
996         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
997
998 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
999
1000         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1001          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
1002         (ECF_IS_CONST): Rename to ECF_CONST.
1003         (special_function_p): Make static, change interface.
1004         (flags_from_decl_or_type, try_to_integrate): Break out from ...
1005         (expand_call) ... here; convert number of variables to flags.
1006         (emit_library_call_vlue_1): Likewise.
1007         (setjmp_call_p): New function.
1008         (initialize_argument_information): Accepts flags as argument;
1009         return flags.
1010         (precompute_arguments): Likewise.
1011         * tree.h (special_function_p): Remove.
1012         (setjmp_call_p): Add prototype.
1013
1014 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
1015
1016         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1017         so that addresses are offsetable by up to 16 bytes.
1018         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1019         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1020         offsetable.
1021
1022         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1023         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1024         (movsf): Don't force any constant to memory if target is integer
1025         hard register.
1026         Move fp_zero_operand check below the const0_rtx check.
1027         (movtf): Likewise. Also allow fp_zero_operand for stores into
1028         memory.
1029         (movdf): Likewise. Also allow fp_zero_operand for stores into
1030         memory and into integer hard registers.
1031         (clear_df, clear_dfp, movdf_const_intreg_sp32,
1032         movdf_const_intreg_sp64): Remove.
1033         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
1034         conditions.
1035         (movdf_no_e_insn_v9_sp32): New pattern.
1036         (movdf_insn_v9only): Remove.
1037         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
1038         (movdf_insn_sp64): Remove.
1039         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
1040         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
1041         (following splits): Rewrite conditions. Add two new splits
1042         for storing 0.0 into memory and registers.
1043         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
1044         (movtf_insn_sp32): Redo constraints and conditions.
1045         (movtf_insn_vis_sp32): New pattern.
1046         (movtf_no_e_insn_sp32): Redo constraints and conditions.
1047         (movtf_insn_hq_sp64): Likewise.
1048         (movtf_insn_hq_vis_sp64): New pattern.
1049         (movtf_insn_sp64): Redo constraints and conditions.
1050         (movtf_insn_vis_sp64): New pattern.
1051         (movtf_no_e_insn_sp64): Redo constraints and conditions.
1052         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
1053         or memory.
1054         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
1055         -mvis or -m64 to take down the number of various reload patterns.
1056
1057 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
1058
1059         * pa/pa-64.h: New file.
1060         * pa/pa64-regs.h: New file.
1061         * pa/pa64-start.h: New file.
1062         * pa/t-pa64: New file.
1063         * pa/xm-pa64hpux.h: New file.
1064
1065 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1066
1067         * sparc.c (output_restore_regs): Prototype.
1068         (sparc_emit_float_lib_cmp): Constification.
1069
1070         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
1071
1072         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
1073         Prototype.
1074
1075         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
1076         (get_value_hash, hash_rtx): Likewise.
1077
1078         * ssa.c (compute_conservative_reg_partition): Prototype.
1079
1080         * tree.c (mark_hash_entry): Prototype.
1081
1082 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
1083
1084         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
1085         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
1086         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
1087
1088         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
1089         * objc/lang-specs.h: Likewise.
1090
1091 2000-04-03  Neil Booth  <NeilB@earthling.net>
1092
1093         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
1094         and SYNTAX_ERROR2. Replace `' in messages with ''.
1095         (op_to_str): Make re-entrant.
1096         (_cpp_parse_expr): Implement new error macros. Use | rather
1097         than || to logically or 2 boolean integers.  Simply expression
1098         checking we have a left operand iff needed.
1099
1100 2000-04-03  Nick Clifton  <nickc@cygnus.com>
1101
1102         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
1103
1104 2000-04-03  Philip Blundell  <philb@gnu.org>
1105
1106         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
1107
1108 2000-04-03  Felix Lee  <flee@cygnus.com>
1109
1110         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
1111         (run_shell): Use it. 
1112
1113 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
1114
1115         * Makefile.in (stmp-int-hdrs): Make include subdir here...
1116         (stmp-fixproto): ...rather than here.
1117
1118 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
1119
1120         * pa.c (print_operand): Compute 'base' only inside the code paths
1121         that use it.
1122
1123 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
1124
1125         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
1126         CEIL_DIV_EXPR.
1127
1128 2000-04-03  Philipp Thomas  <pthomas@suse.de>
1129
1130         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
1131
1132 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
1133
1134         * Makefile.in (alias.o): Depend on $(TREE_H).
1135
1136 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
1137
1138         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
1139         processing C++.
1140         * cpplib.c (_cpp_handle_directive): Improve warnings for
1141         traditional C and indented directives.
1142
1143         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
1144         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
1145         fixinc/inclhack.def: Indent the # of #include_next one space.
1146         * cp/rtti.c: Un-indent #if and #endif.
1147
1148         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
1149         syntax error, but an error has already been printed.
1150         * cpplex.c (_cpp_parse_assertion): Give a more specific error
1151         message when called with nothing remaining on the line.
1152         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
1153         OTHER token, not an ASSERTION.
1154         * cpplib.c (do_assert): When we create a 'base' node, clear
1155         its aschain pointer.
1156
1157 2000-04-02  Neil Booth <NeilB@earthling.net>
1158
1159         * cppexp.c:  New typedef op_t.  struct operation and struct 
1160         token updated to use it.
1161         (op_to_str): New function.
1162         (_cpp_parse_expr): Error messages modified to use op_to_str.
1163
1164 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1165
1166         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
1167         before checking MUST_PASS_IN_STACK.
1168
1169 2000-04-02  Neil Booth <NeilB@earthling.net>
1170
1171         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
1172         flags and initial priority into a single constant.  New
1173         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
1174         (_parse_cpp_expr): Implement new constants.  Take left operand
1175         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
1176         parse indicated by reducing FINISHED token.  Remove new lines
1177         from cpp_error messages.
1178
1179 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
1180
1181         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
1182         permanent obstack.
1183
1184 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
1185
1186         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
1187         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
1188         the strings and function names on the fly.  Take the #sccs
1189         entry out of the table if SCCS_DIRECTIVE is not defined.
1190         (_cpp_handle_directive): Decide if the # was at the beginning
1191         of the line here.  Issue -pedantic warnings for extended
1192         directives here.  Warn about K+R directives with the #
1193         indented, and C89/extended directives with the # not indented,
1194         here.
1195         (do_import, do_include_next, do_warning, do_ident, do_sccs,
1196         do_assert, do_unassert): Don't issue pedantic warning here.
1197
1198         * cpphash.h: Add CPP_WTRADITIONAL macro.
1199         * cpplib.h (struct cpp_options): Rename warn_stringify to
1200         warn_traditional; update comments.
1201         * cppinit.c (handle_option): Set warn_traditional not
1202         warn_stringify.
1203         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
1204         CPP_WTRADITIONAL (pfile).
1205         * cpplex.c (_cpp_lex_token): Don't decide if directives should
1206         be ignored in -traditional mode here.
1207
1208         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
1209         to initialize speccase[] and trigraph_map[].  Delete all
1210         references to pfile->input_speccase.  Always treat '?' as a
1211         special character.  Remove table-initialization code from
1212         _cpp_init_input_buffer.
1213
1214         * cpplib.h (struct cpp_reader): Remove input_speccase field.
1215         * cppinit.c (cpp_cleanup): Don't free input_speccase.
1216
1217 2000-04-01  Richard Henderson  <rth@cygnus.com>
1218
1219         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
1220         (mostlyclean): Likewise.
1221
1222         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
1223         (struct dump_file_info, enum dump_file_index, dump_file): New.
1224         (open_dump_file): Take a dump_file_index not a suffix, and a decl
1225         not a string.  Clean out file if we havn't yet done so.  Do nothing
1226         if the dump isn't enabled.
1227         (close_dump_file): Do nothing if the dump isn't open.  Dump 
1228         graph data if requested.
1229         (dump_rtl, clean_dump_file): Remove.
1230         (compile_file): Don't clean the dump files.  Only finalize .bp dump
1231         if flag_test_coverage or flag_branch_probabilities.  Only finalize
1232         .combine dump if optimizing.  Iterate over dump_file to finalize the
1233         graph dumps.
1234         (rest_of_compilation): Update for open_dump_file/close_dump_file.
1235         Convert all uses of dump_rtl.
1236         (decode_d_option): Iterate over dump_file to implement 'a' and to
1237         locate pass-specific dumps.
1238
1239 2000-04-01  Neil Booth <NeilB@earthling.net>
1240
1241         * cppexp.c: Redefine priority constants.
1242         (_cpp_parse_expr): Replace left and right priority scheme with
1243         single priority logic.  Move LOGICAL to same place as COMPARE.
1244         Remove bogus check for multiple unary +/- operators.
1245
1246 2000-04-01  Neil Booth <NeilB@earthling.net>
1247
1248         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
1249         within the switch statement.  Binary operations break out of
1250         the switch naturally.  '(' tokens handled by forcing
1251         immediate shift.  ')' handled by forcing immediate reduce to
1252         the previous '('.  New error messages.
1253         
1254 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
1255
1256         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
1257         part', it's already in use.  Use %K instead.  Add a return at the
1258         end of what is now %K.
1259         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
1260
1261 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1262
1263         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
1264         allocate_dynamic_stack_space.
1265         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
1266         update stack_pointer_delta; do not update arg_size_so_far.
1267         (compute_argument_block_size): Use stack_delta instead of
1268         stack_pointer_pending and arg_size_so_far.
1269         (expand_call): Add sanity checking for stack_pointer_delta;
1270         save and restore stack_pointer_delta for SIB, use
1271         stack_pointer_delta for alignment; do not update arg_space_so_far.
1272         (emit_library_call_value): Use stack_pointer_delta for alignment.
1273         (store_one_arg): Do not update arg_space_so_far.
1274         * explow.c (adjust_stack, anti_adjust_stack): Update
1275         stack_pointer_delta.
1276         (allocate_dynamic_stack_space): Add sanity checking for
1277         stack_pointer_delta.
1278         * expr.c (init_expr, clear_pending_stack_adjust): Clear
1279         stack_pointer_delta.
1280         (emit_push_insn): Update stack_pointer_delta.
1281         * function.h (struct expr_status): Add x_stack_pointer_delta;
1282         remove x_arg_space_so_far.
1283         (arg_space_so_far): Remove.
1284         (stack_pointer_delta): New macro.
1285
1286 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
1287
1288         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
1289         Reorder struct cpp_options and struct cpp_reader for better 
1290         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
1291         takes two args.  Change all 'char' flags to 'unsigned char'.
1292         Move show_column flag into struct cpp_options.  Don't
1293         prototype cpp_options_init.
1294         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
1295         cppinit.c, cpplex.c, cpplib.c:
1296         Replace CPP_OPTIONS (pfile)->whatever with
1297         CPP_OPTION (pfile, whatever), and likewise for
1298         opts = CPP_OPTIONS (pfile); ... opts->whatever;
1299
1300         * cppinit.c (merge_include_chains): Take a cpp_reader *.
1301         Extract CPP_OPTION (pfile, pending) and work with that
1302         directly.
1303         (cpp_options_init): Delete.
1304         (cpp_reader_init): Turn on on-by-default options here.
1305         Allocate the pending structure here.              
1306         (cl_options, enum opt_code): Define these from the same table,
1307         kept in a large macro.  Add -fshow-column and -fno-show-column
1308         options.
1309
1310         * cpperror.c (v_message): If show_column is off, don't print
1311         the column number.
1312
1313         * cppmain.c: Update for new interface.
1314         * fix-header.c: Likewise.
1315
1316 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
1317
1318         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
1319         definition.
1320         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
1321         are passed to any invocation of AR_FOR_TARGET.
1322         (AR_CREATE_FOR_TARGET): New macro.
1323         (AR_EXTRACT_FOR_TARGET): New macro.
1324         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
1325         AR_EXTRACT_FOR_TARGET.
1326         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
1327         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
1328         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
1329         AR_EXTRACT_FOR_TARGET to sub-makes.
1330
1331 2000-03-31  Neil Booth <NeilB@earthling.net>
1332
1333         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
1334         PAREN_INNER_PRIO.
1335         (_cpp_parse_expr): Check for multiple unary +/- operators.
1336         Correct priorities of ':' and '?'.  Treat ')' as having a
1337         value.  Ensure conditional expression is not void.
1338         
1339 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
1340
1341         * alias.c (canon_rtx): Make it global.
1342         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
1343         equality.
1344         * cse.c (struct table_elt): Add canon_exp.
1345         (insert): Clear it.
1346         (invalidate): Canonicalize expressions only once.
1347         * rtl.h (canon_rtx): Declare.
1348
1349 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
1350
1351         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
1352         * alias.c (reg_known_value): Add comments.
1353         (init_alias_analysis): Likewise.
1354         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
1355         address.
1356         (cse_basic_block): Fix typo in comment.
1357         * emit-rtl.c: Include hashtab.h.
1358         (const_int_htab): New variable.
1359         (const_int_htab_hash): New function.
1360         (const_int_htab_eq): Likewise.
1361         (rtx_htab_mark_1): Likewise.
1362         (rtx_htab_mark): Likewise.
1363         (gen_rtx_CONST_INT): Cache all CONST_INTs.
1364         (unshare_all_rtx): Fix formatting.
1365         (init_emit_once): Initialize const_int_htab.
1366         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
1367         address.
1368         * rtl.texi: Document the fact that all CONST_INTs with the same
1369         value are shared.
1370
1371 2000-03-30  Richard Henderson  <rth@cygnus.com>
1372
1373         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
1374
1375 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
1376
1377         * configure.in: Comment out --enable-c-cpplib stanza.
1378         * configure: Regenerate.
1379
1380 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1381
1382         * expr.c (store_constructor): Properly compute displacement and
1383         alignment when offset is variable.
1384
1385         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
1386         cases of alignment in bytes.
1387
1388 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
1389
1390         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
1391         since it is used to generate c-parse.y.
1392         * objc-parse.c, objc-parse.y: Regenerated.
1393
1394         * function.c (expand_function_end): Pass alignment argument to
1395         emit_block_move in bits, not bytes.
1396
1397 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1398
1399         * expr.c (move_by_pieces_ninsns): Fix one more missing align
1400         correction.
1401
1402         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
1403
1404         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
1405         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
1406         * function.c (assign_parms): Likewise.
1407         * integrate.c (expand_inline_function): Likewise.
1408         * stmt.c (expand_decl): Likewise.
1409         (copy_rtx_and_substitute): Likewise.
1410         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
1411         (clear_by_pieces): Fix error in last change.
1412         * emit-rtl.c (init_emit): Set known registers alignment in bits.
1413         * function.h (regno_pointer_align): Now unsigned.
1414         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
1415         is in bits.
1416         * config/i386/i386.c (aligned_operand): Likewise.
1417         * config/sparc/sparc.c (mem_min_alignment): Likewise.
1418         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
1419         (unaligned_memory_operand): Likewise.
1420         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
1421         Also make alignments and sizes unsigned and some whitespace cleanup.
1422         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
1423
1424         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
1425         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
1426         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
1427         (expand_builtin_memset): Likewise, but to clear_storage.
1428         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
1429         (restore_fixed_argument_area): Likewise.
1430         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
1431         (load_register_parameters): Likewise, to emit_group_load.
1432         (expand_call): Likewise, to emit_group_store and emit_block_move.
1433         (emit_library_call_value_1): Likewise, to emit_block_move.
1434         (store_one_arg): Likewise, and to emit_push_insn.
1435         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
1436         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
1437         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
1438         (emit_block_move, emit_group_load, emit_group_store): Likewise.
1439         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
1440         (expand_assigment, store_expr, store_constructor_field): Likewise.
1441         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
1442         (store_constructor, store_field, get_inner_reference): Likewise.
1443         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
1444         (expand_expr, case COMPONENT_REF): Likewise.
1445         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
1446         and positions; reindent code.
1447         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
1448         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
1449         (assign_parms): Likewise to emit_group_store.
1450         * optabs.c (prepare_cmp_insn): Alignment is in bits.
1451         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
1452         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
1453         (expand_return): Likewise to {extract,store}_bit_field.
1454         * stor-layout.c (get_mode_alignment): Minor cleanup.
1455         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
1456         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
1457         
1458 2000-03-29  Nick Clifton  <nickc@cygnus.com>
1459
1460         * config/arm/arm.h: Undo effects of previous delta:
1461         (ASM_SPEC): Do not define.
1462         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
1463
1464         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
1465         typo. 
1466
1467 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1468
1469         * cppinit.c (cpp_start_read): Call initialize_dependency_output
1470         only after reading in the primary source file.
1471
1472 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
1473
1474         * c-common.c (c_common_nodes_and_builtins): The first parameter to
1475         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
1476         or a reference to a va_list.
1477         * builtins.c (stabilize_va_list): Simplify now we don't have to
1478         work around C array address decay.
1479         * c-typeck.c (convert_for_assignment): Handle assignment to
1480         a reference parameter by taking the address of the RHS.
1481         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
1482         (va_copy): Likewise.
1483         (__va_copy): Likewise.
1484         * ginclude/varargs.h (va_start): Likewise.
1485         (__va_copy): Likewise.
1486
1487 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
1488
1489         * i386/djgpp.h: Remove extraneous "+".
1490
1491         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
1492
1493         * calls.c (expand_call): Fix typo in last change.
1494
1495 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
1496
1497         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
1498         been expanded.
1499
1500 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1501
1502         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
1503         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
1504         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
1505         * tree.c (bit_position, byte_position): Likewise.
1506         * tree.h: Declare new functions.
1507
1508 2000-03-29  Nick Clifton  <nickc@cygnus.com>
1509
1510         * config/arm/arm.c: Minor formatting changes/
1511         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1512         already defined.
1513         (ASM_SPEC): Define if not already defined.
1514
1515 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1516
1517         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
1518         _cpp_calc_hash.
1519
1520 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
1521
1522         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
1523         value, don't output it as unsigned.
1524
1525 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
1526
1527         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
1528
1529 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1530
1531         * c-common.c (c_common_nodes_and_builtins): Don't special case
1532         cplus_mode when declaring builtin bzero/bcmp, always avoid
1533         prototype arguments.
1534
1535 2000-03-29  Bruce Korb  <bkorb@gnu.org>
1536
1537         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
1538         to a non-file
1539
1540 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1541
1542         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
1543         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
1544         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
1545         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
1546         (save_fixed_argument_area, restore_fixed_argument_area):
1547         conditionize by #ifdef REG_PARM_STACK_SPACE only.
1548         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
1549         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
1550         (precompute_register_parameters): Avoid #ifdefs on
1551         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
1552         (stire_one_args): Likewise.
1553         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
1554         (emit_library_call_value_1): Likewise.
1555         (compute_argument_block_size): Align to STACK_BOUNDARY only for
1556         ACCUMULATE_OUTGOING_ARGS.
1557         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
1558         value.
1559         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
1560         (use_crosses_set_p): Likewise.
1561         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
1562         #define ACCUMULATE_OUTGOING_ARGS 1.
1563         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
1564         frames.
1565         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
1566         constants.
1567         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
1568         (TARGET_SWITCHES): Add push-args, no-push-args,
1569         accumulate-outgoing-args and no-accumulate-outgoing-args.
1570         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
1571         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
1572         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
1573         and PUSH_ROUNDING.
1574         (emit_push_insn): Likewise.
1575         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1576         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
1577         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1578         (STACK_DYNAMIC_OFFSET): Define correctly for both
1579         ACCUMULATE_OUTGOING_ARGS and normal mode.
1580         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
1581         * tm.texi (PUSH_ARGS): Document.
1582         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
1583
1584 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1585
1586         * flags.h (flag_optimize_sibling_calls): Declare.
1587         * calls.c (expand_call): Fail sibcall when
1588         !flag_optimize_sibling_calls
1589         * invoke.texi (flag_optimize_sibling_calls): Document.
1590         * toplev.c (flag_optimize_sibling_calls): New global variable.
1591         (f_options): Add flag_optimize_sibling_calls.
1592         (rest_of_compilation): Conditionize
1593         optimize_sibling_and_tail_recursive_calls by
1594         flag_optimize_sibling_calls.
1595         (main): Set flag_optimize_sibling_calls for -O2.
1596         * stmt.c (expand_return): Conditionize tail recursion by
1597         flag_optimize_sibling_calls.
1598
1599 2000-03-29  Richard Henderson  <rth@cygnus.com>
1600
1601         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
1602         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
1603
1604 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
1605
1606         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
1607
1608 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1609
1610         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
1611         is given.
1612         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
1613         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
1614         * config/rs6000/aix.h: then modified likewise.
1615
1616 2000-03-28  Richard Henderson  <rth@cygnus.com>
1617
1618         * rtl.h: Redistribute enum reg_note documentation. 
1619         Kill trailing whitespace.
1620         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
1621         Kill trailing whitespace.
1622
1623 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
1624
1625         * cppfiles.c (hash_IHASH): Just return i->hash.
1626         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
1627         htab_find_with_hash.
1628         (cpp_read_file): Likewise.
1629         (find_include_file): Likewise.  Properly initialize
1630         ih->nshort.  Share ih->name and ih->nshort if possible.
1631         * cpphash.c (_cpp_calc_hash): New function.
1632         (hash_HASHNODE): Just return h->hash.
1633         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
1634         htab_find_with_hash.
1635         * cpphash.h: Prototype _cpp_calc_hash.
1636         * cppinit.c (initialize_builtins): Provide a valid hash
1637         to _cpp_make_hashnode, using _cpp_calc_hash.
1638
1639         * cpphash.c (collect_expansion): # is not a special character
1640         in object-like macros.  In -traditional mode, /**/ is not
1641         token paste at the beginning or end of the line.
1642         * cpplib.c (do_include, do_import, do_include_next): If
1643         parse_include fails, return immediately.
1644
1645 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
1646
1647         * config/arm/arm.md (return peepholes): Update to reflect the new
1648         call insn patterns.
1649         * config/arm/arm.c (arm_volatile_func): Also check
1650         current_function_nothrow.
1651         (output_return_instruction, output_func_prologue): Use it.
1652         (arm_output_epilogue, arm_expand_prologue): Likewise.
1653
1654 2000-03-27  Tom Tromey  <tromey@cygnus.com>
1655
1656         * gcc.c (handle_braces): In {x*...} case, break out of loop if
1657         switch is found.
1658
1659 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1660
1661         * expr.c (store_constructor): SIZE now signed.
1662         For EXPR_SIZE, don't evaluate size; just needed if constant.
1663         * fold-const.c (fold): Fix a number of cases when folded tree is
1664         wrong type.
1665         * function.c (flush_addressof): Reenable.
1666         * tree.h (flush_addressof): Likewise.
1667         * toplev.c (independent_decode_option): Look at strings_processed.
1668         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
1669
1670 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
1671
1672         * sibcall.c (indentify_call_return_value): Find last call in the chain;
1673         Allow stack adjustment after function call.
1674
1675         * regmove.c (struct csa_memlist): Make mem field rtx *.
1676         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
1677         (try_apply_stack_adjustment): Replace whole MEM rtx.
1678         (combine_stack_adjustments_for_block): Update calls
1679         to record_one_stack_ref.
1680
1681 2000-03-28  Neil Booth  <NeilB@earthling.net>
1682
1683         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
1684         '\\' rather than a null character, so nulls are not special.  Fix
1685         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
1686         speed trigraph conversion.
1687         (_cpp_init_input_buffer): Initialize trigraph map.
1688
1689 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1690
1691         * config/i386/i386.c (output_387_binary_op): Correct intel
1692         mode assembly output, and add spaces after commas in AT&T
1693         output.  Correct Unixware assembler comment.  Document input
1694         constraints.  Comment fp operations.  Reduce profligate buffer
1695         size.  Remove extraneous abort.  Localize temp var.
1696         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
1697         (output_fix_trunc): Add spaces after commas in assembly output.
1698
1699 2000-03-27  Richard Henderson  <rth@cygnus.com>
1700
1701         * i386-protos.h (ix86_match_ccmode): Declare.
1702         * i386.c (ix86_match_ccmode): New.
1703         (ix86_expand_fp_compare): Update for pattern renames.
1704         (ix86_expand_strlensi_unroll_1): Likewise.
1705         * i386.h (EXTRA_CC_MODES): Add CCZ.
1706         (SELECT_CC_MODE): Use it for EQ/NE zero.
1707         * i386.md (cmpsi_ccz_1): New.
1708         (cmpqi_ccz_1): New.
1709         (*testsi_ccz_1): New.
1710         (testqi_ccz_1): New.
1711         (cmpsi_ccno_1): Rename from cmpsi_0.
1712         (testsi_ccno_1): Rename from testsi_1.
1713         (testqi_ccno_1): Rename from testqi_1.
1714         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
1715         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
1716         (*cmphi_0): Use ix86_match_ccmode.
1717         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
1718         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
1719         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
1720         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
1721         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
1722         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
1723         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
1724         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
1725         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
1726         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
1727         (appropriate peepholes): Likewise.
1728         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
1729         (*subsi_3, *subhi_3, *subqi_3): Remove.
1730         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
1731         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
1732         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
1733         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
1734         (x86_shift_adj_1): Use CCZ.
1735         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
1736
1737 2000-03-27  Stan Cox  <scox@cygnus.com> 
1738
1739         * resource.h (mark_resource_type): New.
1740         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
1741         find_free_register): Use mark_resource_type.
1742         (mark_set_resources): Change include_delayed_effects
1743         to mark_resource_type.
1744         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
1745         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
1746         Use mark_resource_type.
1747         
1748 2000-03-27  Richard Henderson  <rth@cygnus.com>
1749
1750         * i386.md (call_pop_0, call_value_pop_0): New.
1751         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
1752         (call_value_pop_1): Likewise.
1753         (call_0, call_value_0): New.
1754         (call_1, call_value_1): Remove constraint from unused arg.
1755
1756 2000-03-27  Nick Clifton  <nickc@cygnus.com>
1757
1758         * invoke.texi (Spec Files): Document new spec % command created by
1759         Tom Tromey's recent patch.
1760
1761 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
1762
1763         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
1764         if not defined.
1765
1766 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1767
1768         * expr.c (expand_assignment): Fix typo in last change.
1769
1770         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
1771
1772 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1773
1774         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
1775         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
1776         and DECL_INLINE if FUNCTION_DECL.
1777         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
1778         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
1779         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
1780         (combine_parm_decls): Likewise.
1781         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
1782         * print-tree.c (print_node): Likewise.
1783         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
1784         DECL_TRANSPARENT_UNION on proper decl types.
1785         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
1786         * stor-layout.c (layout_decl): Only check DECL_PACKED and
1787         DECL_BIT_FIELD of FIELD_DECL.
1788         * tree.h (DECL_RESULT_FLD): New macro.
1789         
1790         * expr.c (expand_assignment): Add code to handle variable-sized
1791         BLKmode case.
1792
1793 2000-03-26  Richard Henderson  <rth@cygnus.com>
1794
1795         * calls.c (expand_call): Pass parms not original exp to
1796         optimize_tail_recursion.  Mind return value instead of looking
1797         for a barrier.
1798         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
1799         call_expr.  Move checks for call_expr and current_function_decl ...
1800         (expand_return): ... here.
1801
1802 2000-03-26  Tom Tromey  <tromey@cygnus.com>
1803
1804         * gcc.c (handle_braces): Recognize `%{<S}' construct.
1805         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
1806         defines.
1807         (process_command): Use them.
1808         (check_live_switch): Likewise.
1809         (give_switch): Skip ignored switches.
1810
1811 2000-03-26  Jan Hubicka  <jh@suse.cz>
1812
1813         * jump.c (jump_optimize_1): Fix typo in elide optimizations
1814         for minimal jump pass test.
1815
1816 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
1817
1818         * integrate.c (function_cannot_inline_p): Do inline functions that
1819         return `void'.
1820
1821 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1822
1823         * stor-layout.c (layout_type, set_sizetype): early_type_list is
1824         now a list of TREE_LIST entries, not types.
1825         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
1826
1827         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
1828         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
1829         int_bit_position.
1830         * config/mips/mips.c (function_arg): Likewise; also remove cast
1831         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
1832         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
1833         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
1834         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
1835         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
1836         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
1837         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
1838         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
1839         num_adjusts now unsigned.
1840         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
1841         * config/sparc/sparc.c (struct function_arg_record_value_parms):
1842         NREGS now unsigned.
1843         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
1844         as is BITPOS variable; use host_integerp and int_bit_position.
1845         (function_arg_record_value_2): Likewise.
1846         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
1847         Variable REGNO now unsigned.
1848         (function_arg_record_value): NREGS now unsigned.
1849
1850 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
1851
1852         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
1853
1854 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1855
1856         * Rework fields used to describe positions of bitfields and
1857         modify sizes to be unsigned and use HOST_WIDE_INT.
1858         * alias.c (reg_known_value_size): Now unsigned.
1859         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
1860         (really_start_incremental_init): Use bitsize_zero_node.
1861         (push_init_level, pop_init_level, output_init_element): Likewise.
1862         Use bitsize_unit_node and bitsize_one_node.
1863         (output_pending_init_elements, process_init_element): Likewise.
1864         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
1865         (make_extraction): Position and length HOST_WIDE_INT and unsigned
1866         HOST_WIDE_INT, respectively.
1867         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
1868         (num_sign_bit_copies): Returns unsigned.
1869         BITWIDTH now unsigned; rework arithmetic.
1870         Remove recursive call from arg to MAX.
1871         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
1872         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
1873         REGNO now unsigned.
1874         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
1875         (find_split_point, expand_compound_operation, make_extraction): LEN
1876         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
1877         (make_field_assignment): Likewise.
1878         (combine_simplify_rtx): Add cast.
1879         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
1880         (force_to_mode): WIDTH now unsigned; add cast.
1881         (if_then_else_cond): SIZE now unsigned.
1882         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
1883         (extended_count): Now returns unsigned.
1884         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
1885         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
1886         (simplify_comparison): MODE_WIDTH now unsigned.
1887         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
1888         (mark_used_regs_combine): Likewise; rework arithmetic.
1889         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
1890         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
1891         (record_promoted_value): REGNO now unsigned.
1892         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
1893         (get_last_value): REGNO now unsigned.
1894         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
1895         (reg_dead_regno, reg_dead_endregno): Now unsigned.
1896         (remove_death): Arg REGNO now unsigned.
1897         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
1898         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
1899         now unsigned.
1900         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
1901         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
1902         (struct cse_reg_info): REGNO now unsigned.
1903         (cached_regno): Now unsigned.
1904         (REGNO_QTY_VALID_P): Add cast.
1905         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
1906         (remove_invalid_regs): Likewise.
1907         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
1908         as are variables END and I.
1909         (get_cse_reg_info, insert): Likewise.
1910         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
1911         (canon_hash): Likewise.
1912         (insert_regs, lookup_for_remove): REGNO now unsigned.
1913         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
1914         New variable RN.
1915         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
1916         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
1917         * emit-rtl.c (subreg_realpart_p): Add cast.
1918         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
1919         (operand_subword_force): Arg I is now unsigned.
1920         * except.c (eh_regs): Variable I is now unsigned.
1921         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
1922         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
1923         length is unsigned HOST_WIDE_INT; likewise for internal variables.
1924         (store_split_bit_field, extract_fixed_bit_field): Likewise.
1925         (extract_split_bit_field, store_bit_field, extract_bit_field):
1926         Likewise.
1927         * expr.c (store_constructor_fields, store_constructor, store_field):
1928         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
1929         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
1930         (do_jump): Likewise.
1931         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
1932         MAX_SIZE is now unsigned.
1933         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
1934         (emit_group_store): Likewise.
1935         (emit_move_insn): I now unsigned.
1936         (store_constructor): Use host_integerp, tree_low_cst, and
1937         bitsize_unit_node.
1938         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
1939         Rework all calculations to use trees and new fields.
1940         * expr.h (promoted_input_arg): Regno now unsigned.
1941         (store_bit_field, extract_bit_field): Adjust types of pos and size.
1942         (mark_seen_cases): Arg is HOST_WIDE_INT.
1943         * flow.c (verify_wide_reg_1): REGNO now unsigned.
1944         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
1945         precisions and alignments are unsigned.
1946         (optimize_bit_field_compare, fold_truthop): Likewise.
1947         (int_const_binop): Adjust threshold for size_int_type_wide call.
1948         (fold_convert): Likewise.
1949         (size_int_type_wide): Make table larger and fix thinko that only
1950         had half of table used.
1951         (all_ones_mask_p, fold): Precisions are unsigned.
1952         * function.c (put_reg_info_stack): REGNO is unsigned.
1953         (instantiate_decl): Size is HOST_WIDE_INT.
1954         (instantiate_virtual_regs): I is unsigned.
1955         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
1956         (promoted_input_arg): REGNO is unsigned.
1957         * function.h (struct function): x_max_parm_reg is now unsigned.
1958         * gcse.c (max_gcse_regno): Now unsigned.
1959         (struct null_pointer_info): min_reg and max_reg now unsigned.
1960         (lookup_set, next_set): REGNO arg now unsigned.
1961         (compute_hash_table): REGNO and I now unsigned.
1962         (handle_avail_expr): regnum_for_replacing now unsigned.
1963         (cprop_insn): REGNO now unsigned.
1964         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
1965         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
1966         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
1967         * hard-reg-set.h (reg_class_size): Now unsigned.
1968         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
1969         * jump.c (mark_modified_reg): I now unsigned; add cast.
1970         (rtx_equal_for_thread_p): Add cast.
1971         * loop.c (max_reg_before_loop): Now unsigned.
1972         (struct_movable): REGNO now unsigned.
1973         (try_copy_prop): REGNO arg unsigned.
1974         (regs_match_p): XN and YN now unsigned.
1975         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
1976         (strength_reduce): Likewise; NREGS also unsigned.
1977         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
1978         * loop.h (struct iv_class): REGNO now unsigned.
1979         (max_reg_before_loop, first_increment_giv, last_increment_giv):
1980         Now unsigned.
1981         * machmode.h (mode_size, mode_unit_size): Now unsigned.
1982         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
1983         * optabs.c (expand_binop): I and NWORDS now unsigned.
1984         (expand_unop): I now unsigned.
1985         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
1986         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
1987         * real.c (significand_size): Now returns unsigned.
1988         * real.h (significand_size): Likewise.
1989         * regclass.c (reg_class_size): Now unsigned.
1990         (choose_hard_reg_mode): Both operands now unsigned.
1991         (record_reg_classes): REGNO and NR now unsigned.
1992         (reg_scan): NREGS now unsigned.
1993         (reg_scan_update): old_max_regno now unsigned.
1994         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
1995         * reload.c (find_valid_class): BEST_SIZE now unsigned.
1996         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
1997         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
1998         Likewise for variable R.
1999         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2000         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2001         (find_equiv_reg): Add casts.
2002         (regno_clobbered_p): Arg REGNO now unsigned.
2003         * reload.h (struct reload): NREGS now unsigned.
2004         (refers_to_regno_for_reload_p): Regno args are unsigned.
2005         (regno_clobbered_p): Likewise.
2006         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2007         (compute_use_by_pseudos): REGNO now unsigned.
2008         (find_reg): I and J now unsigned, new variable K, and change loop
2009         variables accordingly; THIS_NREGS now unsigned.
2010         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2011         (spill_hard_reg): REGNO arg now unsigned; add casts.
2012         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2013         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2014         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2015         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2016         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2017         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2018         (emit_reload_insns): REGNO now unsigned.
2019         (reload_cse_move2add): Add cast.
2020         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2021         and rework loop.
2022         * resource.c (mark_referenced_resources, mark_set_resources): New
2023         variable R; REGNO and LAST_REGNO now unsigned.
2024         (mark_target_live_regs): J and REGNO now unsigned.
2025         * rtl.c (mode_size, mode_unit_size): Now unsigned.
2026         * rtl.h (union rtunion_def): New field rtuint.
2027         (XCUINT): New macro.
2028         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2029         (operand_subword, operand_subword_force): Word number is unsigned.
2030         (choose_hard_reg_mode): Operands are unsigned.
2031         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2032         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2033         (regno_use_in, combine_instructions, remove_death): Likewise.
2034         (reg_scan, reg_scan_update): Likewise.
2035         (extended_count): Return is unsigned.
2036         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
2037         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
2038         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
2039         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
2040         (reg_reg_last_1): FIRS and LAST now unsigned.
2041         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
2042         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
2043         now unsigned.
2044         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
2045         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
2046         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
2047         (replace_regs): Arg NREGS now unsigned.
2048         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
2049         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
2050         (simplify_binary_operation): Likewise.
2051         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
2052         THIS_LAST now unsigned.
2053         (cselib_record_set): Add cast.
2054         * ssa.c (ssa_max_reg_num): Now unsigned.
2055         (rename_block): REGNO now unsigned.
2056         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
2057         sizes now unsigned.
2058         (all_cases_count): Just return -1 not -2.
2059         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
2060         Rework tests to use trees whenever possible.
2061         Use host_integerp and tree_low_cst.
2062         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
2063         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
2064         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
2065         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
2066         (smallest_mode_for_size): Likewise.
2067         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
2068         KNOWN_ALIGN is now an alignment, so simplify code.
2069         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
2070         (start_record_layout): Renamed from new_record_layout_info.
2071         Update to new fields.
2072         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
2073         New functions.
2074         (place_union_field): Renamed from layout_union_field.
2075         Update to use new fields in rli.
2076         (place_field): Renamed from layout_field.
2077         Major rewrite to use new fields in rli; pass alignment to layout_decl.
2078         (finalize_record_size): Rework to use new fields in rli and handle
2079         union.
2080         (compute_record_mode): Rework to simplify and to use new DECL fields.
2081         (finalize_type_size): Make rounding more consistent.
2082         (finish_union_layout): Deleted.
2083         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
2084         (layout_type, case RECORD_TYPE): Call new function names.
2085         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
2086         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
2087         (get_best_mode): UNIT is now unsigned; remove casts.
2088         * tree.c (bit_position): Compute from new fields.
2089         (byte_position, int_byte_position): New functions.
2090         (print_type_hash_statistics): Cast to remove warning.
2091         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
2092         (build_index_type): Likewise; make subtype of sizetype.
2093         (build_index_2_type): Pass sizetype to build_range_type.
2094         (build_common_tree_nodes): Use size_int and bitsize_int to
2095         initialize nodes; add bitsize_{zero,one,unit}_node.
2096         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
2097         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
2098         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
2099         (DECL_FIELD_BITPOS): Deleted.
2100         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
2101         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
2102         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
2103         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
2104         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
2105         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
2106         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
2107         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
2108         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
2109         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
2110         (DECL_ALIGN): Adjust to new field in union.
2111         (DECL_OFFSET_ALIGN): New field.
2112         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
2113         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
2114         (union tree_decl): Add struct for both aligns.
2115         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
2116         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
2117         (struct record_layout_info): Rework fields to have offset
2118         alignment and byte and bit position.
2119         (start_record_layout, place_field): Renamed from old names.
2120         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
2121         (byte_position, int_byte_position): Likewise.
2122         (get_inner_reference): Change types of position and length.
2123         * unroll.c (unroll_loop): New variable R; use for some loops.
2124         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
2125         (calculate_giv_inc): Arg REGNO now unsigned.
2126         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
2127         * varasm.c (assemble_variable): Clean up handling of size using
2128         host_integerp and tree_low_cst.
2129         (decode_addr_const): Use byte, not bit, position.
2130         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
2131         use tree_low_cst and int_bit_position.
2132         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
2133         
2134 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
2135
2136         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
2137         (reorder_block_def): New members eff_head and eff_end.
2138         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
2139         (verify_insn_chain): New function.
2140         (skip_insns_between_block): Add code to skip deleted insns.
2141         Check for note before using.
2142         (chain_reorder_blocks): Replace calls to skip_insns_between_block
2143         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
2144         Check for note before using.
2145         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
2146         (fixup_reorder_chain): Restructure, clean up, defect removal.
2147         (reorder_basic_blocks): Remove last_insn and references to it.
2148         Moved insn chain verification code into a new function (see above).
2149         Delete defective code that sets last insn.
2150         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
2151         all blocks.
2152
2153 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2154
2155         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
2156
2157 2000-03-24  Richard Henderson  <rth@cygnus.com>
2158
2159         * tree.c (lang_safe_for_unsave): Remove.
2160         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
2161         allowing for two levels of unsafeness.  Remove lang hook.
2162         * tree.h: Update declarations.
2163         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
2164         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
2165         Always fail sibcalls when there are pending cleanups.
2166
2167 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
2168
2169         * flow.c (propagate_block): When we delete an ADDR_VEC,
2170         also delete the BARRIER following it if there is one.
2171
2172 2000-03-24  Richard Henderson  <rth@cygnus.com>
2173
2174         * builtins.c (expand_builtin_bzero): Convert `length' argument
2175         to sizetype.
2176
2177 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
2178
2179         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
2180         comparison if regno's are equal.
2181         * calls.c (initialize_argument_informat): Add ecf_flags argument.
2182         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2183         (expand_call): Update caller.
2184         Avoid making a sibling call if argument size of the callee is larger
2185         than argument size of the caller.
2186         Call hard_function_value with outgoing set if in sibcall pass.
2187         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2188
2189         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
2190         Change LEAF_REGISTERS from an array initializer to actual array
2191         identifier. Move static global variable into the function.
2192         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
2193         sequences for leaf functions.
2194         * global.c (global_alloc): Likewise.
2195         * tm.texi (LEAF_REGISTERS): Update documentation.
2196
2197         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
2198         TARGET_FLAT leaf disabling hack.
2199         (LEAF_REGISTERS): Changed from an array initializer to actual array
2200         identifier to avoid duplication and remove the above hack.
2201         (FUNCTION_OK_FOR_SIBCALL): Define.
2202         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
2203         always like call attribute.
2204         (eligible_for_sibcall_delay): New attribute.
2205         (sibcall): New delay type.
2206         (sibcall, sibcall_value, sibcall_epilogue): New expands.
2207         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
2208         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
2209         * config/sparc/sparc.c (sparc_leaf_regs): New array.
2210         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
2211         New functions.
2212         (output_function_epilogue): Move part of the code into
2213         output_restore_regs.
2214         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
2215         TYPE_SIBCALL.
2216         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
2217         prototypes.
2218
2219         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
2220         until infrastructure is finished.
2221
2222 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
2223
2224         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
2225         (save_parm_insns): Not here.
2226
2227 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2228
2229         * builtins.c (expand_builtin_bzero): New function.
2230         (expand_builtin): Handle bzero.
2231
2232         * builtins.def: Add BUILT_IN_BZERO.
2233
2234         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2235         prototype & function for bzero.
2236
2237 2000-03-23  Michael Meissner  <meissner@redhat.com>
2238
2239         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
2240         change adding TARGET_FP to the TF floating point insns, except for
2241         trunctfsf2, which generates direct calls to truncdfsf2.
2242
2243 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
2244
2245         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
2246         try to protect against middle-end changes that break binary
2247         compatibility.
2248         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
2249
2250 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2251
2252         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
2253
2254 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2255
2256         * calls.c (expand_call): If TARGET is passed by reference and
2257         is readonly, write a CLOBBER.
2258
2259 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2260
2261         * builtins.c (expand_builtin): Handle bcmp.
2262
2263         * builtins.def: Add BUILT_IN_BCMP.
2264
2265         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2266         prototype & function for bcmp.
2267
2268 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
2269
2270         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
2271         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
2272         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
2273
2274 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
2275
2276         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
2277         alternative when using -fp64 -gp32.
2278
2279 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2280
2281         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
2282         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
2283         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
2284
2285         * frame.h (frame_state): Revert last change.
2286         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
2287         * libgcc2.c (throw_helper): Revert last change.
2288         
2289 2000-03-22  Richard Henderson  <rth@cygnus.com>
2290
2291         * stmt.c (expand_asm_operands): Don't promote the temporary.
2292
2293 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2294
2295         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
2296         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
2297           c_get_alias_set): Likewise.
2298         * c-decl.c (duplicate_decls): Likewise.
2299         * c-typeck.c (default_conversion,build_unary_op): Likewise.
2300         * calls.c (initialize_argument_information): Likewise.
2301         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
2302         Likewise.
2303         * dwarfout.c (decl_class_context,output_type): Likewise.
2304         * expr.c (get_inner_reference): Likewise.
2305         * fold-const.c (simple_operand_p,fold): Likewise.
2306         * function.c (aggregate_value_p): Likewise.
2307         * stmt.c (expand_asm_operands): Likewise.
2308         * varasm.c (named_section): Likewise.
2309
2310 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2311
2312         Implement dwarf2 exception handling for the ARM.
2313         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
2314         (DWARF_FRAME_RETURN_COLUMN): Define.
2315         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
2316         REG_FRAME_RELATED_EXPR note.
2317         (emit_sfm): Likewise.
2318         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
2319         * dwarf2out.c (reg_save): Handle saving a register to itself.
2320         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
2321         * except.c (eh_regs): Don't use the static chain reg if it's
2322         callee-saved.
2323         * frame.h (frame_state): Add cfa_saved field.
2324         * frame.c (execute_cfa_insn): Set it.
2325         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
2326         the epilogue.
2327         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
2328         Now takes a parm.
2329         (instantiate_virtual_regs): Adjust.
2330         * tm.texi: Adjust.
2331         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2332         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2333         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
2334
2335         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
2336         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
2337
2338 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2339
2340         * builtins.def: New file.
2341
2342         * Makefile.in (TREE_H): Depend on builtins.def.
2343
2344         * builtins.c (built_in_names): Use builtins.def.
2345
2346         * tree.h (built_in_function): Likewise.
2347
2348 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
2349
2350         * tree.c (size_in_bytes): Return size_zero_node, not
2351         integer_zero_node.
2352
2353 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
2354
2355         * config/fp-bit.c (pack_d): Correct the case when a denormal
2356         is rounded up and stops being denormal.
2357
2358 2000-03-21  Richard Henderson  <rth@cygnus.com>
2359
2360         * config/alpha/alpha.c (function_arg): Check for void_type_node
2361         before using MUST_PASS_IN_STACK.
2362
2363 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
2364
2365         * regmove.c (combine_stack_adjustments_for_block): Check that
2366         the stack pointer is a valid memory address.
2367
2368 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
2369
2370         * calls.c: re-install Mar 16 emit_library_call merge.
2371
2372 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
2373
2374         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
2375         we cannot be sure that if reload_completed base register will
2376         be properly aligned.
2377
2378 2000-03-21  Richard Henderson  <rth@cygnus.com>
2379
2380         * flow.c (delete_block): Fix typo last change.
2381
2382 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
2383
2384         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
2385         not COMPLETE_TYPE_P, to check the type of the expression.
2386
2387 2000-03-21  Michael Meissner  <meissner@redhat.com>
2388
2389         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
2390         all floating point insns that just tested the macro
2391         TARGET_HAS_XFLOATING_LIBS.
2392         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
2393         used to only use the gprs.
2394
2395 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
2396
2397         * tree.h (COMPLETE_TYPE_P): New macro.
2398         (COMPLETE_OR_VOID_TYPE_P): New macro.
2399         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
2400         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
2401         * c-aux-info.c (gen_type): Use them.
2402         * c-common.c (c_expand_expr_stmt): Likewise.
2403         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
2404         grokdeclarator, grokparms, finish_struct, start_function,
2405         store_parm_decls, combine_parm_decls): Likewise.
2406         * c-parse.y (cast_expr): Likewise.
2407         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
2408         c_size_in_bytes, c_alignof, build_component_ref,
2409         build_indirect_ref, build_array_ref, convert_arguments,
2410         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
2411         * calls.c (initialize_argument_information): Likewise.
2412         * convert.c (convert_to_integer): Likewise.
2413         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
2414         * dwarfout.c (location_or_const_value_attribute,
2415         output_enumeration_type_die, output_structure_type_die,
2416         output_union_type_die, output_type): Likewise.
2417         * expr.c (safe_from_p, expand_expr): Likewise.
2418         * function.c (assign_parms): Likewise.
2419         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
2420         * tree.c (build_array_type, build_function_type,
2421         build_method_type, build_offset_type, build_complex_type): Likewise.
2422         * c-parse.c, c-parse.h: Regenerated.
2423
2424 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2425
2426         * config/c4x/rtems.h: Include config/rtems.h.
2427
2428 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
2429
2430         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
2431         decl is a FUNCTION_DECL
2432
2433 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
2434
2435         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
2436         function uses output registers.  Don't save RP for leaf functions.
2437         Do save RP even if no epilogue.
2438         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
2439         (CALL_USED_REGISTERS): Unmark in registers.
2440         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
2441         to near the middle.
2442
2443 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
2444
2445         * config/rs6000/rs6000.md (bunordered): New expander.
2446         (bordered): New expander.
2447         (buneq): New expander.
2448         (bunge): New expander.
2449         (bungt): New expander.
2450         (bunle): New expander.
2451         (bunlt): New expander.
2452         (bltgt): New expander.
2453  
2454         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
2455         (ccr_bit_negated_p): New function.
2456         (print_operand): For %C, generate appropriate cror for UNEQ,
2457         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
2458
2459 2000-03-20  Andreas Jaeger  <aj@suse.de>
2460
2461         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
2462         warning.
2463
2464         * tree.h (safe_for_unsave): Prototype.
2465
2466 2000-03-20  Richard Henderson  <rth@cygnus.com>
2467
2468         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
2469         (combine_stack_adjustments_for_block): Don't allow sp references
2470         in the side of a set we're not fixing up.
2471         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
2472         after life_analysis.
2473
2474 2000-03-20  Richard Henderson  <rth@cygnus.com>
2475
2476         * calls.c (expand_call): Don't bother generating tail call
2477         sequences if there are pending cleanups.  Use
2478         expand_start_target_temps/expand_end_target_temps to elide
2479         cleanups created during sibcall expansion.
2480
2481 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
2482
2483         * configure.in: Set $IFS to a value if it doesn't already have one
2484         in the --enable-checking handling.
2485         * configure: Regenerate.
2486
2487 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2488
2489         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
2490         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2491         Regenerated.
2492
2493 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
2494
2495         * jump.c (delete_noop_moves): Remove code attempting to
2496         combine stack adjustments.
2497
2498 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2499
2500         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
2501         * except.c (emit_cleanup_handler): Use them.
2502         (expand_end_all_catch): Likewise.
2503         * function.c (fixup_var_refs): Likewise.
2504         (expand_function_end): Clear catch_clauses_last.
2505         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
2506         * except.h (struct eh_status): New field x_catch_clauses_last.
2507         (catch_clauses_last): New define.
2508
2509         * Makefile.in (tree.o): Depend on HASHTAB_H.
2510         * tree.c: Include hashtab.h.
2511         (struct type_hash): Remove next field.
2512         (TYPE_HASH_SIZE): Remove.
2513         (TYPE_HASH_INITIAL_SIZE): New define.
2514         (type_hash_table): Change type to htab_t.
2515         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
2516         mark_hash_entry): New functions.
2517         (init_obstacks): Allocate type hash.
2518         (type_hash_lookup): Use htab functions.
2519         (type_hash_add, mark_type_hash): Likewise.
2520         (dump_tree_statistics): Call print_type_hash_statistics.
2521
2522 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2523
2524         * rs6000/t-aix41: New file.
2525
2526         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
2527
2528 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
2529
2530         * tm.texi (Driver): Fix typos and tweak entry for
2531         INCLUDE_DEFAULTS.
2532         Move misplaced STRUCT_FORCE_BLK entry ...
2533         (Storage Layout): ... to here.
2534         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
2535
2536 2000-03-19  Richard Henderson  <rth@cygnus.com>
2537
2538         * flow.c (delete_block): Delete the addr_vec along with the block.
2539         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
2540         reference labels.
2541
2542         * fold-const.c (extract_muldiv): Apply type check for defined
2543         overflow to multiply as well as divide.
2544
2545         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
2546
2547 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
2548
2549         * emit-rtl.c (remove_unncessary_notes): Check that all
2550         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
2551         associated NOTE_BLOCK.
2552         * function.h (identify_blocks): Update comments.
2553         (reorder_blocks): Declare.
2554         * function.c (identify_blocks): Don't take paramters.
2555         (reorder_blocks): Don't take parameters.
2556         * loop.h (find_loop_tree_blocks): Remove.
2557         (unroll_block_trees): Likewise.
2558         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
2559         reorder_blocks instead of unroll_block_trees.h
2560         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
2561         * stmt.c (find_loop_tree_blocks): Remove.
2562         (unroll_block_trees): Likewise.
2563         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
2564         in whole-function mode.
2565         * tree.h (reorder_blocks): Remove declaration.
2566
2567         * expr.c: Include intl.h.
2568         * Makefile.in (expr.o): Depend on intl.h.
2569         
2570 2000-03-18  Richard Henderson  <rth@cygnus.com>
2571
2572         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
2573
2574 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
2575
2576         * tree.h (tree_index): Remove enumerals for integer types.
2577         (integer_type_kind): New type.
2578         (integer_types): New variable.
2579         (char_type_node): Adjust.
2580         (signed_char_type_node): Likewise.
2581         (unsigned_char_type_node): Likewise.
2582         (short_integer_type_node): Likewise.
2583         (short_unsigned_type_node): Likewise.
2584         (integer_type_node): Likewise.
2585         (unsigned_type_node): Likewise.
2586         (long_integer_type_node): Likewise.
2587         (long_unsigned_type_node): Likewise.
2588         (long_long_integer_type_node): Likewise.
2589         (long_long_unsigned_type_node): Likewise.
2590         * tree.c (integer_types): New variable.
2591         (init_obstacks): Register it as a root.
2592
2593 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
2594
2595         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
2596         NEXT_INSN. Update last insn in chain.
2597
2598 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
2599
2600         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
2601         with TYPE_DECL_SUPPRESS_DEBUG set.
2602
2603 2000-03-18  Richard Henderson  <rth@cygnus.com>
2604
2605         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
2606
2607 2000-03-18  Richard Henderson  <rth@cygnus.com>
2608
2609         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
2610         care for HALF_PIC_P.
2611         (expander_call_insn_operand): Remove.
2612         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
2613         * i386.h (PREDICATE_CODES): Update.
2614         * i386.md (all call expanders): Remove predicates, remove special
2615         handling for half-pic.
2616         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
2617         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
2618         (sibcall_epilogue): New.
2619
2620 2000-03-17  Richard Henderson  <rth@cygnus.com>
2621
2622         * rtlanal.c (single_set): Reject if the parallel has anything
2623         except SET or USE or CLOBBER.
2624
2625 2000-03-17  Jeff Law  <law@cygnus.com>
2626             Richard Henderson  <rth@cygnus.com>
2627
2628         * Makefile.in (OBJS): Add sibcall.o.
2629         (sibcall.o): New.
2630         * sibcall.c: New file.
2631         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
2632         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
2633         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
2634         Emit sibcall patterns when requested.  Update all callers.
2635         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
2636         elimination seems feasable.
2637         * final.c (leaf_function_p): Sibling calls don't discount being
2638         a leaf function.
2639         * flow.c (HAVE_sibcall_epilogue): Provide default.
2640         (find_basic_blocks_1): Sibling calls don't throw.
2641         (make_edges): Make edge from sibling call to EXIT.
2642         (propagate_block): Don't remove sibcall_epilogue insns.
2643         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
2644         (sibcall_epilogue): New.
2645         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
2646         (identify_blocks_1): Likewise.  Break out from ...
2647         (identify_blocks): ... here.
2648         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
2649         (reorder_blocks): ... here.
2650         (init_function_for_compilation): Zap prologue/epilogue as varrays.
2651         (record_insns): Extend a varray instead of mallocing new memory.
2652         (contains): Read a varray not array of ints.
2653         (sibcall_epilogue_contains): New.
2654         (thread_prologue_and_epilogue_insns): Emit and record
2655         sibcall_epilogue patterns.
2656         (init_function_once): Allocate prologue/epilogue varrays.
2657         * genflags.c (gen_insn): Treat sibcall patterns as calls.
2658         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
2659         Broken out from ...
2660         (save_for_inline_nocopy): ... here.
2661         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
2662         Broken out from ...
2663         (expand_inline_function): ... here.
2664         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
2665         (subst_constants): Handle 'n' formats.
2666         * jump.c (jump_optimize_minimal): New.
2667         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
2668         optimizations if it's set.
2669         * rtl.c (copy_rtx): Do copy jump & call for insns.
2670         * rtl.h (struct rtx_def): Document use of jump and call for insns.
2671         (SIBLING_CALL_P): New.
2672         (sibcall_use_t): New.
2673         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
2674         Invoke optimize_sibling_and_tail_recursive_calls.
2675         * tree.c (lang_safe_for_unsave): New.
2676         (safe_for_unsave): New.
2677         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
2678
2679         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
2680         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
2681         (*sibcall_osf_1, *sibcall_value_osf_1): New.
2682
2683 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
2684
2685         * objc/objc-act.c (encode_method_prototype): Pass types, not
2686         PARM_DECLs, to int_size_in_bytes.
2687
2688 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
2689
2690         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
2691
2692         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2693         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
2694
2695 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2696
2697         * Clean up usages of TREE_INT_CST_LOW.
2698         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
2699         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2700         Regenerated.
2701         * c-tree.h (min_precision): Move declaration to here.
2702         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
2703         (build_unary_op, add_pending_init): Use bit_position.
2704         (pending_init_member, process_init_element): Likewise.
2705         (really_start_incremental_init, push_init_level, pop_init_level):
2706         Don't make copies of nodes or modify them in place, use consistent
2707         types when tracking positions, and use tree routines computations.
2708         (set_init_index, output_init_element): Likewise.
2709         (output_pending_init_elements, process_init_element): Likewise.
2710         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
2711         tree_low_cst and int_bit_position; also minor cleanup.
2712         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
2713         (print_cst_octal): Precision is unsigned.
2714         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
2715         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
2716         (simple_type_align_in_bits): Result is unsigned int.
2717         Use tree_int_low_cst and host_integerp.
2718         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
2719         (field_byte_offset): Result is HOST_WIDE_INT.
2720         Change types of internal variables so alignments are unsigned int,
2721         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
2722         Use host_integerp, tree_low_cst, and int_bit_position.
2723         (add_bit_offset_attribute): Likewise.
2724         (add_data_member_location_attribute): Use tree_cst_low.
2725         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
2726         (add_bit_size_attribute): Use tree_low_cst.
2727         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
2728         * dwarfout.c: Similar changes to dwarf2out.c.
2729         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
2730         * genoutput.c (n_occurences): Return -1 for null string.
2731         (strip_whitespace): Accept null string and make into function.
2732         (scan_operands): Reflect above changes.
2733         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
2734         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
2735         * ssa.c (rename_registers): Add missing cast of arg to bzero.
2736         * tree.c (int_size_in_bytes): Check for too big to represent.
2737         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
2738         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
2739         New declarations.
2740         (min_precision): Delete from here.
2741         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
2742         and int_bit_position.
2743         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
2744         (encode_method_def): Likewise.
2745         (build_ivar_list_initializer): Use int_bit_position.
2746         (generate_shared_structures): Convert size.
2747         (encode_type, encode_complete_bitfield): Use integer_zerop.
2748         (encode_bitfield): Use tree_low_cst and int_bit_position.
2749         
2750 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2751
2752         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
2753
2754 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2755
2756         * call.c (special_function_p): It is only malloc if it returns
2757         Pmode.
2758
2759 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2760
2761         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
2762         (C33_FLAG, TARGET_C3X): Add macros.
2763         (TARGET_SWITCHES): Add -m33 option.
2764         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
2765         
2766 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2767         
2768         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
2769         (PARALLEL_PACK_FLAG): Delete.
2770         (TARGET_SWITCHES): Update.
2771         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
2772
2773 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2774
2775         * fold-const.c (fold): Fix a few cases when the returned result
2776         is not of the same type as the input.
2777
2778 2000-03-16  Nick Clifton  <nickc@cygnus.com>
2779
2780         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
2781         warning.
2782
2783 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2784
2785         * libgcc2.h: Move prototypes above macros with the same name.
2786         Wrap some function prototypes in the conditional which indicates
2787         whether they are supported, i.e. "BITS_PER_UNIT == 8".
2788
2789 2000-03-16  Richard Henderson  <rth@cygnus.com>
2790
2791         * calls.c: Revert last two changes.
2792
2793 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
2794
2795         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
2796         has exponent 0 is a zero.
2797
2798         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
2799         HASH may already be nonzero.  Add code/mode into hash value
2800         immediately after repeat label.
2801         (cselib_lookup): Don't leave the hash table in an inconsistent
2802         state before a hash lookup operation.
2803
2804 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
2805
2806         * i386.md (all HI and QI mode non-move patterns):  Conditionize
2807         by TARGET_[HQ]IMODE_MATH.
2808         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2809         x86_promote_qi_regs): Declare.
2810         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
2811         TARGET_PROMOTE_QI_REGS): New macros.
2812         (PROMOTE_MODE): New macro.
2813         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2814         x86_promote_qi_regs): New global variables.
2815
2816 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
2817
2818         * calls.c (emit_library_call_value_1): Break out from ...; handle
2819         VOIDmode function calls too.
2820         (emit_library_call_value): ... here.
2821         (emit_library_call): Implement by calling emit_library_call_value_1.
2822
2823 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
2824
2825         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
2826         Update arg_space_so_far on stack adjustments.
2827         (emit_library_call, emit_library_call_value): Likewise; take into
2828         account arg_space_so_far and pending_stack_adjust when calculcating
2829         the boundary.
2830
2831 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
2832
2833         * flow.c: Move all basic block reordering code into its own file.
2834         (create_basic_block): Externalize.
2835         * bb-reorder.c: New file. Copy all basic block reordering code from
2836         flow.c to this file.
2837         (reorder_basic_blocks): Fix fencepost error in for-loop.
2838         (reorder_basic_blocks): Remove braces from single statement for-loops.
2839         * basic-block.h: Add declaration for create_basic_block.
2840         * Makefile.in: Add rules for bb-reorder.o.
2841
2842 2000-03-16  Neil Booth  <NeilB@earthling.net>
2843
2844         * cppinit.c (handle_option):  Implement #unassert directive
2845         as -A- command line option.
2846         (print_help):  Update.
2847         * cpptexi.c:  Update.
2848
2849 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2850
2851         * md.texi (Standard Names): Document `jump'.
2852
2853 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
2854
2855         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
2856         gotos.
2857
2858 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
2859
2860         See the ChangeLog on the branch for more details.
2861         
2862         * configure.in: Merge in changes from newppc-branch.
2863         * configure: Regenerate.
2864         * config/rs6000/*: Merge in changes from newppc-branch.
2865         Also correct copyright notices.
2866
2867 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
2868
2869         * acconfig.h (HAVE_GAS_WEAK): New define.
2870         * configure.in (assembler weak support): Check for .weak support.
2871         * config.in, configure: Rebuilt.
2872         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
2873         HAVE_GAS_WEAK is defined.
2874
2875 2000-03-15  Nick Clifton  <nickc@cygnus.com>
2876
2877         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
2878         asm_fprintf().
2879
2880 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
2881
2882         * cppfiles.c (open_include_file): New function.
2883         (find_include_file, cpp_read_file): Use it.
2884
2885 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
2886
2887         * cpphash.c (dump_hash_helper): Take the slot, not the element.
2888
2889 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
2890
2891         * flow.c (verify_flow_info): Check for unconditional return.
2892
2893 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
2894
2895         * config/ia64/ia64.md (restore_stack_nonlocal): New.
2896         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
2897         (__ia64_restore_stack_nonlocal): New.
2898         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
2899
2900 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2901
2902         * cpphash.c (collect_formal_parameters): Do not complain about
2903         parameter names that just start with `__VA_ARGS__'.
2904
2905 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
2906
2907         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
2908         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
2909         * i386.c (pentiumpro_cost): Set mul cost to 4.
2910         (x86_use_movx): Set for PPro.
2911
2912 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
2913
2914         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
2915         STACK_BOUNDARY for empty frames now.
2916
2917 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
2918
2919         * stor-layout.c (layout_union): Remove.
2920         (layout_union_field): New function, split out from layout_union.
2921         (finish_union_layout): Likewise.
2922         (layout_field): Handle unions by calling layout_union_field.
2923         (finish_record_layout): Handle unions.
2924         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
2925         QUAL_UNION_TYPE handling.
2926
2927 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
2928
2929         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
2930         end of basic block is jump_insn, not barrier; use create_basic_block
2931         instead of creating basic block by hand.
2932
2933 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
2934
2935         * flow.c (reorder_basic_blocks): Account for barriers when writing
2936         over NEXT_INSN (last_bb->end).
2937         (verify_flow_info): Add check for missing barriers.
2938
2939 2000-03-14  Greg McGary  <gkm@gnu.org>
2940
2941         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
2942         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
2943         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
2944         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
2945         __unbounded, __unbounded__): New keywords.
2946         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
2947         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
2948         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
2949
2950 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
2951
2952         * cselib.h: New file.
2953         * alias.c: Include "cselib.h".
2954         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
2955         MEMs as two new arguments.
2956         (get_addr): New static function.
2957         (find_base_term): Handle VALUEs.
2958         (memrefs_conflict_p): Likewise.
2959         (true_dependence): Call get_addr on the addresses.
2960         Call fixed_scalar_and_varying_struct_p with addresses that have been
2961         passed through get_addr and canon_rtx.
2962         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
2963         with true_dependence.
2964         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
2965         * loop.c: Include "cselib.h".
2966         (load_mems): Process extended basic block that enters the loop with
2967         cselib.  Use that information to change initialization of the shadow
2968         register so that a constant equivalence is seen by later passes.
2969         * reload1.c: Include "cselib.h".
2970         (reload_cse_invalidate_regno): Delete function.
2971         (reload_cse_mem_conflict_p): Likewise.
2972         (reload_cse_invalidate_mem): Likewise.
2973         (reload_cse_invalidate_rtx): Likewise.
2974         (reload_cse_regno_equal_p): Likewise.
2975         (reload_cse_check_clobber): Likewise.
2976         (reload_cse_record_set): Likewise.
2977         (reg_values): Delete static variable.
2978         (invalidate_regno_rtx): Likewise.
2979         (reload_cse_delete_noop_set): New static function.
2980         (reload_cse_simplify): New static function, broken out of
2981         reload_cse_regs_1.
2982         (reload_cse_noop_set_p): Delete unused argument INSN.
2983         Just call rtx_equal_for_cselib_p on set source and destination.
2984         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
2985         reload_cse_delete_noop_set.  Delete code to keep track of values; use
2986         cselib functions instead.  Delete code to push/pop obstacks.
2987         (reload_cse_simplify_set): Use cselib to find equivalent values.
2988         Delete code to push/pop obstacks.
2989         (reload_cse_simplify_operands): Likewise.
2990         * rtl.def (VALUE): New rtx code.
2991         * rtl.h (union rtunion_def): New elt rt_cselib.
2992         (X0CSELIB, CSELIB_VAL_PTR): New macros.
2993         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
2994         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
2995         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
2996         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
2997         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
2998         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
2999         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
3000         cselib_record_set, cselib_record_sets): New static functions.
3001         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
3002         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
3003         references_value_p): New functions.
3004         (MAX_USELESS_VALUES, REG_VALUES): New macros.
3005         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
3006         n_useless_values, reg_values, callmem, cselib_obstack,
3007         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
3008         New static variables.
3009         * varray.h (union varray_data_tag): New elt te.
3010         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
3011         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
3012         dependencies.
3013
3014 2000-03-14  Nick Clifton  <nickc@cygnus.com>
3015
3016         * gcc.c (do_spec_1): Catch the case where %* is used in a
3017         substitution pattern, but it has not been initialised.
3018         Issue a meaningful error message if an unrecognised operator
3019         is encountered in a spec string.
3020
3021 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
3022
3023         * function.c (prepare_function_start): Correctly initialize
3024         cfun->stack_alignment_needed.
3025
3026 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
3027
3028         * cppfiles.c (find_include_file): Don't assume nshort is a
3029         substring of name.
3030
3031 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
3032
3033         * configure.in (hppa configurations): Add pa32-regs.h to the
3034         list of tm files as appropriate.
3035         * configure: Rebuilt.
3036         * pa.c (compute_frame_size): Remove explicit knowledge about FP
3037         register numbering.
3038         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
3039         (fmpyaddoperands, fmpysuboperands): Likewise.
3040         * pa.h: Remove various definitions which depend on knowing
3041         how registers are numbered.
3042         * pa32-regs.h: New file with PA32 register numbering specific
3043         definitions.
3044
3045 2000-03-14  Richard Henderson  <rth@cygnus.com>
3046
3047         * regmove.c (combine_stack_adjustments): New.
3048         (stack_memref_p, single_set_for_csa): New.
3049         (free_csa_memlist, record_one_stack_memref): New.
3050         (try_apply_stack_adjustment): New.
3051         (combine_stack_adjustments_for_block): New.
3052         * rtl.h (combine_stack_adjustments): Declare.
3053         * toplev.c (rest_of_compilation): Call it.
3054
3055         * i386.md: Revert 2000-01-16 change.
3056
3057 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3058
3059         * gccbug.in: Add web category, gcc specific classes.
3060
3061 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
3062
3063         * stor-layout.c (finalize_record_size): Fix typo.
3064
3065 2000-03-14  Stan Shebs  <shebs@apple.com>
3066
3067         * c-typeck.c (c_alignof): Error on incomplete types.
3068         * extend.texi (Alignment): Document this.
3069
3070 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
3071
3072         * cppfiles.c: Include mkdeps.h.
3073         (find_include_file, read_include_file): Remove _cpp_ prefix
3074         from name, make static.
3075         (_cpp_execute_include): New function, broken out of
3076         do_include.
3077
3078         * cpplib.c: Don't include mkdeps.h.
3079         (struct directive): Remove type field. Reorder entries.  The
3080         function takes only one argument.
3081         (struct if_stack): Make type field an int.
3082         (directive_table): Rename to dtable.  Generate it, the
3083         prototypes of the directive handlers, and the enum for the
3084         directive numbers, from a template macro.
3085         (do_ifndef, do_include_next, do_import): New functions.
3086         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
3087         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
3088         do_ident, do_assert, do_unassert, do_sccs): Take only one
3089         argument.
3090         (do_sccs): Define always, but alter behavior based on
3091         SCCS_DIRECTIVE.
3092         (_cpp_handle_directive, consider_directive_while_skipping):
3093         Restructure for new directive table layout.
3094
3095         (pass_thru_directive): Take a directive number, not a pointer
3096         to a struct directive.
3097         (parse_include): New function, broken out of do_include.
3098         (do_include, do_import, do_include_next): Use parse_include
3099         and _cpp_execute_include.
3100         (do_elif, do_else): Test for T_ELSE specifically when checking
3101         for #elif/#else after #else.
3102         (parse_ifdef): New function, broken out of do_ifdef.
3103         (validate_else): Expect a name arg without a leading #.
3104         (if_directive_name): Delete.
3105         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
3106         directive handlers with only one argument.
3107
3108         * cpphash.h: Update prototypes.
3109         (enum node_type): Remove entries for directives.
3110         * Makefile.in: Update dependencies.
3111
3112         * cpphash.c (dump_hash_helper): Only dump nodes of type
3113         T_MACRO.  Emit a newline after each definition.
3114
3115 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3116
3117         * gccbug.in: New file.
3118         * configure.in (all_outputs): Add gccbug.
3119         * Makefile.in (install-common): Install gccbug.
3120         (GCCBUG_INSTALL_NAME): New variable.
3121         * configure: Rebuilt.
3122         
3123 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
3124
3125         * function.c (put_var_into_stack): Use type_for_mode to calculate
3126         part_type.  Use MEM_SET_IN_STRUCT_P.
3127         * expr.c (store_field): Handle CONCAT.
3128         (store_constructor): Use fields_length.
3129         * tree.c (fields_length): New fn.
3130         * tree.h: Declare it.
3131
3132 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
3133
3134         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
3135         (cpplex.o): New target.
3136         * po/POTFILES.in: Add cpplex.c.
3137
3138         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
3139         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
3140         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
3141         skip_block_comment, skip_line_comment, skip_comment,
3142         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
3143         _cpp_parse_name, skip_string, parse_string,
3144         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
3145         _cpp_get_directive_token, find_position,
3146         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
3147         (maybe_macroexpand, _cpp_lex_token): New functions.
3148
3149         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
3150         parse_goto_mark): Delete.
3151         (_cpp_handle_eof): New function.
3152         (_cpp_handle_directive): Rename from handle_directive.
3153         (_cpp_output_line_command): Rename from output_line_command.
3154         (do_if, do_elif): Call _cpp_parse_expr directly.
3155         * cppfiles.c (_cpp_read_include_file): Don't call
3156         init_input_buffer here.
3157         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
3158         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
3159         here; pop the token_buffer and skip the rest of the line here.
3160         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
3161         here.
3162
3163         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
3164         Define here.
3165         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
3166         CPP_GOTO_MARK): New macros.
3167         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
3168         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
3169         _cpp_read_and_prescan, _cpp_init_input_buffer,
3170         _cpp_grow_token_buffer, _cpp_get_directive_token,
3171         _cpp_handle_directive, _cpp_handle_eof,
3172         _cpp_output_line_command): Prototype them here.
3173         * cpplib.h (enum cpp_token): Add CPP_MACRO.
3174         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
3175         quote_string, output_line_command): Remove.
3176
3177 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
3178
3179         * stmt.c (expand_end_case): RANGE may be signed, and when checking
3180         whether it is too large we must also verify that it isn't negative.
3181
3182 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
3183
3184         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
3185         (movsi_zero_liveg0): Remove.
3186         (movsf_insn_novis_liveg0): Remove.
3187         (negsi2): Remove.
3188         (negsi2_not_liveg0): Rename to negsi2.
3189         (one_cmplsi2): Remove.
3190         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
3191         (one_cmplsi2_liveg0): Remove.
3192         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
3193         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
3194         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
3195         (PREDICATE_CODES): Remove zero_operand.
3196         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
3197         TARGET_BROKEN_SAVERESTORE.
3198         (zero_operand): Remove.
3199         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
3200         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
3201         options.
3202         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
3203         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
3204         TARGET_BROKEN_SAVERESTORE): Remove.
3205         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
3206         Remove.
3207         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
3208         Remove.
3209         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
3210         Remove.
3211
3212         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
3213
3214 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
3215
3216         * cpplib.c (do_pragma_implementation): Fix off-by-one error
3217         truncating a string.  Don't assume tokens are nul terminated.
3218         Problem noted by Andreas Jaeger <aj@suse.de>
3219
3220 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
3221
3222         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
3223         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
3224         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
3225
3226 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
3227
3228         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
3229         STRUCTURE_SIZE_BOUNDARY.
3230
3231 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
3232
3233         * tree.h (record_layout_info_s): New structure.
3234         (record_layout_info): New type.
3235         (new_record_layout_info): New function.
3236         (layout_field): Likewise.
3237         (finish_record_layout): Likewise.
3238         * stor-layout.c (layout_record): Remove.
3239         (new_record_layout_info): New function.
3240         (layout_field): New function, broken out from layout_record.
3241         (finalize_record_size): Likewise.
3242         (compute_record_mode): Likewise.
3243         (finalize_type_size): New function, broken out from layout_type.
3244         (finish_record_layout): Likewise.
3245         (layout_type): Use them.
3246         
3247 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
3248
3249         * cpphash.c: Don't include version.h.
3250         (special_symbol) [case T_VERSION]: Look for the string in
3251         hp->value.cpval; don't use version_string.
3252         * cppinit.c (initialize_builtins): Set hp->value.cpval for
3253         __VERSION__ to version_string.
3254         * Makefile.in (cpphash.o): Update deps.
3255
3256 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
3257
3258         Convert cpplib to use libiberty/hashtab.c.
3259
3260         * cpplib.h (struct cpp_reader): Make hashtab and
3261         all_include_files of type 'struct htab *'.  Delete HASHSIZE
3262         and ALL_INCLUDE_HASHSIZE macros.
3263
3264         * cpphash.h: Update prototypes.
3265         (struct hashnode): Remove next, prev, and bucket_hdr members.
3266         Make length a size_t.  Add hash member.
3267         (struct ihash): Remove next member.  Add hash member.  Make
3268         name a flexible array member.
3269
3270         * cppfiles.c: Include hashtab.h.
3271         (include_hash): Delete.
3272         (IHASHSIZE): New macro.
3273         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
3274         (cpp_included): Do the hash lookup here.
3275         (_cpp_find_include_file): Rewrite.
3276         (cpp_read_file): Put the "fake" hash entry into the hash
3277         table.  Honor the control_macro, if it turns out we've seen
3278         the file before.  Don't push the buffer here.
3279         (_cpp_read_include_file): Push the buffer here.
3280         (OMODES): New macro.  Use it whenever we call open(2).
3281
3282         * cpphash.c: Include hashtab.h.
3283         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
3284         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
3285         _cpp_lookup_slot): New functions.
3286         (HASHSIZE): new macro.
3287         (hashf, _cpp_install, _cpp_delete_macro): Delete.
3288         (_cpp_lookup): Use hashtab.h routines.
3289
3290         * cppinit.c: Include hashtab.h.
3291         (cpp_reader_init): Call _cpp_init_macro_hash and
3292         _cpp_init_include_hash.  Don't allocate hashtab directly.
3293         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
3294         pfile->all_include_files.
3295         (initialize_builtins): Use _cpp_make_hashnode and
3296         htab_find_slot to add hash entries.
3297         (cpp_finish): Just call _cpp_dump_macro_hash.
3298         * cpplib.c: Include hashtab.h.
3299         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
3300         create hash entries.
3301         (do_pragma_poison, do_assert): Likewise.
3302         (do_include): Don't push the buffer here.  Don't increment
3303         system_include_depth unless _cpp_read_include_file succeeds.
3304         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
3305         or htab_remove_elt.
3306         (do_pragma_implementation): Use alloca to create copy.
3307
3308         * Makefile.in: Update dependencies.
3309
3310 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3311
3312         * cppinit.c (cl_directive_handler): More K&R fixing.
3313
3314 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
3315
3316         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
3317         STACK_BOUNDARY.
3318         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
3319
3320 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3321
3322         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
3323         Change from char[] to macros.
3324
3325 2000-03-12  Neil Booth  <NeilB@earthling.net>
3326
3327         * cppinit.c (cpp_start_read): Update indirect function
3328         call to K&R C.
3329
3330 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
3331
3332         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
3333         entry.
3334
3335         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3336         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
3337
3338 2000-03-11  Neil Booth  <NeilB@earthling.net>
3339
3340         * cppinit.c (struct pending option): Replace undef with a 
3341         pointer to a directive handling routine.
3342         (struct cpp_pending): Replace separate assert_ and define_ 
3343         lists with one directive_ list.
3344         (new_pending_define): Rename new_pending_directive. Extra
3345         argument is the directive's handling routine.
3346         (handle_option): Update to use new_pending_directive.
3347
3348 2000-03-11  Neil Booth  <NeilB@earthling.net>
3349
3350         * cppfiles.c (file_cleanup, _cpp_find_include_file,
3351         remap_filename, _cpp_read_include_file, actual_directory,
3352         hack_vms_include_specification): Replace bcopy(), index() etc
3353         calls.  Add casts to some allocations.  Make some variables
3354         pointers to const [unsigned] char.
3355         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
3356         collect_formal_parameters): Similarly.
3357         * cppinit.c (struct pending_option, append_include_chain,
3358         cpp_options_init, cpp_reader_init, initialize_standard_includes,
3359         cpp_start_read, new_pending_define, handle_option): Similarly.
3360         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
3361         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
3362         do_pragma_implementation, detect_if_not_defined,
3363         do_ifdef, skip_if_group, cpp_get_token, parse_string,
3364         do_assert, do_unassert): Similarly.
3365         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
3366         function prototypes.
3367         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
3368
3369 2000-03-10  Richard Henderson  <rth@cygnus.com>
3370
3371         * builtins.c (expand_builtin_strlen): Revert last change.
3372         Use emit_insn_before if we're at the beginning of a sequence.
3373
3374 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
3375
3376         * builtins.c (expand_builtin_strlen): Make sure that we have something
3377         at the beginning of the sequence.
3378
3379         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
3380         deferred inlines.
3381
3382         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
3383
3384 2000-03-10  Richard Henderson  <rth@cygnus.com>
3385
3386         * except.c (can_throw): Use INTVAL on a CONST_INT.
3387         (reachable_handlers): Likewise.
3388         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
3389
3390 2000-03-10  Andreas Jaeger  <aj@suse.de>
3391
3392         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
3393         MD_STARTFILE_PREFIX since those are not needed on linux.
3394         (ASM_FILE_START): New, from mips/gnu.h.
3395
3396 2000-03-09  Richard Henderson  <rth@cygnus.com>
3397             Alex Samuel  <samuel@codesourcery.com> and others
3398         
3399         * Makefile.in (ssa.o): New rule.
3400         (OBJS): Add ssa.o.
3401         (STAGESTUFF): Add *.ssa and *.ussa.
3402         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
3403         * rtl.def (PHI): New RTL expression.
3404         * rtl.h (clear_log_links): New declaration.
3405         (convert_to_ssa): Likewise.
3406         (convert_from_ssa): Likewise.
3407         * flow.c (split_edge): If the entry node falls through to the
3408         split edge's source block, split the entry edge.
3409         (clear_log_links): New function.
3410         * toplev.c (ssa_dump): New variable.
3411         (flag_ssa): Likewise.
3412         (f_options): Add "ssa".
3413         (compile_file): Create SSA dump files.
3414         (rest_of_compilation): Go to and from SSA if enabled.
3415         (decide_d_option): Handle -de for SSA dump files.
3416         * ssa.c: New file.
3417         
3418 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
3419
3420         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
3421         same as VAR_DECL.
3422
3423 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
3424
3425         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
3426
3427 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
3428
3429         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
3430         (MD_STARTFILE_PREFIX_1): New macro.
3431
3432 2000-03-09  Robert Lipe  <robertl@sco.com>
3433
3434         * config/ia64/ia64.c: Include system.h.
3435
3436 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
3437
3438         * except.c (nothrow_function_p): If -fno-exceptions, just return.
3439         (init_eh_nesting_info): Likewise.
3440
3441         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
3442         (TREE_NOTHROW): Rename from TREE_RAISES.
3443         * toplev.c (rest_of_compilation): Set it.
3444         * print-tree.c (print_node): Adjust.
3445         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
3446         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
3447         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
3448         REG_EH_REGION note as appropriate.
3449         (libfunc_nothrow): New fn.
3450         (emit_library_call, emit_library_call_value): Use it.
3451         (expand_call): Check TREE_NOTHROW.
3452
3453         * varasm.c (make_decl_rtl): Skip initial '*' when setting
3454         DECL_ASSEMBLER_NAME.
3455
3456 2000-03-09  Andreas Jaeger  <aj@suse.de>
3457
3458         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
3459         (TARGET_MEM_FUNCTIONS): Define.
3460
3461 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
3462
3463         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
3464
3465         * except.c (can_throw): See through a SEQUENCE.
3466         (nothrow_function_p): New fn.
3467         * except.h: Declare it.
3468         * function.c (current_function_nothrow): New var.
3469         (prepare_function_start): Initialize it.
3470         * output.h: Declare it.
3471         * toplev.c (rest_of_compilation): Set it.
3472         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
3473
3474 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
3475
3476         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
3477         match.  (cpp_compare_defs): Count the nul separator when
3478         advancing over argument names.
3479
3480 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
3481
3482         * recog.c (preprocess_constraints): Matching constraints affect
3483         same alternative/different operand, not same operand/different
3484         alternative.
3485         
3486         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
3487         register and a constant specially.
3488
3489 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3490
3491         * libgcc2.h: New file.
3492         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
3493
3494 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
3495
3496         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
3497         * configure: Regenerate.
3498         * config/ia64: New.
3499
3500 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
3501
3502         * Makefile.in (LIBCPP_DEPS): New macro.
3503         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
3504         it to declare deps.
3505         * cpperror.c: Include cpphash.h.
3506         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
3507         dingleberry.
3508         (lex): Don't use CPP_WARN_UNDEF.
3509         (_cpp_parse_expr): Return an int, the truth value.
3510         * cppfiles.c: Include cpphash.h.
3511         (_cpp_merge_include_chains): Move to cppinit.c and make static.
3512         * cppinit.c (include_defaults_array): Disentangle.
3513         (cpp_cleanup): Don't free the if stack here.
3514         (cpp_finish): Pop off all buffers, not just one.
3515         * cpplib.c (eval_if_expr): Return int.
3516         (do_xifdef): Rename do_ifdef.
3517         (handle_directive): Don't use CPP_PREPROCESSED. 
3518         (cpp_get_token): Don't use CPP_C89.
3519         * fix-header.c: Don't use CPP_OPTIONS.
3520
3521         * cpplib.h: Move U_CHAR, enum node_type, struct
3522         file_name_list, struct ihash, is_idchar, is_idstart,
3523         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
3524         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
3525         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
3526         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
3527         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
3528         of _cpp_simplify_pathname, _cpp_find_include_file,
3529         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
3530         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
3531         cppinit.c.
3532         Change all uses of U_CHAR to be unsigned char instead.
3533         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
3534
3535 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
3536
3537         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
3538         (dwarf2out_begin_prologue): Set it.
3539         (output_call_frame_info): Don't emit EH unwind info for leaves.
3540
3541         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
3542         can occur outside of an EH region.
3543         * except.c: Correct comments about rethrow behavior.
3544         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
3545
3546 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
3547
3548         * flow.c (make_edges): Always call make_eh_edge for calls.
3549
3550 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
3551
3552         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
3553         (struct cpp_buffer): Remove fname and underflow fields.
3554         (struct cpp_reader): Remove get_token field.
3555         (struct include_hash): Rename to struct ihash.  Add typedef to
3556         IHASH.
3557         (struct if_stack): Remove fname field.
3558         (IF_STACK_FRAME): Rename to IF_STACK.
3559
3560         * cpperror.c (print_containing_files): Trust that there are no
3561         macro buffers below the top file buffer.
3562         * cppfiles.c: Replace all references to 'struct include_hash'
3563         with 'IHASH'.  Rename initialize_input_buffer to
3564         init_input_buffer.  Don't set or reference cpp_buffer->fname,
3565         use buffer->ihash->name instead.
3566         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
3567         not CPP_NULL_BUFFER.
3568         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
3569         IF_STACK_FRAME, IHASH not struct include_hash.
3570         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
3571         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
3572         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
3573         references to cpp_buffer->fname (delete entirely, or use
3574         ->ihash->name instead) and IF_STACK->fname.
3575         (cpp_push_buffer): Don't set new->underflow.
3576         (do_include): Use cpp_file_buffer.
3577
3578         * cpphash.c (collect_formal_parameters): Remove duplicate
3579         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
3580         used as a macro argument name.  Don't append "..." to namebuf
3581         for varargs macros.  After we're done scanning, go through
3582         namebuf and make it NUL separated, not comma separated.
3583         (_cpp_compare_defs): Remove register tag from variables.
3584         Expect defn->argnames to be NUL separated.
3585         (_cpp_dump_definition): Expect defn->argnames to be NUL
3586         separated and in forward order.
3587         * cpphash.h: Update documentation of argnames field.
3588
3589 2000-03-08  Richard Henderson  <rth@cygnus.com>
3590
3591         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
3592         to fail.  Don't pre-expand the source operand.
3593
3594         * i386.md (strlensi): Initialize eoschar and align before use.
3595
3596 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
3597
3598         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
3599         CONSTRUCTOR element.
3600
3601 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
3602
3603         * mips.c (mips_expand_prologue): If the last 
3604         named argument is the vararg marker "va_list", treat it as
3605         an unnamed argument.
3606
3607 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
3608
3609         * dbxout.c (dbxout_parms): When correcting for promoted 
3610         big-endian parameters, use the mode of the DECL_RTL rather 
3611         than UNITS_PER_WORD.
3612
3613 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
3614
3615         * c-common.h (make_fname_decl): Declare.
3616         * c-common.c (make_fname_decl): Define.
3617         (declare_hidden_char_array): Remove.
3618         (declare_function_name): Use make_fname_decl.
3619         * c-decl.c (c_make_fname_decl): New function.
3620         (init_decl_processing): Set make_fname_decl.
3621
3622 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
3623
3624         * cccp.c (handle_directive): Initialize backslash_newlines_p.
3625
3626 2000-03-07  Philipp Thomas  <pthomas@suse.de>
3627
3628         * po/POTFILES.in: Remove cppalloc.c from file list.
3629
3630 2000-03-07  Steve Chamberlain  <sac@pobox.com>
3631
3632         * pj.c (pj_expand_prologue): current_function->args_info is
3633         now current_function_args_info.  
3634
3635         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
3636         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
3637         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
3638
3639 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3640
3641         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
3642         output as hexadecimal rather than the default octal.
3643
3644 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
3645
3646         * cpphash.c (special_symbol): Fix thinko in previous commit.
3647
3648 2000-03-07  Neil Booth  <NeilB@earthling.net>
3649
3650         * cppexp.c (struct operation, left_shift, right_shift,
3651         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
3652         "int"s to "unsigned int"s.
3653         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
3654         Similarly.
3655         * cpplib.h: Update for above.
3656         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
3657         returned from allocations.
3658
3659         * cppinit.c (opt_comp, parse_options): New functions.
3660         (handle_option): Use parse_option to parse a single command
3661         line option, that possibly takes an argument.
3662         (cpp_handle_options): Sort the array of command line options on
3663         first invocation (non-ASCII hosts only).
3664         (print_help): Update.
3665
3666 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
3667
3668         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
3669         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
3670         
3671         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
3672         initialized.
3673         * cppinit.c (cpp_cleanup): Free imp->nshort also.
3674
3675         * cpperror.c (cpp_print_containing_files,
3676         cpp_print_file_and_line, v_cpp_message): Rename to
3677         print_containing_files, print_file_and_line, and v_message.
3678         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
3679         to _cpp_parse_expr, parse_escape, and lex.
3680         (parse_charconst): Remove broken multibyte support.
3681         * cppfiles.c (include_hash): Make static.
3682         (cpp_included): New function.
3683         (merge_include_chains, find_include_file, finclude,
3684         simplify_pathname): Rename to _cpp_merge_include_chains,
3685         _cpp_find_include_file, _cpp_read_include_file, and
3686         _cpp_simplify_pathname.
3687         * cpphash.c (cpp_lookup, free_definition, delete_macro,
3688         cpp_install, create_definition, macroexpand, compare_defs,
3689         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
3690         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
3691         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
3692         * cppinit.c (cpp_handle_option): Rename to handle_option, make
3693         static.
3694         * cpplib.c: Remove extern prototype of cpp_parse_expr.
3695
3696         * cpphash.h: Update prototypes.
3697         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
3698
3699 2000-03-07  Andrew Haley  <aph@cygnus.com>
3700
3701         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
3702         PTRDIFF_TYPE should be based solely on Pmode.
3703         (SIZE_TYPE): ditto.
3704
3705 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3706
3707         * rtl.h (rtunion_def): Constify member `rtstr'.
3708         (emit_line_note_after, emit_line_note, emit_line_note_force,
3709         emit_note, decode_asm_operands): Constify.
3710         
3711         * cse.c (canon_hash): Likewise.
3712
3713         * dbxout.c (dbxout_block): Likewise.
3714
3715         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
3716         v_warning_for_asm): Likewise.
3717
3718         * dwarfout.c (function_start_label): Likewise.
3719
3720         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
3721         emit_line_note_force): Likewise.
3722
3723         * final.c (last_filename, asm_insn_count, final_scan_insn,
3724         output_source_line): Likewise.
3725
3726         * function.h (struct emit_status): Likewise.
3727
3728         * gcse.c (hash_expr_1): Likewise.
3729
3730         * genattr.c (gen_attr, main): Likewise.
3731
3732         * genattrtab.c (struct function_unit, current_alternative_string,
3733         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
3734         attr_numeral, check_attr_test, check_attr_value,
3735         convert_set_attr_alternative, convert_set_attr,
3736         compute_alternative_mask, simplify_by_exploding, gen_attr,
3737         gen_unit): Likewise.
3738
3739         * genflags.c (gen_insn): Likewise.
3740
3741         * gengenrtl.c (type_from_format): Likewise.
3742
3743         * genopinit.c (gen_insn): Likewise.
3744
3745         * genoutput.c (n_occurrences, process_template, process_template):
3746         Likewise.
3747
3748         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3749         Likewise.
3750
3751         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3752         Likewise.
3753
3754         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
3755         ggc_set_mark, ggc_get_size): Likewise.
3756
3757         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
3758
3759         * optabs.c (init_one_libfunc): Likewise.
3760
3761         * output.h (assemble_start_function): Likewise.
3762
3763         * recog.c (decode_asm_operands): Likewise.
3764
3765         * toplev.c (rest_of_compilation): Likewise.
3766
3767         * tree.h (emit_line_note_after, emit_line_note,
3768         emit_line_note_force): Likewise.
3769
3770         * varasm.c (asm_output_bss, asm_output_aligned_bss,
3771         asm_emit_uninitialised, assemble_start_function,
3772         assemble_variable, const_hash, compare_constant_1,
3773         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
3774
3775         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
3776
3777         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
3778
3779         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
3780
3781         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
3782
3783         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
3784         arm_dllimport_name_p): Likewise.
3785
3786         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
3787         Likewise.
3788
3789         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
3790
3791         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3792
3793         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
3794         arm_mark_dllexport, arm_mark_dllimport,
3795         arm_pe_encode_section_info): Likewise.
3796
3797         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
3798         ASM_FINISH_DECLARE_OBJECT): Likewise.
3799
3800         * arm/thumb.c (thumb_function_prologue): Likewise.
3801
3802         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
3803
3804         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3805
3806         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
3807
3808         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
3809
3810         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
3811
3812         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3813
3814         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
3815         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
3816
3817         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
3818
3819         * i386/i386.c (asm_output_function_prefix): Likewise.
3820
3821         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
3822
3823         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3824
3825         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
3826
3827         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
3828         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
3829         ASM_OUTPUT_SECTION_NAME): Likewise.
3830
3831         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
3832
3833         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
3834
3835         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
3836
3837         * m32r/m32r.c (m32r_encode_section_info): Likewise.
3838
3839         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3840
3841         * mcore/mcore.c (mcore_encode_section_info): Likewise.
3842
3843         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3844
3845         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3846
3847         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3848
3849         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
3850
3851         * mips/mips.md (movdi, movsi): Likewise.
3852
3853         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3854
3855         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3856
3857         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3858
3859         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
3860         ASM_OUTPUT_ASCII): Likewise.
3861
3862         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
3863         output_mi_thunk, output_toc): Likewise.
3864
3865         * rs6000/rs6000.md (movsi): Likewise.
3866
3867         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
3868
3869         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
3870
3871         * v850/v850.c (print_operand, print_operand_address,
3872         v850_encode_data_area): Likewise.
3873
3874 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
3875         
3876         * config/mips/mips.md (zero_extendsidi2): Always force operand
3877         one to memory for mips16.
3878
3879 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3880
3881         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
3882         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
3883         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
3884         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
3885         (min_precision): Result is unsigned.
3886         (add_double, neg_double, mul_double): Low word is unsigned.
3887         (lshift_double, rshift_double, lrotate_double): Likewise.
3888         (rrotate_double, div_and_round_double): Likewise.
3889         (tree_floor_log2, compare_tree_int): New functions.
3890         (preserve_rtl_expr_temps): New declaration.
3891         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
3892         (decl_attributes): Use tree_log2 to find alignment.
3893         Check for TREE_INT_CST_HIGH for format args.
3894         (min_precision): Now unsigned.
3895         Use tree_floor_log2.
3896         (truthvalue_conversion): Delete long-disabled code.
3897         * c-decl.c (finish_struct): Clean up tests on field width.
3898         (finish_function): Use compare_tree_int.
3899         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
3900         * c-typeck.c (comptypes): Use tree_int_cst_equal.
3901         (default_conversion, digest_init): Use compare_tree_int.
3902         (build_binary_op): Use integer_all_onesp and compare_tree_int.
3903         Fix type errors in forming masks.
3904         * calls.c (initialize_argument_information): Use compare_tree_int.
3905         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3906         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
3907         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
3908         (store_field): Use compare_tree_int.
3909         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
3910         (expand_expr, case ARRAY_REF): Use compare_tree_int.
3911         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
3912         (do_store_flag): Use compare_tree_int.
3913         * fold-const.c (encode, decode): Low part is always unsigned.
3914         (force_fit_type, add_double, neg_double, mul_double): Likewise.
3915         (lshift_double, rshift_double, lrotate_double): Likewise.
3916         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
3917         (fold_convert): Use compare_tree_int.
3918         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
3919         (invert_truthvalue, case INTEGER_CST): Likewise.
3920         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
3921         * mkdeps.c (deps_dummy_targets): Make I unsigned.
3922         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
3923         (lshift_double, rshift_double, lrotate_double, rrotate_double):
3924         Likewise.
3925         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
3926         (expand_end_case): Use compare_tree_int.
3927         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3928         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
3929         (layout_decl): Likewise.
3930         (layout_record, layout_union): Make sizes unsigned.
3931         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
3932         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
3933         * tree.c (struct type_hash): hashcode is unsigned.
3934         (build_type_attribute_variant, type_hash_list): Likewise.
3935         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
3936         (attribute_hash_list, build_array_type, build_method_type): Likewise.
3937         (build_complex_type): Likewise.
3938         (real_value_from_int_cst): Remove unneeded casts.
3939         (integer_all_onesp): Add casts.
3940         (tree_floor_log2, compare_tree_int): New functions.
3941         (build_index_type): Use tree_int_cst_sgn.
3942         * varasm.c (assemble_variable): Use compare_tree_int.
3943
3944 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
3945
3946         * cpphash.c (collect_expansion): Also catch ## at start of macro.
3947
3948         * varasm.c (make_decl_rtl): Don't add a number to members of
3949         local classes.
3950         (make_function_rtl): Likewise.
3951
3952 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3953
3954         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
3955         patch from 2000-01-28.
3956
3957 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
3958
3959         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
3960         filled with an insn from the jump target.
3961
3962 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3963
3964         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
3965         (c4x_external_ref): Likewise.
3966         * config/c4x/c4x.c (struct name_list): Likewise.
3967
3968 1999-12-16  Ben Collins  <bcollins@debian.org>
3969
3970         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
3971         argument to genmultilib.
3972         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
3973         the contents into the multilib.h header.
3974         * gcc.c: Declare multilib_exclusions for the specs file.
3975         (set_multilib_dir): Use it.
3976         (print_multilib_info): Likewise.
3977         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
3978         to pass to genmultilib.
3979
3980 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3981
3982         * builtins.c (built_in_class_names, built_in_names): Constify a
3983         char*.
3984
3985         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
3986         int.
3987         (_mcleanup): Ensure value matches format specifier in sprintf.
3988
3989         * cpphash.c (special_symbol): Don't needlessly cast away
3990         const-ness.
3991
3992         * cppinit.c (base_name): Delete unused prototype.
3993
3994         * mkdeps.c (deps_init): Make definition K&R safe.
3995
3996         * tree.h (built_in_class_names, built_in_names): Constify a
3997         char*.
3998
3999 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
4000
4001         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
4002         floating point instructions for epilogue delay.
4003
4004         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
4005         to gas if it supports .register pseudo.
4006
4007         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
4008         LONG_DOUBLE_TYPE_SIZE if not defined.
4009         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
4010         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
4011         * real.c: Likewise.
4012         * gengenrtl.c: Likewise.
4013         * print-rtl.c: Likewise.
4014         * rtl.c: Likewise.
4015         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
4016         MASK_LONG_DOUBLE_128.
4017         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
4018         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
4019         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
4020         (SUBTARGET_SWITCHES): Define.
4021         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
4022         with -mlong-double-128.
4023         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
4024         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
4025         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
4026         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
4027         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
4028         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
4029         with -mlong-double-128.
4030         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
4031         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
4032         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
4033         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
4034         TARGET_LONG_DOUBLE_128): Define.
4035         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
4036         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
4037         long double on TARGET_ARCH64.
4038
4039 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
4040
4041         * function.c (free_temps_for_rtl_expr): Don't free slots
4042         that have been pushed into a higher level.
4043         
4044         Revert this patch:
4045         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
4046
4047 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
4048
4049         * basic-block.h (ALLOCA_REG_SET): Remove.
4050         (INITIALIZE_REG_SET): New macro.
4051         * flow.c (update_life_info): Use it.
4052         (calculate_global_regs_live): Likewise.
4053         (propagate_block): Likewise.
4054         * global.c (build_insn_chain): Likewise.
4055         * haifa-sched.c (schedule_region): Likewise.
4056
4057 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
4058
4059         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
4060         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
4061         (DWARF_ARANGES_PAD_SIZE): New define.
4062         (output_aranges): Use it to pad the address range header.
4063         (DWARF_ROUND): Fix for non power of 2 rounding.
4064
4065 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
4066
4067         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
4068
4069 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
4070
4071         * tree.def (RTL_EXPR): Update documentation.
4072         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
4073         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
4074         * function.c (preserve_rtl_expr_temp): New function.
4075         (preserve_rtl_expr_temps): Likewise.
4076         (preserve_rtl_expr_result): Use it.
4077
4078         Revert this patch:
4079         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
4080
4081 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
4082
4083         * regmove.c (copy_src_to_dest)  Do not create src->dest move
4084         for unchanging destination.
4085
4086 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
4087
4088         * function.h (struct sequence_stack): Remove rtl_expr.
4089         (struct emit_staus): Likewise.
4090         (seq_rtl_expr): Remove.
4091         * tree.h (free_temps_for_rtl_expr): Don't declare.
4092         (start_sequence_for_rtl_expr): Likewise.
4093         * rtl.h (preserve_rtl_expr_result): Likewise.
4094         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
4095         (start_sequence_for_rtl_expr): Remove.
4096         (push_topmost_sequence): Don't save sequence_rtl_expr.
4097         (pop_topmost_sequence): Remove comment about not restoring it.
4098         (end_sequence): Don't set seq_rtl_expr.
4099         (init_emit): Don't initialize it.
4100         (mark_sequence_stack): Don't mark it.
4101         (mark_emit_status): Likewise.
4102         * except.c (protect_with_terminate): Use
4103         start_sequence_for_rtl_expr, not start_sequence.
4104         * expr.c (expand_expr, case RTL_EXPR): Don't call
4105         preserve_rtl_expr_result or free_temps_for_rtl_expr.
4106         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
4107         (preserve_rtl_expr_result): Remove.
4108         (free_temps_for_rtl_expr): Likewise.
4109         (pop_temp_slots): Likewise.
4110         (mark_temp_slot): Don't mark the rtl_expr.
4111         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
4112         start_sequence_for_rtl_expr.
4113         
4114 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
4115
4116         * mkdeps.c, mkdeps.h: New files.
4117         * po/POTFILES.in: Add them.
4118         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
4119         (cpplib.o, cppinit.o): Depend on mkdeps.h.
4120         (mkdeps.o): New target.
4121
4122         * cppfiles.c: Delete deps_output.
4123         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
4124         OBJECT_SUFFIX, and base_name.
4125         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
4126         the include hash.
4127         (initialize_dependency_output): Use deps_init,
4128         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
4129         all the unnecessary string bashing.
4130         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
4131         level.
4132         * cpplib.c (do_include): Use deps_add_dep.
4133         * cpplib.h (struct cpp_reader): Replace deps_buffer,
4134         deps_allocated_size, deps_size, deps_column members with
4135         single pointer to a struct deps.  Delete prototype of
4136         deps_output.
4137
4138         * cppinit.c: Fix thinko in previous patch.
4139
4140 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4141
4142         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
4143         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
4144         (mode_for_size_tree): New function.
4145         (layout_decl, layout_type): Call it and clean up BLKmode checks.
4146         * tree.h (mode_for_size_tree): New declaration.
4147         
4148         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
4149
4150 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
4151
4152         * stmt.c (is_body_block): Move...
4153         * dwarfout.c, dwarf2out.c: ...from here.
4154         * tree.h: Declare it.
4155         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
4156         * final.c (final_start_function): Do call remove_unnecessary_notes
4157         when scheduling.
4158
4159 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
4160
4161         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
4162         
4163         * cpplib.h (_dollar_ok): New macro.
4164         (is_idchar, is_idstart): Use it.
4165         (IStable): Rename to _cpp_IStable.  Declare it const if
4166         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
4167         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
4168         is_space): Update for renamed IStable.
4169
4170         * cppinit.c: Delete all references to FAKE_CONST and CAT
4171         macros. Define init_IStable as empty macro if gcc >=2.7 or
4172         C99. Change TABLE() to ISTABLE and hardcode name of table.
4173         (cpp_start_read): Don't change the IStable based on
4174         dollars_in_ident.
4175
4176         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
4177         changed.  Handle '$' for char1 correctly.
4178         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
4179
4180         * cppexp.c (tokentab2): Make const.
4181         (cpp_lex): Make toktab const.
4182         * cppinit.c (include_defaults_array): Make const.
4183         (initialize_standard_includes): Make default_include const.
4184
4185 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
4186
4187         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
4188         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
4189         (gen_decl_die): Likewise.
4190         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
4191         (output_decl): Likewise.
4192
4193         * varasm.c (make_function_rtl): If we change the name used in the
4194         rtl, update DECL_ASSEMBLER_NAME accordingly.
4195         (make_decl_rtl): Likewise.
4196
4197         * toplev.c (rest_of_compilation): Tweak formatting.
4198
4199         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
4200         remove_unnecessary_notes.
4201         (debug_ignore_block): New fn.
4202         * toplev.h: Declare it.
4203         * emit-rtl.c (remove_unncessary_notes): Call it.
4204         * dwarf2out.c (dwarf2out_ignore_block): New fn.
4205         * dwarf2out.h: Declare it.
4206         * final.c (final_start_function): Don't call remove_unnecessary_notes
4207         if we did insn scheduling.
4208
4209 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
4210
4211         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
4212         * cpplib.h: Delete SET_CPP_PEDANTIC.
4213
4214 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4215
4216         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
4217         result is a RECORD_TYPE.
4218
4219 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
4220
4221         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
4222
4223 2000-03-03  Richard Henderson  <rth@cygnus.com>
4224
4225         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
4226         addition over compliments over shifts.
4227
4228 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4229
4230         * reload1.c (reload_combine_note_use): Handle return register USEs.
4231         REG case: Handle multi-hard-register hard regs.
4232
4233 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4234
4235         * md.texi: Document use of '*' in insn pattern name.
4236
4237 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
4238
4239         * calls.c (special_function_p): operator new may not be malloc-like.
4240
4241         * gcse.c (dump_hash_table): Really fix error in last change.
4242
4243 2000-03-02  Denis Chertykov  <denisc@overta.ru>
4244
4245         * avr.c (print_operand): Use print_operand_address instead of
4246         output_addr_const.
4247         * avr/libgcc.S: Cleanup code.
4248
4249 2000-03-02  Richard Henderson  <rth@cygnus.com>
4250
4251         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
4252
4253 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
4254
4255         * tree.h (TYPE_ALIGN_UNIT): New macro.
4256
4257 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
4258
4259         * i386.c: (constant_call_address_operand): Reject CONST_INT.
4260
4261 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
4262
4263         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
4264         for the buffer.
4265         (SET_CPP_PEDANTIC): New macro.
4266         * cpplib.c (do_include): Don't bother checking system_header_p.
4267         (do_warning, do_ident, do_assert, do_unassert): Likewise.
4268         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
4269
4270         * function.h (struct expr_status): Add x_arg_space_so_far.
4271         (arg_space_so_far): New macro.
4272         * expr.c (init_expr): Initialize it.
4273         * calls.c (emit_call_1): Reset it.
4274         (compute_argument_block_size, expand_call): Use it.
4275         (expand_call, store_one_arg): Increment it.
4276
4277 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4278
4279         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
4280         a UNION_TYPE.
4281
4282 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
4283
4284         * cppfiles.c (cpp_read_file): New function.
4285
4286         * cpphash.c (collect_expansion): Make sure to reset last_token
4287         to NORM when we hit a string.  Handle trailing whitespace
4288         properly when the expansion is empty.
4289         (create_definition): Disable line commands while parsing the
4290         directive line.
4291         (dump_definition): If pfile->lineno == 0, output a line
4292         command ahead of the dump, and add a trailing newline.
4293
4294         * cppinit.c (append_include_chain): Add fifth argument, which
4295         indicates whether or not system headers are C++ aware.
4296         (initialize_standard_includes): New function,
4297         broken out of read_and_prescan.  Pass 'cxx_aware' value from
4298         the include_defaults_array on to append_include_chain.
4299         (dump_special_to_buffer): Const-ify char array.
4300         (builtin_array): Don't dump __BASE_FILE__.
4301         (cpp_start_read): Use cpp_read_file.  Reorder code for
4302         clarity.  Don't output line commands here for -D/-A/-U
4303         switches.  Don't call deps_output for files included with
4304         -include or -imacros.
4305
4306         * cpplib.c (do_define): Don't pay any attention to the second
4307         argument.
4308         (cpp_expand_to_buffer): Disable line commands while scanning.
4309         (output_line_command): Work in the file buffer.
4310         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
4311         Fix formatting of comments.  Prototype cpp_read_file.
4312
4313 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4314
4315         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
4316         reference the language-equivalent of sizetype.
4317         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
4318         * fold-const.c (size_binop, size_diffop): Put back checks.
4319         * gcse.c (dump_hash_table): Fix minor error in last change.
4320         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
4321         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
4322         all sizetypes.
4323
4324 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
4325
4326         * calls.c (expand_call)  Do not attempt to combine stack adjustments
4327         with inhibit_defer_pop set.
4328
4329 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
4330
4331         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
4332         the DECL_SIZE for a FIELD_DECL.
4333
4334 2000-03-01  Bruce Korb  <bkorb@gnu.org>
4335
4336         * fixinc/inclhack.tpl: remove unused symlinks
4337         * fixinc/README: GCC Maintainer info
4338         * fixinc/inclhack.sh: regen
4339         * fixinc/fixincl.sh: regen
4340
4341 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
4342
4343         * cpphash.c (collect_expansion): Trim trailing white space
4344         from macro definitions, but don't go past the last insertion
4345         point.
4346
4347 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
4348
4349         * i386.md (mulqi3): New pattern.
4350
4351 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
4352
4353         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
4354         token types.
4355         (struct cpp_reader): Add parsing_if_directive and
4356         parsing_define_directive flags.               
4357         (struct cpp_options): Remove output_conditionals flag.
4358         (check_macro_name): Delete prototype.
4359
4360         * cpphash.h (struct macrodef): Delete.
4361         (struct reflist): Separate from struct definition.
4362         (struct definition): Remove unused fields.  Add column number.
4363         (create_definition): Returns a DEFINITION *.  Takes a
4364         cpp_reader * and an int.
4365
4366         * cpphash.c (SKIP_WHITE_SPACE): Delete.
4367         (PEEKC): Copy defn from cpplib.c.
4368         (rest_extension, REST_EXTENSION_LENGTH): Delete.
4369         (struct arg): New.
4370         (struct arglist): Simplify.
4371         (collect_expansion): Rewrite.  Get tokens by calling
4372         cpp_get_token.  Add more error checking.
4373         (collect_formal_parameters): New function, broken out of
4374         create_definition and reworked to use get_directive_token.
4375         (create_definition): All real work is now in collect_expansion
4376         and collect_formal_parameters.  do_define handles finding the
4377         macro name.  Return a DEFINITION, not a MACRODEF.
4378         (macroexpand): Replace bcopy with memcpy throughout.  Replace
4379         character-at-a-time copy loop with memcpy and pointer increments.
4380         (compare-defs): d1->argnames / d2->argnames might be null.
4381
4382         * cpplib.c (copy_rest_of_line): Delete function.
4383         (skip_rest_of_line): Do all the work ourselves.
4384         (skip_string): New function.
4385         (parse_string): Use skip_string.
4386         (get_macro_name): New function.
4387         (check_macro_name): Delete.
4388         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
4389         (cpp_skip_hspace): Use CPP_BUMP_LINE.
4390         (handle_directive): ICE if we're called on a macro buffer.
4391         (do_define): Determine macro name and type (funlike/objlike)
4392         here.  Expunge all uses of MACRODEF.
4393         (cpp_push_buffer): Set line_base to NULL.
4394         (do_undef, read_line_number): Don't worry about getting a POP token.
4395         (eval_if_expression): Set/reset parsing_if_directive around
4396         cpp_parse_expr. Don't clear only_seen_white.
4397         (skip_if_group): Remove output_conditionals logic.  Use
4398         skip_rest_of_line.
4399         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
4400         tokens under appropriate conditions.
4401         (cpp_unassert): Call do_unassert not do_assert.  Oops.
4402
4403         * cppexp.c (parse_defined): New function, break out of
4404         cpp_lex.
4405         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
4406         ourselves, with cpp_defined.
4407         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
4408
4409         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
4410         * gcc.dg/strpaste-2.c: New.
4411
4412 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
4413
4414         * fold-const.c (size_binop): Don't asert inputs are the same and
4415         have TYPE_IS_SIZETYPE set.
4416         (size_diffop): Likewise.
4417
4418 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
4419
4420         * dwarfout.c (output_block): Output abstract blocks even if they
4421         don't have TREE_ASM_WRITTEN set.
4422
4423         * calls.c (emit_library_call): Check for null REG.
4424
4425 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
4426
4427         * c-decl.c (current_function_decl): Move to toplev.c.
4428         (init_decl_processing): Don't add current_function_decl as a ggc
4429         root here.
4430         * dbxout.c (dbxout_symbol): Change return type to int.
4431         (dbxout_symbol_location, dbxout_syms): Likewise.
4432         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
4433         any locals. Use current_function_func_begin_label if set.
4434         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
4435         * dwarf2out.c (dwarf2out_begin_prologue): Set
4436         current_function_func_begin_label.
4437         * final.c (final_start_function): Reset it.
4438         * toplev.c (current_function_decl): Define it here.
4439         (current_function_func_begin_label): New variable.
4440         (main): Add both as ggc roots.
4441         * tree.h (current_function_func_begin_label): Declare.
4442
4443 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4444
4445         * gcse.c: Cleanups throughout: mostly white-space, but also
4446         some minor rearrangement of code.
4447
4448 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
4449
4450         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
4451         returns a PARALLEL.  Use emit_group_load and use_group_regs
4452         as needed.  
4453         (emit_library_call_value): Similarly.
4454
4455         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
4456         * pa/quadlib.asm: Remove.
4457         * pa/quadlib.c: New file.
4458
4459         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
4460         * configure: Rebuilt.
4461
4462 2000-02-29  Philip Blundell  <pb@futuretv.com>
4463
4464         * config/arm/conix-elf.h: New file.
4465         * configure.in (arm*-*-conix*): New configuration.
4466         * configure: Regenerate.
4467
4468 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
4469
4470         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
4471         don't have TREE_ASM_WRITTEN set.
4472
4473 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4474
4475         * Eliminate DECL_FIELD_SIZE.
4476         * builtins.c (built_in_class_names, built_in_names): New variables.
4477         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
4478         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
4479         DECL_SIZE, not DECL_FIELD_SIZE.
4480         * print-tree.c (print_node): Remove code that prints extra blank
4481         lines in some cases.
4482         Properly handle inline and builtin function cases.
4483         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
4484         * tree.h (built_in_class_named, built_in_names): New declarations.
4485         (union tree_decl): Rename internal unions to u1 and u2 and change
4486         some of their components.
4487         Add new field built_in_class.
4488         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
4489         Reflect above changes.
4490         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
4491         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
4492         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
4493         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
4494
4495 2000-02-28  Dmitri Makarov  <dim@windriver.com>
4496
4497         * extend.texi: Document ARM's support for long/short calls.
4498
4499         * invoke.texi: Document ARM's -mlong-calls command line switch.
4500         
4501         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
4502         (arm_encode_call_attribute): Add prototype.
4503         (arm_set_default_type_attribute): Add prototype.
4504         (arm_strip_name_encoding): Add prototype.
4505
4506         * config/arm/arm.c (arm_init_cumulative_args): replace
4507         initialisation og 'long_calls' field with initialisation of
4508         'call_cookie' field.
4509         (enum arm_pragma_enum): New enum.
4510         (arm_pragma_long_calls): New static variable.
4511         (arm_process_pragma): Also process "#pragma long_calls_off".
4512         (arm_valid_type_attribute_p): Accept short_call attribute.
4513         (arm_comp_type_attributes): Check long/short call attributes.
4514         (arm_encode_call_attribute):  New function:  Encode long_call
4515         or short_call attribute in function name.
4516         (arm_set_default_type_attributes): New function: Assign
4517         default attributes to newly defined type.
4518         (current_file_function_operand): New function: Return true if
4519         the symbol is a function which has already been compiled.
4520         (arm_is_longcall_p): New function: Return true if the
4521         indicated function should be called via a long call.
4522         (arm_get_strip_length): New function.  Returns number of
4523         prefix characters to be stripped from a function's name.
4524         (arm_strip_name_encoding): New function.  Strip prefix characters
4525         from a function's name.
4526
4527         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
4528         with 'call_cookie'.
4529         (SHORT_CALL_FAG_CHAR): Define.
4530         (LONG_CALL_FAG_CHAR): Define.
4531         (ENCODED_SHORT_CALL_ATTR_P): Define.
4532         (ENCODED_LONG_CALL_ATTR_P): Define.
4533         (ARM_NAME_ENCODING_LENGTHS): Define.
4534         (STRIP_NAME_ENCODING): Define.
4535         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
4536         (ARM_ENCODE_CALL_TYPE): Define.
4537         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
4538         (ARM_DECLARE_FUNCTION_SIZE): Define.
4539         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
4540
4541         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
4542         if a long call is needed.
4543         (call_value): Ditto.
4544         (call_symbol): Ditto.
4545
4546         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
4547         ARM_DECLARE_FUNCTION_SIZE.
4548
4549         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
4550         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
4551         (ARM_STRIP_NAME_ENCODING): Undefine.
4552         (STRIP_NAME_ENCODING): Undefine.
4553         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
4554         (ASM_DECLARE_FUNCTION_NAME): Ditto.
4555         (ASM_OUTPUT_COMMON): Ditto.
4556         (ASM_DECLARE_OBJECT_NAME): Ditto.
4557
4558         * config/arm/pe.c (arm_dllexport_name_p): Check for
4559         ARM_PE_FLAG_CHAR.
4560         (arm_dllimport_name_p): Ditto.
4561         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
4562         (arm_mark_dllimport): Ditto.
4563         
4564 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4565
4566         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
4567
4568 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
4569
4570         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
4571
4572 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
4573
4574         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
4575         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
4576         NO_BUILTIN_WCHAR_TYPE is not defined.
4577         (CPP_WCHAR_TYPE): Delete.
4578         * cccp.c (main): Don't change wchar_type if cplusplus.
4579         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
4580
4581 2000-02-28  Nick Clifton  <nickc@cygnus.com>
4582
4583         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
4584
4585 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
4586
4587         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
4588         (ASM_WEAKEN_LABEL): Define.
4589  
4590 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
4591
4592         * expr.c (store_constructor): Do not emit USE.
4593         * rtl.h (stupid_life_analysis): Remove.
4594
4595 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4596
4597         * function.c (number_blocks): Reset next_block_index based on
4598         what debugging format is used, not what is defined.
4599         
4600         * lcm.c: Minor reformatting throughout.
4601         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
4602         
4603         * toplev.c (rest_of_compilation): Account for time in
4604         optimize_mode_switching.
4605
4606         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
4607         if only marking labels.
4608
4609 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
4610
4611         * calls.c (expand_call): Attempt to combine stack adjustments with
4612         pending stack adjustments.
4613
4614 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4615
4616         * loop.c (reg_in_basic_block_p): Don't abort when falling through
4617         to the end of the function.
4618
4619 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
4620
4621         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
4622         blocks.
4623         * final.c (next_block_index): Remove.
4624         (max_block_depth): Likewise.
4625         (pending_blocks): Likewise.
4626         (init_final): Don't initialize them.
4627         (final_start_function): Don't set next_block_index.  Set up
4628         BLOCK_NUMBER.
4629         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
4630         * function.h (number_blocks): New function.
4631         * function.c (get_block_vector): New function.
4632         (identify_blocks): Use it.
4633         (reorder_blocks): Set NOTE_BLOCK.
4634         (number_blocks): New function.
4635         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
4636         * tree.h (BLOCK_NUMBER): New macro.
4637         (tree_block): Add block_num field.
4638         * dbxout.c (next_block_number): Remove.
4639         (dbxout_init): Don't set it.
4640         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
4641         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
4642         block numbers.
4643         * toplev.c (rest_of_compilation): Always call
4644         find_loop_tree_blocks.  Fix indentation.
4645         * dwarf2out.c (next_block_number): Remove.
4646         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4647         to determine block numbers.
4648         (gen_inlined_subroutine_die): Likewise.
4649         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
4650         (decls_for_scope): Don't increment next_block_number.
4651         * dwarfout.c (next_block_number): Remove.
4652         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4653         to determine block numbers. 
4654         (output_inlined_subroutine_die): Likewise.
4655         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
4656         (output_decls_for_scope): Don't increment next_block_number.
4657         * sdbout.c (next_block_number): Remove.
4658         (sdbout_block): Use BLOCK_NUMBER.
4659         (sdbout_begin_block): Simplify.
4660         * xcoffout.c (next_block_number): Remove.
4661         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
4662         (xcoffout_begin_block): Don't set next_block_number.
4663         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
4664         next_block_number.
4665         
4666 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4667
4668         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
4669         (expand_builtin_strcpy): Pass correct type to size_binop.
4670         (expand_builtin_strcmp): Likewise.
4671         Clean up conditional structure.
4672         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
4673         (complete_array_type): Don't use size_binop for MAXINDEX.
4674         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
4675         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
4676         (c_alignof): Use size_one_node.
4677         (build_unary_op): Pass arg of proper type to size_binop.
4678         (really_start_incremental_init, push_init_level): Use sizetype for
4679         constructor{,_bit,_unfilled}_index.
4680         (pop_init_label, output_init_element): Likewise.
4681         (output_pending_init_elements, process_init_element): Likewise.
4682         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
4683         * expr.c (store_expr): Use size_int.
4684         (store_constructor): Use proper types for size_binop args.
4685         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
4686         (expand_expr_unaligned): Likewise.
4687         (string_contant): Return object of sizetype.
4688         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
4689         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
4690         (ARGS_SIZE_TREE): Pass proper types to size_binop.
4691         * fold-const.c (int_const_binop): Refine when size_int is called.
4692         (fold_convert): Likewise.
4693         (size_int_wide): Rework to take KIND as arg, only take low order
4694         bits, handle new sizetype_tab datatype, and chain entries in
4695         size_table.
4696         (size_int_type_wide): New function.
4697         (size_binop): Validate types of arguments.
4698         (ssize_binop): Deleted.
4699         (size_diffop): New function.
4700         (extract_muldiv): Only fold division into multiplication for sizetypes.
4701         * function.c (assign_parms): Use size_diffop and make sure
4702         VAR field is of ssizetype; also pass proper type to size_binop.
4703         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
4704         (round_down): Deleted from here.
4705         * store-layout.c (sizetype_tab): Now an array.
4706         (sizetype_set, early_root_list): New variables.
4707         (variable_size): Use size_one_node.
4708         (round_up): Pass proper type to size_binop.
4709         (round_down): Moved to here and corrected as above.
4710         (layout_record): Pass proper arg types to size_binop.
4711         (layout_type): Likewise.
4712         If sizetype_set is zero, record the type just laid out.
4713         (make_unsigned_type): Don't call set_sizetype;
4714         (make_signed_type): Likewise; also, call fixup_signed_type.
4715         (initialize_sizetypes): New function.
4716         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
4717         set name of bitsizetype to "bit_size_type".
4718         Fix up type of sizes of all types made before call.
4719         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
4720         * tree.c (fix_sizetype): Deleted.
4721         (build_common_tree_nodes): Call initialize_sizetypes.
4722         (build_common_tree_nodes_2): Don't call fix_sizetype.
4723         * tree.h (TYPE_IS_SIZETYPE): New macro.
4724         (initialize_sizetype): New declaration.
4725         (enum size_type_kind): New type.
4726         (struct sizetype_tab): Deleted.
4727         (sizetype_tab): Now array; adjust sizetype macros.
4728         (size_diffop, size_int_type_wide): New functions.
4729         (size_int_wide): Change number of args and type; access macros changed.
4730         (ssize_int, sbitsize_int): New macros.
4731         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
4732         (ROUND_TYPE_SIZE_UNIT): New macro.
4733
4734 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
4735
4736         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
4737
4738 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4739
4740         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
4741         Mark as possibly unused.
4742
4743         * cse.c (cse_insn): Delete dead code involving tablejump.
4744         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
4745
4746         * Makefile.in (libcpp.a): Start by deleting it.
4747
4748 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4749
4750         * cpplib.h (enum file_change_code): Added rename_file.
4751         * cpplib.c (do_line): If a filename is given, set file_change to
4752         rename_file.
4753         (output_line_command): If file_change is rename_file, always
4754         output a # directive with the file name.
4755
4756         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
4757
4758 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
4759
4760         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
4761         when copying a PARM_DECL or RESULT_DECL.
4762
4763 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4764
4765         * fix-header.c (recognized_function): Also fix prototypes for
4766         functions taking "void".
4767
4768 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
4769
4770         * reload1.c (do_output_reload): Check reg_reloaded_valid before
4771         looking at reg_reloaded_contents.
4772
4773 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
4774
4775         * Makefile.in (STMP_FIXINC): New toggle.
4776         (LIBGCC2_DEPS): Delete all references.
4777         (stmp-headers): Delete target.  All references either deleted
4778         or changed to stmp-int-headers.
4779         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
4780         (LIBCPP_OBJS): Take out cppalloc.o.
4781         (cppalloc.o): Delete target.
4782         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
4783         (gen-protos, fix-header): Link with libiberty.a.
4784         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
4785         to empty.
4786
4787         * configure.in: Remove refs to strerror.
4788         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
4789         * system.h: Take out strerror stanza.
4790
4791         * cpperror.c (my_strerror): Delete function.
4792         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
4793         * cppmain.c (main): Call xmalloc_set_program_name first thing.
4794         * cppalloc.c: Delete file.
4795         * gen-protos.c: Don't provide xrealloc.
4796
4797         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
4798         xstrerror throughout.
4799
4800 2000-02-26  Bruce Korb  <bkorb@gnu.org>
4801
4802         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
4803         match for DOS headers, too.
4804         * fixinc/inclhack.sh,fixincl.x: Regenerate.
4805
4806 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
4807
4808         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
4809         is right for most ELF targets.
4810         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
4811         Let the default file use %U properly.
4812         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
4813         default.
4814
4815         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
4816         numbers.
4817
4818 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4819
4820         * toplev.c (documented_lang_options): Correct spelling error.
4821         (decode_d_option, decode_f_option, main): Likewise.
4822
4823         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
4824
4825         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
4826         to tell assembler it is permitted to expand large constants.
4827
4828 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
4829
4830         * protoize.c: (AUX_INFO_SUFFIX): New macro.
4831         (aux_info_suffix): Use.
4832         (SAVE_SUFFIX): New macro.
4833         (save_suffix): Use.
4834         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
4835         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
4836         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
4837
4838         * invoke.texi (Running Protoize): Update documentation.
4839
4840 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
4841
4842         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
4843
4844 2000-02-25  John Wehle  (john@feith.com)
4845
4846         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
4847
4848 2000-02-25  Anthony Green  <green@cygnus.com>
4849
4850         * toplev.c (rest_of_compilation): Rebuild jump labels if
4851         combine_instructions has created a new direct jump.
4852         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
4853         when appropriate.
4854         (combine_instructions): Call try_combine with new argument.
4855         Return non-null value when new direct jump instruction is created.
4856         * rtl.h: combine_instructions returns an int.
4857
4858 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
4859
4860         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
4861         jump when changing a computed jump into a jump to a known
4862         target.
4863
4864 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
4865
4866         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
4867         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
4868
4869         * i386.md (define_expand "clrstrsi"): Fix typo.
4870
4871 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
4872
4873         * rtl.texi: Fix typo.
4874
4875 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4876
4877         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
4878         UNITS_PER_WORD.  Change caller initial_elimination_offset.
4879         (rounded_frame_size): Take into account that argument pushed has
4880         changed.  Fix TARGET_ALIGN_DOUBLE problem.
4881
4882 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
4883
4884         * haifa-sched.c (schedule_block): Explain the real reason
4885         we delete REG_SAVE_NOTEs on the first insn of a block.
4886         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
4887
4888 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
4889
4890         * input.h (push_srcloc): New function.
4891         (pop_srcloc): Likewise.
4892         * toplev.c (push_srcloc): Define it.
4893         (pop_srcloc): Likewise.
4894
4895 2000-02-24  Richard Henderson  <rth@cygnus.com>
4896
4897         * flow.c (life_analysis): When collecting reg info, clear
4898         regs_ever_live.
4899
4900 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4901
4902         Fix bug exposed by reload.c no longer rounding the frame
4903         size to BIGGEST_ALIGNMENT:
4904         * sh.c (rounded_frame_size): New function.
4905         (sh_expand_prologue, sh_expand_epilogue): Use it.
4906         (initial_elimination_offset): Likewise.
4907
4908 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4909
4910         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
4911         * sh-protos.h (sh_need_epilogue): Declare.
4912         * sh.c (sh_need_epilogue_known): New static variable.
4913         (sh_need_epilogue): New function.
4914         (function_epilogue): Clear need_epilogue_known.
4915         * sh.md (return): Split into expander / insn pattern.
4916         Make the expander conditional on ! sh_need_epilogue ().
4917
4918 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
4919
4920         * machmode.h (get_mode_alignment): Declare.
4921         (GET_MODE_ALIGNMENT): Call it.
4922         * stor-layout.c (get_mode_alignment): New function. Make
4923         sure alignment is always power of 2.
4924
4925 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4926
4927         * i386.h: Remove useless definition of "I386" and misleading
4928         comment above it.
4929
4930 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4931
4932         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
4933         under which TREE_PERMANENT will be set.
4934         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
4935         build1): Use TREE_SET_PERMANENT.
4936         * print-tree.c (print_node): Don't report value of
4937         TREE_PERMANENT if ggc_p is true.
4938
4939         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
4940         decide whether to give a type a new alias set.
4941         * objc/objc-act.c (build_objc_string_object): Never copy the string.
4942         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
4943         of value of 'obstack'.
4944
4945
4946 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4947
4948         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
4949
4950 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4951
4952         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
4953         * cpplib.c (cpp_get_token): Produce them.
4954         * cppexp.c (cpp_lex): Handle them.
4955
4956 2000-02-23  Nick Clifton  <nickc@cygnus.com>
4957
4958         * config/arm/arm.c (arm_comp_type_attributes): Simply and
4959         comment tests on type attributes.
4960
4961 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4962
4963         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
4964         conform to documentation.
4965         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
4966         to check for special cases.
4967         * sh-protos.h (sh_loop_align): Declare.
4968         * sh.c (sh_loop_align): Define.
4969
4970 2000-02-22  Andrew Haley  <aph@cygnus.com>
4971
4972         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
4973         (SIZE_TYPE): Is 32 bits when using -mgp32.
4974         (PTRDIFF_TYPE): Ditto.
4975
4976 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4977
4978         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
4979
4980 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4981
4982         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
4983         BIGGEST_FIELD_ALIGNMENT a constant.
4984
4985 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
4986
4987         * dwarf2out.c (output_line_info): Put the marker for the end of
4988         the line number info at the actual end.
4989         (gen_struct_or_union_type_die): Use decl_function_context 
4990         to check for local classes.
4991         * dwarfout.c (output_type): Likewise.
4992
4993 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
4994
4995         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
4996         for arguments with a mode, but no type.
4997         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
4998         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
4999         * pa/long_double.h: New file.
5000         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
5001         both have 128bit wide long doubles.
5002         * configure: Rebuilt.
5003
5004 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5005
5006         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
5007
5008         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
5009         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
5010         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
5011
5012         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
5013
5014         * integrate.c (compare_blocks, find_block): Likewise.
5015
5016         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
5017
5018         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
5019
5020         * stmt.c (stmt_status, set_file_and_line_for_stmt,
5021         expand_asm_operands): Likewise.
5022
5023 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
5024
5025         * predict.c (estimate_probability): Added the pointer heuristic to
5026         the collection of static branch predictors.
5027
5028 2000-02-21  Catherine Moore  <clm@cygnus.com>
5029
5030         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
5031         * invoke.texi (-mfix7000): Document.
5032
5033 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
5034
5035         * diagnostic.c (init_output_buffer): Make it possible to output at
5036         least 32 characters if we're given a too long prefix.
5037
5038 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
5039
5040         * varasm.c (initializer_constant_valid_p): Call
5041         lang_expand_constant to simplify the constant.
5042
5043 2000-02-20  Bruce Korb  <bkorb@gnu.org>
5044
5045         * fixinc/inclhack.def(stdio_va_list):
5046         typedef needs to be disabled.
5047         * fixinc/inclhack.sh: regen
5048         * fixinc/fixincl.x: regen
5049
5050 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
5051
5052         * print-rtl.c (print_rtx): Don't print addresses when
5053         flag_dump_unnumbered.
5054
5055 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5056
5057         * sparc.c (sparc_output_scratch_registers): Mark parameter with
5058         ATTRIBUTE_UNUSED.
5059         (sparc_va_arg, sparc_flat_output_function_prologue,
5060         sparc_flat_output_function_epilogue): Cast value to unsigned in
5061         comparison.
5062         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
5063         
5064         * sparc.md: Add default case in switch.
5065
5066 2000-02-19  Richard Henderson  <rth@cygnus.com>
5067
5068         * c-typeck.c (add_pending_init): Don't abort for multiple
5069         fields at the same offset.
5070         (pending_init_member): Test the correct member.
5071
5072 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5073
5074         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
5075         instead of SImode.
5076         (start_catch_handler) : Same.
5077
5078 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
5079
5080         * Makefile.in: Have flow.o depend on $(EXPR_H)
5081
5082 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5083
5084         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
5085         * c-decl.c (duplicate_decls, finish_enum): Likewise.
5086         (finish_decl): Remove -Wlarger-than code from here.
5087         * flags.h (id_clash_len): Now int.
5088         (larger_than_size): Now HOST_WIDE_INT.
5089         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
5090         Clean up checking to see if in table.
5091         (make_bit_field_ref): Remove extra parm to bitsize_int.
5092         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
5093         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
5094         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
5095         and for computing size of decl.
5096         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
5097         Move -Wlarger-than code to here.
5098         (layout_record): Remove extra arg to bitsize_int.
5099         Set TYPE_BINFO_SIZE_UNIT.
5100         (layout_union): Remove extra arg to bitsize_int.
5101         Use proper type for size of QUAL_UNION.
5102         (layout_type): Remove extra arg to bitsize_int.
5103         * toplev.c (id_clash_len): Now int.
5104         (larger_than_size): Now HOST_WIDE_INT.
5105         (decode_W_option): Clean up id-clash and larger-than- cases.
5106         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
5107         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
5108         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
5109         (struct tree_decl): New field size_unit.
5110         (size_int_wide): No HIGH operand; NUMBER is now signed.
5111         (size_int_2): Deleted.
5112         (size_int, bitsize_int): Don't use it and rework args.
5113         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
5114
5115 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
5116
5117         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
5118
5119 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
5120
5121         * invoke.texi (Warning Options): Add an explanation of why
5122         you might want the -Wfloat-equal flag.
5123
5124 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5125
5126         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
5127         * cppinit.c (new_pending_define): Add cast to avoid warning.
5128         * expmed.c (extract_bit_field): Likewise.
5129         * flow.c (enum reorder_skip_type): New type.
5130         (skip_insns_between_blcok): New it.
5131         Rework to avoid warning about possibly undefined variable.
5132         * function.c (assign_parms): Make thisparm_boundary unsigned.
5133         * genrecog.c (write_switch): Cast XWINT result to int.
5134         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
5135         * mips-tfile.c (init_file): Make two versions of FDR intializer:
5136         one for MIPS and one for Alpha.
5137         (get_tag, copy_object): Add casts to avoid warnings.
5138         * optabs.c (init_one_libfunc): Cast NAME to (char *).
5139         * reload.c (find_reloads): Make TYPE enum reload_type.
5140         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
5141         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
5142         * varasm.c (compare_constant_1): Add cast to avoid warning.
5143         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
5144         to (char *).
5145         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
5146         Cast switch operand of size to int.
5147         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
5148         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
5149         in unhandled case.
5150
5151 2000-02-18  Nick Clifton  <nickc@cygnus.com>
5152
5153         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
5154         anything for an alignment of zero.
5155
5156         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
5157         anything for an alignment of zero.
5158
5159 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
5160
5161         * gcc.texi (Bug Reporting): Refer to bugs.html.
5162         (Bug Lists): Likewise.
5163         * system.h (GCCBUGURL): New preprocessor define.
5164         * rtl.c (fancy_abort): Use it.
5165         * gcc.c (main): Likewise.
5166
5167 2000-02-18  Richard Henderson  <rth@cygnus.com>
5168
5169         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
5170         (life_analysis_1): Subsume into ...
5171         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
5172         Use update_life_info for the relaxation.
5173         (update_life_info): Update REG_BASIC_BLOCK for registers live on
5174         entry and regs_live_at_setjmp.
5175         (set_noop_p): Simplify.
5176         (notice_stack_pointer_modification_1): Renamed from s/_1//.
5177         (record_volatile_insns): Split into ...
5178         (delete_noop_moves): ... here,
5179         (notice_stack_pointer_modification): ... here,
5180         (insn_dead_p): ... and here.
5181         (propagate_block): Don't query INSN_VOLATILE.
5182         (mark_used_regs): Mind !PROP_REG_INFO.
5183         * toplev.c (rest_of_compilation): Call mark_constant_function here,
5184         not in life_analysis.
5185
5186 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
5187
5188         * loop.c (canonicalize_condition): New function,
5189         broken out of get_condition.
5190         (get_condition): Use it.
5191         * expr.h (canonicalize_condition): Prototype it.
5192
5193         * tree.h (tree_int_cst_msb): Declare.
5194         * tree.c (tree_int_cst_msb): New function.
5195
5196 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
5197
5198         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
5199         isn't set.
5200
5201         * invoke.texi (-fmessage-length=n): Document.
5202
5203 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
5204
5205         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
5206
5207 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
5208
5209         * function.c (thread_prologue_and_epilogue_insns): Put a line note
5210         after the prologue.
5211
5212 2000-02-17  Nick Clifton  <nickc@cygnus.com>
5213
5214         * config/arm/thumb.c: Replace includes of system headers with
5215         #include "system.h".
5216
5217 2000-02-16  Richard Henderson  <rth@cygnus.com>
5218
5219         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
5220         Add crtbeginS.o and crtendS.o.
5221         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
5222         (ENDFILE_SPEC): Use crtendS.o.
5223         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
5224
5225         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
5226         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
5227         shared and present.
5228         (__dso_handle): New variable.
5229         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
5230         bias to __CTOR_END__.
5231         
5232 2000-02-16  Richard Henderson  <rth@cygnus.com>
5233
5234         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
5235
5236 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5237
5238         * longlong.h (__clz_tab): Declare as static to match definition.
5239
5240 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
5241         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
5242         (XREF_FILE_NAME): Define.
5243
5244         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
5245         (EH_FRAME_SECTION_ASM_OP): Define.
5246         (IDENT_ASM_OP): Define.
5247         (TEXT_SECTION_ASM_OP): Define.
5248         (CPP_SPEC): Define.
5249         (CTORS_SECTION_ASM_OP): Define.
5250         (CTOR_SECTION_FUNCTION): Use it.
5251         (DTORS_SECTION_ASM_OP): Define.
5252         (DTOR_SECTION_FUNCTION): Use it.
5253
5254 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
5255
5256         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
5257         NOTE_BASIC_BLOCK.
5258
5259         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
5260         debug_bb_n): New functions.
5261         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
5262         * basic-block.h: Prototype new functions.
5263
5264 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
5265
5266         * configure.in: Add support for avr target.
5267         * configure: Rebuilt.
5268
5269         * invoke.texi: Add AVR invocation docs.
5270         * install.texi: Add information about AVR.
5271         * md.texi: Add AVR constraint letters description.
5272         * extend.texi: Add description for AVR specific attributes.
5273
5274 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
5275
5276         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
5277
5278 2000-02-16  Nick Clifton  <nickc@cygnus.com>
5279
5280         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
5281         (make_insn_raw): Move RTL check here.
5282
5283 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5284
5285         * version.c: Include gansidecl.h and version.h.
5286
5287         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
5288         
5289         * configure.in (gcc_version): When setting, narrow search to
5290         lines containing `version_string'.
5291
5292         * Makefile.in (mainversion): Likewise. 
5293         (GCC_H): New variable.
5294         (gcc.h): Delete target.
5295         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
5296         (version.o): Depend on version.h.
5297         (dbxout.o): Don't depend on gcc.h.
5298
5299 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5300                           Michael Meissner  <meissner@cygnus.com>
5301
5302         * md.texi (Simple Constraints): Add item about whitespace.
5303         * genoutput.c (strip_whitespace): New.
5304         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
5305         strip_whitespace for constraints.
5306         Test pointer using NULL, not 0.
5307
5308 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5309
5310         * cpplib.c (do_line): Pedwarn for #line > 32767.
5311
5312         * c-lex.c (readescape): Warn about '\x', but do not reject it.
5313
5314 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
5315
5316         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
5317         to default cpp spec.
5318         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
5319         * cpp.texi: Document __GNUC_PATCHLEVEL__.
5320         * cpp.1: Likewise.
5321
5322         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
5323         default spec.
5324
5325 2000-02-15  Denis Chertykov  <denisc@overta.ru>
5326
5327         * configure.in: Add support for avr target.
5328
5329 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5330
5331         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
5332         (sh_addr_diff_vec_mode): Don't declare.
5333         * sh.c (sh_addr_diff_vec_mode): Delete.
5334
5335 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5336
5337         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
5338
5339 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5340
5341         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
5342         (smulsi3_highpart_i): Name.
5343         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
5344         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
5345         (smulsi3_highpart, umulsi3_highpart): Likewise.
5346
5347         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
5348         correctly independent of endianness.
5349         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
5350         confuse the optimizers.
5351         (mulsidi3+1, umulsidi3+1): New define_split.
5352
5353 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
5354
5355         * config/sh/sh.md: Guard insn splits against illegal registers.
5356         * config/sh/sh.h: Correct comment about macros.
5357
5358 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5359                           Andrew MacLeod  <amacleod@cygnus.com>
5360
5361         * Makefile.in (lcm.o): Depend on insn-attr.h.
5362         * basic-block.h (optimize_mode_switching): Declare.
5363         * lcm.c (tm_p.h, insn-attr.h): #include.
5364         (seginfo, bb_info): New structs.
5365         (antic, transp, comp, delete, insert) : New file-scope static variables.
5366         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
5367         (reg_becomes_live, optimize_mode_switching): Likewise.
5368         * tm.texi: Add description of mode switching macros.
5369         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
5370
5371         * sh-protos.h (remove_dead_before_cse): Remove prototype.
5372         (fldi_ok, fpscr_set_from_mem): New prototypes.
5373         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
5374         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
5375         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
5376         (sh_flag_remove_dead_before_cse): Remove declaration.
5377         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
5378         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
5379         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
5380         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
5381         (barrier_align): Allow for JUMP_INSNS containing a parallel.
5382         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
5383         (fldi_ok): New function.
5384         (get_fpscr_rtx): Add fpscr_rtx as GC root.
5385         (emit_sf_insn): Only generate fpu switches when optimize < 1.
5386         (emit_df_insn): Likewise.
5387         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
5388         (sh_flag_remove_dead_before_cse): Delete.
5389         (get_free_reg, fpscr_set_from_mem): New functions.
5390         * sh.md (movdf, movsf): Remove no_new_pseudos code.
5391         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
5392
5393 2000-02-15  Loren Rittle  <ljrittle@acm.org>
5394
5395         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
5396
5397 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5398
5399         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
5400         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
5401
5402         * cccp.c: Include version.h and/or don't declare `version_string'.
5403         * collect2.c: Likewise.
5404         * alpha.c: Likewise.
5405         * arm/aof.h: Likewise.
5406         * arm/coff.h: Likewise.
5407         * arm/elf.h: Likewise.
5408         * arm/pe.h: Likewise.
5409         * arm/tcoff.h: Likewise.
5410         * arm/telf.h: Likewise.
5411         * arm/tpe.h: Likewise.
5412         * arm/vxarm.h: Likewise.
5413         * convex/convex.c: Likewise.
5414         * i386/dgux.c: Likewise.
5415         * i386/sun386.h: Likewise.
5416         * m88k/m88k.c: Likewise.
5417         * mcore/mcore-pe.h: Likewise.
5418         * mips/mips.h: Likewise.
5419         * romp/romp.h: Likewise.
5420         * sh/sh.c: Likewise.
5421         * cpphash.c: Likewise.
5422         * cppinit.c: Likewise.
5423         * dwarf2out.c: Likewise.
5424         * dwarfout.c: Likewise.
5425         * gcc.c: Likewise.
5426         * gcc.h: Likewise.
5427         * mips-tfile.c: Likewise.
5428         * protoize.c: Likewise.
5429         * toplev.c: Likewise.
5430         * tree.h: Likewise.
5431         
5432         * version.c (version_string): Constify a char*.
5433
5434         * version.h: New file.
5435
5436 2000-02-14  Nick Clifton  <nickc@cygnus.com>
5437
5438         * configure.in: Add mcore-elf and mcore-pe targets.
5439         * configure: Regenerate.
5440
5441         * NEWS: Add note that MCore port has been contributed.
5442
5443         * invoke.texi: Document command line switches for MCore port.
5444         * install.texi: Add MCore to list of supported targets.
5445
5446 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
5447
5448         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
5449         then we will need to import the frame handling functions.
5450         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
5451         to import the frames themselves.
5452
5453 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
5454                           Jason Eckhardt  <jle@cygnus.com>
5455
5456         * basic_block.h: Added prototype for reorder_basic_blocks.
5457         * toplev.c: Changes to add -freorder-blocks and graph dump after
5458         block reordering is done.
5459         * flow.c (reorder_block_def): New structure for use during block
5460         reordering.
5461         (REORDER_BLOCK_*): New macros to access members of above structure.
5462         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
5463         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
5464         functions for block reordering.
5465
5466 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5467
5468         * gcc.texi (Passes): Fix typo.
5469         * md.texi (Standard Names): Ditto.
5470         * tm.texi (Storage Layout): Ditto.
5471
5472 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
5473
5474         * cpplib.c (do_define): Only free the old definition if it
5475         actually had one.
5476
5477 2000-02-13   Neil Booth  <NeilB@earthling.net>
5478
5479         * cppfiles.c (read_and_prescan): When emitting deferred
5480         newlines, test speccase[] again instead of checking each
5481         possible whitespace character in turn.  When we encounter \r,
5482         look behind for \n first, then ahead.
5483
5484 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
5485
5486         * cse.c (cse_altered): New internal flag.
5487         (cse_insn): Set it if we changed an insn.
5488         (cse_main): Clear cse_altered before each basic block.
5489         Only garbage collect if cse_altered is true afterward.
5490
5491 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5492
5493         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
5494
5495 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
5496
5497         * combine.c (simplify_comparison): Fix typo.
5498
5499 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
5500
5501         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
5502         consistently.
5503
5504 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5505
5506         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
5507         previously inserted node instead of root node.  Caller changed.
5508
5509 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5510
5511         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
5512
5513 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5514
5515         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
5516         __dereg_frame_dtor): Add prototype argument.
5517
5518         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
5519
5520         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
5521
5522         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
5523
5524         * gthr-vxworks.h (__gthread_once): Likewise.
5525
5526         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
5527
5528 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
5529
5530         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
5531         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
5532         stack pointer in functions w/o saved registers, output LEAVE more often
5533         on TARGET_USE_LEAVE machines.
5534
5535 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
5536
5537         * config/arm/arm.c (arm_init_cumulative_args); New function:
5538         Initlaise the CUMULATIE_ARGS strcuture for a function
5539         defintion. 
5540         (arm_function_arg): New function: Determine where to place a
5541         function's argument.  Also handles deciding the function's
5542         call cookie.
5543         (current_file_function_operand): New function: Return true if
5544         the symbol is a function which has already been compiled.
5545         (arm_is_long_call_p): New function: Return true if the
5546         indicated function should be called via a long call.
5547         (arm_valid_type_attribute_p): New function: Return true if the
5548         attribute is a valid, arm specific, attribute.
5549         (arm_comp_type_attribute): New function: Return true if the
5550         two types have compatable, arm specific, attributes.
5551
5552         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
5553         structure.
5554         (FUNCTION_ARG): Redefine to call arm_function_arg.
5555         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
5556         structure field.
5557         (INIT_CUMULATIVE_ARGS): Redefine to call
5558         arm_init_cumulative_args.
5559         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
5560         field. 
5561         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
5562         field. 
5563         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
5564         functions.
5565         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
5566         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
5567         (COMP_TYPE_ATTRIBUTES): Define.
5568
5569         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
5570         if a long call is needed.
5571         (call_value): Call arm_is_long_call_p to decide if a long call
5572         is needed.
5573         (call_symbol): Call arm_is_long_call_p to decide if a long call
5574         is needed.
5575
5576         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
5577
5578 2000-02-11  Denis Chertykov  <denisc@overta.ru>
5579
5580         * README.AVR: New file with information about the avr ports.
5581         * config/avr: New directory with avr port files.
5582
5583 2000-02-11  Andreas Jaeger  <aj@suse.de>
5584
5585         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
5586
5587 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
5588
5589         * cpphash.c: Fix formatting, update commentary.
5590         (dump_definition): Take three separate arguments instead of a
5591         MACRODEF structure argument.
5592         * cpphash.h: Update prototype of dump_definition.
5593         * cppinit.c (cpp_finish): Update call of dump_definition.
5594
5595         * cpplib.c (do_define): Always create new hash entry with
5596         T_MACRO type.  Remove redundant check for redefinition of
5597         poisoned identifier.  Update call of dump_definition.
5598         (do_undef): Don't call check_macro_name.  Rename sym_length to
5599         len.
5600         (do_error, do_warning): Don't use copy_rest_of_line or
5601         SKIP_WHITE_SPACE.
5602         (do_warning): Don't use pedwarn for the actual warning,
5603         only the notice about its not being in the standard.  (Fixes
5604         bug with #warning in system headers.)
5605         (do_ident): Stricter argument checking - accept only a single
5606         string after #ident.  Also, macro-expand the line.
5607         (do_xifdef): Use cpp_defined.  De-obfuscate.
5608
5609         (do_pragma): Split out specific pragma handling to separate
5610         functions.  Use get_directive_token.  Update commentary.  Do
5611         not pass on #pragma once or #pragma poison to the front end.
5612         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
5613         do_pragma_default): New.
5614
5615 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
5616
5617         * jump.c (jump_optimize_1): The first operand in a relational
5618         can be a CONST_INT.
5619         * optabs.c (emit_conditional_move): Handle relationals which
5620         have a known true/false result.
5621
5622 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5623
5624         * function.c (thread_prologue_and_epilogue_insns): Don't insert
5625         a RETURN insn into a block which already ends with a jump.
5626
5627 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5628
5629         * haifa-sched.c (BUF_LEN): Increase a lot.
5630
5631 2000-02-11  Nick Clifton  <nickc@cygnus.com>
5632
5633         * configure.in: Add tm_p_file specification for thumb targets.
5634         * configure: Regenerate.
5635
5636         * config/arm/thumb-protos.h: New file: Prototypes for exported
5637         functions defined in thumb.c.
5638
5639 2000-02-11  Robert Lipe  <robertl@sco.com>
5640
5641         * Makefile.in (bootstrap-lean): Remove additional files.
5642         (bootstrap2-lean): Likewise.
5643         (VOL_FILES): List of files for above.
5644
5645 2000-02-11  Nathan Sidwell  <nathan@acm.org>
5646
5647         * cpphash.c (special_symbol): Remove spurious argument to
5648         cpp_lookup.
5649
5650 2000-02-11  Joel Sherrill (joel@OARcorp.com>
5651
5652         * configure.in: (i*86-*-rtems*): Swapped elf and coff
5653         stanzas.
5654         * configure: Rebuilt.
5655
5656 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
5657         
5658         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
5659
5660 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
5661
5662         * pa.c, pa.h: Remove trigraph sequences within comments.
5663
5664 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
5665
5666         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
5667
5668 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
5669
5670         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
5671
5672 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5673         
5674         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
5675
5676 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5677
5678         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
5679         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
5680         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
5681         (ASM_FILE_END): Use c4x_file_end.
5682         * config/c4x/c4x.c (c4x_global_label): New function.
5683         (c4x_external_ref, c4x_file_end): Likewise.
5684
5685         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
5686         (c4x_external_ref, c4x_end_file): Likewise.
5687
5688 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
5689
5690         * cppexp.c: Don't include cpphash.h.
5691         (parse_charconst, cpp_lex): Use cpp_defined.
5692         (cpp_lex): Use get_directive_token throughout.  Remove
5693         unnecessary cases from switch.  Move assertion-handling code
5694         down to OTHER case.
5695         (cpp_parse_expr): If we see '+' or '-', check the context to
5696         determine if they are unary or binary operators.  Streamline
5697         the jumps a bit.  Do not call skip_rest_of_line.
5698
5699         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
5700         static.  Export get_directive_token.  Update commentary.
5701         (cpp_defined): New function.
5702         (do_define): Remove reference to T_PCSTRING.  Call
5703         free_definition to release memory for old definition, when
5704         redefining a macro.
5705         (eval_if_expression): Set only_seen_white to 0 before calling
5706         cpp_parse_expr.  Call skip_rest_of_line after it returns.
5707         (cpp_read_check_assertion): Don't preserve a pointer into the
5708         token buffer across a call to cpp_get_token.
5709
5710         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
5711         * cppfiles.c (redundant_include_p): Use cpp_defined.
5712         * cpphash.c (free_definition): New function.
5713         (delete_macro): Use it.  Update commentary.
5714         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
5715         free_definition.
5716         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
5717         from enum node_type.  Prototype cpp_defined and get_directive_token.
5718         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
5719
5720         * fix-header.c (check_macro_names): Use cpp_defined.
5721         (read_scan_file): Set inhibit_warnings and inhibit_errors in
5722         the options structure.
5723
5724 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5725
5726         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
5727
5728 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
5729
5730         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
5731         rather than die->die_tag.
5732
5733 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5734
5735         * combine.c (make_extraction, force_to_mode): Avoid warning on
5736         mixed-signedness conditionals.
5737         (make_field_assignment, nonzero_bits): Likewise.
5738         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
5739         (store_split_bit_field, extract_split_bit_field): Likewise.
5740         (extract_fixed_bit_field, store_bit_field, 
5741         * expr.c: Change alignment to be unsigned everywhere.
5742         (move_by_pieces, store_constructor_field, store_constructor): 
5743         Alignment parm is unsigned.
5744         (emit_block_move, emit_group_load, emit_group_store): Likewise.
5745         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5746         (do_compare_rtx_and_jump): Likewise.
5747         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
5748         Compare align with GET_MODE_ALIGNMENT.
5749         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
5750         (get_inner_reference): Likewise.
5751         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
5752         (expand_assignment): Local vars for alignment now unsigned.
5753         (store_constructor, store_field, expand_expr, do_jump): Likewise.
5754         (do_compare_and_jump): Likewise.
5755         (store_field): Call new function expr_align.
5756         * expr.h (emit_block_move, emit_group_load, emit_group_store):
5757         Alignment arg now unsigned.
5758         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5759         (do_compare_rtx_and_jump, store_bit_field): Likewise.
5760         (extract_bit_field): Likewise.
5761         * fold-const.c (add_double): Add cast to eliminate signedness warning.
5762         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
5763         (get_best_mode): Alignment arg is unsigned.
5764         * rtl.h (move_by_pieces): Likewise.
5765         * store-layout.c (maximum_field_alignment, set_alignment):
5766         Now unsigned.
5767         (layout_decl): Alignment arg is now unsigned.
5768         Remove unneeded casts.
5769         (layout_record, layout_union, layout_type): Remove unneeded casts.
5770         Local alignment variables now unsigned.
5771         (get_best_mode): Alignment arg now unsigned.
5772         * tree.c (expr_align): New function.
5773         * tree.h (expr_align): Likewise.
5774         (maximum_field_alignment, set_alignment): Now unsigned.
5775         (get_inner_reference): Alignment argument is now pointer to unsigned.
5776         * varasm.c (assemble_variable): Add cast to eliminate warning.
5777
5778 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
5779
5780         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
5781         then store directly into op0.
5782
5783         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
5784         the CALL_INSN, and emit the note immediately after it.
5785
5786 2000-02-10  Nick Clifton  <nickc@cygnus.com>
5787
5788         * config/arm/thumb.md (epilogue): Include a (return) in the
5789         generated insn, and emit it using emit_jump_insn not
5790         emit_insn. 
5791
5792 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
5793
5794         * function.c (assign_temp): Change zero-sized arrays to size 1.
5795         * integrate.c (expand_inline_function): Do not update
5796         stack_alignment_needed
5797         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
5798         add some sanity checking, remove optimization for function with
5799         zero frame size.
5800
5801 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5802
5803         * flow.c (mark_regs_live_at_end): Delete unused variables.
5804
5805         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
5806
5807         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
5808         in macro FRAME_GROWS_DOWNWARD.
5809
5810         * stmt.c (expand_end_bindings): Delete unused variable.
5811
5812         * unroll.c (iteration_info): Mark parameter `loop' with
5813         ATTRIBUTE_UNUSED.
5814
5815 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5816
5817         * fixinc/server.c (load_data): Return NULL if the marker line is
5818         not found.
5819         (run_shell): If load_data returns NULL, retry the command once, in
5820         a new shell.
5821
5822         * configure: Rebuilt.
5823
5824 2000-02-09  Bruce Korb  <bkorb@gnu.org>
5825
5826         * gcc/fixincludes:  ** DELETED **
5827         * gcc/fixcpp:  ** DELETED **
5828         * gcc/fixinc-nt.sed:  ** DELETED **
5829         * gcc/just-fixinc:  ** DELETED **
5830         * gcc/Makefile.in:  Removed out-dated commentary
5831         * gcc/configure.in: Removed fast-fixincludes disablement.
5832         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
5833
5834 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5835         * function.c (thread_prologue_and_epilogue_insns): Uncomment
5836         last change.
5837
5838 2000-02-09  Richard Henderson  <rth@cygnus.com>
5839
5840         * jump.c (delete_insn): Don't delete user labels at -O0.
5841
5842 2000-02-09  Robert Lipe  <robertl@sco.com>
5843
5844         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
5845         Don't link with HOST_LIBS. 
5846
5847 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5848
5849         * configure.in: Correct --help text for --with-dwarf2.
5850         Put tm-dwarf2.h after other tm files, if it's requested.
5851         * configure: Regenerate.
5852         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
5853         defining it.
5854
5855 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5856
5857         * cpplib.h: Provide HASHNODE typedef and forward decl of
5858         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
5859         DEFINITION, struct hashnode, struct macrodef, struct
5860         definition, scan_decls prototype, default defn of
5861         INCLUDE_LEN_FUDGE moved elsewhere.
5862
5863         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
5864         definition, and struct hashnode moved here. Remove the unused
5865         'predefined' field from struct definition.  Replace the 'args'
5866         union with its sole member.  All users updated (cpphash.c).
5867         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
5868         multiple include guard.
5869
5870         * cpphash.c (hashf): Make static; use better algorithm; drop
5871         HASHSIZE parameter; return an unsigned int.
5872         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
5873         used. Calculate HASHSIZE modulus here.
5874         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
5875         here.
5876         (create_definition): Drop PREDEFINITION parameter.
5877         * cpplib.c (do_define): Don't calculate a hash value here.
5878         Don't pass (keyword == NULL) to create_definition.
5879
5880         * scan.h: Prototype scan_decls here.
5881         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
5882         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
5883         callers of cpp_lookup and cpp_install updated.
5884         
5885         * cpphash.c (macarg): Hoist all the flag diddling out of the
5886         function...
5887         (macroexpand): ... and out of the loop that calls macarg.
5888         Skip over the initial paren before macro arguments with
5889         cpp_get_non_space_token; point may be some distance before
5890         that paren.  Abort if it's not there.
5891
5892         * cpplib.c (parse_clear_mark): Delete function.
5893         (parse_set_mark, parse_goto_mark): Make static.
5894         (ACTIVE_MARK_P): New macro.
5895         (skip_block_comment, skip_line_comment): Do not bump the line
5896         if ACTIVE_MARK_P is true.
5897         (cpp_pop_buffer): The buffer to be popped may not have an
5898         active mark.
5899         (cpp_get_token): When looking for the initial paren before
5900         macro arguments, only set a mark in a file buffer, Always
5901         return to that mark before proceeding to call macroexpand or
5902         return a NAME token.
5903
5904         * cpplib.h: Remove prototypes of parse_set_mark,
5905         parse_clear_mark, parse_goto_mark.
5906         (struct cpp_options): Rename 'put_out_comments' to
5907         'discard_comments' and invert its sense.
5908         * cppinit.c, cpphash.c, cpplib.c: All users of
5909         put_out_comments changed to use discard_comments, with
5910         opposite sense.
5911
5912 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5913
5914         * function.c (thread_prologue_and_epilogue_insns): Don't delete
5915         the edge from a block that both jumps and falls through to the
5916         fallthru block.
5917
5918 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
5919
5920         * config/arm/arm.md (movsi): In PIC mode, make sure that a
5921         constant source address is legitimate.
5922
5923 2000-02-09  Philip Blundell  <pb@futuretv.com>
5924
5925         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
5926         correctly.
5927
5928         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
5929         generating PIC.
5930         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
5931
5932 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5933
5934         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
5935         ends with a newline and a NUL.  Don't be so clever manipulating
5936         strings.
5937
5938 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
5939
5940         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
5941         not to BIGGEST_ALIGNMENT.
5942
5943 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
5944
5945         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
5946         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
5947         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
5948         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
5949         * frame.c (execute_cfa_insn): Handle 
5950         DW_CFA_GNU_negative_offset_extended.
5951
5952 2000-02-08  Richard Henderson  <rth@cygnus.com>
5953
5954         * flow.c (tidy_fallthru_edges): Split out from ...
5955         (delete_unreachable_blocks): ... here.
5956         (find_basic_blocks): Use it.
5957
5958 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5959
5960         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
5961
5962 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
5963
5964         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
5965         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
5966         (fix-header.o): Don't depend on cpphash.h.
5967
5968         * scan.c (hashstr): New function. 
5969         * scan.h: Prototype it.
5970         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
5971         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
5972         hashstr.  Report hash table statistics.  Add private     
5973         definition of xrealloc.
5974
5975 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5976
5977         * i386.h (TARGET_SWITCHES): Fix typo in option name.
5978
5979 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
5980
5981         * function.c (thread_prologue_and_epilogue_insns): Don't replace
5982         jumps with returns unless they are jumps to the fallthru block.
5983
5984 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
5985
5986         * i386.md (addqi3_cc): Fix contraints.
5987
5988 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5989
5990         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
5991
5992 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
5993
5994         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
5995         carriage return after a macro name.
5996
5997 2000-02-07  Fred Fish  <fnf@be.com>
5998
5999         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
6000         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
6001
6002 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
6003
6004         * cppfiles.c (deps_output): Count spacers in deps_column.
6005
6006 2000-02-07  Neil Booth  <NeilB@earthling.net>
6007
6008         * cppinit.c (initialize_dependency_output): If there is no
6009         suffix, don't try to look for known suffixes.  Use strrchr.
6010         (cpp_start_read): Remove duplicate initialization.
6011
6012 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
6013
6014         * calls.c (compute_argument_block_size): New argument
6015         preferred_stack_boundary.
6016         (expand_call): update cfun->preferred_stack_boundary, update call of
6017         compute_argument_block_size
6018         (emit_library_call): Increate cfun->preferred_stack_boundary
6019         to PREFERRED_STACK_BOUNDARY
6020         (emit_library_call_value): Likewise.
6021         * explow.c (allocate_dynamic_stack_spave): Likewise.
6022         * function.c (prepare_function_start): Set
6023         cfun->preferred_stack_boundary
6024         * function.h (struct function): Add preferred_stack_boundary field.
6025         * integrate.c (expand_inline_function): Update
6026         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
6027         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
6028         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
6029
6030 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
6031
6032         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
6033         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
6034         cpp_pedwarn, cpp_pedwarn_with_line,
6035         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
6036         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
6037         v_cpp_error_with_line, v_cpp_warning_with_line,
6038         cpp_message_from_errno, cpp_perror_with_name): Delete.
6039
6040         * cpperror.c (cpp_print_containing_files): Take starting
6041         buffer as argument.
6042         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
6043         (v_cpp_message): Now called directly by all entry points.
6044         Remove -1 case.
6045         (cpp_pfatal_with_name, cpp_message): Delete.
6046         (cpp_notice_from_errno, cpp_ice): New functions.
6047         (cpp_notice): Is now for reporting error conditions, just
6048         without an associated file.
6049         (cpp_error, cpp_error_with_line): Don't do anything if
6050         opts->inhibit_errors is on.
6051         (cpp_pedwarn_with_file_and_line): Take column argument also.
6052
6053         * cpplib.h: Update prototypes of exported functions.
6054         (struct cpp_options): Add inhibit_errors.
6055
6056         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
6057         non-error messages.  Include intl.h.
6058
6059         * cppinit.c, cppmain.c: Likewise.  Also, use
6060         cpp_notice_from_errno instead of cpp_perror_with_name or
6061         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
6062
6063         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
6064         report internal errors.
6065
6066         * cpplib.c (do_define): Switch bcopy to memcpy.
6067         Give cpp_pedwarn_with_file_and_line a dummy column argument.
6068
6069         * cpplib.c (copy_rest_of_line): Revert previous change: don't
6070         bail out early if we hit a line comment.
6071
6072 2000-02-06  Richard Henderson  <rth@cygnus.com>
6073
6074         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
6075         * basic-block.h: Declare them.
6076         * emit-rtl.h (active_insn_p): New.
6077         (next_active_insn, prev_active_insn): Use it.
6078         * rtl.h: Declare it.
6079         * function.c (emit_return_into_block): New.
6080         (thread_prologue_and_epilogue_insns): Insert return insns instead
6081         of epilogues when possible.
6082         * jump.c (jump_optimize_1): Remove code to insert a return insn
6083         on the fallthru to the exit block.
6084
6085         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
6086         and for non-empty stack frames.
6087         * i386.md (return): Expand to return-pop as needed.
6088
6089 2000-02-06  Richard Henderson  <rth@cygnus.com>
6090
6091         * simplify-rtx.c (simplify_relational_operation): Canonicalize
6092         constant to op1 for testing.
6093
6094 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6095
6096         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
6097         (fixuns_truncqfqi2): Use it.
6098
6099 2000-02-06  Richard Henderson  <rth@cygnus.com>
6100
6101         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
6102         as a TYPE_LEA insn.
6103
6104         * i386.md (widening and peepholes): Mask the constant instead of
6105         using gen_lowpart.
6106
6107 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
6108
6109         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
6110         input pointer before possibly branching off to the backslash
6111         code.
6112         * cpphash.c (macroexpand): Correctly delete \r escapes when
6113         stringifying parameters.
6114         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
6115         if we can; bail out early if we hit a line comment.
6116         (handle_directive): Treat '# 123' in an .S file just like
6117         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
6118         Return 1 for '# not_a_directive'.
6119         (get_directive_token): Pop macro buffers here, so that
6120         cpp_get_token can't sneakily move past a newline.
6121         Add sanity checks. 
6122         (cpp_get_token): goto randomchar if handle_directive returns 0.
6123
6124         * cppalloc.c: Update copyright.
6125         * cpplib.c: Merge all the static function prototypes into one
6126         block.
6127         * cpplib.h: Remove #if 0 block.
6128
6129         * cpperror.c: Remove #ifdef EMACS block.
6130         * cppmain.c: Likewise.
6131         * cpphash.c: Remove #if 0 blocks.
6132         * cppinit.c: Remove #if 0 blocks, and the -lint option.
6133         * cpplib.c: Remove #if 0 blocks and code referencing
6134         pcp_inside_if or for_lint.  Remove duplicate error message.
6135         Fix error messages for #else after #else or #elif.  Reformat.
6136         Remove archaic TODO list.
6137         * cpplib.h: Remove pcp_inside_if and for_lint flags.
6138
6139 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
6140
6141         * i386/osf1elf.h: Add missing backslash to multiline string.
6142
6143 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6144
6145         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
6146
6147 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6148
6149         * Makefile.in (c-common.o): Depend on $(EXPR_H).
6150
6151         * c-common.c: Include expr.h.
6152
6153         * c-pragma.c (mark_align_stack): Add prototype.
6154
6155         * caller-save.c (add_stored_regs): Likewise.
6156
6157         * combine.c (record_promoted_value): Likewise.
6158
6159         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
6160         Likewise.
6161
6162         * cppinit.c (new_pending_define): Likewise.
6163
6164         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
6165
6166         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
6167         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
6168         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
6169         class_scope_p): Likewise.
6170
6171         * dwarf2out.h (dwarf2out_set_demangle_name_func,
6172         dwarf2out_add_library_unit_info): Likewise.
6173
6174         * ggc.h (ggc_page_print_statistics): Likewise.
6175
6176         * haifa-sched.c (propagate_deps): Likewise.
6177
6178         * reg-stack.c (next_flags_user, record_label_references): Likewise.
6179
6180         * rtl.h (set_stack_check_libfunc): Likewise.
6181
6182         * toplev.h (set_fatal_function): Likewise.
6183
6184         * toplev.c (set_fatal_function): Delete prototype.
6185         
6186         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
6187         
6188 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
6189
6190         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
6191         (FUNC_END): Likewise.
6192
6193 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6194
6195         * caller-save.c: Include tm_p.h.
6196
6197 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6198
6199         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
6200
6201 2000-02-04  Neil Booth  <NeilB@earthling.net>
6202
6203         * cccp.c (main): Check 'dir' for a NULL pointer before passing
6204         it to strcmp.
6205
6206 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
6207
6208         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
6209         * genflags.c: Use the max_operand_1 logic from genemit.c to
6210         calculate how many arguments gen_insn prototypes have.  Remove
6211         NO_MD_PROTOTYPES ifdefs from the generated file.
6212         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
6213         file.  Cast gen_insn initializers to insn_gen_fn.
6214         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
6215         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
6216
6217 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6218
6219         * fixinc/Makefile.in (HDR): Add machname.h.
6220         (clean): Likewise.
6221
6222 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6223
6224         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
6225         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
6226         (c4x_cpu_version): Ditto.
6227         * config/c4x/c4x-protos.h: ... here.
6228
6229 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
6230
6231         * dwarf2out.c (add_abstract_origin_attribute): Don't call
6232         gen_abstract_function on our context if we're a nested function.
6233
6234 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6235
6236         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
6237         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
6238
6239 2000-02-04  Bruce Korb  <bkorb@gnu.org>
6240
6241         * fixinc/genfixes(machname.h):
6242         Move the functionality from gen-machine.h into this file.
6243         UNdef MN_NAME_PAT if there are no names to change.
6244         Also, be a little kinder when AutoGen is not present.
6245
6246         * fixinc/Makefile.in(machname.h):
6247         Change the generation rule to use genfixes.
6248
6249         * fixinc/fixfixes.c(machine_name):
6250         machine_name_fix's functionality now dependent upon whether
6251         MN_NAME_PAT is defined.
6252
6253         * fixinc/fixtests.c(machine_name):
6254         ditto.
6255
6256         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
6257         of MN_NAME_PAT.
6258
6259         * fixinc/fixlib.h(mn_get_regexps):
6260         ditto
6261
6262         * fixinc/gen-machine.h: DELETED
6263
6264 2000-02-04  Jan Hubicka  <jh@suse.cz>
6265             Richard Henderson  <rth@cygnus.com>
6266
6267         * i386.c (SAVE_REGS_FIRST): Remove.
6268         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
6269         (ix86_compute_frame_size): Likewise.
6270         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
6271         (ix86_emit_restore_regs): Remove.
6272         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
6273         when a frame pointer is in use.
6274         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
6275         instead of pop to restore a register when profitable; emit leave
6276         when profitable.
6277         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
6278         as a TYPE_LEA insn.
6279         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
6280         * i386.md (prologue_allocate_stack): Remove.
6281         (epilogue_deallocate_stack): Remove.
6282         (pro_epilogue_adjust_stack): New.
6283
6284 2000-02-04  Richard Henderson  <rth@cygnus.com>
6285
6286         * function.c (diddle_return_value): Rework to use a callback function.
6287         Use current_function_return_rtx if it's been set up.
6288         (do_clobber_return_reg, clobber_return_register): New.
6289         (do_use_return_reg, use_return_register): New.
6290         (expand_function_end): Use them.
6291         * stmt.c (expand_null_return): Likewise.
6292         * function.h: Declare them.
6293         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
6294         (mark_reg): Change arguments as appropriate for callback.
6295         * integrate.c (expand_inline_function): Revert 19 Jan change.
6296
6297 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6298
6299         * tm.texi (Values in Registers): Fix typo: "fo" "for".
6300         (Misc): Say the scheduler, not the Haifa scheduler.
6301
6302 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
6303
6304         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
6305         when in_mem is set.  Update all callers.
6306
6307 2000-02-04  Richard Henderson  <rth@cygnus.com>
6308
6309         * i386/openbsd.h (INT_ASM_OP): Define.
6310
6311 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6312
6313         * tm.texi: Fix various typos.
6314
6315 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
6316
6317         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
6318         (MD_STARTFILE_PREFIX_1): New macro.
6319
6320 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
6321
6322         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
6323         destination when needed.
6324         (strmovsi, strsetsi): New expander.
6325         (strmovsi_1, strsetsi_1): New pattern.
6326         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
6327         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
6328         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
6329         * invoke.texi (align-stringops, inline-all-stringops): Document.
6330
6331 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
6332
6333         * i386/netbsd.h (INT_ASM_OP): Define.
6334
6335 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
6336
6337         * cpplib.h (cpp_reader): Add new flag, no_directives.
6338         * cpphash.c (macarg): Set it.
6339         * cpplib.c (handle_directive): If no_directives is on and we
6340         find a directive, issue an error and discard the line.
6341
6342 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
6343
6344         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
6345         FP constants.  Add ! TARGET_FPU check for FP constants.
6346
6347 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
6348         
6349         * flow.c (find_basic_blocks): Don't kill label_value_list
6350         here.
6351         (cleanup_cfg): Kill it here.
6352
6353 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6354
6355         * expr.c (store_field): Ensure ALIGN is no stricter than the
6356         alignment of EXP.
6357
6358 2000-02-02  Richard Henderson  <rth@cygnus.com>
6359
6360         * jump.c (delete_insn): Partially revert 19 Jan change; 
6361         don't convert unused code labels to notes at -O0.
6362
6363 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6364
6365         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
6366         split_all_insns to recreate REG_LABEL notes for flow2 pass.
6367
6368 2000-02-01  Richard Henderson  <rth@cygnus.com>
6369
6370         * i386.c (general_no_elim_operand): New.
6371         (nonmemory_no_elim_operand): New.
6372         (ix86_expand_move): Copy eliminable operands before a push.
6373         * i386-protos.h: Declare new functions.
6374         * i386.h (CAN_ELIMINATE): Simplify.
6375         (PREDICATE_CODES): Update.
6376         * i386.md (push insns): Don't allow eliminable register operands.
6377
6378 2000-02-01  Richard Henderson  <rth@cygnus.com>
6379
6380         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
6381         replace BLKmode with DECL_RTL's mode.
6382
6383 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
6384
6385         * frame.c (find_fde): Convert for loop to do-while so compiler
6386         sees it's always executed at least once.
6387         * libgcc2.c (BBINBUFSIZE): Kill.
6388         (__bb_init_prg): Use fgets.
6389         (__bb_exit_trace_func): Don't paste strings.
6390         * unroll.c (unroll_loop): Initialize unroll_type, not
6391         unroll_number, and tweak logic to match.
6392
6393         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
6394         all failure paths.
6395         (ix86_flags_dependant): Likewise.  Disentangle control flow.
6396         (ix86_sched_reorder): Break guts out to
6397         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
6398         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
6399         any possible use.
6400
6401         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
6402         use string concatenation.  Don't save and restore esi.
6403
6404         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
6405         (machname.h): Remove script to separate file.  Use two-step
6406         sequence so target is not created if script fails.
6407         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
6408         identifiers are defined.
6409         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
6410         an empty string, machine_name doesn't need to do anything at
6411         all.
6412         (is_cxx_header): Add more cases to regexp.
6413         * fixinc/fixlib.h: Update prototype.
6414         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
6415         mn_get_regexps.
6416         * fixinc/fixincl.c: Define NO_BOGOSITY.
6417
6418         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
6419         (hp_sysfile): Add missing comma.
6420         (math_exception): Put the wrapper ifdefs at the beginning and
6421         the end of the file.
6422         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
6423
6424 2000-02-01  Richard Henderson  <rth@cygnus.com>
6425
6426         * sparc.c (fp_zero_operand): Turn into a normal predicate.
6427         Use CONST0_RTX.  Update all callers.
6428         * sparc.h, sparc-protos.h: Update accordingly.
6429         * sparc.md (fp mov insns): Use fp_zero_operand directly
6430         where applicable.
6431
6432 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6433
6434         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
6435         example.
6436
6437 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6438
6439         * Makefile.in (specs.ready): New target.
6440         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
6441
6442 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6443
6444         * fixinc.irix: Use unique filenames for writing into /tmp,
6445         * fixinc.ptx: Likewise.
6446         * fixinc.sco: Likewise.
6447         * fixinc.svr4: Likewise.
6448         * fixinc.winnt: Likewise.
6449
6450 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6451
6452         * tsystem.h: New file.
6453
6454         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
6455         s-crtS): Depend on tsystem.h.
6456
6457         * crtstuff.c: Include tsystem.h.
6458         * frame.c: Likewise.
6459         * libgcc2.c: Likewise.
6460
6461 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
6462
6463         * builtins.c (expand_builtin_memset): Expand for variable sized
6464         lengths too.
6465
6466 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
6467
6468         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
6469         on ABI.
6470
6471 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6472
6473         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
6474
6475         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
6476
6477 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
6478
6479         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
6480         case 3->2 combining (combining with splitting) in which 2 is CC0
6481         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
6482         checked at the begining of the function with the aid of calling 
6483         function 'can_combine_p'. 
6484
6485 2000-01-31  Dave Brolley  <brolley@redhat.com>
6486
6487         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
6488
6489 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
6490
6491         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
6492         new label.
6493
6494 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6495
6496         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
6497         
6498         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
6499         PROTO -> PARAMS.
6500
6501 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
6502
6503         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
6504         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
6505         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
6506         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
6507         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
6508         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
6509         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
6510         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
6511         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
6512         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
6513         
6514         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
6515         Add %(cpp_cpu) to CPP_SPEC.
6516
6517         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
6518         Add %(cc1_cpu) to CC1_SPEC.
6519
6520 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
6521
6522         * c-decl.c (c_decode_option): Accept optional numeric argument to
6523         -Wformat and set warn_format.
6524         * c-common.c: Don't emit warning about non-constant printf format
6525         string unless warn_format > 1.
6526
6527 2000-01-30  Richard Henderson  <rth@cygnus.com>
6528
6529         * alpha.md (return_internal): Allow after reload only.
6530
6531 2000-01-30  Richard Henderson  <rth@cygnus.com>
6532
6533         * i386.c (ix86_compute_frame_size): Omit padding1 if the
6534         local frame size is zero.
6535
6536 2000-01-30  Richard Henderson  <rth@cygnus.com>
6537
6538         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
6539         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
6540         * alpha.md (return): Turn into an expander.
6541         (return_internal): Don't use $26.
6542         (epilogue): Emit the return insn.
6543
6544 2000-01-30  Richard Henderson  <rth@cygnus.com>
6545
6546         * alpha.md (negtf2, abstf2): Fix word order thinko.
6547         (extendsftf2): New.
6548         (trunctfsf2): Avoid intermediate rounding errors.
6549
6550 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
6551
6552         * cppfiles.c (find_position): Drop 'colp' argument, return the
6553         new line base.
6554         (read_and_prescan): Adjust to match.  Don't ever manipulate
6555         line or line_base except via find_position.
6556
6557 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
6558
6559         * c-parse.in: Apply Ulrich's changes from c-parse.y.
6560         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
6561         Regenerate.
6562
6563 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
6564
6565         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
6566         just print "<command line>".  If 'filename' is null or an
6567         empty string, print "<stdin>" for the filename.
6568         * cpplib.c (do_define): Don't print the 'location of the
6569         previous definition' message if we're still parsing the
6570         command line.
6571         (cpp_pedwarn_with_file_and_line): Always call
6572         cpp_file_line_for_message.
6573
6574 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
6575
6576         * flow.c (mark_regs_live_at_end): Fix typo.
6577
6578 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
6579
6580         * c-common.c: Adjust variable names, comments, help strings to c99.
6581         * c-lex.c: Likewise.
6582         * c-parse.y: Likewise.
6583         * c-tree.h: Likewise.
6584         * cccp.c: Likewise.
6585         * cpplib.h: Likewise.
6586         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
6587         * cppinit.c: Likewise.
6588
6589 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6590
6591         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
6592         * c4x.c: Define the optab rtx values.
6593         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
6594         (c4x_emit_libcall): Use new optab rtx values.
6595         (c4x_emit_libcall3): Likewise.
6596         (c4x_emit_libcall_mulhi): Likewise.
6597         * c4x-protos.h: Add prototypes for optab rtx values and change
6598         prototypes for above c4x_emit_libcall functions.
6599
6600 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6601
6602         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
6603         syntax is used.
6604         (c4x_function_prologue): Use regnames intead of float_reg_names when
6605         TI syntax is used.
6606         (c4x_function_epilogue): Likewise.
6607         (c4x_print_operand): Likewise.
6608         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
6609         * c4x.md (set_high): Disable for TARGET_TI.
6610
6611 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6612
6613         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
6614         of framepointer + constant to ADDR_REGS class.
6615         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
6616         * c4x.c (std_or_reg_operand): New function.
6617         * c4x-protos.h (std_or_reg_operand): Prototype it.
6618
6619 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6620
6621         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
6622                 object names as libgcc2.c.
6623         * libgcc.S: Use newly defined names.
6624
6625 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
6626         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
6627         function.
6628         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
6629         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
6630         (FLOW_LOOP_LAST_BLOCK): Likewise.
6631
6632 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6633
6634         * basic-block.h (struct loop): New fields 'first' and 'last'.
6635         * flow.c (flow_loops_find): Compute loop->first and loop->last.
6636         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
6637         and loop->last to check for NOTE_INSN_LOOP_END.
6638
6639 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
6640
6641         * predict.c (estimate_probability): Use the new FIRST and LAST fields
6642         of the loop descriptor rather than HEADER and LATCH. Also added
6643         missing break statements as well making some coding style modifications
6644         as suggested by Michael Hayes.
6645
6646 2000-01-28  Richard Henderson  <rth@cygnus.com>
6647
6648         * flow.c (find_basic_blocks): Remove do_cleanup argument.
6649         Break out that code ...
6650         (cleanup_cfg): ... here.
6651         (commit_one_edge_insertion): Detect a return instruction being
6652         emitted to an edge.  Emit a barrier following; clear fallthru.
6653         (commit_edge_insertions): Verify CFG consistency.
6654         * function.c (expand_function_start): Kill unused variable.
6655         (expand_function_end): Likewise.
6656         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
6657         to insert the epilogue.
6658
6659         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
6660         (delete_null_pointer_checks): Likewise.
6661         * output.h: Likewise.
6662         * reg-stack.c (reg_to_stack): Likewise.
6663         * toplev.c (rest_of_compilation): Likewise.  Run
6664         thread_prologue_and_epilogue_insns after rebuilding the CFG.
6665
6666 2000-01-28  Richard Henderson  <rth@cygnus.com>
6667
6668         * Makefile.in (flow.o): Revert 24 Jan change.
6669         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
6670         FUNCTION_VALUE result to DECL_RESULT's mode.
6671
6672         * haifa-sched.c (schedule_insns): Don't recompute reg info
6673         after reload.
6674
6675 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
6676
6677         * configure.in: Make --enable-cpplib the default.
6678         * configure: Regenerate.
6679         * gcc.dg/990119-1.c: No longer expected to fail.
6680
6681 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
6682
6683         * jump.c (jump_optimize_1): Delete an optimization that is also done
6684         by merge_blocks in flow.
6685
6686 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6687
6688         * diagnostic.c (build_message_string, output_printf,
6689         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
6690         (build_location_prefix): Fix non-literal format string.
6691
6692 2000-01-27  Richard Henderson  <rth@cygnus.com>
6693
6694         * alpha.md (trunctfsf2): New.
6695
6696 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
6697
6698         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
6699
6700 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
6701
6702         * cppinit.c (cpp_handle_option): Recognize C++ comments under
6703         -std=gnu89.
6704         * cpplib.c (skip_block_comment, skip_line_comment): Split code
6705         out of...
6706         (skip_comment) ... here.  Permit C++ comments in system
6707         headers always.  Warn about C++ comments in user code under
6708         -std=gnu89 -pedantic.
6709         (copy_comment): Use skip_comment.
6710         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
6711         return EOF.
6712         (consider_directive_while_skipping, do_else, do_endif): Call
6713         validate_else unconditionally.
6714         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
6715         text after the conditional in a system header.
6716         * cpplib.h (struct cpp_buffer): Add flag
6717         warned_cplusplus_comments.
6718
6719 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
6720
6721         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
6722         Use unshare_all_rtl_1.
6723         (unshare_all_rtl_again): New function.
6724         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
6725
6726         * function.c (purge_addressof_1): Use unshare_all_rtl_again
6727         rather than resetting the 'used' flags ourself.
6728
6729         * toplev.c (rest_of_compilation): Add current_function_decl
6730         to the unshare_all_rtl call.
6731         * tree.h: Prototype unshare_all_rtl.
6732         * rtl.h: Prototype unshare_all_rtl_again here.
6733
6734 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
6735
6736         * genoutput.c (output_prologue): Include ggc.h in generated
6737         files.
6738         * Makefile.in (insn-output.o): Depends on ggc.h.
6739
6740 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
6741             Hans-Peter Nilsson  <hp@bitrange.com>
6742
6743         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
6744         Remove redundant include of xm-ns32k.h.
6745         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
6746         Remove redundant include of xm-ns32k.h.
6747         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
6748         Remove redundant include of xm-ns32k.h.
6749         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
6750
6751         * ns32k/ns32k.h: Update comment on multiply-add instructions.
6752         (TARGET_SWITCHES): Add documentation strings.
6753         (DWARF_FRAME_REGNUM): Override default definition.
6754         (REG_CLASS_CONTENTS): Add comments.
6755         (SUBSET_P): Format to reduce line length.
6756         (SMALL_REGISTER_CLASSES): Make a run time option.
6757         (GO_IF_NONINDEXED_ADDRESS): Reformat.
6758         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
6759         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
6760         (regclass_map): fix typo in comment.
6761         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
6762         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
6763         (trace, reg_or_mem_operand): Delete, unused function.
6764         (calc_address_cost): Small offsets are cheaper than large ones.
6765         (expand_block_move): Generate more efficient code when bytes is a
6766         known at compile time.
6767         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
6768         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
6769         instead of reg_or_mem_operand.
6770
6771         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
6772         not general_operand.  Similarly use "=rm" or stricter, not "=g".
6773         For input operands, use stricter constraints than "g" if not
6774         general_operand.  Similarly use stricter predicate than
6775         "general_operand" when stricter constraints than "g" are present,
6776         except for matching constraints.
6777         (movstrsi): Use "memory_operand" for operands 0 and 1.
6778         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
6779         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
6780         not reg_or_mem_operand.
6781         (udivmoddisi4): Ditto.
6782         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
6783         Use nonimmediate_operand for operand 3, not register_operand.
6784         (udivmoddiqi4_internal): Use register_operand for operand 1, not
6785         reg_or_mem_operand.
6786
6787 2000-01-27  Fred Fish  <fnf@be.com>
6788
6789         * gthr-posix.h: Fix typo; compatibily -> compatibility.
6790         * gthr-single.h: Likewise.
6791         * gthr-solaris.h: Likewise.
6792         * gthr-vxworks.h: Likewise.
6793         * gthr-win32.h: Likewise.
6794         * gthr.h: Likewise.
6795
6796 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
6797
6798         * cppinit.c: Add " (cpplib)" to end of string printed by
6799         -v / --version.
6800
6801 2000-01-27  Richard Henderson  <rth@cygnus.com>
6802
6803         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
6804         testing for a signed comparison.
6805         (alpha_emit_floatuns): New.
6806         * alpha-protos.h: Declare it.
6807         * alpha.md (floatunsdisf2, floatunsdidf2): New.
6808         (extendsfdf2): Tidy.
6809
6810 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
6811
6812         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
6813         no -g option specifying debugging format, default to -gstabs+.
6814
6815 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
6816
6817         * calls.c (special_function_p): New argument fork_or_exec.
6818         (expand_call): When profile_arc_flag is set and the function
6819         is in the fork_or_exec group, call __bb_fork_func first.
6820         * libgcc2.c, _bb module (__bb_fork_func): New function.
6821         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
6822         output file.
6823         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
6824         * tree.h (special_function_p): Update prototype.
6825
6826 2000-01-26  Richard Henderson  <rth@cygnus.com>
6827
6828         * alpha.c (alpha_split_tfmode_pair): New.
6829         * alpha-protos.h: Declare it.
6830         * alpha.md (abstf2, negtf2): New.
6831         (movtf insn): Add input G constraint.
6832         (movtf splitter): Use alpha_split_tfmode_pair.
6833
6834 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6835
6836         * i386/cygwin.h: PROTO -> PARAMS.
6837
6838 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
6839
6840         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
6841         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
6842         using _Qp_cmp/_Q_cmp and testing the return value.
6843         (print_operand): Call reverse_condition_maybe_unordered if
6844         we are handling CCFPmode or CCFPEmode.
6845         Handle ORDERED, UN* and LTGT comparisons.
6846         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
6847         if not TARGET_HARD_QUAD.
6848         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
6849         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
6850         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
6851         Adjust gen_b* calls so that they reflect return comparison of
6852         sparc_emit_float_lib_cmp.
6853
6854 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6855
6856         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
6857         incoming operands array is large enough for one more operand.
6858         (alpha_emit_xfloating_arith): Likewise.
6859
6860 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6861
6862         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
6863         file with one line and no trailing newline.
6864         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
6865         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
6866         checking if the match is on the line.
6867         * fixinc/gnu-regex.c: Provide regerror not __regerror.
6868
6869 2000-01-25  Richard Henderson  <rth@cygnus.com>
6870
6871         * sparc.c (output_cbranch): Fix accidental squashing of the
6872         fp branch pre-delay nop.
6873
6874 2000-01-25  Richard Henderson  <rth@cygnus.com>
6875
6876         * tree.def (UNNE_EXPR): Remove.
6877         * c-typeck.c (build_binary_op): Don't handle it.
6878         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
6879
6880         * rtl.def (UNNE): Remove.
6881         (LTGT): Add.
6882         * jump.c (reverse_condition): Update accordingly.
6883         (swap_condition): Likewise.
6884         (comparison_dominates_p): Handle unordered comparisons.
6885         (reverse_condition_maybe_unordered): New.
6886         * rtl.h (reverse_condition_maybe_unordered): Declare.
6887
6888         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
6889         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
6890         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
6891         * sparc.md (bltgt): New.
6892
6893 2000-01-25  Nick Clifton  <nickc@redhat.com>
6894
6895         * emit-rtl.c (emit_insn): Only check machine class insns for
6896         improper emission of a RETURN.
6897
6898 2000-01-25  Richard Henderson  <rth@cygnus.com>
6899
6900         * Makefile.in (flow.o): Depend on $(EXPR_H).
6901         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
6902         duplicate the structure of diddle_return_value for keeping regs live.
6903
6904 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6905
6906         * loop.c (current_loop_info): Delete.
6907         (consec_sets_invariant_p): Add loop argument, update callers.
6908         (get_condition_for_loop): Likewise.
6909         (count_nonfixed_reads, update_giv_derive): Likewise.
6910         (simplify_giv_expr, general_induction_var): Likewise.
6911         (consec_sets_giv, recombine_givs): Likewise.
6912         (move_movables): Delete loop_start and loop_end arguments,
6913         add loop argument, and update callers.
6914         (find_mem_givs, check_final_value): Likewise.
6915         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
6916         (loop_invariant_p): Rename from invariant_p, add loop argument, and
6917         update callers.
6918         (basic_induction_var): Add loop argument, delete loop_level argument,
6919         and update callers.
6920         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
6921         add loop argument, and update callers.
6922         (find_splittable_regs, find_splittable_givs): Likewise.
6923         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
6924         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
6925         (biv_total_increment): Delete loop_start and loop_end arguments;
6926         update callers.
6927         (precondition_loop_p): Delete loop_start and loop_info arguments;
6928         update callers.
6929         * loop.h (get_condition_for_loop): Add loop argument.
6930         (biv_total_increment): Delete loop_start and loop_end arguments.
6931         (precondition_loop_p): Delete loop_start and loop_info arguments;
6932         add loop argument.
6933         (final_biv_value): Delete loop_start and loop_end arguments;
6934         add loop argument.
6935         (final_giv_value, back_branch_in_range_p): Likewise.
6936
6937 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
6938
6939         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
6940
6941 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
6942
6943         * Makefile.in (c-gperf.h) : Change the "See" pointer to
6944         point to the new "generated_files" doc.
6945
6946 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
6947
6948         * config/fp-bit.c (_unord_f2): Fix typo.
6949
6950 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6951
6952         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
6953         c-typeck.c, objc/objc-act.c: Remove all references to obstack
6954         functions obsoleted by GC, such as push_obstacks_nochange,
6955         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
6956         and code which existed only to decide whether or not to call
6957         them.  Remove now-unused NESTED argument from start_function;
6958         all callers changed.  Do not change behavior based on ggc_p.
6959         The use of the ixp_obstack in c-iterate.c and the util_obstack
6960         in objc/objc-act.c remain; these are not obsoleted by garbage
6961         collection.
6962         * c-tree.h: Update prototype for start_function.
6963
6964         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
6965
6966 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
6967
6968         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
6969         mips16.
6970
6971 2000-01-25  Richard Henderson  <rth@cygnus.com>
6972
6973         * sparc-protos.h (select_cc_mode): Declare.
6974         * sparc.c (select_cc_mode): New.  Handle unordered compares.
6975         (output_cbranch): Always reverse via code change.  Handle
6976         unordered compares.  Factor tests and string updates.
6977         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
6978         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
6979         * sparc.md (bunordered, bordered): New.
6980         (bungt, bunlt, buneq, bunge, bunle): New.
6981
6982 2000-01-25  Richard Henderson  <rth@cygnus.com>
6983
6984         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
6985         * ggc-common.c (ggc_add_rtx_varray_root): New.
6986         (ggc_mark_rtx_varray): New.
6987         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
6988         functions down below ggc_mark_foo.
6989         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
6990
6991 2000-01-25  Richard Henderson  <rth@cygnus.com>
6992
6993         * alpha.c (secondary_reload_class): Don't allocate a secondary
6994         for integral mode memories into FLOAT_REGS.  Rearrange the more
6995         complicated memory expression inward.
6996
6997 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6998
6999         * inclhack.def: Fixes to play nicer with FreeBSD, and
7000         corrections to comments.
7001         (cxx_unready): Add select expression.
7002         (irix_sockaddr): Add bypass expression.
7003         (machine_ansi_h_va_list): New fix.
7004         (stdio_va_list): No need to edit _BSD_VA_LIST_.
7005         Split out addition of "#include <stdarg.h>" to...
7006         (stdio_stdarg_h): ... here.
7007         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
7008         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
7009         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
7010         size_t.
7011         (ultrix_ifdef): Tighten up select expression.
7012
7013         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
7014         re_ct and max_mach to avoid use of shell.  Make printed names
7015         match names in inclhack.def.  Use static copyright date.
7016         Don't count c_test and test expressions as requiring regex_t
7017         slots.  Add some commentary.
7018         * inclhack.tpl: Do not include the 'This script contains N
7019         fixup scripts' line if PROGRAM is defined.  Use static
7020         copyright date.
7021
7022 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
7023
7024         * dwarf2out.c: include "varray.h", not dyn-string.h.
7025         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
7026         (addr_const_to_string, addr_to_string): Lose.
7027         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
7028         (struct dw_val_struct): val_addr is now an rtx.
7029         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
7030         (used_rtx_varray): New varray.
7031         (dwarf2out_init): Initialize it.
7032         (save_rtx): New fn.
7033         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
7034         addr_to_string.
7035         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
7036         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
7037         * Makefile.in (dwarf2out.o): Update dependencies.
7038
7039 2000-01-24  Richard Henderson  <rth@cygnus.com>
7040
7041         * i386.c (i386_dwarf_output_addr_const): New.
7042         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
7043
7044         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
7045         if defined.
7046         * dwarfout.c (output_mem_loc_descriptor): Likewise.
7047         * i386.c (i386_simplify_dwarf_addr): New.
7048         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
7049
7050 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
7051
7052         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
7053         TYPE_STUB_DECL is NULL.
7054
7055 2000-01-24  Richard Henderson  <rth@cygnus.com>
7056
7057         * builtins.c (expand_tree_builtin): Move ...
7058         * c-common.c (expand_tree_builtin): ... here.
7059
7060 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7061
7062         * loop.h (LOOP_INFO): New accessor macro.
7063         * basic-block.h (struct loop): Rename field `info' to `aux'.
7064         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
7065         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
7066         * unroll.c (loop_iterations, unroll_loop): Likewise.
7067
7068 2000-01-24  Christopher Faylor <cgf@cygnus.com>
7069
7070         * config/i386/t-cygwin: Accomodate new winsup directory layout
7071         when searching for include files.
7072
7073 2000-01-24  Richard Henderson  <rth@cygnus.com>
7074
7075         * rtl.def: Add unordered fp comparisions.
7076         * tree.def: Likewise.
7077         * tree.h: Add ISO C 9x unordered fp comparision builtins.
7078
7079         * builtins.c (expand_tree_builtin): New function.
7080         * c-typeck.c (build_function_call): Use it.
7081         (build_binary_op): Support unordered compares.
7082         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
7083
7084         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
7085         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
7086         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
7087         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
7088         * jump.c (reverse_condition): Don't abort for UNLE etc, but
7089         return UNKNOWN.
7090         (swap_condition): Handle unordered compares.
7091         (thread_jumps): Check can_reverse before reversing.
7092         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
7093         reversed for FP.
7094
7095         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
7096         setcc is present before acking for cmp_optab.  Update all callers.
7097         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
7098         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
7099         * expr.c (expand_expr): Likewise.  Support unordered compares.
7100         (do_jump, do_store_flag): Likewise.
7101         * expr.h (enum libfunc_index): Add unordered compares.
7102
7103         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
7104         (DPBIT_FUNCS): Add _unord_df.
7105         * config/fp-bit.c (_unord_f2): New.
7106         * fp-test.c (main): Try unordered compare builtins.
7107
7108         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
7109         * alpha.c (alpha_comparison_operator): Check mode properly.
7110         (alpha_swapped_comparison_operator): Likewise.
7111         (signed_comparison_operator): Likewise.
7112         (alpha_fp_comparison_operator): New.
7113         (alpha_emit_conditional_branch): Handle unordered compares.
7114         * alpha.h (PREDICATE_CODES): Update.
7115         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
7116         (bunordered, bordered): New.
7117
7118 2000-01-24  Richard Henderson  <rth@cygnus.com>
7119
7120         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
7121         * alpha.md (movtf): New expander, insn, and splitter.
7122
7123 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
7124
7125         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
7126         dead registers.
7127
7128 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
7129
7130         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
7131         (FIXED_REGISTERS, CALL_USED_REGISTERS,
7132          REG_ALLOC_ORDER): Add frame pointer
7133         (FRAME_POINTER_REGNUM): Set to 20
7134         (HARD_FRAME_POINTER_REGNUM): New macro.
7135         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
7136         to HARD_FRAME_POINTER.
7137         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
7138         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
7139         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
7140         (HI_REGISTER_NAMES): Add "frame".
7141         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
7142         (debug_reg): Handle FRAME_POINTER_REGNUM.
7143         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
7144         GENERAL_REGS and INDEX_REGS.
7145         * i386.c (SAVED_REGS_FIRST): new macro.
7146         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
7147         (ix86_decompose_address, memory_address_length): Likewise.
7148         (regclass_map): Add frame pointer.
7149         (call_insn_operand): Handle frame_pointer_rtx.
7150         (reg_no_sp_operand): Likewise.
7151         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
7152         (print_operand, legitimize_pic_address): Fix formating.
7153         (ix86_compute_frame_size): Make static, update prototype, new
7154         parameters padding1, padding2, use ix86_nsaved_regs, use
7155         stack_alignment_needed.
7156         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
7157         to HARD_FRAME_POINTER_REGNUM conversions.
7158         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
7159         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
7160         (print_reg): Abort on FRAME_POINTER_REGNUM
7161
7162 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
7163
7164         * i386.h (PREDICATE_CODES): Add aligned_operand.
7165         * i386.c (aligned_operand): New function.
7166         (ix86_aligned_p): Kill.
7167         * i386.md (movhi_1): Emit mov for aligned operands.
7168         (promoting peep2s): Use aligned_operand.
7169
7170 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
7171
7172         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
7173         expression to allow underscores in macro names.
7174         (fix_char_macro_defines): Increment scanning pointer.
7175
7176 2000-01-23  Richard Henderson  <rth@cygnus.com>
7177
7178         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
7179         * alpha/osf5.h: New file.
7180         * configure.in (alpha-*-osf5): Add it to tm_file.
7181
7182         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
7183
7184         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
7185         (alpha_emit_xfloating_cvt, function_arg): Declare.
7186         * alpha.c (alpha_emit_conditional_branch): Call
7187         alpha_emit_xfloating_compare for TFmode compares.
7188         (alpha_lookup_xfloating_lib_func): New.
7189         (alpha_compute_xfloating_mode_arg): New.
7190         (alpha_emit_xfloating_libcall): New.
7191         (alpha_emit_xfloating_arith): New.
7192         (alpha_emit_xfloating_compare): New.
7193         (alpha_emit_xfloating_cvt): New.
7194         (print_operand): Add default abort case.
7195         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
7196         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
7197         (BIGGEST_ALIGNMENT): Increase to 128 bits.
7198         (RETURN_IN_MEMORY): True for TF/TCmode.
7199         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
7200         (FUNCTION_ARG): Move to function_arg.
7201         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
7202         (ASM_OUTPUT_LONG_DOUBLE): New.
7203         (ASM_OUTPUT_DOUBLE): Always output bits.
7204         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
7205         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
7206         (extenddftf2, trunctfdf2): New.
7207
7208 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7209
7210         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
7211         * config/sparc/sol2.h: ... here.
7212
7213 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7214
7215         * basic-block.h (struct loops): New field `levels'.
7216         * flow.c (flow_loops_level_compute): Traverse all outer loops.
7217         (flow_loop_level_compute): Initialise level to 1.
7218         (flow_loops_find): Set loops->levels.
7219         (flow_loops_dump): Print loops->levels.
7220
7221 2000-01-23  Richard Henderson  <rth@cygnus.com>
7222
7223         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
7224         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
7225
7226 2000-01-23  Richard Henderson  <rth@cygnus.com>
7227
7228         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
7229         * i386.h (DBX_REGISTER_NUMBER): Use them.
7230         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
7231         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
7232         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
7233         * i386/sequent.h: Kill incorrect comment.
7234
7235 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
7236
7237         * ggc-page.c (struct page_entry): Make `context_depth' an
7238         `unsigned short'.
7239         (struct globals): Likewise.
7240
7241 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
7242
7243         * loop.c (check_dbra_loop): When checking a loop for
7244         reversability, check the source of any stores to ensure
7245         they don't depend on an initial value.
7246
7247 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7248
7249         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
7250
7251 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
7252
7253         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
7254         'pz_scan' into scope of entire function.  Only affects
7255         compiles with -DDEBUG.
7256
7257 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
7258
7259         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
7260         section naming to that prior to 2000-01-07 patch.
7261         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
7262         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
7263         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
7264         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
7265         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
7266
7267 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
7268
7269         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
7270         constant.
7271
7272 2000-01-21  Jim Wilson  <wilson@cygnus.com>
7273
7274         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
7275         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
7276
7277 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
7278
7279         * cpphash.c (change_newlines): Delete function.
7280         (struct argdata): Delete 'newlines' and 'use_count' fields.
7281         (macroexpand): Remove code referencing those fields.
7282
7283 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7284
7285         * loop.c (loops_info): New variable.
7286         (loop_optimize): Allocate loops->array and free it on exit.
7287         Allocate memory for loops_info and assign to each loop,
7288         replacing alloca.
7289         (find_and_verify_loops): Do not allocate loops->array.
7290
7291 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
7292
7293         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
7294
7295 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
7296
7297         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
7298         pseudos if expanded after first flow.
7299         (movdi_pic_label_ref): Likewise.
7300
7301 2000-01-20  Richard Henderson  <rth@cygnus.com>
7302
7303         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
7304
7305 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
7306
7307         * Makefile.in (fixinc.sh): Depend on specs.
7308         * fixinc/Makefile.in: Add rule to create machname.h.
7309         (fixlib.o): Depend on machname.h.
7310         * fixinc/fixtests.c (machine_name): New test.
7311         * fixinc/fixfixes.c (machine_name): New fix.
7312         * fixinc/fixlib.c (mn_get_regexps): New helper function for
7313         the machine_name test and fix.
7314         * fixinc/fixlib.h: Prototype it.
7315         * fixinc/inclhack.def (machine_name): Use the C test and fix.
7316         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
7317
7318         * gcc.c (do_spec_1) [case P]: Take care not to create
7319         identifiers with three leading or trailing underscores.
7320
7321         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
7322         (fixincl): Don't specify libraries twice on link line.
7323         (gnu-regex.o): Remove special rule.
7324         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
7325         defined by config.h.  Do not define _REGEX_RE_COMP.
7326         (regcomp): Allocate and initialize a fastmap.
7327         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
7328
7329 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
7330
7331         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
7332
7333 2000-01-19  Richard Henderson  <rth@cygnus.com>
7334
7335         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
7336         arguments with BB.  Update all callers.  Tidy line wrapping.
7337
7338 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
7339
7340         * emit-rtl.c (try_split): Return last_insn if we split the
7341         last_insn.
7342
7343 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
7344
7345         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
7346         (ix86_initial_elimination_offset): Declare.
7347         * i386.c (ix86_nsaved_regs): Break out from ...
7348         (ix86_can_use_return_insn_p): ... here.
7349         (ix86_emit_save_regs): Break out from ...
7350         (ix86_expand_prologue): ... here.
7351         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
7352         out from ...
7353         (ix86_expand_epilogue): ... here.
7354         (ix86_compute_frame_size): Make static, add prototype.
7355         (ix86_initial_elimination_offset): Break out from ...
7356         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
7357
7358 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7359
7360         * recog.h (OUT_FCN): Delete.
7361
7362         * vax.md: Call `get_insn_template' instead of OUT_FCN.
7363
7364 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7365
7366         * cppalloc.c: PROTO -> PARAMS.
7367         * cpperror.c: Likewise.
7368         * cppfiles.c: Likewise.
7369         * cpplib.c: Likewise.
7370         * cpplib.h: Likewise.
7371
7372         * config/arm/arm-protos.h: PROTO -> PARAMS.
7373         * config/arm/arm.c: Likewise.
7374         * config/c4x/c4x.c: Likewise.
7375         * config/fr30/fr30-protos.h: Likewise.
7376         * config/nextstep.c: Likewise.
7377         * config/pa/pa.c: Likewise.
7378         * config/pj/pj.c: Likewise.
7379         * config/rs6000/rs6000.c: Likewise.
7380         * config/v850/v850-protos.h: Likewise.
7381         * config/v850/v850.c: Likewise.
7382
7383 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7384
7385         * i370-protos.h: New file.
7386
7387         * i370.c: Include tm_p.h.  Fix compile time warnings.
7388
7389         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
7390         warnings.
7391
7392         * i370.md: Likewise.
7393
7394 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7395
7396         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
7397         (target_isinf, target_isnan, eisnan): Mark parameter with
7398         ATTRIBUTE_UNUSED.
7399         (eiisinf): Wrap in INFINITY.
7400         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
7401         (ibmtoe): Remove unused variable `rndsav'.
7402
7403 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7404
7405         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
7406         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
7407
7408 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
7409
7410         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
7411         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
7412         (fix_char_macro_defines, fix_char_macro_uses): New functions.
7413
7414         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
7415         Recognize Emacs mode markers also.
7416         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
7417         C++ comments in C++ headers.  Call is_cxx_header only if
7418         necessary.
7419
7420         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
7421         bypass for ncurses.
7422         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
7423         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
7424         ... these, which use the new C fixes.
7425         (math_exception): Escape literal '+' in bypass expression.
7426
7427         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
7428         Regenerate.
7429
7430 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7431
7432         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
7433         inside the MEM.
7434
7435 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7436
7437         * loop.c (loop_optimize): Allocate loop_info structure for each loop
7438         prior to calling scan_loop.
7439
7440 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7441
7442         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
7443         (split_branches, calc_live_regs): Likewise.
7444
7445 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7446
7447         * sh.md (fpu_single, fp_mode): New attributes.
7448
7449 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7450
7451         * loop.c (current_loop_info): Renamed from loop_info_data
7452         and changed to a pointer.
7453         (loop_optimize): Allocate loop_info structure for each loop
7454         and initialise to zero.
7455         (scan_loop): Set current_loop_info.
7456
7457         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
7458         on iteration_var.
7459
7460 2000-01-19  Richard Henderson  <rth@cygnus.com>
7461
7462         * stupid.c: Die die die.
7463         * Makefile.in (OBJS): Remove stupid.o.
7464         (stupid.o): Likewise.
7465
7466         * except.c (emit_eh_context): Don't emit USEs for stupid.
7467         * explow.c (probe_stack_range): Likewise.
7468         * flags.h (obey_regdecls): Remove.
7469         * flow.c (find_basic_blocks): Don't run try_merge_blocks
7470         when not optimizing.
7471         (life_analysis): Limit data collection when not optimizing.
7472         (mark_regs_live_at_end): Always mark the return value registers.
7473         (mark_used_regs): Remove dummy RETURN case.
7474         (print_rtl_with_bb): Don't consult obey_regdecls.
7475         * function.c (use_variable, use_variable_after): Remove.
7476         (assign_parms): Consult optimize not obey_regdecls.
7477         (expand_function_start): Don't emit USEs for stupid.
7478         (expand_function_end): Likewise.
7479         * global.c (build_insn_chain): Export.
7480         * integrate.c (expand_inline_function): Kill return-value USE
7481         handling code.
7482         * jump.c (jump_optimize_1): Do simple jump optimizations and
7483         dead code elimination.
7484         (calculate_can_reach_end): Remove check_deleted argument.
7485         (delete_insn): Patch out insns even when not optimizing.
7486         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
7487         * rtl.h (use_variable, use_variable_after): Remove declarations.
7488         (build_insn_chain): Declare.
7489         * stmt.c (expand_value_return): Don't emit USEs for stupid.
7490         (expand_end_bindings): Likewise.
7491         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
7492         * toplev.c (obey_regdecls): Remove.
7493         (rest_of_compilation): Don't set it.  Kill stupid in favour of
7494         flow1, local-alloc, and reload.
7495         (main): Don't set obey_regdecls.
7496
7497         * config/nextstep.c (handle_pragma): Likewise.
7498
7499         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
7500
7501         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
7502
7503 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7504
7505         * alpha-protos.h: PROTO -> PARAMS.
7506         * alpha.c: Likewise.
7507         * elf.h: Likewise.
7508         * h8300.c: Likewise.
7509         * i386-protos.h: Likewise.
7510         * i386.c: Likewise.
7511         * m32r-protos.h: Likewise.
7512         * m32r.c: Likewise.
7513         * mips.c: Likewise.
7514         * mips.md: Likewise.
7515         * gmon-sol2.c: Likewise.
7516         * sparc.c: Likewise.
7517
7518 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7519
7520         * ns32k-protos.h: New file.
7521
7522         * ns32k.c: Fix compile time warnings.
7523
7524         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
7525         warnings.
7526
7527         * ns32k.md: Likewise.
7528
7529 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7530
7531         * vax-protos.h: New file.
7532
7533         * vax.c: Fix compile time warnings.
7534
7535         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
7536         warnings.
7537
7538         * vax.md: Likewise.
7539
7540         * vaxv.md: Likewise.
7541
7542 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7543
7544         * romp-protos.h: New file.
7545
7546         * romp.c: Fix compile time warnings.
7547
7548         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
7549         warnings.
7550
7551         * romp.md: Likewise.
7552
7553 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7554
7555         * we32k-protos.h: New file.
7556
7557         * we32k.c: Fix compile time warnings.
7558
7559         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
7560         warnings.
7561
7562 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7563
7564         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
7565
7566         * except.c (eh_regs): Likewise.
7567
7568         * final.c (output_operand): Likewise.
7569
7570         * fold-const.c (target_isinf, target_isnan): Likewise.
7571
7572 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
7573
7574         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
7575         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
7576
7577         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
7578         when optimize_size.
7579         (clrstrsi): Rewrite.
7580         (strsethi, strsetqi): New expanders.
7581         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
7582         (cmpstrsi): Emit compare insn before cmpstrsi_1
7583         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
7584         (strlensi_1): Likewise.
7585         (cmpstrsi_1): Likewise; do not output compare.
7586         (strlen expander): Do not unroll when optimizing for size.
7587         (*subsi3_carry): Rename to subsi3_carry
7588         (addqi3_cc): New pattern.
7589         * i386.h (processor_costs): Add move_ratio field.
7590         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
7591         * i386.c (*_cost): Set move_ratio.
7592         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
7593         (x86_expand_strlensi_1): Rewrite the main loop.
7594
7595 2000-01-17  Richard Henderson  <rth@cygnus.com>
7596
7597         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
7598         * cse.c (find_comparison_args, fold_rtx): Likewise.
7599         * integrate.c (subst_constants): Likewise.
7600         * loop.c (get_condition): Likewise.
7601
7602         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
7603
7604         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
7605
7606 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7607
7608         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
7609         (RESTORE_WARN_FLAGS): Unpack it.
7610         Change semantic type of extension to ttype.
7611         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
7612         * c-parse.y, c-parse.c, objc/objc-parse.y,
7613         objc/objc-parse.c: Regenerate.
7614
7615 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
7616
7617         * fixinc/fixlib.c: Add copyright notice.
7618         (compile_re): New function.
7619         * fixinc/fixlib.h: Prototype compile_re.
7620
7621         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
7622         Use compile_re to compile regular expressions.
7623
7624         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
7625         where the pattern matched.
7626
7627         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
7628         use 'replace'.
7629         (ultrix_ansi_compat): Likewise.
7630         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
7631         add egrep test.
7632         (interactv_add2, interactv_add3): Delete.
7633         (x11_sprintf): Don't use filename glob.
7634         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
7635         Regenerate.
7636
7637 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7638
7639         * print-rtl.c: PROTO -> PARAMS.
7640         * real.c: Likewise.
7641         * reg-stack.c: Likewise.
7642         * resource.c: Likewise.
7643         * sdbout.h: Likewise.
7644         * simplify-rtx.c: Likewise.
7645         * stor-layout.c: Likewise.
7646         * stupid.c: Likewise.
7647         * xcoffout.c: Likewise.
7648         * xcoffout.h: Likewise.
7649
7650 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7651
7652         * toplev.c: PROTO -> PARAMS.
7653         * toplev.h: Likewise.
7654         * tree.c: Likewise.
7655         * tree.h: Likewise.
7656         * unroll.c: Likewise.
7657         * varasm.c: Likewise.
7658         * varray.c: Likewise.
7659         * varray.h: Likewise.
7660
7661 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7662
7663         * reload.c: PROTO -> PARAMS.
7664         * reload.h: Likewise.
7665         * reload1.c: Likewise.
7666         * reorg.c: Likewise.
7667         * resource.h: Likewise.
7668         * rtl.c: Likewise.
7669         * rtl.h: Likewise.
7670         * rtlanal.c: Likewise.
7671         * sbitmap.h: Likewise.
7672         * sdbout.c: Likewise.
7673         * stack.h: Likewise.
7674         * stmt.c: Likewise.
7675         * system.h: Likewise.
7676
7677 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7678
7679         * machmode.h: PROTO -> PARAMS.
7680         * mbchar.h: Likewise.
7681         * mips-tdump.c: Likewise.
7682         * mips-tfile.c: Likewise.
7683         * optabs.c: Likewise.
7684         * output.h: Likewise.
7685         * prefix.c: Likewise.
7686         * profile.c: Likewise.
7687         * protoize.c: Likewise.
7688         * real.h: Likewise.
7689         * recog.c: Likewise.
7690         * recog.h: Likewise.
7691         * regclass.c: Likewise.
7692         * regmove.c: Likewise.
7693         * regs.h: Likewise.
7694
7695 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7696
7697         * ggc-common.c: PROTO -> PARAMS.
7698         * ggc-page.c: Likewise.
7699         * ggc-simple.c: Likewise.
7700         * ggc.h: Likewise.
7701         * global.c: Likewise.
7702         * graph.c: Likewise.
7703         * gthr-win32.h: Likewise.
7704         * haifa-sched.c: Likewise.
7705         * halfpic.h: Likewise.
7706         * integrate.c: Likewise.
7707         * integrate.h: Likewise.
7708         * jump.c: Likewise.
7709         * lcm.c: Likewise.
7710         * local-alloc.c: Likewise.
7711         * loop.c: Likewise.
7712         * loop.h: Likewise.
7713
7714 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7715
7716         * genattr.c: PROTO -> PARAMS.
7717         * genattrtab.c: Likewise.
7718         * gencheck.c: Likewise.
7719         * gencodes.c: Likewise.
7720         * genconfig.c: Likewise.
7721         * genemit.c: Likewise.
7722         * genextract.c: Likewise.
7723         * genflags.c: Likewise.
7724         * gengenrtl.c: Likewise.
7725         * genopinit.c: Likewise.
7726         * genoutput.c: Likewise.
7727         * genpeep.c: Likewise.
7728         * genrecog.c: Likewise.
7729
7730 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
7731
7732         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
7733
7734 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7735
7736         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
7737         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
7738         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
7739         * configure, config.in: Rebuilt.
7740
7741 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
7742
7743         * config/i386/i386.md: Add peephole to merge successive stack
7744         adjusts.
7745
7746 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
7747
7748         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
7749         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
7750         when walking backwards to find all the parameter loads when
7751         the basic block ends in a call.
7752
7753 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7754
7755         * loop.c (this_loop_info): Delete.
7756         (uid_loop): Add in place of uid_loop_num.  All uses updated.
7757         (loop_number_exit_count): Delete and replace with entry in loop
7758         structure.  All uses updated.
7759         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7760         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7761         (loop_outer_loop): Likewise.
7762         (loop_invalid, loop_number_exit_labels): Likewise.
7763         (loop_used_count_register): Delete and replace with entry in
7764         loop_info structure.
7765         (find_and_verify_loops): Add loops argument.
7766         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
7767         loop_end, etc. arguments with loop structure pointer.  All callers
7768         changed.
7769         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
7770         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
7771         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
7772         (insert_bct): Likewise.
7773         (basic_induction_var): New argument level.
7774         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
7775         vtop, and cont.  Add used_count_register.
7776         (uid_loop): Delete declaration.
7777         (loop_number_exit_count): Likewise.
7778         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7779         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7780         (loop_outer_loop, loop_used_count_register): Likewise.
7781         (loop_invalid, loop_number_exit_labels): Likewise.
7782         (unroll_loop): Replace loop_start and loop_end arguments
7783         with loop structure pointer.
7784         (loop_precondition_p, loop_iterations): Likewise.
7785         Include basic-block.h.
7786         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
7787         with loop structure pointer.
7788         (loop_precondition_p, loop_iterations): Likewise.
7789         * basic-block.h (struct loop): New entries vtop, cont,
7790         cont_dominator, start, end, top, scan_start, exit_labels,
7791         exit_count.
7792         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
7793
7794 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7795
7796         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
7797
7798 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
7799
7800         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
7801
7802 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7803
7804         * pdp11-protos.h: New file.
7805
7806         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
7807         time warnings.
7808
7809         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
7810         warnings.
7811
7812         * pdp11.md: Likewise.
7813
7814         * 2bsd.h: Likewise.
7815
7816 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7817
7818         * mn10300-protos.h: New file.
7819
7820         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
7821         time warnings.
7822
7823         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
7824         warnings.
7825
7826         * mn10300.md: Likewise.
7827
7828 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7829
7830         * mn10200-protos.h: New file.
7831
7832         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
7833         time warnings.
7834
7835         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
7836         warnings.
7837
7838         * mn10200.md: Likewise.
7839
7840 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7841
7842         * h8300-protos.h: New file.
7843
7844         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
7845         time warnings.
7846
7847         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
7848         warnings.
7849
7850         * h8300.md: Likewise.
7851
7852 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7853
7854         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
7855         (asm_emit_uninitialised): Likewise.
7856
7857 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
7858
7859         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
7860         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
7861
7862 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7863
7864         * config/mips/mips.c (override_options): Don't turn on extra
7865         alignment for mips16.
7866
7867 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7868
7869         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
7870         eabi, and make sure queued POSTINCREMENT rtl is emitted at
7871         the right point.
7872
7873 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7874
7875         * builtins.c (PAD_VARARGS_DOWN): Define.
7876         (std_expand_builtin_va_arg): Use the above macro.
7877         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
7878         * tm.texi (Register Arguments): Document the above macro.
7879
7880 2000-01-14  Nick Clifton  <nickc@cygnus.com>
7881
7882         * emit-rtl.c (emit_insn): If checking is enabled, make sure
7883         that this function has not been used to emit a jump
7884         instruction.
7885
7886         * jump.c (return_jump_1): Cope with being passed a null rtx.
7887
7888 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7889
7890         * eh-common.h: PROTO -> PARAMS.
7891         * emit-rtl.c: Likewise.
7892         * errors.c: Likewise.
7893         * errors.h: Likewise.
7894         * except.c: Likewise.
7895         * except.h: Likewise.
7896         * explow.c: Likewise.
7897         * expmed.c: Likewise.
7898         * expr.c: Likewise.
7899         * expr.h: Likewise.
7900         * final.c: Likewise.
7901         * fix-header.c: Likewise.
7902         * flow.c: Likewise.
7903         * fold-const.c: Likewise.
7904         * function.c: Likewise.
7905         * function.h: Likewise.
7906         * gcc.c: Likewise.
7907         * gcov-io.h: Likewise.
7908         * gcov.c: Likewise.
7909         * gcse.c: Likewise.
7910
7911 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7912
7913         * sh-protos.h: New file.
7914
7915         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
7916         Add static prototypes.  Fix compile time warnings.
7917
7918         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
7919         * sh.md: Likewise.
7920         * elf.h: Likewise.
7921
7922 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7923
7924         * arc-protos.h: New file.
7925
7926         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
7927         time warnings.
7928
7929         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
7930         warnings.
7931
7932         * arc.md: Likewise.
7933
7934 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7935
7936         * dsp16xx-protos.h: New file.
7937
7938         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
7939         time warnings.
7940
7941         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
7942         warnings.
7943
7944         * dsp16xx.md: Likewise.
7945
7946 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7947
7948         * convex-protos.h: New file.
7949
7950         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
7951         time warnings.
7952
7953         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
7954         warnings.
7955
7956 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7957
7958         * elxsi-protos.h: New file.
7959
7960         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
7961         time warnings.
7962
7963         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
7964         warnings.
7965
7966         * elxsi.md: Likewise.
7967
7968 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7969
7970         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
7971         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
7972         match the comment for MIPS16.
7973
7974 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
7975
7976         * flow.c (split_edge): Do not call set_block_for_insn if we
7977         do not have a basic_block_for_insn structure.
7978
7979         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
7980         and destination functions are 32bit aligned within the trampoline.
7981         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
7982         (TRAMPOLINE_ALIGNMENT): Define.
7983
7984         * cse.c (cse_insn): When changing (set (pc) (reg)) to
7985         (set (pc) (label_ref)), verify the change creates a valid insn.
7986
7987         * fr30.c (call_operand): Tighten and rework to match rules for
7988         call RTL expressions.
7989         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
7990         * fr30.md (call patterns): Improve constraints.
7991
7992 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
7993
7994         * fr30.c (fr30_expand_epilogue): Revert last change.
7995         Use emit_jump_insn for the return insn.
7996
7997 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
7998                           Stan Cox  <scox@cygnus.com>
7999
8000         * predict.c: New file. Preliminary infrastructure work for static
8001         branch prediction and basic block reordering.
8002         * basic-block.h: Add prototype for estimate_probability.
8003         * Makefile.in: Add rules for predict.o.
8004
8005 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
8006
8007         * fixincludes (va_list): Use __not_va_list__ for the dummy.
8008         * fixinc/*: Likewise.
8009
8010 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8011
8012         * cccp.c: PROTO -> PARAMS.
8013         * cexp.y: Likewise.
8014         * collect2.c: Likewise.
8015         * combine.c: Likewise.
8016         * convert.h: Likewise.
8017         * cse.c: Likewise.
8018         * dbxout.c: Likewise.
8019         * dbxout.h: Likewise.
8020         * diagnostic.c: Likewise.
8021         * doprint.c: Likewise.
8022         * dwarf2out.c: Likewise.
8023         * dwarf2out.h: Likewise.
8024         * dwarfout.c: Likewise.
8025         * dwarfout.h: Likewise.
8026         * dyn-string.h: Likewise.
8027
8028 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8029
8030         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
8031         macro conditionals guarding use.
8032
8033         * dwarf2out.c: Include "tm_p.h".
8034
8035         * function.c (locate_and_pad_parm): Mark parameter with
8036         ATTRIBUTE_UNUSED.
8037         (expand_function_end): Likewise for variable `context'.
8038
8039         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
8040
8041 2000-01-13  Nick Clifton  <nickc@cygnus.com>
8042
8043         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
8044         register to prevent compile time warnings.
8045
8046 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
8047
8048         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
8049         to avoid -Wtraditional warning.
8050
8051 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8052
8053         * 1750a-protos.h: New file.
8054
8055         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
8056         time warnings.
8057
8058         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
8059         warnings.
8060
8061         * 1750a.md: Likewise.
8062
8063 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8064
8065         * a29k-protos.h: New file.
8066
8067         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
8068         time warnings.
8069
8070         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
8071         warnings.
8072
8073 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8074
8075         * clipper-protos.h: New file.
8076
8077         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
8078         time warnings.
8079
8080         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
8081         warnings.
8082
8083 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8084
8085         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
8086
8087 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
8088
8089         * configure.in (--enable-new-gxx-abi): New option.
8090         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
8091         * Makefile.in (GXX_ABI_FLAG): New variable.
8092         * configure: Regenerate.
8093
8094 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8095
8096         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
8097         * tm.texi (FORCE_STRUCT_BLK): Document.
8098         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
8099
8100 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
8101
8102         * config/ns32k/ns32k.md: Revert Jan 9 change.
8103
8104         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
8105         to a mode-test, if the predicate is address_operand.
8106
8107 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
8108
8109         * combine.c (if_then_else_cond): Be careful about what kinds
8110         of RTL expressions are passed to operand_subword.
8111
8112         * flow.c (split_edge): If we have to insert a new jump, make
8113         sure to associate it with a basic block.
8114
8115         * flow.c (commit_one_edge_insertion): A block with one successor
8116         can end in a JUMP_INSN that is not a simplejump.
8117
8118 2000-01-12  Robert Lipe  <robertl@sco.com>
8119
8120         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
8121         (BUILD_VA_LIST_TYPE): Define.
8122         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
8123         with crtstuff.c.
8124
8125 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
8126
8127         * cccp.c (do_pragma): Add cast to (char *).
8128
8129 2000-01-12  Richard Henderson  <rth@cygnus.com>
8130             Fred Fish  <fnf@be.com>
8131             Jason Merrill  <jason@cygnus.com>
8132
8133         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
8134         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
8135         * i386/beos-elf.h, i386/beos-pe.h: New files.
8136
8137         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
8138         * cross-make (SYSTEM_HEADER_DIR): Define using
8139         CROSS_SYSTEM_HEADER_DIR.
8140
8141         * gcc.c (LIBRARY_PATH_ENV): Provide default.
8142         (process_command): Use it.
8143         (main): Likewise.  Kill trailing = from env vars.
8144         (build_search_list): Put it back.
8145         * collect2.c (main): Use LIBRARY_PATH_ENV.
8146
8147         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
8148         * toplev.c: Use NEED_DECLARATION_ENVIRON.
8149
8150         * tm.texi (Frame Layout): Document SMALL_STACK.
8151         * c-common.c (c_common_nodes_and_builtins): Check it.
8152
8153         * system.h: Undef alloca after including glibc's <stdlib.h>,
8154         if USE_C_ALLOCA is defined.
8155
8156         * gcc.c (set_input): New fn.
8157         (main): After all input files are compiled, reset the input file
8158         info to the first.
8159
8160         * aclocal.m4 (rindex, index): If already defined, don't attempt
8161         to redefine.
8162
8163         * ginclude/varargs.h: (__va_list__): Define ifndef.
8164         * ginclude/stdarg.h: Likewise.
8165
8166         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
8167         instead of unsigned char.
8168
8169         * hash.h (true, false, boolean): Undef before enum.
8170
8171         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
8172         proper type of "HOST_WIDE_INT *", rather than their natural type of
8173         "unsigned HOST_WIDE_INT *".
8174
8175 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8176
8177         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
8178
8179         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
8180
8181         * regclass.c (choose_hard_reg_mode): Likewise.
8182
8183         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
8184
8185         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
8186
8187 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8188
8189         * c-common.c: PROTO -> PARAMS.
8190         * c-common.h: Likewise.
8191         * c-decl.c: Likewise.
8192         * c-iterate.c: Likewise.
8193         * c-lang.c: Likewise.
8194         * c-lex.c: Likewise.
8195         * c-lex.h: Likewise.
8196         * c-parse.in: Likewise.
8197         * c-pragma.c: Likewise.
8198         * c-pragma.h: Likewise.
8199         * c-tree.h: Likewise.
8200         * c-typeck.c: Likewise.
8201         * objc/objc-act.c: Likewise.
8202         * objc/objc-act.h: Likewise.
8203
8204 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8205
8206         * m88k-protos.h: New file.
8207
8208         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
8209         time warnings.
8210
8211         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
8212
8213         * m88k.md: Likewise.
8214
8215         * tekXD88.h: Likewise.
8216
8217 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8218
8219         * m68k-protos.h: New file.
8220
8221         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
8222         time warnings.
8223
8224         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
8225
8226         * mot3300.h: Likewise.
8227
8228 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
8229
8230         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
8231         extract_bitlst.
8232         (extract_bitlist): Declare bitlen.
8233
8234 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
8235
8236         * cccp.c: Accept and ignore -lang-fortran.
8237
8238         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
8239         qualifiers don't match at any level of pointerness.
8240
8241 2000-01-12  Robert Lipe  <robertl@sco.com>
8242
8243         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
8244
8245 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
8246
8247         * reload1.c (reload_reg_unavailable): New static variable.
8248         (reload_reg_free_p): Test it.
8249         (reload_reg_free_for_value_p): Test it instead of
8250         reload_reg_used.
8251         (choose_reload_regs_init): Compute it.
8252
8253 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
8254
8255         * reorg.c (fill_slots_from_thread): Check modified_in_p
8256         before replacing.
8257
8258 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
8259
8260         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
8261         these nodes even if INTERNALS is not set.
8262
8263 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
8264
8265         * gcse.c (delete_null_pointer_checks_1): Cope when
8266         get_condition cannot determine the condition.
8267
8268 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
8269
8270         * toplev.h (set_message_length): Declare.
8271
8272         * diagnostic.c (obstack_chunk_alloc): Define macro.
8273         (obstack_chunk_free): Likewise.
8274         (struct output_buffer): New data structure.
8275         (vmessage): Remove.
8276         (output_maximum_width): New variable.
8277         (doing_line_wrapping, set_message_length, init_output_buffer,
8278         get_output_prefix, output_space_left, emit_output_prefix,
8279         output_newline, output_append, output_puts, dump_output,
8280         vbuild_message_string, build_message_string, build_location_prefix,
8281         voutput_notice, output_printf, line_wrapper_printf,
8282         vline_wrapper_message_with_location):  New functions. Implement
8283         automatic line wrapping.
8284         (v_message_with_decl): Make it handle automatic line wrapping.
8285         (v_error_with_file_and_line): Likewise.
8286         (v_warning_with_file_and_line): Likewise.
8287         (announce_function): Likewise.
8288         (default_print_error_function): Likewise.
8289
8290 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
8291
8292         * cpplib.h (struct cpp_options): Change lang_asm to char.
8293         Add lang_fortran.
8294         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
8295         done in cpp_handle_option now.
8296         (initialize_builtins): Take out special case code used only by
8297         __STDC_VERSION__.
8298         (cpp_handle_option): Turn off trigraphs and trigraph warnings
8299         if -traditional.  Recognize -lang-fortran and set
8300         lang_fortran, also turn off cplusplus_comments.
8301         (print_help): Document -lang-fortran.
8302         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
8303         lang_asm. Ignore all directives other than `# 123 "file"' if
8304         CPP_PREPROCESSED.
8305         (cpp_get_token): If -traditional, don't recognize directives
8306         unless the # is in column 1.
8307         (parse_string): If lang_fortran or lang_asm, silently
8308         terminate strings ('' or "") at end of line.
8309         Remove unnecessary braces.
8310
8311 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8312             Richard Henderson  <rth@cygnus.com>
8313
8314         * resource.c (mark_referenced_resources): Mark a set strict_low_part
8315         as used.
8316         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
8317         strict_low_part when possible.
8318
8319 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8320
8321         * alias.c: PROTO -> PARAMS.
8322         * basic-block.h: Likewise.
8323         * bitmap.c: Likewise.
8324         * bitmap.h: Likewise.
8325         * builtins.c: Likewise.
8326         * c-aux-info.c: Likewise.
8327         * caller-save.c: Likewise.
8328         * calls.c: Likewise.
8329
8330 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8331
8332         * Makefile.in (toplev.o): Depend on regs.h.
8333
8334         * output.h (tdesc_section): Prototype.
8335
8336         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
8337
8338         * sdbout.c: Include "tm_p.h".
8339
8340         * toplev.c: Include "regs.h".
8341
8342 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
8343
8344         * unroll.c (unroll_loop): Add EH support.
8345
8346 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8347
8348         * pa-protos.h: New file.
8349
8350         * pa.c: Include recog.h and tm_p.h.
8351         (compute_zdepwi_operands, compute_movstrsi_length,
8352         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
8353         find_addr_reg, import_milli): Add static prototypes.
8354         (pa_cpu_string, pa_arch_string): Constify a char*.
8355         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
8356         (read_only_operand): Add argument `mode'.
8357         (singlemove_string, output_move_double, output_fp_move_double,
8358         output_block_move, output_and, output_ior, output_ascii,
8359         remove_useless_addtr_insns, milli_names, output_mul_insn,
8360         output_div_insn, output_mod_insn, output_arg_descriptor,
8361         output_cbranch, output_bb, output_bvb, output_dbra, ,
8362         output_millicode_call, output_call, hppa_encode_label,
8363         output_parallel_movb, output_parallel_addb): Constify a char*.
8364         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
8365         (output_parallel_addb): Remove extra arg to `constrain_operands'
8366
8367         * pa.h:  Move all prototypes to pa-protos.h.
8368         (pa_cpu_string, pa_arch_string): Constify a char*.
8369         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
8370
8371         * pa.md: Call `function_label_operand' with mode argument.
8372         Likewise for `read_only_operand'.
8373         Fix nesting of parens in call to `symbolic_operand'.
8374
8375 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8376
8377         * i860-protos.h: New file.
8378
8379         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
8380         time warnings.
8381
8382         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
8383
8384         * i860.md: Likewise.
8385
8386 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
8387
8388         * i386.md (movstrsi expander): Rewrite.
8389         (movstrsi_1 insn): Deleted.
8390         (strmovhi, strmovqi expander): New expanders.
8391         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
8392         * i386.c (x86_single_stringop): New global variable.
8393         * i386.h (x86_single_stringop): Declare.
8394         (TARGET_SINGLE_STRINGOP): New macro.
8395
8396 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
8397
8398         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
8399         integer vararg POSTINCREMENT before the destination of the jump
8400         for the hard fp case.
8401         (function_arg_pass_by_reference): Pass a copy of CUM to
8402         FUNCTION_ARG.
8403
8404         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
8405         for CONSTANT_ADDRESS_P above while loop for subreg.
8406
8407 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
8408
8409         * flow.c (propagate_block): When a prologue/epilogue insn
8410         is marked dead, unconditionally clear libcall_is_dead and
8411         insn_is_dead, and only dump rtl if warnings aren't being
8412         suppressed.
8413
8414 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
8415
8416         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
8417         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
8418         (FIXED_REGISTERS): Set dirflag as fixed.
8419         (CALL_USED_REGISTERS): Set dirflag as used.
8420         (REG_ALLOC_ORDER): Set dirflag as last one.
8421         (DIRFLAG_REG): New macro.
8422         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
8423         (HI_REGISTER_NAMES): Add dirflag.
8424         (DEBUF_PRINT_REG): Handle dirflag.
8425         * i386.md (type attribute): New cld and str types.
8426         (length_opcode attribute): Set cld and str to 1.
8427         (memory attribute): Set str to unknown - it is not clear from the
8428         patterns.
8429         (pent_np function unit): Prefixed string operations takes 12 cycles
8430         minimally; cld takes 2 cycles.
8431         (ppro_uops attribute): Str is "many" and cld is "few".
8432         (ppro_p0 unit): Handle cld here.
8433         (k6_alux unit): Handle cld and str types.
8434         (k6_load unit): It is ocupied by str opcodes.
8435         (k6_store unit): It is ocupied by str opcodes.
8436         (athlon_decode): Str is vector decoded.
8437         (athlon_ieu): Handle str and cld.
8438         (cld pattern): New.
8439         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
8440         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
8441         cmpstrsi_nz_1 insn): Do not output cld instruction
8442
8443 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
8444
8445         * gcc.texi (G++ and GCC): Add Java and Chill.
8446         (Bug Critera): Don't list languages.
8447
8448         * gcc.texi (Incompatibilities): No longer claim most C compilers
8449         are K&R.
8450
8451         * gcc.texi (G++ and GCC): Update other front-ends list.
8452
8453 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
8454
8455         * i386.c (ix86_expand_setcc): Fix typo.
8456         (ix86_expand_movcc): Similarly.
8457
8458         * Band-aid until haifa's bitset implementation is nuked.
8459         * haifa-sched.c (extract_bitlst): New parameter for size of the
8460         bitset in bits.  All callers changed.  Avoid looking at undefined
8461         bits in the bitset.
8462         (edgeset_bitsize): New variable.
8463         (schedule_region): Initialize edgeset_bitsize.
8464
8465 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8466
8467         * Makefile.in (optabs.o): Depend on real.h
8468         (resource.o): Depend on insn-attr.h
8469
8470         * builtins.c (result_vector): Wrap prototype in macro conditions
8471         governing definition and use.
8472
8473         * c-common.c: Include tm_p.h.
8474
8475         * c-lex.c: Likewise.
8476
8477         * elfos.h: Constify a char*.
8478
8479         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
8480         (get_attr_length, shorten_branches, profile_after_prologue): Mark
8481         parameter with ATTRIBUTE_UNUSED.
8482
8483         * fold-const.c (exact_real_inverse): Wrap variable `i' in
8484         CHECK_FLOAT_VALUE.
8485
8486         * haifa-sched.c (schedule_insns): Mark parameter with
8487         ATTRIBUTE_UNUSED.
8488
8489         * optabs.c: Include real.h.
8490
8491         * real.h (ereal_atof): Add prototype arguments.
8492
8493         * resource.c: Include insn-attr.h.
8494
8495         * sdbout.c (sdbout_queue_anonymous_type,
8496         sdbout_dequeue_anonymous_types): Wrap in macro
8497         SDB_ALLOW_FORWARD_REFERENCES.
8498         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
8499         ATTRIBUTE_UNUSED.
8500
8501         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
8502
8503         * stupid.c: Include tm_p.h.
8504
8505         * tree.c (real_value_from_int_cst): Mark parameter with
8506         ATTRIBUTE_UNUSED.
8507
8508 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8509
8510         * i960-protos.h: New file.
8511
8512         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
8513         time warnings.
8514
8515         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
8516
8517 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8518
8519         * combine.c (expand_field_assignment): Do not discard SUBREGs
8520         while computing nonzero_bits.
8521
8522 2000-01-09  Nick Clifton  <nickc@cygnus.com>
8523
8524         * config/arm/arm.c: Fix compile time warnings about signed vs
8525         unsigned constants.
8526         * config/arm/arm.h: Fix compile time warnings about signed vs
8527         unsigned constants.
8528
8529 2000-01-09  Philip Blundell  <philb@gnu.org>
8530
8531         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
8532         than `ldm' with only one register.
8533         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
8534         only one register.
8535
8536         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
8537         clobbered.
8538
8539 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
8540
8541         * config/ns32k/ns32k.md (load or push effective address): Operand 1
8542         must have SImode.
8543
8544 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8545
8546         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
8547         assignment used as truth value.
8548
8549         * function.c (assign_temp): Mark parameter `dont_promote' with
8550         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
8551         PROMOTE_FOR_CALL_ONLY.
8552
8553         * genrecog.c (write_subroutine): Mark variable `operands' with
8554         ATTRIBUTE_UNUSED.
8555
8556         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
8557         ATTRIBUTE_UNUSED.
8558
8559         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
8560         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
8561
8562         * toplev.c (note_deferral_of_defined_inline_function): Likewise
8563         for `decl'.
8564
8565 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8566
8567         * config/c4x.h: Tidy up comments.
8568         * config/c4x.c: Likewise.
8569
8570 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
8571
8572         * fold-const.c (lshift_double, rshift_double): Handle
8573         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
8574
8575 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8576
8577         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
8578         in prepare_function_start().
8579
8580 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
8581
8582         * config/v850/v850.c (expand_epilogue): Interrupt functions no
8583         longer allocate extra stack for function calls.
8584
8585 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8586
8587         * config/c4x/c4x.md (*subqf3_set): Fix typo.
8588
8589 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8590
8591         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
8592
8593 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
8594
8595         * rs6000.c (processor_target_table): Add power3 as alias for 630.
8596         * aix43.h: Revert Aug 2 change.
8597         (HAS_INIT_SECTION): Define, not visible yet.
8598         (LD_INIT_SWITCH): Define, not visible yet.
8599         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
8600
8601         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
8602
8603         * collect2.c (main): Expand ld2 size further.
8604         (export_object_lst): Cast assignment to avoid warning.
8605         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
8606         (scan_prog_file, COFF): Do not collect initialization or
8607         finalization functions generated for entire shared object if
8608         init/fini support present.
8609
8610 2000-01-07  Nick Clifton  <nickc@cygnus.com>
8611
8612         * config/elfos.h: Tidy up formatting of marcos.  Make sure
8613         that .section directives are always prefixed by a tab.
8614
8615         * config/svr4.h: Add #include "elfos.h" and remove duplicate
8616         definitions.
8617
8618 2000-01-07  Matt Austern  <austern@sgi.com>
8619
8620         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
8621         expon.
8622
8623 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
8624
8625         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
8626         crtstuff.c.
8627         (crtbegin.o, s-crtS): Likewise.
8628
8629 2000-01-06  Richard Henderson  <rth@cygnus.com>
8630
8631         * alpha.md (adddi_2+1): Limit offset such that it will be
8632         loadable with a single ldah+lda pair.
8633         (adddi_2+2): Explicitly fail split if we can't make it work.
8634
8635 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
8636
8637         * protoize.c: Conditionally include unistd.h.
8638         (IS_SAME_PATH_CHAR): New macro.
8639         (IS_SAME_PATH): New macro.
8640         (CPLUS_FILE_SUFFIX): New macro.
8641         (cplus_suffix): New static variable.
8642         (is_abspath): New static function.
8643         (in_system_include_dir): Handle DOS style pathnames.
8644         (file_could_be_converted): Likewise.
8645         (file_normally_convertible): Likewise.
8646         (directory_specified_p): Likewise.
8647         (file_excluded_p): Likewise.
8648         (abspath): Likewise.
8649         (shortpath): Likewise.
8650         (referenced_file_is_newer): Likewise.
8651         (save_def_or_dec): Likewise.
8652         (do_processing): Likewise.
8653         (main): Likewise.
8654         (edit_file): Likewise. Use rename instead of link.
8655         (rename_c_file): Likewise. Don't rename syscalls file.
8656         (munge_compile_params): Define null device for DOS based systems.
8657         (process_aux_info_file): Use binary mode if appliable.
8658         (edit_file): Likewise.
8659         * invoke.texi (Running Protoize): Document C++ suffixes used.
8660
8661         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
8662         IS_DIR_SEPARATOR macros.
8663         * collect2.c: Likewise.
8664         * cppinit.c: Likewise.
8665         * dwarf2out.c: Likewise.
8666         * gcc.c: Likewise.
8667         * gcov.c: Likewise.
8668         * prefix.c: Likewise.
8669         * rtl.c: Likewise.
8670         * toplev.c: Likewise.
8671         * system.h: And move to here.
8672
8673         * prefix.c (update_path): Fix typo in variable name.
8674
8675 2000-01-06  Richard Henderson  <rth@cygnus.com>
8676
8677         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
8678         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
8679         (count_reg_sets_1, count_reg_references): Likewise.
8680         (flow_loops_level_compute): Start counting actual loop depth at 1.
8681         (flow_loops_find): Likewise.
8682         * local-alloc.c (update_equiv_regs): Likewise.
8683         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
8684
8685 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
8686
8687         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
8688         FIRST_PSEUDO_REGISTER
8689         * dwarf2out.c: Don't include frame.h
8690         * dwarfout.c: Likewise
8691         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
8692         frame.h
8693
8694 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
8695
8696         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8697         dead registers.
8698
8699         * i386.c (movsf splitter): Fix typo in my last checkin.
8700
8701 2000-01-05  Nick Clifton  <nickc@cygnus.com>
8702
8703         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
8704         own definition of this macro.
8705         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
8706         flag_data_sections or UNIQUE_SECTION_P are true.
8707
8708         * tm.texi (UNIQUE_SECTION): Document that it can be called for
8709         unitialised data decls.
8710
8711         * config/i386/winnt.c (i386_pe_unique_section): Cope with
8712         being called for uninitialised data.
8713
8714         * config/i386/interix.c (i386_pe_unique_section): Cope with
8715         being called for uninitialised data.
8716
8717         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
8718         for uninitialised data.
8719
8720         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
8721         for uninitialised data.
8722
8723         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
8724         for uninitialised data.
8725
8726         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
8727         (UNIQUE_SECTION_P): Always generate a unique section if
8728         flag_data_sections is true.
8729         (UNIQUE_SECTION): Also generate unique sections for
8730         uninitialised data.
8731         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
8732         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
8733         named_section().
8734
8735 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8736
8737         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
8738         SI, or DI.
8739
8740 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8741
8742         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
8743         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
8744         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
8745         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
8746         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
8747
8748         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
8749
8750 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
8751
8752         * c-decl.c (finish_enum): Simplify code to determine minimum and
8753         maximum values of the enum, and calculate the type.  Remove check
8754         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
8755         the DECL_INITIAL of each enumeration constant with a copy converted
8756         to the enumeration type.  When updating variant types, don't bother
8757         updating the type itself.
8758
8759         * c-typeck.c (build_binary_op): Simplify conditional expressions
8760         when weeding out spurious signed-unsigned warnings.  Add new
8761         spurious warning category: if the unsigned quantity is an enum
8762         and its maximum value fits in signed_type(result_type).  Update
8763         commentary.
8764         (build_conditional_expr): Warn here if one alternative is signed
8765         and the other is unsigned.
8766
8767 2000-01-05  Nick Clifton  <nickc@cygnus.com>
8768
8769         * config/fr30/fr30.h: Remove extraneous comments.
8770
8771 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
8772
8773         * reload1.c (choose_reload_regs): When disabling a reload, also
8774         set reload_spill_index to -1.
8775
8776 2000-01-04  Joel Sherrill (joel@OARcorp.com>
8777
8778         * configure.in (m68*-*-rtemscoff*): New target, formal name for
8779         old m68*-*-rtems*.
8780         (m68*-*-rtemself*): New target.
8781         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
8782         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
8783         (sparc*-*-rtemself*): New target.
8784         (sparc*-*-rtems*): Now elf not a.out.
8785         * config/i386/rtems.h: Include config/rtems.h.
8786         * config/i386/rtemself.h: Include config/rtems.h.
8787         * config/i960/rtems.h: Include config/rtems.h.
8788         * config/m68k/rtems.h: Include config/rtems.h.
8789         * config/m68k/rtemself.h: Include config/rtems.h.
8790         * config/mips/rtems64.h: Include config/rtems.h.
8791         * config/pa/rtems.h: Include config/rtems.h.
8792         * config/rs6000/rtems.h: Include config/rtems.h.
8793         * config/sh/rtems.h: Include config/rtems.h.
8794         * config/sh/rtemself.h: Include config/rtems.h.
8795         * config/sparc/rtems.h: Include config/rtems.h.
8796         * config/sparc/rtemself.h: Include config/rtems.h
8797
8798 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
8799
8800         * final.c (shorten_branches): Correctly compute length of
8801         asms without operands.
8802
8803 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
8804
8805         * configure.in: Add pj target.
8806         * configure: Regenerate.
8807         * config/pj: New directory.
8808         * config/pj/lib1funcs.S: New file.
8809         * config/pj/linux.h: New file.
8810         * config/pj/pj.c: New file.
8811         * config/pj/pj.md: New file.
8812         * config/pj/pjl.h: New file.
8813         * config/pj/t-pj: New file.
8814         * config/pj/xm-pj.h: New file
8815
8816 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
8817
8818         * toplev.c (rest_of_compilation): Run shorten-branches before
8819         reg-stack for now.
8820
8821 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8822
8823         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
8824         macros so that they're consistent with their names.
8825         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8826         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8827
8828 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8829
8830         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
8831         modified inadvertently.
8832
8833 2000-01-04  Joel Sherrill <joel@OARcorp.com>
8834
8835         * configure.in (v850*-*-rtems*): New target.
8836         * configure: Regenerate.
8837         * config/v850/rtems.h: New file.
8838
8839 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
8840
8841         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
8842         (__gthread_key_create): Likewise.
8843         (__gthread_key_dtor):  Likewise.
8844         (__gthread_once): Fix logic.
8845         (__gthread_key_delete): Cast away constness.
8846
8847         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
8848         * invoke.texi: Document.
8849         * i386/mingw32.h (CPP_SPEC): Use.
8850         (LIBGCC_SPEC): Likewise.
8851         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
8852
8853 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
8854
8855         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
8856         (HANDLE_PRAGMA_PACK): Undefine.
8857         (SLOW_UNALIGNED_ACCESS): Define.
8858
8859 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
8860
8861         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8862         to default definition.
8863         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
8864         (store_fixed_bit_field): Call macro with word_mode and alignment.
8865         (extract_bit_field): Call macro with relevant mode and alignment.
8866         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8867         to default definition.
8868         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
8869         and alignment.
8870         (move_by_pieces_ninsns): Likewise.
8871         (clear_by_pieces): Likewise.
8872         (emit_push_insn): Likewise.
8873         (store_field): Call macro with relevant mode and alignment.
8874         (expand_expr): Likewise.
8875         (expand_expr_unaligned): Likewise.
8876
8877         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
8878         (SLOW_UNALIGNED_ACCESS): Define.
8879         (CASE_VECTOR_MODE): Always use 32-bit offsets.
8880         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
8881         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
8882         (toc_section): Likewise and .toc pseudo-op.
8883         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
8884         64-bit mode.
8885         (TEXT_SECTION_ASM_OP): Likewise.
8886         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
8887         32-bit offsets.
8888
8889         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
8890         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
8891         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
8892         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
8893         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
8894
8895 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
8896
8897         * regclass.c: Revert my Jan 4 change to loop cost computation.
8898
8899 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8900
8901         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
8902         compilation.
8903
8904 2000-01-04  Stan Cox  <scox@cygnus.com>
8905
8906         * haifa-sched.c (build_control_flow): Change unreachable simple
8907         loop test to check if current block has only one predecessor.
8908         (find_rgns): Initialize degree.  Use dest as degree index, not src.
8909
8910 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8911
8912         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
8913
8914         * calls.c (expand_call): Likewise for
8915         `old_stack_arg_under_construction'.
8916
8917         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
8918
8919         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
8920         `save_constant'.
8921
8922         * gcc.c (execute): Likewise for `ut' and `st'.
8923
8924         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
8925
8926         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
8927
8928         * jump.c (jump_optimize_1): Likewise for `temp2'.
8929
8930         * local-alloc.c (block_alloc): Likewise for `r1'.
8931
8932         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
8933
8934         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
8935         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
8936
8937         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
8938         and `set2'.
8939
8940         * reload.c (find_reloads): Likewise for `goal_alternative_number'
8941         and `goal_earlyclobber'.
8942
8943         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
8944
8945         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
8946
8947         * stupid.c (stupid_life_analysis): Likewise for `chain'.
8948
8949         * unroll.c (copy_loop_body): Likewise for `copy'.
8950
8951         * varasm.c (output_constructor): Likewise for `byte'.
8952
8953 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8954
8955         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
8956         all FP constants for constant->reg moves.
8957         (ix86_split_to_parts): Try to convert memory address into immediate
8958         when available in the constant pool.
8959         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
8960         moves.
8961         (LEGITIMATE_CONSTANT_P): Return 1.
8962         * i386.md (pushsf): New splitter to convert constant pool memory
8963         reference to immediate.
8964         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
8965         reload.
8966
8967 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
8968
8969         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
8970         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
8971         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
8972         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
8973         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
8974
8975 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
8976
8977         * ginclude/stdbool.h:  Support compilation as C++.
8978
8979 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8980
8981         * fold-const.c (make_range): Don't try to reverse an unbounded range.
8982
8983 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
8984
8985         * regclass.c (regclass): Properly compute loop_cost.  Adjust
8986         comments.
8987
8988         * regclass.c: Fix minor whitespace problems.
8989
8990 2000-01-03  Anthony Green  <green@cygnus.com>
8991
8992         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
8993         Restore the pic register if required.
8994
8995 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
8996
8997         * c-common.c (format_char_info): Update comment.
8998         (check_format_info): Recognize 'z' modifier in the same way 'Z'
8999         was recognized.  Emit warning for formats new in ISO C99 only
9000         if flag_isoc9x is not set.
9001
9002 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
9003
9004         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
9005
9006 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
9007
9008         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
9009         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
9010         (make_compound_operation): Choose cheaper alternative between
9011         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
9012
9013         * regclass.c (op_costs): Remove global variable.
9014         (record_reg_classes): New parameter "op_costs" and "reg_pref".
9015         (record_operand_costs): Break out from ...
9016         (scan_one_insn): ... here.
9017         (dump_regclass): Make dumps nicer.
9018         (regclass): Dump preferrences choosed and changes done during passes.
9019
9020 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
9021
9022         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
9023
9024 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
9025
9026         * config/sparc/sparc.c (gen_df_reg): New function.
9027         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
9028         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
9029         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
9030         movtf_cc_reg_sp64+1): Use it.
9031
9032 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
9033
9034         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
9035         copied LABEL_DECLs.
9036
9037 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9038
9039         * config/i386/i386.c (ix86_expand_unary_operator): Function
9040         definition made void.
9041         (ix86_expand_binary_operator): Update outdated preceding comment.
9042         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
9043         prototype.
9044
9045         * config/i386/i386.c (override_options): Fix option-name typo.
9046
9047 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
9048
9049         * system.h (CEIL): Define.
9050         * builtins.c (CEIL): Remove.
9051         * expmed.c (CEIL): Likewise.
9052         * expr.c (CEIL): Likewise.
9053         * stor-layout.c (CEIL): Likewise.
9054
9055 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9056
9057         * expr.c (store_constructor_field): Fix typo introduced with last
9058         gcc2 merge.
9059
9060 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
9061
9062         * tree.h (BINFO_N_BASETYPES): New macro.
9063
9064 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
9065
9066         * expmed.c (emit_store_flag): Prevent losing a pending stack
9067         adjust the same way we prevent losing queued increments.
9068
9069 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9070
9071         * function.c (update_temp_slot_address): Handle case where sum of
9072         temporary address plus offset in register is a valid address.
9073
9074 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
9075
9076         * genrecog.c (change_state) Corrected typo.
9077
9078 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9079
9080         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
9081         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
9082         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
9083
9084 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
9085
9086         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
9087         case, expand GT comparisons correctly.  Fix a comment before this
9088         part of the code.
9089
9090 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
9091
9092         * dwarfout.c: Include "frame.h"
9093         * dwarf2out.c: Likewise.
9094         * Makefile.in (dwarfout.o): Depend on frame.h
9095         (dwarf2out.o): Likewise.
9096
9097 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
9098
9099         Restore i386 binary compatibility in Dwarf EH info.
9100         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
9101         value of FIRST_PSEUDO_REGISTER.
9102         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
9103         (struct frame_state): Use DWARF_FRAME_REGISTERS.
9104         * dwarfout.c (output_reg_number): Ditto.
9105         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
9106         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
9107
9108 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
9109
9110         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
9111         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
9112         (<hack>_RE_CT): not needed
9113         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
9114         rewritten to scan the file text once only
9115         "template<..." test added
9116         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
9117         (is_cxx_header): declaration added
9118         * fixinc/fixtests.c(is_cxx_header): removed
9119         (apply_fix_p_t): removed
9120         (double_slash_test): is_cxx_header is only called once now
9121         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
9122         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
9123         within the templates.
9124         The borken spelling of "broken" was fixed.
9125         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
9126         The default level depends on FIXINC_DEBUG.
9127
9128 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9129
9130         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
9131         Otherwise provide a declaration for atexit.
9132         (init_dummy): Make sure dummy call to atexit is nevertheless
9133         called with correct number of args.
9134
9135         * frame.c: Update comments referring to other files.
9136
9137         * libgcc2.c: Likewise.
9138
9139 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9140
9141         * cse.c (free_element, get_element): Remove unused prototypes.
9142
9143         * fold-const.c (extract_muldiv): Initialize variables `op0' and
9144         `op1'.
9145
9146         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
9147         `else' clauses.
9148
9149 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
9150
9151         * configure.in,configure: case arm for mn10200-*-* now sets
9152         float_format=i32 so that float.h will correctly claim "double"
9153         to be 32 bits. Ran autoconf to generate configure from .in file.
9154
9155 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
9156
9157         * pa.md (conditional zero): If op1 is a register, force it into
9158         the same register as op0.
9159
9160 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
9161
9162         * tree.h (BINFO_BASETYPES): Improve documentation.
9163
9164 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9165
9166         * configure.in (--enable-checking): Use a more portable `for'
9167         loop syntax.
9168
9169 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9170
9171         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
9172         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
9173
9174         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
9175         Delete files.
9176
9177         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
9178         Delete descriptions.
9179
9180         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
9181         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
9182         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
9183         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
9184         xm-svr4.h: Remove all instances of sys_siglist handling.
9185
9186 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
9187
9188         * config/sparc/sparc.md (cmp_zero_qi,
9189         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
9190         cmp_zero_extendqidi2_andcc_set): New patterns.
9191
9192 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
9193
9194         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
9195         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
9196         (fpgnulib.c, xfgnulib.c): Add rules.
9197         * m68k/t-mot3300-gas: Likewise.
9198
9199 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
9200
9201         * configure.in: Avoid [[ by using test and changequote.  Add
9202         changequote required by 1999-12-14 change.
9203         * configure: Rebuild.
9204
9205 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
9206
9207         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
9208
9209 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
9210
9211         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
9212         * flow.c (find_use_as_address): Likewise.
9213         * function.c (fixup_var_refs_1): Likewise.
9214         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
9215         * jump.c (invert_exp, redirect_exp): Likewise.
9216         * loop.c (replace_call_address): Likewise.
9217         (count_nonfixed_reads): Likewise.
9218         * rtlanal.c (modified_between_p): Likewise.
9219         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
9220         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
9221         * unroll.c (remap_split_bivs): Likewise.
9222
9223 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9224
9225         * diagnostic.c (v_message_with_decl): Use .* format specifier
9226         instead of building the format specifier width manually.
9227
9228         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
9229         determining whether to provide a prototype.  Remove the
9230         sys_siglist clause in the conditional.
9231
9232 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9233
9234         * fold-const.c (operand_equal_p): Use memcmp to compare string
9235         constants.
9236         Suggested by D. J. Bernstein
9237
9238 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
9239
9240         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
9241         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
9242         compiling libgcc2.
9243         * config/mips/mips.h (TARGET_64BIT): Likewise.
9244         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
9245         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
9246         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
9247         dsps.  Give routines proper names if SI/DI modes are not used.
9248         * longlong.h: Use DWunion instead of DIunion.
9249
9250 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
9251
9252         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
9253         GC_CHECKING, GC_ALWAYS_COLLECT.
9254         * configure.in: Allow --enable-checking with an argument
9255         listing check modes to enable.
9256         * config.in, configure: Rebuilt.
9257         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
9258         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
9259         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
9260         ENABLE_GC_ALWAYS_COLLECT.
9261         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
9262         throughout.
9263         * tree.h, tree.c: Change ENABLE_CHECKING to
9264         ENABLE_TREE_CHECKING throughout.
9265
9266 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9267
9268         * fold-const.c (fold_truthop): Properly check for FP RHS.
9269
9270 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
9271
9272         * toplev.h (note_deferall_of_defined_inline_function): Declare.
9273         * toplev.c (note_deferral_of_defined_inline_function): New
9274         function, split out from ...
9275         (rest_of_compilation): ... here.  Use it.
9276
9277 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9278
9279         * expr.c (store_constructor): Don't call clear_storage if size is
9280         variable.
9281
9282 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9283
9284         * Makefile.in (toplev.o): Depend on loop.h.
9285
9286         * dwarfout.c: Include tm_p.h.
9287
9288         * emit-rtl.c (restore_emit_status): Mark parameter with
9289         ATTRIBUTE_UNUSED.
9290
9291         * final.c (final_scan_insn): Likewise.
9292
9293         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
9294         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
9295         flow_depth_first_order_compute, flow_loop_pre_header_find,
9296         flow_loop_tree_node_add, flow_loops_tree_build,
9297         flow_loop_level_compute, flow_loops_level_compute,
9298         flow_loop_outside_edge_p): Add prototypes.
9299         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
9300
9301         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
9302         Mark with ATTRIBUTE_NORETURN.
9303
9304         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
9305
9306         * local-alloc.c (no_conflict_p): Likewise.
9307
9308         * loop.c (insert_bct): Hide definitions of variables with hidden
9309         usage.
9310         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
9311
9312         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
9313         with ATTRIBUTE_UNUSED.
9314         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
9315         (reg_scan): Likewise.
9316
9317         * reload.c (find_reloads): Remove unused variables `changed'.
9318
9319         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
9320         away const-ness.
9321         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
9322         Remove unused variable `insn'.
9323
9324         * toplev.c: Include loop.h.
9325         (report_file_and_line): Remove unnecessary prototype.
9326
9327         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
9328
9329         * unroll.c (biv_total_increment): Likewise.
9330
9331 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9332
9333         * reload1.c (emit_input_reload_insns): Restore old behaviour
9334         wrt. 'special' reloads.
9335
9336 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
9337
9338         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
9339         hash.h.  (cse.c): Don't depend on hashtab.h.
9340
9341         * cse.c: Don't include hashtab.h.
9342         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
9343         of dead functions.
9344         * ggc-simple.c: Don't include hash.h.
9345
9346 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
9347
9348         * dwarf2out.c (add_abstract_origin_attribute): Call
9349         gen_abstract_function on our function context.
9350
9351 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
9352
9353         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
9354
9355 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9356
9357         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
9358         case in switch.
9359
9360 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9361
9362         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
9363         constraints to "a!r".
9364
9365 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
9366
9367         * Makefile.in (calls.o): Depend on function.h.
9368         (alias.o): Likewise.
9369
9370 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
9371
9372         * reload1.c (emit_reload_insns): Break out code and variables into...
9373         (input_reload_insns, other_input_address_reload_insns,
9374         other_input_reload_insns, input_address_reload_insns,
9375         inpaddr_address_reload_insns, output_reload_insns,
9376         output_address_reload_insns, outaddr_address_reload_insns,
9377         operand_reload_insns, other_operand_reload_insns,
9378         other_output_reload_insns): ... new static variables, and...
9379         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
9380         do_output_reload): ... new functions.
9381
9382 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9383
9384         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
9385
9386 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9387
9388         * md.texi: Add c4x constraints documentation.
9389
9390 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9391
9392         * config/i386/dgux.c (struct option): Rename to
9393         lang_independent_option.
9394         (struct m_options): Add description field.
9395         (output_options): Rename option type, add sep declaration, output
9396         ix86_cpu_string and ix86_arch_string only if set.
9397         (output_file_start): Rename option type.
9398
9399 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
9400
9401         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
9402         stmp-int-hdrs.
9403         (libgcc2.a): Similarly.
9404
9405 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
9406
9407         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
9408         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
9409         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
9410
9411 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
9412
9413         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
9414         Remove redundant initialization of "frexpon" and "expon".
9415
9416 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9417
9418         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
9419
9420         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
9421         (store_constructor_field, expand_expr): Pass new arg.
9422
9423 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
9424
9425         * Makefile.in (explow.o): Depend on function.h.
9426
9427         * stor-layout.c (set_sizetype): Fix typo.
9428
9429 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
9430
9431         * function.c (cfun): Renamed from current_function.  All users
9432         changed.
9433         * function.h (cfun): Rename declaration as well.
9434
9435         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
9436         to be of type regset_head, not regset.  All users changed by adding
9437         address operator.
9438         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
9439
9440 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9441
9442         * config/c4x/rtems.h: New file.
9443
9444 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
9445
9446         * reload1.c (spill_failure): Take class of failed reload as argument
9447         and print it.  Caller changed.
9448
9449 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9450
9451         * rs6000.h (SUBTARGET_DEFAULT): New macro.
9452         (TARGET_SWITCHES): Allow subtargets to default switches.
9453         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
9454
9455 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
9456
9457         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
9458         in a main program.
9459
9460 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
9461
9462         * cccp.c (main): Define __STDC_VERSION__ as necessary.
9463         * cppinit.c (cpp_handle_option): Likewise.
9464
9465         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
9466         determine when to define.
9467
9468 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
9469
9470         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
9471         cmove with mismatched test and data modes.
9472
9473 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
9474
9475         * c-typeck.c (c_expand_start_case): Don't warn for long switch
9476         in system headers.
9477
9478 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9479
9480         * alias.c: Minor reformatting.
9481         * flow.c: Likewise.
9482         * regs.h: Likewise.
9483         * stor-layout.c: Likewise.
9484         * fold-const.c: Likewise.
9485         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
9486         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
9487         not arg itself.
9488         (size_int_wide): Cache nodes even if garbage collecting.
9489         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
9490         of SAVE_EXPR has no side effects.
9491         * cse.c: Move a comment.
9492         * tree.c: Minor reformatting.
9493         (int_size_in_bytes): Return -1 if constant overflows.
9494
9495 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9496
9497         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
9498
9499 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
9500
9501         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
9502         after any change to c-parse.in, even if objc-parse.y didn't
9503         change.  Oops.
9504
9505 1999-12-18  David S. Miller  <davem@redhat.com>
9506
9507         * toplev.c (rest_of_compilation): Restore BLOCK tree
9508         reconstruction and branch shortening changes lost in
9509         December 18th change.
9510
9511 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
9512
9513         * config/arm/linux-elf.h: Change all instances of
9514         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
9515         * config/arm/uclinux-elf.h: Likewise.
9516
9517 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
9518
9519         * toplev.c (notice, vmessage, v_message_with_file_and_line,
9520         v_message_with_decl, file_and_line_for_asm,
9521         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
9522         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
9523         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
9524         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
9525         pfatal_with_name, fatal_io_error, need_error_newline,
9526         last_error_function, last_error_tick, announce_function,
9527         default_print_error_function, print_error_function,
9528         report_error_function, fnotice, error_with_file_and_line,
9529         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
9530         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
9531         warning_with_decl, warning_for_asm, warning, pedwarn,
9532         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
9533         diagnostic.c
9534         (compile_file): Use fnotice instead of notice.  Adjust call.
9535
9536         * diagnostic.c: New file.
9537
9538         * Makefile.in (OBJS): Include diagnostic.o
9539         (diagnostic.o): Define dependence.
9540
9541 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9542
9543         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
9544         Tweak formatting.
9545
9546 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9547
9548         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
9549
9550 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
9551
9552         * fixtests.c (is_cxx_header): New fn, split out of
9553         double_slash_test.
9554         (else_endif_label): Allow "#endif // comment" in C++ headers,
9555         as determined by is_cxx_header.
9556         * fixfixes.c (else_endif_label_fix): Update comment.
9557         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
9558         a tty.
9559         * genfixes: Correct double thinko in commandline parsing.
9560         * hackshell.tpl: Generate correct sh syntax for bypass
9561         entries.
9562
9563         * inclhack.def (all): Whenever an inserted preprocessor
9564         conditional is split over multiple lines, use double
9565         backslashes in this file so the fixed header will be readable.
9566
9567         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
9568         and add bypass entry for correct version of this header.
9569         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
9570         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
9571
9572         (hpux8_bogus_inlines): New fix, split from...
9573         (ultrix_atof_param) ... here.
9574         (math_expression): Add bypass entry keyed to glibc comment
9575         indicating the problem has been dealt with; disable
9576         unnecessary sed operations; update commentary.
9577         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
9578         add select and bypass entries, simplify shell operation.
9579         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
9580
9581         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
9582          ultrix_atof_param): Add select entry.
9583         (stdio_va_list, sunos_mather_decl): Add bypass entry.
9584         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
9585         comments with the fixes they describe.
9586
9587         * c-parse.in (string action): Do not warn about ANSI string
9588         concatenation in system headers.  Affects C parser only.
9589         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
9590
9591 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
9592
9593         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
9594         compiling libgcc2 the macro depends always on arch cpp defines.
9595
9596 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
9597
9598         * loop.c (insert_loop_mem): Don't record MEMs from inside
9599         EXPR_LISTs.
9600
9601 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
9602
9603         * regclass.c (regclass): Do not use flowgraph when not optimizing.
9604
9605         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
9606         notes too, create one when replacement failed, attempt to simplify
9607         resulting notes.
9608         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
9609         or REG_EQUIV notes.
9610
9611 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
9612
9613         * crtstuff.c (__dso_handle): Declare.
9614         (__cxa_finalize): Likewise.
9615         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
9616         non-NULL.
9617
9618         * invoke.texi: Document -fuse-cxa-atexit.
9619
9620         * tree.h (ptr_type_node): Document.
9621         (const_ptr_type_node): Likewise.
9622
9623 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9624
9625         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
9626         (optimize_reg_copy_2): Likewise.
9627         (optimize_reg_copy_3): Likewise.
9628         (fixup_match_2): Likewise.
9629         (regmove_optimize): Likewise.
9630         (fixup_match_1): Liekwise.
9631
9632         * i386.md (HI to SImode promoting splitters): Rewrite.
9633         (pushsf mem peep2): New.
9634         (testhi to andhi peep2): Remove.
9635         * i386.h (x86_promote_QImode): New.
9636         (TARGET_PROMOTE_QImode): New.
9637         (PREDICATE_CODES): Add promotable_binary_operator.
9638         * i386.c (x86_promote_QImode0: New.
9639         (promotable_binary_operator): New.
9640         * i386-protos.h (promotable_binary_operator): New.
9641
9642         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
9643         condition.
9644         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
9645
9646 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
9647
9648         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
9649         * function.c (insert_block_after_note): Remove.
9650         (retrofit_block): Likewise.
9651         (identify_blocks): Fix indentation.
9652         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
9653         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
9654         * function.h (insert_block_after_note): Remove prototype.
9655         (retrofit_block): Likewise.
9656         * integrate.c (expand_inline_function): Don't call
9657         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
9658         just expand_start_bindings.  Use the block_map to remap old
9659         NOTE_BLOCKs to new ones.
9660         (integrate_decl_tree): Keep track of remapped blocks.
9661         * integrate.h (struct inline_remap): Add block_map.
9662         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
9663         NOTE_BLOCK on the notes.
9664         (expand_start_bindings): Rename to ...
9665         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
9666         (expand_end_bindings): Set NOTE_BLOCK.
9667         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
9668         reconstruct the BLOCK tree.
9669         * tree.h (expand_start_bindings): Macroize.  Call ...
9670         (expand_start_bindings_and_block): New function.
9671
9672 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
9673
9674         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
9675         to match the format.
9676
9677 1999-12-16  David S. Miller  <davem@redhat.com>
9678
9679         * expr.c (emit_move_insn_1): Only emit clobbers if one of
9680         the outputs is a SUBREG.
9681         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
9682         change.
9683
9684         * config/sparc/sparc.c (epilogue_renumber): Add default case
9685         to switch stmt.
9686
9687 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9688
9689         * toplev.c (rest_of_compilation): Run branch shortening after
9690         reg-stack.
9691
9692         * regclass.c (loop_depth): Remove
9693         (scan_one_insn): Do not handle LOOP_NOTE insns.
9694         (regclass): Go through basic blocks and set loop_cost
9695
9696 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
9697
9698         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
9699
9700 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9701
9702         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
9703         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
9704         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
9705
9706 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
9707
9708         * loop.c (insert_loop_mem): Ignore memory clobbers.
9709
9710         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
9711         to (OP A B).
9712
9713 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
9714
9715         * profile.c: Remove redundant #include "output.h".
9716
9717         * h8300.md (HImode preinc peephole): Fix typo.
9718
9719 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9720
9721         * function.c (retrofit_block): Abort if we don't find a suitable insn.
9722         (insert_block_after_note): Abort if we don't have a previous block.
9723         Remove FN parameter.
9724         * function.h: Adjust.
9725
9726 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
9727
9728         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
9729         argument more than once.
9730
9731 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9732
9733         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
9734
9735 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
9736
9737         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
9738
9739 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9740
9741         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
9742         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
9743         update stack_alignment_needed.
9744         (prepare_function_start): Initialize stack_alignment_needed
9745         * function.h (struct function): Add field stack_alignment_needed.
9746
9747 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9748
9749         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
9750         Handle live_throughout / dead_or_set instead of live_before /
9751         live_after.
9752         (save_call_clobbered_regs): Get register livenessinformation from
9753         chain->live_throughout.
9754         (add_stored_regs): New function.
9755         (insert_restore, insert_save): Add restored / saved registers to
9756         dead_or_set.
9757         * global.c (reg_dies): New parameter chain.
9758         (reg_becomes_live): Third parameter is regs_set now.
9759         Changed all callers.
9760         (reg_dies): New parameter chain.  Changed all callers.
9761         (build_insn_chain): Set live_throughout instead of
9762         live_before / live_after.
9763         * reload.h (struct insn_chain): Replace members live_before /
9764         live_after with live_throughout / dead_or_set.
9765         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
9766         instead of live_before / live_after.
9767         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
9768         (order_regs_for_reload, find_reg, finish_spills): Likewise.
9769         (choose_reload_regs_init): Likewise.
9770         * stupid.c (current_chain, find_clobbered_regs): Delete.
9771         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
9772         instead of chain->live_before / chain->live_after.
9773         (mark_hard_ref): New function.
9774         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
9775
9776 1999-12-15  David S. Miller  <davem@redhat.com>
9777
9778         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
9779
9780 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9781
9782         * flow.c (calculate_loop_depth): Make global, remove prototype,
9783         rewrite to use new loop infrastructure.
9784         (find_basic_block): Remove calculate_loop_depth call.
9785         * toplev.c (rest_of_compilation): Call find_basic_block.
9786         * output.h (calculate_loop_depth): Declare.
9787
9788         * flow.c (dump_flow_info): Dump loop_depth.
9789         (flow_loops_nodes_find): Increase loop_depth for basic block in the
9790         body.
9791         (flow_loops_find): Initialize the loop_depth for each basic block.
9792
9793 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9794
9795         * tree.c (decl_function_context): Handle virtual functions.
9796
9797         * tlink.c (scan_linker_output): Don't look in demangled name when
9798         looking for linker output keywords.
9799
9800         * dwarfout.c (output_type): We can defer namespace-scope classes.
9801
9802 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
9803
9804         * regclass.c (record_reg_classes): Update comment for merging
9805         register class preferences in reg->reg copies.  Tighten conditions
9806         for merging register class preferences in reg->reg copies.
9807
9808 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
9809
9810         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
9811
9812 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
9813
9814         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
9815         (INIT_SECTION_ASM_OP): Delete.
9816         (FINI_SECTION_ASM_OP): Delete.
9817         (STARTFILE_SPEC): Define to hold just crtbegin.o.
9818
9819 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
9820
9821         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
9822         the abstract origin wasn't emitted.
9823
9824         * dwarf2out.c (class_scope_p): New fn.
9825         (gen_subprogram_die): Use it.
9826         (gen_variable_die): Use it.  Tweak logic.
9827         (gen_struct_or_union_type_die): Check context_die to determine
9828         if we're function-local.
9829         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
9830
9831 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9832
9833         * loop.c (check_dbra_loop): Can't reverse a biv that has
9834         maybe_multiple set.
9835
9836 1999-12-14  Nick Clifton  <nickc@cygnus.com>
9837
9838         * config/arm/arm.c: Add support for -mcpu=arm720 command line
9839         switch.
9840
9841 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9842
9843         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
9844         for givs made from biv increments.
9845
9846 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
9847
9848         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
9849         * alpha.c (override_options): Recognize -mcpu=ev67.
9850         * alpha.h (CPP_CPU_EV67_SPEC): New.
9851         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
9852         (EXTRA_SPECS): Update.
9853
9854 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
9855
9856         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
9857         appropriate for -lang-c89 and -std=*.
9858         * cppinit.c (cpp_handle_option): Likewise.
9859         (new_pending_define): New, split out from cpp_handle_option.
9860         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
9861         or enable trigraphs for -ansi/-std=*.
9862
9863         * ginclude/stdarg.h (__va_copy): New.
9864         (va_copy): Don't define for C89.
9865
9866 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
9867
9868         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
9869         for long long multiply-accumulate.
9870
9871 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9872
9873         * regclass.c (scan_one_insn): Set loop_cost to 1 when
9874         optimizing for size.
9875
9876 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9877
9878         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
9879         if something changed.  Back out that part of yesterday's changes.
9880
9881         * loop.c (loop_max_reg): New static variable.
9882         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
9883         max_reg_num.
9884         (scan_loop): Call reg_scan_update whenever we may have added new
9885         registers, and update loop_max_reg.
9886
9887 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9888
9889         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
9890         when source does not die.
9891
9892         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
9893
9894 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
9895
9896         * config/sparc/linux64.h (TARGET_LIVE_G0,
9897         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
9898         variants on Linux.
9899         * config/sparc/linux.h (TARGET_LIVE_G0,
9900         TARGET_BROKEN_SAVERESTORE): Likewise.
9901         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
9902         TARGET_BROKEN_SAVERESTORE): Likewise.
9903
9904         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
9905         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
9906         not %g2.
9907         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
9908         as sparc64 block profiling register.
9909         * config/sparc/sparc.c (sparc_override_options): Allow block
9910         profiling with -m32.
9911         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
9912         profiling register.
9913         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
9914         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
9915         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
9916
9917         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
9918         for sparc64.
9919         * config/sparc/sparc.h: Likewise.
9920         * config/sparc/xm-sysv4-64.h: Likewise.
9921         * config/float-sparc.h: Likewise.
9922         * glimits.h: Likewise.
9923         * longlong.h: Likewise.
9924
9925         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
9926         (ASM_IDENTIFY_GCC): Remove.
9927
9928 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9929
9930         * combine.c (combine_simplify_rtx): Don't make shared rtl.
9931         (simplify_logical): Likewise.
9932
9933 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
9934
9935         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
9936         * cppfiles.c (INO_T_EQ): Likewise.
9937
9938 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
9939
9940         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
9941         * i386/mingw32.h (LIB_SPEC): Likewise.
9942         (STARTFILE_SPEC): Likewise.
9943         * i386/uwin.h (LIB_SPEC): Likewise.
9944         (STARTFILE_SPEC): Likewise.
9945
9946         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
9947         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
9948
9949 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
9950
9951         * combine.c (combine_simplify_rtx): Fix order of checks for
9952         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
9953
9954 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
9955
9956         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
9957         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
9958
9959 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
9960
9961         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
9962         defined.
9963         * regclass.c (inv_reg_alloc_order): New array.
9964         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
9965
9966         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
9967         counted_for_groups, counted_for_nongroups.  Add fields rld and
9968         n_reloads.
9969         * reload.c (push_secondary_reload): Don't set nongroup field of
9970         new reloads.
9971         (push_reload): Likewise.
9972         (find_reloads): Delete code to compute nongroup fields.
9973         * reload1.c (reload_insn_firstobj): New static variable.
9974         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
9975         users changed.
9976         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
9977         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
9978         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
9979         functions.
9980         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
9981         functions.
9982         (struct hard_reg_n_uses): Deleted.
9983         (potential_reload_regs): Deleted.
9984         (init_reload): Initialize spilled_pseudos and pseudos_counted.
9985         (reload): Don't try to allocate reload registers if we already know
9986         we have to make another pass.  Call select_reload_regs.  Free memory
9987         starting with reload_firstobj when starting another pass.
9988         Don't allocate spilled_pseudos.
9989         (calculate_needs_all_insns): Call copy_reloads for an insn that
9990         needs reloads; don't call calculate_needs.
9991         (spill_cost): New static array.
9992         (used_spill_regs_local): New static variable.
9993         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
9994         to compute potential_reload_regs.
9995         (find_reload_regs): Completely rewritten to use find_reg.
9996         (allocate_reload_reg): Don't test counted_for_groups or
9997         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
9998         all cllers changed.
9999         (choose_reload_regs): Add fallback code that uses the existing
10000         register allocation from find_reload_regs.
10001
10002 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
10003
10004         * flow.c (create_edge_list): Cast xmalloc return value.
10005
10006 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
10007
10008         * doprnt.c: Remove incorrect comment closure.
10009
10010         * cse.c: Fix a few minor whitespace goofs.
10011
10012 1999-12-13  Don Bowman  <don@pixstream.com>
10013
10014         * mips/vxworks.h: Fix problem with comment termination.
10015         (EXTRA_SECTIONS): Add in_sbss.
10016         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
10017
10018 1999-12-12  David S. Miller  <davem@redhat.com>
10019
10020         * cse.c (struct cse_reg_info): Add hash_next member,
10021         reorder rest of struct for better packing on 64-bit
10022         hosts.
10023         (cse_reg_info_tree): Kill.
10024         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
10025         REGHASH_FN): New custom pow2 hash mechanism.
10026         (NBUCKETS): Kill.
10027         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
10028         use a pow2 hash table.
10029         (get_cse_reg_info): Rework to use new REGHASH.
10030         (new_basic_block): Likewise, use HASH_SIZE, and inline
10031         free_element call.
10032         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
10033         and inline free_element call.
10034         (lookup_as_function, insert, flush_hash_table, invalidate,
10035         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
10036         invalidate_for_call, use_related_value, find_comparison_args,
10037         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
10038         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
10039         get_element): Kill.
10040
10041 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
10042
10043         * cse.c (cse_basic_block): Free qty_table consistently.
10044
10045 1999-12-12  David S. Miller  <davem@redhat.com>
10046             Jakub Jelinek    <jakub@redhat.com>
10047
10048         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
10049         SUBREGs by hand, gen the appropriate hard reg directly.
10050         (movtf reg/mem split): Likewise and alter_subreg on destination
10051         if necessary.
10052         (movtf mem/reg split): Similarly.
10053         (movdf_cc_sp64): Rename from hidden pattern.
10054         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
10055         (movtf_cc_sp64, following split): New pattern and splitter.
10056         (movdf_cc_reg_sp64): Rename from hidden pattern.
10057         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
10058         TARGET_HARD_QUAD.
10059         (movtf_cc_reg_sp64, following split): New pattern and splitter.
10060
10061 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
10062
10063         * loop.c (load_mems): Don't hoist written floating point mem
10064         if -ffloat-store.
10065
10066 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
10067
10068         * except.h (struct eh_queue): Add `next' pointer.
10069         (struct eh_status): Make x_ehqueue a pointer.
10070         (push_ehqueue):  Declare.
10071         (pop_ehqueue): Likewise.
10072         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
10073         pointer.
10074         (expand_fixup_region_end): Likewise.
10075         (expand_leftover_cleanups): Likewise.
10076         (push_ehqueue): Define.
10077         (pop_ehqueue): Likewise.
10078         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
10079         than doing it inline.
10080         (expand_start_all_catch):  Adjust now that ehqueue is a
10081         pointer.
10082         (mark_eh_queue): Mark all level of the queue.
10083         (mark_eh_status):  Adjust now that ehqueue is a
10084         pointer.
10085         (init_eh_for_function): Allocate ehqueue.
10086         (free_eh_status): Free it.
10087         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
10088         expansion for a fixup.
10089
10090 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10091
10092         * gthr-single.h (__gthread_active_p): Add prototype arguments.
10093
10094         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
10095         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
10096         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
10097         function_ptr, getpagesize, __enable_execute_stack,
10098         __enable_execute_stack, __clear_insn_cache,
10099         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
10100         _cleanup, _exit, __default_terminate, __terminate_func,
10101         __terminate, __empty, __throw, new_eh_context,
10102         eh_context_initialize, eh_context_static, eh_context_specific,
10103         get_eh_context, __get_eh_context, __get_eh_info,
10104         init_reg_size_table, eh_threads_initialize,
10105         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
10106         __unwinding_cleanup, throw_helper, __throw, __rethrow,
10107         __pure_virtual): Add prototype arguments.
10108         (__bb_exit_func): Cast a sizeof to long when comparing against one.
10109         Cast a signed value to unsigned long when comparing against one.
10110         (new_eh_context): Wrap in _GTHREADS macro.
10111         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
10112         declaration.
10113         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
10114         (throw_helper): Initialize variables `handler_p' and `pc_p'.
10115
10116 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10117
10118         * combine.c (record_promoted_value): Remove unused variable
10119         `links2'.
10120
10121         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
10122
10123         * global.c (record_conflicts): Likewise for `j'.
10124
10125         * genoutput.c (output_insn_data): Don't unnecessarily cast away
10126         const-ness.
10127
10128 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10129
10130         * i386-protos.h (output_387_binary_op, output_fix_trunc,
10131         output_fp_compare): Constify a char*.
10132
10133         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
10134         static prototypes.
10135         (override_options, ix86_comp_type_attributes, print_operand,
10136         output_387_binary_op, output_fix_trunc, output_fp_compare):
10137         Constify a char*.
10138         (ix86_sched_reorder): Mark parameter `clock_var' with
10139         ATTRIBUTE_UNUSED.
10140
10141         * i386.h (DEBUG_PRINT_REG): Constify a char*.
10142
10143 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
10144
10145         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
10146         operand, for use in the Java front-end.
10147
10148 1999-12-10  Ben Collins  <bcollins@debian.org>
10149
10150         * configure.in: Fix typo for "-64" in 64bit as check.
10151         * configure: Rebuilt.
10152
10153 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
10154
10155         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
10156         appropriate.
10157
10158 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10159
10160         * c-parse.in (string): With -Wtraditional, warn if ANSI string
10161         concatenation is utilized.
10162
10163         * invoke.texi (-Wtraditional): Document it.
10164
10165 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10166
10167         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
10168         Cast a ptrdiff_t to long and pass it to printf with %ld.
10169
10170 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
10171
10172         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
10173         68881, we have no 68881 registers at all.
10174         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
10175         value in a 68881 register if it is available.
10176
10177 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
10178
10179         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
10180         for long long multiply-accumulate.
10181
10182 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
10183
10184         * loop.c (insert_loop_mem): Undo last change.
10185
10186 1999-12-10  David S. Miller  <davem@redhat.com>
10187
10188         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
10189         New functions.
10190         * config/sparc/sparc-protos.h: Add them.
10191         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
10192         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
10193         constraints which use those helpers.
10194         (EXTRA_CONSTRAINT): Use this new macro.
10195         * md.texi: Update sparc target constraints documentation.
10196         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
10197         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
10198         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
10199         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
10200         (movsf high/lo_sum split): Rework for new patterns.
10201         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
10202
10203 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
10204
10205         * c-common.c (c_common_nodes_and_builtins):
10206         Create __builtin_ptrdiff_t and __builtin_size_t.
10207
10208 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
10209
10210         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
10211
10212 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10213
10214         * regclass.c (globalize_reg): Re-instate test that allows
10215         fixed registers to be declared as a variable even after functions
10216         are defined.
10217
10218 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10219
10220         * i386.md (cpu attribute): Add "athlon".
10221         (athlon_decode): New attribute.
10222         (Athlon scheduling units definitions): New.
10223         (fcmp and shld patterns): Set athlon_decode to "vector".
10224         * i386.c (athlon_cost): New.
10225         (m_ATHLON): New.
10226         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
10227         x86_use_sahf): Set for Athlon.
10228         (x86_use_fiop): Unset for Athlon.
10229         (override_options): Define Athlon alignments and "athlon" name.
10230         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
10231         * i386.h (TARGET_ATHLON): New.
10232         (enum processor_type): Add PROCESSOR_ATHLON.
10233         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
10234         for CPU_DEFAULT==5
10235         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
10236
10237 1999-12-09  Andreas Jaeger  <aj@suse.de>
10238
10239         * loop.c (record_biv): Declare parameter as int.
10240
10241         * config/i386/i386-protos.h: Declare long_memory_operand.
10242
10243 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
10244
10245         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
10246         EXPR_WITH_FILE_LOCATION.
10247
10248 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
10249
10250         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
10251         in expander.
10252
10253         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
10254
10255         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
10256         updating code.
10257
10258 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
10259
10260         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
10261         default on linux64 again.
10262         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
10263         models for multilibing.
10264         * genmultilib: Accept | as alternative separator within a set in
10265         MULTILIB_OPTIONS.
10266
10267         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
10268
10269         * calls.c (precompute_arguments): Make sure initial_value contains
10270         value pseudo which CSE expects.
10271         * cse.c (struct set): New entry orig_src.
10272         (cse_insn): Set it early on entry, use it for libcall EQUIV note
10273         replacement.
10274
10275 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
10276
10277         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
10278
10279 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
10280
10281         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
10282
10283 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
10284
10285         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
10286         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
10287
10288         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
10289         if TARGET_ARCH32.
10290
10291         * longlong.h: Merge in changes from glibc.
10292         Also don't clobber %g2 register in 32bit SPARC assembly, so that
10293         -mno-app-regs libgcc can be compiled.
10294         * libgcc2.c: Add defines so that the updated longlong.h
10295         can be used in libgcc2.a. Also, make sure on most architectures
10296         (at least on all which have optimized code in longlong.h defined
10297         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
10298
10299 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10300
10301         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
10302         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
10303         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
10304         is GNU ld.
10305         * configure: Rebuilt.
10306
10307 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
10308
10309         * alpha.c (secondary_reload_class): For !BWX, sub-simode
10310         outputs require a register.
10311
10312 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
10313
10314         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
10315         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
10316         functions like dptoul will be resolved.
10317         (libgcc2.a): Make sure that the object files from DPBIT are named
10318         differently (prefix `_dp') from those that would be coming from
10319         FPBIT.
10320
10321 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
10322
10323         * configure.in: When target is sparc* and tm_file contains 64,
10324         test for 64bit support in assembler.  If not supported, remove
10325         sparc/t-sol2-64 from target-dependent Makefile fragments.
10326         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
10327         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
10328         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
10329         * acconfig.h (AS_SPARC64_FLAG): Added.
10330         * configure, config.in: Rebuilt.
10331         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
10332         support.  Use AS_SPARC64_FLAG.
10333
10334 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
10335
10336         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
10337         suitable for holding OFmode values so that gcc works with complex
10338         quad long doubles.
10339         (hard_64bit_mode_classes): Likewise.
10340
10341         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
10342         so that it is actually matched.
10343         (sethi_di_medlow): Likewise.
10344
10345         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
10346         as legitimate constant if -mvis.
10347         * config/sparc/sparc.md (movtf): Likewise.
10348         (clear_sf): Use const_double_operand.
10349         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
10350
10351         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
10352         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
10353         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
10354         routines, _Qp_* cannot be handled like that now.
10355         (INIT_TARGET_OPTABS): Likewise.
10356         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
10357         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
10358         sparc_emit_float_lib_cmp if ARCH64 and soft float.
10359         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
10360         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
10361         divtf3, sqrttf3): New expanders.
10362         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
10363         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
10364         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
10365         non-_hq patterns.
10366
10367         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
10368         * configure: Rebuilt.
10369         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
10370         -mcpu is given and we're doing 64bit compiles.
10371
10372 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
10373
10374         * loop.h (struct induction): Add multi_insn_incr.
10375         * loop.c (basic_induction_var): New multi_insn_incr argument.
10376         Set it if we search back through previous insns for the biv.
10377         (record_biv): New multi_insn_incr argument; fill in struct induction.
10378         (strength_reduce): Discard an iv with multiple bivs, any of
10379         which require multiple insns to increment.
10380
10381 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10382
10383         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
10384         documentation.
10385
10386 1999-12-06  David S. Miller  <davem@redhat.com>
10387
10388         * combine.c (check_promoted_subreg): Do not conditionalize this upon
10389         PROMOTE_FUNCTION_RETURN.
10390
10391 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
10392
10393         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
10394         and handle REG_UNUSED note on insn.
10395
10396         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
10397         inner_mask instead of mask.
10398
10399 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
10400
10401         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
10402         zero if there was an error.
10403
10404 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
10405
10406         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
10407         output string.
10408
10409         * longlong.h: Fix clobbers in SPARC asm statements.
10410
10411         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
10412         valid sethi operations when TARGET_ARCH64.
10413
10414         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
10415         always use move_by_pieces to avoid infinite recursion.
10416         (restore_fixed_argument_area): Likewise.
10417
10418         * combine.c (check_promoted_subreg, record_promoted_value): New
10419         functions.
10420         (combine_instructions): Use them to retain nonzero and sign bit
10421         information after SUBREGs are eliminated by optimizations in
10422         this pass if PROMOTE_FUNCTION_RETURN.
10423
10424         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
10425         .register declaration. Don't use variables with __ prefixes.
10426
10427 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10428
10429         * fold-const.c (optimize_bit_field_compare): Only use one mode
10430         for both RHS and LHS in non-constant case.
10431
10432 1999-12-06  Nathan Sidwell  <nathan@acm.org>
10433
10434         * frame.c (start_fde_sort): Only allocate erratic array, if
10435         linear one was allocated. Return allocated flag.
10436         (fde_insert): Only insert, if there's a valid array.
10437         (fde_end_sort): Split, sort and merge if linear and erratic
10438         arrays exist, else just sort linear one.
10439         (search_fdes): New function. Linear search through original fde
10440         structure.
10441         (frame_init): Permit multiple initializations. Cope with
10442         memory shortages.
10443         (find_fde): Fallback on linear search, if failed to sort array.
10444         (__deregister_frame_info): Only free sorted array, if we
10445         allocated it.
10446
10447 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
10448
10449         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
10450
10451 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
10452
10453         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
10454
10455 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
10456
10457         * tree.h (special_function_p): Declare.
10458         * calls.c (special_function_p): Make it global.  Don't take `name'
10459         as a parameter.  Fix typo in 1999-11-28 change.
10460         (expand_cal): Adjust.
10461
10462 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
10463
10464         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
10465         * tree.h (EXPR_WFL_FILENAME): Define in terms of
10466         EXPR_WFL_FILENAME_NODE.
10467         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
10468         the TREE_CHAIN.
10469         * print-tree.c (print_note): Print TREE_PRIVATE and
10470         TREE_PROTECTED.
10471
10472         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
10473         the original die cannot be found.
10474
10475         * varray.h (varray_head_tag): Add elements_used.
10476         (VARRAY_PUSH): New macro.
10477         (VARRAY_POP): Likewise.
10478         (VARRAY_TOP): Likewise.
10479         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
10480         types.
10481         * varray.c (varray_init): Initialize elements_used.
10482         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
10483         (INTEGRATE_H): New variable.
10484         (integrate.o): Depend on INTEGRATE_H.
10485         (unroll.o): Likewise.
10486
10487         * function.h (insert_block_after_note): Declare.
10488         * function.c (insert_block_after_note): Split out from ...
10489         (retrofit_block): ... here.
10490
10491         * stmt.c (expand_fixup): Fix typo in comment.
10492
10493 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10494
10495         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
10496         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
10497         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
10498         (regmove_optimize, fixup_match_1): Likewise.
10499
10500 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10501
10502         * flow.c (flow_loops_dump): Add missing argument when calling
10503         flow_loop_nested_p.
10504
10505 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
10506             Greg McGary  <gkm@gnu.org>
10507
10508         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
10509         (init_attributes): Add A_NO_LIMIT_STACK.
10510         (decl_attributes): Handle A_NO_LIMIT_STACK.
10511         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
10512         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
10513         Handle stack bounds checking.
10514         * flags.h (flag_stack_check): Use the word 'probe' rather than
10515         'check', because the flag doesn't actually cause any checking to
10516         be done.
10517         * function.c (expand_function_start): Set
10518         current_function_limit_stack.
10519         * function.h (struct function): Add limit_stack.
10520         (current_function_limit_stack): Define.
10521         * invoke.texi (Code Gen Options): Document new options.
10522         * rtl.h: Declare stack_limit_rtx.
10523         * toplev.c (stack_limit_rtx): New variable.
10524         (decode_f_option): Handle new options -fstack-limit-register=REG,
10525         -fstack-limit-symbol=IDENT, -fno-stack-limit.
10526         (main): Add stack_limit_rtx as GC root.
10527         * tree.h (DECL_NO_LIMIT_STACK): New macro.
10528         (struct tree_decl): New member no_limit_stack.
10529
10530         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
10531         stack_limit_rtx.
10532         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
10533         (conditional_trap+1): Get new mnemonic correct.
10534         (conditional_trap+2): New pattern for DImode traps.
10535
10536         * config/m68k/m68k.c (output_function_prologue): Handle
10537         stack_limit_rtx.
10538         * config/m68k/m68k.md (trap): New insn.
10539         (conditional_trap): New insn.
10540         * md.texi (Standard Names): Document `trap' and
10541         `conditional_trap'.
10542         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
10543         so a cc0 setter doesn't get emitted at some random place in the
10544         function.
10545
10546         * config/i960/i960.md (trap): New insn.
10547         (conditional_trap): New expander.
10548         (conditional_trap+1, conditional_trap+2): New insns for signed
10549         and unsigned cases.
10550         * config/i960/i960.c (i960_function_prologue): Use
10551         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
10552
10553 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
10554                           Geoffrey Keating  <geoffk@cygnus.com>
10555
10556         * flags.h (warn_padded, warn_packed): Add global var decls.
10557         * toplev.c (warn_padded, warn_packed): Add global var defns.
10558         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
10559         * stor-layout.c (layout_record): Add local variable `type'
10560         to hold often-used TREE_TYPE (field).  Add local variable
10561         `unpacked_align' to hold alignment that would be in force
10562         if no `packed' attribute were present.  Warn if `packed' attribute
10563         is unnecessary, or even harmful.  Warn when gcc inserts padding
10564         to satisfy alignment requirements of members.  Use NULL_TREE
10565         when checking whether var_size is set.
10566         * invoke.texi: Document new flags.
10567
10568 1999-12-03  Nathan Sidwell  <nathan@acm.org>
10569
10570         * frame.c (fde_split): Reimplement to avoid variable sized array.
10571
10572 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10573
10574         * combine.c (try_combine): Before fixing up LOG_LINKS for the
10575         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
10576
10577 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
10578
10579         * invoke.texi: Document the mips option -mno-crt0
10580
10581 1999-12-02  Mike Karr  <mkarr@mathworks.com>
10582
10583         * cccp.c (argdata): Added free_ptr member.
10584         (macroexpand): Initialize free_ptr of each argument. When an
10585         argument's buffers are freed, if the argument's free_ptr corresponds
10586         to a buffer on the input stack, then return the free_ptr to that stack
10587         frame, otherwise, free it.
10588         (macarg): If an argument begins and ends on the same input stack level,
10589         then transfer the free_ptr of that buffer to the argument in case
10590         the stack is popped during the processing of a subsequent argument.
10591
10592 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
10593
10594         * loop.c (note_reg_stored): New function.
10595         (struct note_reg_stored_arg): New structure.
10596         (try_copy_prop): Change to be more conservative; only replace within
10597         one extended basic block and stop replacing if a store to the
10598         replacement reg is seen.
10599
10600 1999-12-02  Nick Clifton  <nickc@cygnus.com>
10601
10602         * config/fp-bit.c: Initialise all fields of the NAN
10603         constants.
10604
10605         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
10606         to HANDLE_PRAGMA.
10607
10608 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
10609
10610         * i386.md (extend?f?f2): Force the input into a register, not
10611         the output.
10612
10613 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
10614
10615         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
10616         regclass' sake.
10617         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
10618         alternative because setting up 64bit constant is usually costly,
10619         especially when reload is in progress or completed.
10620         (movdf_const_intreg_sp64): Likewise.
10621         (movdf_const_intreg split): Fix building up constants when
10622         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
10623
10624 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
10625
10626         * combine.c (if_then_else_cond): Use const_true_rtx instead of
10627         const1_rtx for return values in EQ/NE comparison against (const_int 0)
10628         case.
10629
10630         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
10631         (asm_file_start): Emit .am33 into assembly file when compiling for
10632         the AM33.
10633         (print_operand_address): Handle POST_INC addresses.
10634         (can_use_return_insn, initial_offset): Check AM33 registers too.
10635         (expand_prologue): Check & save AM33 registers too.
10636         (expand_epilogue): Similarly.
10637         (secondary_reload_class): Handle AM33 specific secondary reloads.
10638         (output_tst): Emit efficient code for the AM33 too.
10639         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
10640         (TARGET_SWITCHES): Add -mam33 switch.
10641         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
10642         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
10643         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
10644         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
10645         (enum reg_class, REG_CLASS_NAMES): Likewise.
10646         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
10647         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
10648         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
10649         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
10650         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
10651         (HAVE_POST_INCREMENT): Define.
10652         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
10653         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
10654         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
10655         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
10656         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
10657         (zero_extend to SI from QI/HI): Likewise.
10658         (sign_extend to SI from QI/HI): Likewise.
10659         (mulsidi3, umulsidi3): New patterns for the AM33.
10660         (tstsi with zero extension from QI/HI): Add AM33 variants.
10661         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
10662         (return_internal_regs, store_movm): Handle new AM33 registers.
10663         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
10664         (LIBGCC, INSTALL_LIBGCC): Likewise.
10665         * invoke.texi: Document new flags.
10666
10667 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10668
10669         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
10670         (addsi3_carry): Likewise.
10671         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
10672         (sbbsi3_carry): Likewise.
10673         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
10674         (mulhi3): Likewise.
10675         (test?i_1): Ensure that only one operand is memory.
10676         (conditional move patterns): likewise.
10677         (shift and rotate patterns): Rewrite to expander, add
10678         "binary_operator_ok" to the condition.
10679
10680         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
10681         * i386.h (procesor_costs): Add movzbl_load field.
10682         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
10683         non-Q registers, accept DImode registers anywhere.
10684         (Q_CLASS_P): New.
10685         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
10686         * i386.c (*_cost): Set value for movxbl_load field.
10687
10688         * (addsi): New add to lea splitter.
10689         (ashlsi): Likewise.
10690         (lea to add/shift peep2): New.
10691
10692 1999-12-01  Mark Salter <msalter@cygnus.com>
10693
10694         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
10695         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
10696         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
10697
10698 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10699
10700         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
10701         * i386.md (movsi_xor): New.
10702         (movsi_or): New.
10703         (movsi_1, movhi_1, movqi_1): Remove.
10704         (movsi_2): Rename to movsi_1.
10705         (movhi_2): Rename to movhi_1.
10706         (movqi_2): Rename to movqi_1.
10707         (movdi_1): Remove; remove splitter.
10708         (movdi_2): Rename to movdi_1.
10709         (divmodsi4 splitter): Do not emit clobbers for move patterns.
10710         (long move peep2): Do not create QI or HI mode mov0s
10711         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
10712
10713         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
10714         rewrite splitters.
10715
10716         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
10717         (abs?f2_if): Likewise.
10718
10719 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
10720
10721         * ggc.h (ggc_test_and_set_mark): New macro.
10722         (ggc_mark_rtx): Use ggc_test_and_set_mark.
10723         (ggc_mark_tree): Likewise.
10724         (ggc_mark_rtvec): Likewise.
10725         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
10726
10727 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
10728
10729         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
10730         containing types.
10731         (decl_scope_table): Just an array of trees now.
10732         (push_decl_scope): Simplify.
10733         (dwarf2out_init): Adjust.
10734         (local_scope_p): New fn.
10735         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
10736         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
10737         (gen_typedef_die): Likewise.
10738         (gen_lexical_block_die): Don't call push/pop_decl_scope.
10739         (gen_inlined_subroutine_die): Likewise.
10740         (gen_abstract_function): Set current_function_decl temporarily.
10741         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
10742         Handle block extern declarations.  Don't call push/pop_decl_scope.
10743         (gen_decl_die): Fix logic for block externs.
10744
10745 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10746
10747         * calls.c (special_function_p): Remove `realloc' and add `strdup'
10748         to the list of functions which have attribute malloc by default.
10749
10750 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10751
10752         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
10753         integer constant does not match the traditional type, limit the
10754         warnings to cases where the base of the type is ten.
10755
10756         * invoke.texi (-Wtraditional): Document it.
10757
10758 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10759
10760         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
10761         * rs6000.md: Only access a CONST_INT with INTVAL
10762
10763 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
10764
10765         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
10766         (compute_nearerout): Likewise.
10767         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
10768         size_t to unsigned long for formatting.
10769
10770 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
10771
10772         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
10773         Allow the user to override call-used/fixed state of %g2-5
10774         registers from the command line (with the exception of %g4 for
10775         embedded model).
10776         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
10777         there is a higher chance of having a leaf function.
10778         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
10779         for ARCH64 which has %ccr register.
10780         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
10781         patterns.
10782         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
10783         insn accept into delay slot any insn which does not use %[ol]
10784         registers.  Accept some LO_SUM and shift left by 1 for the normal
10785         restore case.
10786         (output_function_epilogue): Likewise.
10787         (epilogue_renumber): Added argument which inhibits any renumbering
10788         and just tests if the rtx does not use any %[ol] registers.
10789         (output_return): Reflect above change.
10790
10791 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
10792
10793         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
10794         aggregate passing for sizes <= 16 bytes.
10795
10796 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
10797
10798         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
10799         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
10800         * reload.c (find_dummy_reload): Likewise.
10801         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
10802         * reload1.c (reload_as_needed): Likewise.
10803         * stupid.c (stupid_find_reg): Likewise.
10804         * tm.texi (Obsolete Register Macros): Delete section.
10805         * gmicro.h: Remove all traces of the two macros.
10806         * i386.h: Likewise.
10807         * m88k.h: Likewise.
10808         * mips.h: Likewise.
10809
10810 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
10811
10812         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
10813         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
10814         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
10815         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
10816         units for the sparclite86x chip.
10817         (flush): Revert October 14th change; add SImode specifically.
10818         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
10819         * invoke.texi: Document it.
10820
10821 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
10822
10823         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
10824         psimode_truncation_operand.
10825
10826         * config/mn10200/mn10200.c (psimode_truncation_operand): New
10827         function.  Return true if the operand is either a MEM valid
10828         for a PSImode address or not a MEM at all.
10829
10830         * config/mn10200/mn10200.md (truncsipsi2): Use
10831         psimode_truncation_operand.
10832
10833 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10834
10835         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
10836         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
10837         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
10838         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
10839         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
10840         (flow_loop_level_compute, low_loops_level_compute): Likewise.
10841         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
10842         * basic-block.h: Protect from multiple inclusion.
10843         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
10844         (struct loops, struct loop): Define structures.
10845         * sbitmap.c (sbitmap_a_subset_b_p): New function.
10846         * sbitmap.h: Protect from multiple inclusion.
10847         (sbitmap_a_subset_b_p): Add prototype.
10848         * Makefile.in (LOOP_H): New macro.
10849         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
10850
10851 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
10852
10853         * cppinit.c (CAT): The argument list of this macro may not contain
10854         spaces !
10855
10856 1999-11-29  David S. Miller  <davem@redhat.com>
10857
10858         Move quantity tables and register equivalence chains into
10859         per-qty and per-register structure arrays respectively.
10860         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
10861         qty_const_insn, qty_comparison_code, qty_comparison_const,
10862         qty_comparison_qty): Delete, replace with...
10863         (qty_table): this structure table.
10864         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
10865         (reg_eqv_table): this structure table.
10866         (make_new_qty): Add argument MODE.  Caller updated.
10867         Update to use qty_table and reg_eqv_table.
10868         (make_regs_eqv, delete_reg_equiv, insert_regs,
10869         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
10870         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
10871         cse_process_notes, cse_main, cse_basic_block): Likewise.
10872
10873 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10874
10875         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
10876         operation if C is negative.
10877         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
10878         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
10879         law for some divisions if constant is negative and change other
10880         divisions to the opposite rounding.
10881
10882         * expr.c (store_constructor_field): If bit position is not multiple
10883         of alignment of TARGET's mode, use BLKmode.
10884
10885         * expr.c (expand_expr_unaligned): Add more code from full case
10886         that is needed when OP0 is in a register.
10887
10888 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10889
10890         * dwarfout.c (field_byte_offset): Size can be zero if there was
10891         an error.
10892
10893 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10894
10895         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
10896         (associate_trees): Delete unused var TEM.
10897         (extract_muldiv): Delete unused var CANCEL_P.
10898
10899         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
10900         (target_isinf, target_isnan, target_negative): Add return types to
10901         function definitions.
10902
10903 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
10904
10905         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
10906         * fixinc/hackshell.tpl: ditto
10907         * fixinc/fixtests.c(double_slash_test): more C++ header testing
10908         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
10909
10910 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10911
10912         * reload.c (push_reload): When looking for a register to put into
10913         reg_rtx, make sure all hard regs in a multi-reg register are in the
10914         right class and nonfixed.
10915
10916         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
10917         pending_read_insns, pending_write_insns, pending_read_mems,
10918         pending_write_mems, pending_list_length, last_pending_memory_flush,
10919         last_function_call, sched_before_next_call): Move static variables
10920         into a structure.
10921         (bb_ prefixed versions): Replace with single array bb_deps.
10922         (struct deps): New structure.
10923         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
10924         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
10925         argument of type "struct deps *"; use that instead of global
10926         variables.  All callers changed.
10927         (init_rgn_data_dependencies): Delete function.
10928         (init_rtx_vector): Delete function.
10929         (init_deps): New function.
10930
10931         (free_pending_lists): Simplify, we always use the bb_deps array even
10932         if only one basic block.
10933         (compute_block_backward_dependences): Likewise.
10934         (schedule_region): Likewise.
10935
10936         (propagate_deps): New function, broken out of
10937         compute_block_backward_dependences.
10938         (compute_block_backward_dependences): Use it.
10939
10940         * alpha.md: Delete useless patterns that tried to work around
10941         register elimination problems.
10942
10943         * unroll.c (loop_iterations): Don't abort if iteration variable
10944         was made by loop.
10945
10946         From Joern Rennecke:
10947         * reload1.c (reloads_conflict): Reverse test comparing operand
10948         numbers when testing for conflict between output/outaddr reloads.
10949
10950 1999-11-29  David S. Miller  <davem@redhat.com>
10951
10952         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
10953         arg.
10954         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
10955
10956 1999-11-28  Robert Lipe  <robertl@cygnus.com>
10957
10958         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
10959         table from .fini into .dtor.
10960
10961 1999-11-28  Anthony Green  <green@cygnus.com>
10962
10963         * tree.h (struct tree_decl): Add malloc_flag.
10964         (DECL_IS_MALLOC): Define.
10965         * c-common.c (attrs): Add A_MALLOC attribute.
10966         (init_attributes): Add this attribute to the table.
10967         (decl_attributes): Handle malloc attribute.
10968         * calls.c (special_function_p): Check for the malloc attribute.
10969         * extend.texi (Function Attributes): Document malloc attribute.
10970
10971 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
10972
10973         * pa.md (reload shift-add patterns): Remove.
10974
10975 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10976
10977         * reorg.c (dbr_schedule) Print more statistics. Corrected
10978         problem when printing info when 3 delay slots are filled.
10979
10980 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
10981
10982         * combine.c (setup_incoming_promotions): Pass an outgoing
10983         regno to FUNCTION_ARG_REGNO_P which it expects.
10984
10985 1999-11-28  Andreas Jaeger  <aj@suse.de>
10986
10987         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
10988
10989 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
10990
10991         * cccp.c (do_include): Avoid initialization of automatic variable.
10992
10993         * integrate.c (mark_stores): Function definition made void, to match
10994         previous declaration.
10995         * regclass.c (dump_regclass): Ditto.
10996         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
10997
10998 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10999
11000         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
11001         known to be multiple of divisor.
11002
11003         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
11004
11005         * combine.c (try_combine): Add code to try to merge a set of a
11006         two-word pseudo to a constant with a setting of one of those words
11007         to a constant.
11008
11009         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
11010         (split_tree): Completely rework to make more general.
11011         (make_range, fold): Call negate_expr.
11012         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
11013         (fold, associate): Call new split_tree and associate_trees.
11014         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
11015
11016 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
11017
11018         * loop.c (try_copy_prop): Avoid GNU C extension.
11019
11020 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
11021
11022         * except.c (init_eh_for_function): Still zero eh_return_context,
11023         eh_return_stack_adjust, and eh_return_handler.
11024
11025         * except.h (eh_status): Adjust documentation for x_protect_list.
11026         (begin_protect_partials): New function.
11027         * except.c (enqueue_eh_entry): Fix formatting.
11028         (get_first_handler): Add consistency check.
11029         (add_partial_entry): Adjust usage of protect_list.
11030         (emit_cleanup_handler): Save and restore ehqueue.
11031         (expand_start_all_catch): Add comment.
11032         (begin_protect_partials): New function.
11033         (end_protect_partials): Adjust usage of protect_list.
11034         (init_eh_for_function): Use xcalloc.
11035
11036 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11037
11038         * c-common.c (check_format_info): Don't call a variadic function
11039         with a non-literal format string.
11040
11041         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
11042
11043         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
11044         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
11045         Likewise.
11046
11047         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
11048         Likewise.
11049
11050         * collect2.c (collect_wait): Likewise.
11051
11052         * dbxout.c (dbxout_type): Likewise.
11053
11054         * gcc.c (do_spec_1): Likewise.
11055
11056         * genemit.c (gen_insn, gen_expand): Likewise.
11057
11058         * genrecog.c (write_switch, write_subroutine): Likewise.
11059
11060         * mips-tfile.c (catch_signal, botch): Likewise.
11061
11062         * print-rtl.c (print_rtx): Likewise.
11063
11064         * toplev.c (default_print_error_function, report_error_function,
11065         _fatal_insn): Likewise.
11066
11067 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
11068
11069         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
11070
11071 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11072
11073         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
11074         operations when needed.
11075         * i386.md (fop_?f_comm): New.
11076         (fop_?f_1): Do not accept commutative operands.
11077
11078 1999-11-25  Andreas Jaeger  <aj@suse.de>
11079
11080         * config/mips/mips.md (casesi_internal): Add missing brace.
11081
11082 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
11083
11084         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
11085         (splice_child_die): Handle moving a child DIE from the declaration
11086         DIE of a class to its specification.
11087         (gen_struct_or_union_type_die): Use 'complete' consistently.
11088         (gen_decl_die): Generate the virtual context DIE first.
11089         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
11090
11091 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
11092
11093         * config/mips/mips.md (call_value_multiple_interanal1): New.
11094
11095 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
11096
11097         * dwarf2out.c (free_AT, free_die): New fns.
11098         (remove_children): Call them.
11099         (output_line_info): Disable removal of duplicate notes.
11100
11101         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
11102         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
11103         means pretend the type isn't defined.
11104         Don't defer emitting types.
11105         (gen_type_die_for_member): New fn.
11106         (gen_decl_die): Call it.
11107         (splice_child_die): New fn.
11108         (gen_member_die): Call it rather than generate duplicate dies.
11109
11110         Defer emitting information for the abstract instance of an inline
11111         until we either inline it or emit an out-of-line copy.
11112         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
11113         from output_inline_function if DECL_ABSTRACT is also set.
11114         (block_ultimate_origin): Likewise.
11115         (gen_abstract_function): New fn.
11116         (gen_decl_die, gen_inlined_subroutine_die): Call it.
11117         (gen_subprogram_die):  An abstract instance is not a declaration
11118         just because it doesn't match current_function_decl.  Don't abort
11119         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
11120         has an abstract origin.
11121         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
11122         abstract instance here.
11123
11124 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
11125
11126         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
11127         where we need to reload fpul from a system register.
11128
11129 1999-11-24  Andreas Jaeger  <aj@suse.de>
11130
11131         * config/mips/linux.h (CPP_PREDEFINES): Added.
11132         (LINK_SPEC): Remove -Y since this is only needed on sparc.
11133
11134 1999-11-24  Andreas Jaeger  <aj@suse.de>
11135
11136         * config/mips/linux.h (TARGET_VERSION): Added.
11137         (HANDLE_SYSV_PRAGMA): Added.
11138         (DEFAULT_VTABLE_THUNKS): Added.
11139
11140 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11141
11142         * local-alloc.c (qty): New structure and static variable.
11143         (qty_phys_reg): Remove, all references changed to qty.
11144         (qty_n_refs): Likewise.
11145         (qty_min_class): Likewise.
11146         (qty_birth): Likewise.
11147         (qty_death): Likewise.
11148         (qty_size): Likewise.
11149         (qty_mode): Likewise.
11150         (qty_n_calls_crossed): Likewise.
11151         (qty_alternate_class): Likewise.
11152         (qty_changes_size): Likewise.
11153         (qty_first_reg): Likewise.
11154         (alloc_qty): Rename variable QTY to QTYNO.
11155         (finf_free_reg): Likewise.
11156         (local_alloc): Allocate qty, do not allocate the removed variables.
11157
11158 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
11159
11160         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
11161         when -membedded-pic is passed.
11162
11163         * config/mips/mips.md (casesi): Handle 64-bit case too.
11164         (casesi_internal_di): New insn.
11165
11166         * config/mips/mips.c (embedded_pic_offset): Always make the
11167         embedded-pic subtractions relative to the name of the current
11168         function by use of the magic string "..CURRENT_FUNCTION".
11169         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
11170
11171 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
11172
11173         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
11174         of (const_int 0), when what we really care about is
11175         whether it's a zero constant anyway.
11176         (div_trap_mips16): Likewise.
11177
11178 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
11179
11180         * loop.c (loop_optimize): Always find_loop_tree_blocks and
11181         unroll_block_trees when generating debuggable code.
11182
11183         * tree.h (unsave_expr_1): New function.
11184         (lang_unsave): New variable.
11185         (get_callee_fndecl): New function.
11186         * tree.c (unsave_expr_now_r): New function.
11187         (lang_unsave): Define.
11188         (unsave_expr_1): Likewise.
11189         (unsave_expr_now_r): Split out from unsave_expr_now.
11190         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
11191         call unsave_expr_now_r.
11192         (get_callee_fndecl): Define.
11193
11194         * Makefile.in (gencheck): Don't depend on lang_tree_files.
11195         (gencheck.o): Do depend on lang_tree_files.
11196
11197         * integrate.h (copy_decl_for_inlining): New declaration.
11198         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
11199         (copy_decl_for_inlining): New function.
11200         (integrate_parm_decls): Use it.
11201         (integrate_decl_tree): Likewise.
11202
11203 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
11204
11205         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
11206         the second two from the first.
11207         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
11208         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
11209         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
11210         ISA_HAS_FP4.
11211         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
11212         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
11213         ISA_HAS_FP4.
11214
11215 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
11216
11217         * pa.md (call_internal_symref, call_value_internal_symref): No mode
11218         needed on the address operand.
11219         * pa.c (call_operand_address): Check for the correct mode.
11220
11221 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
11222
11223         * loop.c: Include "basic-block.h".
11224         (try_copy_prop, replace_loop_reg): New functions.
11225         (load_mems): Detect registers that just hold copies of the hoisted
11226         mem, and call try_copy_prop to eliminate them.
11227         * Makefile.in (loop.o): Update dependencies.
11228
11229 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
11230
11231         * Makefile.in (gencheck.o): Depend on gencheck.h.
11232         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
11233         (insn-peep.o): Depend on except.h and function.h.
11234         (insn-attrtab.o): Depend on RECOG_H.
11235         (insn-output.o): Depend on toplev.h and flags.h.
11236         (gengenrtl.o): Depend on real.h.
11237         (gen-protos.o): Depend on cpplib.h and cpphash.h.
11238         Unify all dependencies to be on RECOG_H rather than recog.h.
11239
11240 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11241
11242         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
11243         * configure.in: Try building a bi-arch 32/64-bit compiler on
11244         sparc-*-solaris2.7 and higher.
11245         * configure: Rebuild.
11246
11247 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
11248
11249         * config/freebsd.h: New, FreeBSD architecture independent file.
11250         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
11251         independent pieces.
11252         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
11253         directly by i386/freebsd.h.
11254         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
11255         independent configuration file.
11256         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
11257         directly by i386/freebsd.h.
11258         * configure: Rebuilt.
11259
11260         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
11261         which is in the user's namespace.
11262         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
11263         `i386' which is not in our namespace.
11264
11265 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
11266
11267         * invoke.texi (ARM Options): Add in -mno-alignment-traps
11268
11269 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
11270
11271         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
11272         (add_dwarf_attr, add_child_die): Just push onto the front.
11273         (reverse_die_lists): New fn.
11274         (add_sibling_attributes): Use it.
11275         (push_decl_scope): Reorganize.
11276         (add_name_and_src_coords_attributes): Don't set file and line for
11277         an artificial decl.
11278         (gen_subprogram_die): An artificial function doesn't need to match
11279         file and line.
11280         (gen_compile_unit_die): Return the generated die.  Only add
11281         AT_comp_dir if the filename is relative.
11282         (remove_AT): Simplify loop.  Also free string values.
11283         (output_die): A DIE ref can't be null.
11284         (output_value_format, value_format): Take a dw_attr_ref.
11285         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
11286         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
11287         AT_addr, AT_lbl): New fns.
11288         (various): Use them.
11289         (various): Constify.
11290
11291 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11292
11293         * combine.c (combine_simplify_rtx): When handling a SUBREG,
11294         take SUBREG_WORD into account.
11295         (if_then_else_cond): Likewise.
11296
11297 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
11298
11299         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
11300         clause from BSD license, pursuant with
11301
11302           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
11303
11304 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
11305
11306         * loop.c (load_mems): Reformat slightly.
11307         * basic-block.h (regset_head): New typedef.
11308         (INIT_REG_SET): New macro.
11309
11310 1999-11-22  Bruce Korb  <autogen@linuxbox.com
11311
11312         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
11313         (mips-dec-bsd*): non-functional code
11314         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
11315
11316         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
11317         added three replacement fixes
11318         (no_double_slash): removed comments that are not (any longer) pertinent
11319         (bad_lval): this fix currently runs against many files.
11320         The comment seems to indicate that we should select for files
11321         containing 'pragma extern_prefix'.
11322
11323         * fixinc/fixinc.x86-linux-gnu: deleted
11324         * fixinc/inclhack.sh:  regen
11325         * fixinc/fixincl.x:  regen
11326         * fixinc/fixincl.sh:  regen
11327
11328 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
11329
11330         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
11331         its code is INSN and it has no notes.
11332
11333 1999-11-22  Andrew Haley  <aph@cygnus.com>
11334
11335         * varasm.c (function_defined): Remove.
11336         (make_function_rtl): Don't set function_defined.
11337         (make_decl_rtl): Remove global register warning.
11338         * regclass.c (no_global_reg_vars): New variable.
11339         (globalize_reg): Warn if function has already been defined.
11340         (regclass_init): Set no_global_reg_vars.
11341
11342 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11343
11344         * regclass.c (reg_pref): New structure and static variable
11345         (prefclass): Delete.
11346         (altclass): Delete.
11347         (all uses of prefclass and altclass): Use reg_pref instead.
11348
11349 1999-11-21  Nick Clifton  <nickc@cygnus.com>
11350
11351         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
11352         -malignment-traps.
11353         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
11354         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
11355         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
11356
11357 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
11358
11359         * varasm.c (output_constructor): Solve problem with long long
11360         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
11361
11362 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11363
11364         * global.c (allocno): New structure and static variable.
11365         (allocno_reg): Remove, all references replaced by allocno.
11366         (allocno_size): Likewise.
11367         (hard_reg_conflicts): Likewise.
11368         (hard_reg_preferences): Likewise.
11369         (hard_reg_copy_preferences): Likewise.
11370         (hard_reg_full_preferences): Likewise.
11371         (regs_someone_prefers): Likewise.
11372         (allocno_calls_crossed): Likewise.
11373         (allocno_n_refs): Likewise.
11374         (allocno_live_length): Likewise.
11375         (find_reg): Rename ALLOCNO to NUM.
11376
11377         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
11378         references updated.
11379         (may_move_out_cost): New variable.
11380         (init_reg_sets_1): Initialize may_move_out_cost.
11381         (record_reg_classes): Use may_move_out_cost.
11382
11383         * regclass.c (dump_regclass): New function.
11384         (regclass): New parameter DUMP, call DUMP_REGCLASS.
11385         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
11386         pass rtl_dump_file to regclass.
11387         * rtl.h (regclass): Update prototype.
11388
11389 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11390
11391         * i386.md (neg, not and abs patterns): Revmap to use
11392         ix86_expand_unary_operator and ix86_unary_operator_ok.
11393         (add?f and sub?f expanders): Force operand 1 to register.
11394         * i386.c (ix86_expand_unary_operator): Rewrite.
11395         (ix86_unary_operator_ok): Ensure that memory operands
11396         match real opcode.
11397         (ix86_binary_operator_ok): Do not allow operand 1 to
11398         come into memory and operand 0 not.
11399         (ix86_expand_binary_operator): Ensure that
11400         src1 is not non-matching memory.
11401
11402         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
11403         to support integer registers and memory.
11404         (abss?2_integer): Likewise.
11405
11406         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
11407         (REG_CLASS_NAMES): Likewise.
11408         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
11409         and GENERAL_REGS.
11410         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
11411         (movsf): Likewise; unify 4th and 5th alternative.
11412         (pushdf): Likewise.
11413         (movdf_1): Likewise; rename to movdf_integer.
11414         (pushxf): Likewise; rename to pushxf_integer; fix output template;
11415         remove redundant splitter.
11416         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
11417         (movdf_nointeger): New.
11418         (movxf_nointeger): New.
11419         (pushxf_nointeger): New.
11420
11421         * i386.md (extend?f?f): Split to expander and pattern, refuse two
11422         memory operands in patterns.
11423         (fop*): Refuse two memory operands.
11424
11425         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
11426         on !TARGET_USE_CLTD CPUs.
11427
11428 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
11429
11430         * extend.texi: Document C++ restricted pointers and references.
11431
11432 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
11433
11434         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
11435         (invalidate_skipped_set): Call it unconditionally.
11436         (cse_set_around_loop): Likewise.
11437
11438 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
11439
11440         * rtl.texi (mem): Add documentation for alias-set argument
11441         to RTX `mem'.
11442
11443 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11444
11445         * i386.h (struct_processor_costs): New fields int_load, int_store,
11446         fp_move, fp_load and fp_store
11447         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
11448         fp->int moves
11449         (MEMORY_MOVE_COST): New macro.
11450         * i386.c (386_cost): Define new fields.
11451         (i486_cost): Likewise.
11452         (pentium_cost): Likewise.
11453         (pentiumpro_cost): Likewise.
11454         (k6_cost): Likewise.
11455
11456 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
11457                           Geoffrey Keating  <geoffk@cygnus.com>
11458
11459         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
11460
11461         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
11462         MASK_ALIGN_INT.
11463
11464         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
11465         (TARGET_STRICT_ALIGNMENT): New macro.
11466         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
11467         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
11468         * invoke.texi (M680x0 Options): Document -mstrict-align.
11469
11470 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
11471                           Richard Henderson  <rth@cygnus.com>
11472
11473         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
11474         (ix86_split_long_move): Declare.
11475         * i386.c (split_xf, ix86_split_movdi): Remove.
11476         (ix86_split_to_parts, ix86_split_long_move): New.
11477         * i386.md (dimode move splitters): Use ix86_split_long_move.
11478         (dfmode move splitters): Likewise.
11479         (xfmode move splitters): Likewise.
11480         (movsf_1): Allow F->r.
11481         (movdf_1, movxf_1): Allow F->ro.
11482
11483 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
11484
11485         * except.h (struct eh_entry): Add goto_entry_p.
11486         (eh_region_from_symbol): Remove prototype.
11487         * except.c (find_func_region_from_symbol): New function.
11488         (emit_cleanup_handler): Likewise.
11489         (eh_region_from_symbol): Make it static.
11490         (add_new_handler): Verify the argument.
11491         (find_func_region): Update comment.
11492         (expand_eh_region_end): Expand handlers here, rater than waiting
11493         until expand_leftover_cleanups or start_all_catch.
11494         (expand_leftover_cleanups): Don't expand here.
11495         (expand_start_all_catch): Or here.
11496         (expand_rethrow): Check the return value from find_func_region.
11497         * function.c (expand_function_end): Emit the catch_clauses.
11498
11499 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
11500
11501         * integrate.c (expand_inline_function): Add necessary check for NULL.
11502
11503 1999-11-18  Nick Clifton  <nickc@cygnus.com>
11504
11505         * toplev.c (main): Correctly detect an unrecognised option.
11506
11507         * cppinit.c (cpp_handle_option): Do not claim to have consumed
11508         a -f option if it has not been recognised.
11509
11510 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
11511
11512         * basic-block.h (update_life_extent): Remove trailing comma on
11513         enumeration type list.
11514
11515 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11516
11517         * varasm.c (output_constructor) Solved problem with long long
11518         bitfields. Corrected calculating this_time and shift. Also
11519         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
11520
11521 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
11522
11523         * flow.c (split_edge): Take looping structure into account when
11524         determining where to put the new block note.
11525
11526 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
11527
11528         * Makefile.in (ggc-none.o): Provide host specific version if
11529         needed.
11530
11531 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
11532
11533         * cse.c (delete_trivially_dead_insns): Identify no-op insns
11534         containing subregs too.
11535
11536 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
11537
11538         * invoke.texi: Add documentation for -muninit-const-in-rodata.
11539         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
11540         (TARGET_UNINIT_CONST_IN_RODATA): Define.
11541         (text_section): Add switches -munint-const-in-rodata and
11542         -mno-uninit-const-in-rodata.
11543         (ASM_OUTPUT_COMMON): Remove.
11544         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
11545         const objects should be placed in read-only data. Otherwise declare
11546         them in common.
11547
11548 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
11549
11550         * jump.c (jump_optimize_1): Revert last change.
11551
11552 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
11553
11554         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
11555         test if optimizing for size.
11556
11557 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
11558
11559         * Makefile.in (toplev.o): Depend on except.h.
11560         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
11561
11562 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11563
11564         * i386.md (divmodsi4): Rewrite to expander.
11565         (*divmodsi4_nocltd): New.
11566         (*divmodsi4_cltd): New.
11567         (divmodsi4 splitter): Handle the case when input comes in edx.
11568         (udivmodhi4): Do not use constraints in exander.
11569         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
11570
11571 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
11572
11573         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
11574         for the common case.
11575
11576 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
11577
11578         * explow.c (hard_function_value): Add outgoing argument.
11579         * expr.h (hard_function_value): Declare it.
11580         * calls.c (expand_call, emit_library_call_value): Update callers.
11581         * function.c (aggregate_value_p): Ditto.
11582         (diddle_return_value): Must look at the outgoing registers
11583         on archs with register windows.
11584
11585 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
11586
11587         * alpha.c (alpha_build_va_list): Use make_lang_type and
11588         initialize TYPE_NAME for the va_list record.
11589
11590         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
11591
11592         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
11593         for printing.
11594         * ggc.h (struct ggc_statistics): Rearrange elements for better
11595         packing on 64-bit hosts.
11596         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
11597         (compute_nearerout): Likewise.
11598
11599 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
11600
11601         * config/rs6000/rs6000.c (first_reg_to_save): Save
11602         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
11603
11604 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
11605
11606         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
11607         notion of nesting to find the DIE for a type or function.
11608         DIEs can go in limbo even if we got a context_die.
11609         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
11610         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
11611         for local type.
11612         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
11613         (gen_type_die): Writing out the context doesn't cause member class
11614         template instantiations to be written out as well.
11615
11616 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
11617
11618         * rs6000.h (ASM_OUTPUT_DEF): New.
11619         Based on proposed addition from David Edelsohn.
11620
11621 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
11622             Bruce Korb  <autogen@linuxbox.com>
11623
11624         * fixinc/inclhack.def
11625         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
11626         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
11627                 in net/inet.h.
11628         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
11629         (svr4_endian): enabled with SVR5
11630         (svr4_mkdev): simplified syntax and enabled with SVR5
11631
11632 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
11633
11634         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
11635         * configure: Rebuilt.
11636         * config/t-freebsd-thread: New file.
11637
11638 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
11639
11640         * i386.c (ix86_decompose_address): Verify the base is a REG
11641         before trying to examine its register number.
11642
11643         * basic-block.h: Remove all #defines and prototypes related to
11644         integer lists.
11645         (free_bb_mem, compute_preds_succs): Remove prototype.
11646         * rtl.h (free_bb_mem): Remove prototype.
11647         * flow.c (alloc_int_list_node); Remove function.
11648         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
11649         (compute_preds_succs, free_bb_mem): Likewise.
11650         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
11651         * toplev.c (rest_of_compilation): Likewise.
11652         * haifa-sched.c (build_control_flow): Use flow generated edge
11653         list to build the haifa specific edge list.
11654         (find_rgns): Use new CFG data structures instead of pred/succ lists.
11655         (schedule_insns): Do not build pred/succ lists anymore.  Instead
11656         build the edge table.
11657
11658         * basic-block.h (dump_bb_data): Remove declaration.
11659         * flow.c (dump_bb_data): Remove function.
11660         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
11661         (sbitmap_union_of_predsucc): Likewise.
11662
11663         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
11664         argument.  All callers changed.
11665         (delete_null_pointer_checks_1): No longer need to compute the
11666         pred/succ lists.
11667
11668         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
11669         All callers changed.
11670         (pre_expr_reaches_here_p_work): Likewise.
11671         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
11672         * lcm.c (compute_laterin): Fix initialization of LATER.
11673         (compute_nearerout): Similarly for NEARER.
11674
11675 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11676
11677         * cse.c (set_nonvarying_address_components): Delete unused function.
11678         (refers_to_p): Likewise.
11679
11680 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
11681
11682         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
11683         needed.
11684
11685 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11686
11687         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
11688         definition in do while (0).
11689
11690 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
11691
11692         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
11693
11694 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
11695
11696         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
11697
11698 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
11699
11700         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
11701         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
11702         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
11703         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
11704
11705         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
11706         saved on the stack.  Output more accurate stack frame statistics
11707         into assembler file.
11708
11709 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
11710
11711         * genextract.c (record_insn_name): New function.
11712         (get_insn_name): No longer a stub.
11713         (main): Call record_insn_name for each insn.  After each label
11714         written, print the insn name in a comment.
11715
11716 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11717
11718         * output.h (const_section, init_section, fini_section): Add
11719         prototypes.
11720
11721         * alpha/elf.h (const_section): Delete declaration.
11722
11723         * svr4.h (const_section): Likewise.
11724
11725 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
11726
11727         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
11728         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
11729         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
11730         expressions.
11731         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
11732         variable-sized array bounds.
11733
11734 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
11735
11736         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
11737         ASM_OUTPUT_LABEL.
11738
11739 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11740
11741         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
11742         addresses the same way GO_IF_LEGITIMATE_INDEX does.
11743
11744 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11745
11746         * cse.c (hash_arg_in_struct): Delete.
11747         (struct table_elt): Delete elt in_struct.
11748         (struct set): Delete elt src_in_struct.
11749         (merge_equiv_classes): Don't set either hash_arg_in_struct or
11750         the corresponding in_struct elts.
11751         (canon_hash): Likewise.
11752         (safe_hash): Likewise.
11753         (find_best_addr): Likewise.
11754         (record_jump_cond): Likewise.
11755         (cse_insn): Likewise.
11756
11757 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
11758
11759         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
11760
11761         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
11762         unsigned types.
11763
11764 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
11765
11766         * function.c (diddle_return_value): Put back check that the DECL_RTL
11767         for the function is a register.
11768
11769         * function.c (diddle_return_value): Use hard_function_value to
11770         get an rtx suitable for use in the USE/CLOBBER insn.
11771
11772         * global.c (global_conflicts): Update comments.
11773         (record_conflicts): No need to record conflicts between pseudos here.
11774
11775 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
11776
11777         * fixinc/fixincl.c: Added verbose levels for status messages
11778
11779 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11780
11781         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
11782         operand as argument to expand_and or expand_binop.
11783
11784 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
11785
11786         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
11787         gcc_add_string_root.
11788
11789 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
11790
11791         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
11792
11793 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
11794
11795         * flow.c (compute_flow_dominators): Initially put all blocks on
11796         the worklist.
11797         * lcm.c (compute_antinout_edge, compute_available): Similarly.
11798         * gcse.c (compute_cprop_avinout): Remove.
11799         (compute_cprop_data): Use compute_available.
11800         (delete_null_pointer_checks_1): Use compute_available.
11801
11802         * basic-block.h (compute_available): Returns a void now.
11803         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
11804         to return a value anymore.
11805         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
11806         worklists.  Fix boundary cases. Compute maximal solutions.
11807         (compute_laterin, compute_nearerout): Similarly.
11808
11809         * dwarf2out.c (add_AT_location_description): Allow
11810         (mem (plus (pseudo) (...)) too.
11811
11812 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
11813
11814         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
11815
11816 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
11817                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11818
11819         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
11820
11821         * gansidecl.h: Likewise.
11822
11823         * rtl.c: Likewise.
11824
11825         * rtl.h: Likewise.
11826
11827         * toplev.h: Likewise.
11828
11829         * tree.c: Likewise.
11830
11831         * tree.h: Likewise.
11832
11833         * varray.c: Likewise.
11834
11835         * varray.h: Likewise.
11836
11837 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
11838
11839         * gcov.c (struct arcdata): Add hits and total, remove prob.
11840         (output_branch_counts): New.
11841         (process_args): Set output_branch_counts if -c.
11842         (calculate_branch_probs): Store hits and total instead of
11843         percentage.
11844         (output_data): Emit counts if output_branch_counts is true.
11845         * gcov.texi (Invoking Gcov): Document -c switch..
11846
11847 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
11848
11849         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
11850         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
11851
11852 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
11853
11854         * invoke.texi (C Dialect Options): Add missing builtins from
11855         c-common.c to list.
11856         * extend.texi (Other Builtins): Copy to this list.
11857
11858 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11859
11860         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
11861         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
11862         redundant bitmap.h.
11863
11864 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
11865
11866         * flow.c (compute_flow_dominators): No longer treat basic block 0
11867         or (n_basic_blocks - 1) specially.  Clear the AUX field before
11868         starting computation of doms/pdoms.  Fix initial state for pdoms.
11869
11870 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11871
11872         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
11873         match rtl.o's: added ggc.h and toplev.h
11874         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
11875         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
11876         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
11877
11878 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
11879
11880         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
11881         from HAVE_DOS_BASED_FILESYSTEM.
11882         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
11883         HAVE_DOS_BASED_FILESYSTEM.
11884         (main): Likewise.
11885         (split_directories): Only special-case DOS file names if
11886         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
11887         instead of explicit tests.  Conditionalize on !VMS.
11888         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
11889         tests.  Conditionalize on !VMS.
11890         (process_command): Only use make_relative_prefix if !VMS.
11891         (free_split_directories): Conditionalize on !VMS.
11892         (DIR_UP): Conditionalize on !VMS.
11893
11894 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11895
11896         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
11897
11898 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11899
11900         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
11901         case.
11902
11903 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
11904
11905         * invoke.texi (Environment Variables): Document relative path
11906         lookup.
11907         * gcc.c (DIR_UP): If not defined, define as "..".
11908         (standard_bindir_prefix): New static, holds target location to
11909         install binaries.
11910         (split_directories): New function to split a filename into
11911         component directories.
11912         (free_split_directories): New function, release memory allocated
11913         by split_directories.
11914         (make_relative_prefix): New function, make a relative pathname if
11915         the compiler is not in the expected location.
11916         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
11917         can figure out an appropriate prefix from argv[0].
11918         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
11919         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
11920         STANDARD_BINDIR_PREFIX.
11921
11922 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11923
11924         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
11925         in c4x.c.
11926         * config/c4x/c4x.h: Moved prototypes to c4x.h.
11927         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
11928         c4x_secondary_memory_needed) Delete.
11929         (fp_zero_operand): Add mode argument.
11930
11931 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
11932
11933         * reload1.c (reload_reg_free_for_value_p): Don't use a register
11934         that is in reload_reg_used.
11935
11936 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
11937
11938         * config/arm/arm-protos.h: New file: Prototypes for functions
11939         defined in arm.c and pe.c.
11940         * config/arm/arm.h: Fix compile time warnings.
11941         * config/arm/arm.c: Fix compile time warnings.
11942         * config/arm/pe.h: Fix compile time warnings.
11943         * config/arm/aout.h: Fix compile time warnings.
11944
11945 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
11946
11947         * config/m32r/m32r-protos.h: New file: Prototypes for functions
11948         defined in m32r.c
11949
11950         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
11951         Add support for subtargets.
11952         Add prototypes for new predicates.
11953         Add scheduling macros.
11954
11955         * config/m32r/m32r.c: Fix compile time warnings.
11956         (int8_operand): New predicate function.
11957         (reg_or_cmp_int16_operand): New predicate function.
11958         (extend_operand): New predicate function.
11959         (m32r_adjust_code): New scheduling function.
11960         (m32r_adjust_priorty): New scheduling function.
11961         (m32r_sched_init): New scheduling function.
11962         (m32r_sched_reorder): New scheduling function.
11963         (m32r_sched_variable_issue): New scheduling function.
11964         (direct_return): New codegen function.
11965         (m32r_not_same_reg): New rtl testsing function.
11966
11967         * config/m32r/m32r.md: Fix compile time warnings.
11968         Add support for pre decrement and post increment memory
11969         references.
11970         Add S<cc> patterns.
11971         Add fabs patterns.
11972
11973 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11974
11975         * global.c (EXECUTE_IF_CONFLICT): Don't define.
11976         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
11977         (find_reg): Likewise.
11978
11979 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
11980
11981         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
11982         to avoid assembler errors.
11983
11984 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
11985
11986         * config/v850/v850-protos.h: New file: Prototypes for functions
11987         defined in v850.c
11988         * config/v850/v850.h: Move prototypes to v850-protos.h
11989         * config/v850/v850.c: Move prototypes to v850-protos.h
11990         * config/v850/v850.md: Fix compile time warnings.
11991
11992         * config/fr30/fr30-protos.h: New file: Prototypes for functions
11993         defined in fr30.c
11994         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
11995         * config/fr30/fr30.c: Fix compile time warnings.
11996         * config/fr30/fr30.md: Fix compile time warnings.
11997
11998 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
11999
12000         * tree.h (get_containing_scope): Declare it.
12001         * tree.c (get_containing_scope): New fucntion.
12002         (decl_function_context): Use it.
12003         * toplev.c (rest_of_compilation): Use get_containing_scope.
12004
12005 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12006
12007         * Makefile.in (rtl.o): Depend on toplev.h.
12008
12009 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
12010
12011         * cse.c (delete_trivially_dead_insns): Replace alloca with
12012         xmalloc/xcalloc.
12013         * except.c (update_rethrow_references): Likewise.
12014         (init_eh_nesting_info): Likewise.
12015         * function.c (identify_blocks): Likewise.
12016         * gcse.c (dump_hash_table): Likewise.
12017         * graph.c (print_rtl_graph_with_bb): Likewise.
12018         * loop.c (combine_movables): Likewise.
12019         (move_movables): Likewise.
12020         (count_loop_regs_set): Likewise.
12021         (strength_reduce): Likewise.
12022         * profile.c (compute_branch_probabilities): New function, split
12023         out from ...
12024         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
12025         * regclass.c (regclass): Likewise.
12026         * regmove.c (regmove_optimize): Likewise.
12027         * toplev.c (compile_file): Likewise.
12028         (main): Don't mess with the stack rlimit.
12029
12030 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
12031
12032         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
12033         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
12034
12035 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
12036
12037         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
12038
12039 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
12040
12041         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
12042         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
12043         macro expansion.
12044
12045 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
12046
12047         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
12048
12049 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
12050
12051         * gcse.c (post_dominators): Kill.
12052         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
12053         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
12054         pass in a pdom array since we do not need pdoms.
12055         * haifa-sched.c (schedule_insns): Similarly.
12056         * flow.c (compute_dominators): Remove dead function.
12057         (compute_flow_dominators): Do not compute doms or pdoms if the
12058         caller does not request them.  Split up loop to build doms and
12059         pdoms.  Use a worklist to compute doms and pdoms.
12060         * basic-block.h (compute_dominators): Remove prototype.
12061
12062 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
12063
12064         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
12065         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
12066         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
12067         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
12068         (cant_move, fed_by_spec_load, is_load_insn): Remove.
12069         (schedule_region): Remove unused variable.
12070         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
12071
12072 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
12073
12074         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
12075         (update_equiv_regs): Likewise.
12076         (block_alloc): Likewise.
12077         * reg-stack.c (reg_to_stack): Likewise.
12078         (convert_regs_2): Likewise.
12079         * reload1.c (reload_as_needed): Likewise.
12080
12081 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
12082
12083         * Makefile.in (dbxout.o): Depend on ggc.h.
12084         (dwarf2out.o): Likewise.
12085         (xcoffout.o): Likewise.
12086         * dbxout.c: Include ggc.h.
12087         (dbxout_init): Register lastfile as a root.
12088         * dwarf2out.c: Include ggc.h.
12089         (dwarf2out_line): Register lastfile as a root.
12090         * xcoffout.c: Include ggc.h.
12091         (xcoffout_source_line): Register xcoff_lastfile as a root.
12092
12093 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
12094
12095         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
12096
12097 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
12098
12099         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
12100         defined.
12101         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
12102
12103 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12104
12105         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
12106         (EXECUTE_IF_CONFLICT): Likewise.
12107         (ALLOCNO_LIVE_P): Avoid signed division.
12108         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
12109         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
12110         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
12111
12112 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
12113
12114         * haifa-sched.c (schedule_block): Don't crash if there's no
12115         next insn for an interblock movement.
12116         (add_branch_dependences): Don't allow clobber insns to move either.
12117
12118 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
12119
12120         * i386.c (split_xf): New.
12121         * i386-protos.h: Declare it.
12122         * i386.md (movxf_1): Add general regs alternatives.
12123         (movxf_1+1): New splitter for same.
12124
12125 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
12126
12127         * function.c (purge_addressof_1): Add missing return values.
12128
12129 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
12130
12131         * function.c (is_addressof): New function.  Returns true if
12132         the given piece of RTL is an ADDRESSOF.
12133         (purge_addressof_1): Make boolean.  Return false if the
12134         ADDRESSOFs could not be purged.
12135         (purge_addressof): If ADDRESSOFs could not be purged from the
12136         notes attached to an insn, remove the offending note(s),
12137         unless they are attached to a libcall.
12138
12139 1999-11-05  Andreas Jaeger  <aj@suse.de>
12140
12141         * genoutput.c (null_operand =): Initialize all fields.
12142
12143         * errors.h: Add extern to prototypes.
12144
12145 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
12146
12147         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
12148         * configure: Rebuilt.
12149
12150 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12151
12152         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
12153         (mirror_conflicts): New function.
12154         (global_alloc): Call it.
12155         (expand_preferences): Remove redundant CONFLICTP test.
12156         (find_reg, dump_conflicts): Likewise.
12157         (prune_preferences): Process conflicts one word at a time.
12158
12159 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
12160
12161         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
12162         instead of an explicit loop.
12163
12164 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
12165
12166         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
12167         if REG_RETVAL check succeeds, then put classp in src_elt.
12168
12169 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
12170
12171         * function.c (pad_to_arg_alignment): Only update argument_pad
12172         if the argument's alignment is greater than STACK_BOUNDARY.
12173
12174 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
12175
12176         * bitmap.h (BITMAP_XFREE): New.
12177         * flow.c (life_analysis): Use it.
12178         (life_analysis_1): Free blocks.
12179
12180         * combine.c (undo_commit): New.
12181         (try_combine): Use it.  Don't zap undobuf.undos.
12182         (combine_instructions): Don't zap undobuf.undos; free the
12183         undobuf.frees list.
12184
12185         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
12186
12187         * stmt.c (cost_table_): New.
12188         (estimate_case_costs): Use it instead of xmalloc.
12189
12190         * toplev.c (compile_file): Reuse dumpname memory instead
12191         of strdup'ing it.
12192
12193 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
12194
12195         * reg-stack.c (convert_regs_1): Initialize target_stack->top
12196         after verifying an EH edge.
12197
12198         * haifa-sched.c (init_rgn_data_dependences): Correctly
12199         size bb_pending_lists_length when zeroing.
12200
12201 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
12202
12203         * function.c (diddle_return_value): New.
12204         (expand_function_end): Use it.
12205         * stmt.c (expand_null_return): Likewise.
12206         (expand_value_return): Likewise.
12207
12208         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
12209
12210         * reload1.c (reload): Don't remove return value clobbers.
12211
12212 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
12213
12214         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
12215
12216 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
12217
12218         * cse.c (cse_main): Use xmalloc, not alloca.
12219         (cse_basic_block): Likewise.
12220         * local-alloc.c (local_alloc): Likewise.
12221
12222 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
12223                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12224
12225         * rtl.c: Include toplev.h.
12226         (fatal): Remove declaration.
12227
12228 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
12229
12230         * haifa-sched.c (schedule_block): Fix thinko.
12231
12232 1999-11-03  James McKelvey <mckelvey@fafnir.com>
12233
12234         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
12235         S_IR* defined values
12236
12237 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
12238
12239         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
12240         call `malloc' instead.
12241
12242 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
12243
12244         * flags.h (flag_renumber_insns): Declare.
12245         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
12246         renumbering table.
12247         * rtl.h (renumber_insns): Change prototype.
12248         * toplev.c (flag_renumber_insns): Define.
12249         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
12250
12251 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
12252
12253         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
12254         and fpsqrtd.  Use them and create fdiv function unit to more
12255         accurately represent fpu sqrt pipeline semantics on UltraSparc.
12256         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
12257
12258 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
12259
12260         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
12261         3 on UltraSparc.
12262         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
12263         insn into ready list, do not use just a raw swap.
12264
12265 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
12266
12267         * rtl.h (renumber_insns): New function.
12268         (remove_unnecessary_notes): Likewise.
12269         * emit-rtl.c (renumber_insns): Define.
12270         (remove_unncessary_notes): Likewise.
12271         * toplev.c (rest_of_compilation): Remove dead code.
12272         Use renumber_insns and remove_unncessary_notes.
12273
12274         * gcse.c (struct null_pointer_info): New type.
12275         (get_bitmap_width): New function.
12276         (current_block): Remove.
12277         (nonnull_local): Likewise.
12278         (nonnull_killed): Likewise.
12279         (invalidate_nonnull_info): Take a null_pointer_info as input.
12280         (delete_null_pointer_checks_1): New function.
12281         (delete_null_pointer_checks): Use it.
12282
12283         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
12284         (split_edges): Likewise.
12285         (schedule_block): Likewise.
12286         (compute_block_backward_dependencies): Likewise.
12287         (schedule_region): Likewise.
12288         (schedule_insns): Likewise.
12289
12290 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
12291
12292         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
12293         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
12294         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
12295         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
12296         * jump.c (delete_unreferenced_labels): Don't delete if
12297         LABEL_ALTERNATE_NAME is set.
12298         * print-rtl.c (print_rtx): Dump alternate name.
12299         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
12300         * rtl.h (LABEL_ALTERNATE_NAME): Define.
12301         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
12302         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
12303
12304 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12305
12306         * fix-header.c (recognized_extern, recognized_function): Constify
12307         a char*.
12308
12309         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
12310         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
12311         (compute_available): Remove unused variable `last'.
12312         (compute_nearerout): Remove unused variable `temp_bitmap'.
12313         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
12314         Remove unused variable `x'.
12315
12316         * scan.h (recognized_function, recognized_extern): Constify a
12317         char*.
12318
12319         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
12320
12321 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12322
12323         * varasm.c (decode_rtx_const): Use XSTR to access the string
12324         of a SYMBOL_REF.
12325
12326 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
12327
12328         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
12329
12330 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12331
12332         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
12333
12334 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
12335
12336         * pa.c (ireg_operand): New function.
12337         * pa.h (PREDICATE_CODES): Handle ireg_operand.
12338         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
12339         Fix out of date comment.
12340
12341         * pa.md (negdi2): Turn into expander + anonymous pattern.
12342
12343         * reload.c (find_reloads): Fix typos in recent change.
12344
12345         * dwarf2out.c: Do not include ctype.h.
12346
12347 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12348
12349         * regclass.c (record_reg_classes): Always use may_move_cost when
12350         seeing how operand fits with various register classes.
12351
12352 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
12353
12354         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
12355         * toplev.c: Revert Nov 1 13:22 change.
12356
12357 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
12358
12359         * config/pa/pa.md (height reduction patterns): Add checks for
12360         overlapping operands to avoid semantic-destroying splits for
12361         height reduction patterns.
12362
12363 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12364
12365         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
12366         have been an hyphen, fixed.
12367         * configure: Rebuilt.
12368
12369 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
12370
12371         * config/arm/tpe.h: Add prototypes for exported functions.
12372         * config/arm/pe.c: Fix compile time warnings.
12373         * config/arm/semi.h: Fix compile time warnings.
12374         * config/arm/arm.c: Fix compile time warnings.
12375         * config/arm/arm.h: Fix compile time warnings.
12376         * config/arm/arm.md: Fix compile time warnings.
12377         * config/arm/thumb.c: Fix compile time warnings.
12378         * config/arm/thumb.h: Fix compile time warnings.
12379         * config/arm/thumb.md: Fix compile time warnings.
12380
12381 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
12382
12383         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
12384         detection code
12385
12386         * unroll.c (unroll_loop): Remove LOOP notes when loop is
12387         completely unrolled.
12388
12389 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12390
12391         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
12392
12393 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
12394
12395         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
12396         * rtl.h (rtx_equal_p): Move prototype.
12397         * rtl.c (rtx_equal_function_value_matters): Move from
12398         rtlanal.c
12399         (rtx_equal_p): Likewise.
12400         * rtlanal.c (rtx_equal_function_value_matters): Delete.
12401         (rtx_equal_p): Likewise.
12402
12403 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
12404
12405         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
12406         ! HAS_INIT_SECTION.
12407
12408 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
12409
12410         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
12411
12412         * pa.h (ADDR_VEC_ALIGN): Define.
12413
12414         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
12415         notes when presented with "if (foo) break; end_of_loop" and
12416         the break sequence gets moved out of the loop.
12417
12418         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
12419         Remove explicit zero initializations of entries within MAP.
12420
12421 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
12422
12423         * reg-stack.c (convert_regs_1): Handle EH edges specially.
12424
12425 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
12426
12427         * bitmap.h (BITMAP_XMALLOC): New macro.
12428         * flow.c (CLEAN_ALLOCA): Remove.
12429         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
12430         (life_analysis): Likewise.
12431         (update_life_info): Don't use CLEAN_ALLOCA.
12432         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
12433         (calculate_global_regs_live): Likewise.
12434         (print_rtl_with_bb): Likewise.
12435         (verify_flow_info): Likewise.
12436         * global.c (global_alloc): Likewise.
12437         (global_conflicts): Likewise.
12438         * integrate.c (save_for_inline_nocopy): Likewise.
12439         (expand_inline_function): Likewise.
12440         * jump.c (jump_optimize_1): Likewise.
12441         (duplicate_loop_exit_test): Likewise.
12442         (thread_jumps): Likewise.
12443         * loop.c (loop_optimize): Likewise.
12444         (combine_givs): Likewise.
12445         (recombine_givs): Likewise.
12446         * reorg.c (dbr_schedule): Likewise.
12447         * unroll.c (unroll_loop): Likewise.
12448
12449         * combine.c (combine_instructions): Use xmalloc instead of alloca.
12450
12451 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
12452
12453         * toplev.c (rest_of_compilation): Don't optimize the CFG
12454         when rebuilding, just before dbr.
12455
12456 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12457
12458         * output.h (assemble_end_function, assemble_destructor,
12459         assemble_constructor, assemble_gc_entry, assemble_global,
12460         assemble_label, output_constant_pool) Constify a char*.
12461
12462         * varasm.c (assemble_destructor, assemble_constructor,
12463         assemble_gc_entry, assemble_end_function, assemble_global,
12464         assemble_label, output_constant_pool): Likewise.
12465
12466 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
12467
12468         * config/arm/thumb.c (thumb_expand_prologue): Add comments
12469         explaining what is goin on in this function.
12470
12471 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12472
12473         * regclass.c (record_reg_classes): In matching case, recompute
12474         costs since the direction of movement is different.
12475
12476 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
12477
12478         * resource.c (mark_target_live_regs): For unconditional branches,
12479         the resources found at the branch target should be added to the
12480         resources found so far, not intersected.
12481
12482 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
12483
12484         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
12485         old cpp's.
12486         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
12487         (sys/mman.h): Include this file only if #HAVE_MMAP.
12488         (run_compiles): Initialize `esac_fmt' with one old KR string, not
12489         with automatically concatenated ANSI strings.
12490
12491 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
12492
12493         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
12494         (DIV_ROUND_UP): Robustify.
12495         (ggc_recalculate_in_use_p): New function.
12496         (release_pages): Don't inline it.
12497         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
12498         outer contexts.
12499         (ggc_pop_context): Use ggc_recalculate_in_use_p.
12500         (clear_marks): Always save in_use_p.
12501         (sweep_pages): Use ggc_recalculate_in_use_p.
12502         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
12503         Release pages before counting statistics.
12504
12505 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
12506
12507         * toplev.c (rest_of_compilation): Fix thinko in this change:
12508
12509         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
12510
12511         (rest_of_compilation): If inside an inlined external function,
12512         pretend we are just being declared.
12513
12514 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
12515
12516         * flow.c (calculate_global_regs_live): Fix thinko.
12517
12518         * integrate.c (expand_inline_function): Fix bugs in previous
12519         change from Oct 28, 1999.
12520
12521 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
12522
12523         * stmt.c (expand_value_return): Fix typo in this change:
12524
12525         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12526         (expand_value_return): Correctly convert VAL when promoting function
12527         return; support RETURN_REG being a PARALLEL.
12528
12529 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
12530
12531         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
12532
12533 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12534
12535         * hard-reg-set.h (reg_names): Constify a char*.
12536
12537         * regclass.c  (reg_names): Likewise.
12538
12539         * regs.h (reg_names): Likewise
12540
12541         * a29k/a29k.c (reg_names): Delete declaration.
12542
12543         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
12544
12545         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
12546         arc_output_function_epilogue): Likewise.
12547
12548         * elxsi/elxsi.c (reg_names): Likewise.
12549
12550         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
12551
12552         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
12553         Likewise.
12554
12555         * m88k/m88k.c (output_function_profiler): Likewise.
12556
12557         * sparc/sparc.c (sparc_flat_output_function_prologue,
12558         sparc_flat_output_function_epilogue): Likewise.
12559
12560 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
12561
12562         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
12563         warning from -Wuninitialized and put it under -W.
12564         * function.c (uninitialized_vars_warning): Warn only when the
12565         corresponding flag is set.
12566
12567 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
12568
12569         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
12570         is nonzero and the single set does not have an elt, then assign
12571         it an elt.
12572
12573         * simplify-rtx.c: New file.
12574         * Makefile.in (OBJS): Add simplify-rtx.o
12575         (simplify-rtx.o): Add dependencies.
12576         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
12577         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
12578         (cse_gen_binary, simplify_unary_operation): Delete.
12579         (simplify_binary_operation, simplify_plus_minus): Likewise.
12580         (check_fold_consts, simplify_relation_operation): Likewise.
12581         (simplify_ternary_operation): Likewise.
12582         (delete_trivially_dead_insns): Simplify the contents of the
12583         REG_EQUAL note before trying to substitute it into the source
12584         of the reg-reg copy at the end of a libcall sequence.
12585
12586         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
12587         references/callers changed.
12588
12589         * mn10200.c (mn10200_va_arg): Force the return value into a
12590         register.
12591
12592         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
12593
12594         * cccp.c (macroexpand): Avoid out of range accesses for omitted
12595         arguments.
12596
12597 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
12598
12599         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
12600
12601 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
12602
12603         * fold-const.c (fold): Fix thinko when optimizing comparisons
12604         against -0.0.
12605
12606 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
12607
12608         * gcc.texi (Passes): Update front-end files to their current
12609         location.
12610
12611 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
12612
12613         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
12614         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
12615         (PREDICATE_CODES): Add addition_operation.
12616         * alpha-protos.h (addition_operation): Declare.
12617         (secondary_reload_class): Likewise.
12618         * alpha.c (addition_operation): New.
12619         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
12620         * alpha.md (adddi3): Turn into expander.
12621         (*lda, *adddi_2): New.
12622         (movsf, movdf patterns): Don't preference integer regs.
12623         (movsi, movdi patterns): Don't preference fp regs.
12624
12625 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
12626
12627         * genrecog.c (write_switch): Check for duplicate CODE cases.
12628
12629 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
12630
12631         * ggc-common.c: Update pre-function commentary.
12632         * ggc-page.c: Likewise.
12633         (poison): Remove.
12634         (poison_pages): Use memset directly.
12635         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
12636         (ggc_collect): Poison before sweeping.
12637         * ggc-simple.c: Update pre-function commentary.
12638         (ggc_alloc_obj): Poison non-zeroed memory.
12639
12640 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
12641
12642         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
12643         match format string, even on 64-bit hosts.
12644         * gcc-page.c (ggc_page_print_statistics): Likewise.
12645
12646 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
12647
12648         * config/i386/i386.c (ix86_cpu): Revert last patch.
12649         * config/i386/i386.h (ix86_cpu): Ditto.
12650
12651 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
12652
12653         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
12654         TYPE_SIZE, convert type of result to sizetype.
12655
12656 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
12657
12658         * flow.c (count_or_remove_death_notes): Equate NULL with the
12659         universal set.
12660
12661         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
12662         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
12663         dbr_schedule.
12664
12665         * i386.c (pic_label_no): Delete.
12666         (ix86_attr_length_default): Don't use single_set to peek
12667         inside a parallel.
12668
12669         * recog.c (peephole2_optimize): Allow recog_next_insn to index
12670         the first insn after bb->end.
12671         * i386.md (push mem peeps): Scratch is live after evaluation
12672         of the memory.
12673         (cmp mem peep): Similarly.
12674
12675 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
12676
12677         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
12678         * function.c (pad_to_arg_alignment): Add missing braces.
12679
12680 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12681
12682         * alpha/alpha-protos.h (literal_section): Add prototype.
12683         (alpha_need_linkage, alpha_start_function,alpha_end_function):
12684         Constify a char*.
12685
12686         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
12687         prototype.
12688         (alpha_start_function, alpha_end_function, float_strings,
12689         alpha_need_linkage): Constify a char*
12690
12691         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
12692
12693         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
12694
12695         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12696
12697         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
12698
12699 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12700
12701         * flow.c (debug_flow_info): Add prototype.
12702
12703         * gcc.c (main): Likewise.
12704
12705         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
12706         Likewise.
12707
12708         * reload1.c (failed_reload, set_reload_reg): Likewise.
12709
12710         * mips-tfile.c (main): Likewise.
12711         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
12712         with ATTRIBUTE_NORETURN.
12713
12714 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
12715
12716         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
12717         DECL is not a memory ref.
12718
12719 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
12720
12721         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
12722         * config/i386/i386.c (ix86_cpu): Add extern attribute.
12723
12724 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
12725
12726         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
12727         * config/mips/elf64.h: ditto.
12728
12729 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
12730
12731         * expr.c (emit_push_insn): New argument alignment_pad.
12732         Update all callers.  Adjust stack pointer based on alignment pad.
12733         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
12734         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
12735         (locate_and_pad_parm): New argument alignment_pad.  Update all
12736         callers.
12737         * expr.h (emit_push_insn): Update prototype.
12738         (locate_and_pad_parm): Update prototype.
12739         * calls.c (arg_data):  Add new field alignment_pad.
12740         (initialize_argument_information): Initialize alignment_pad.
12741
12742 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
12743
12744         * except.c (free_eh_nesting_info): Free the info itself.
12745         * function.c (free_after_compilation): Don't free NULL.
12746         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
12747         (pre_edge_insert): Free inserted.
12748         * stmt.c (free_stmt_status): Don't free NULL.
12749
12750 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
12751
12752         * gcov.c (DIR_SEPARATOR): Provide default.
12753         (output_data): Add test for MS-DOS format absolute filename.
12754         (fancy_abort): Correct program name.
12755         (open_files): Open all files in binary mode.
12756         * libgcc2.c (__bb_exit_func): Likewise.
12757
12758         * profile.c (init_branch_prob): Specify binary when opening files.
12759
12760         * flags.h (flag_unwind_tables): New decl.
12761         * toplev.c (flag_unwind_table): New definition.
12762         (f_options): Add -funwind-tables.
12763         (decode_g_option): Clarify warning when unknown -g option is given.
12764         (rest_of_compilation): If inside an inlined external function,
12765         pretend we are just being declared.
12766
12767         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
12768         (dwarf2out_frame_finish): Likewise.
12769
12770 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
12771
12772         * fold-const.c (merge_ranges): If not in0, but in1, handle
12773         upper bounds equal like subset case.
12774
12775 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
12776
12777         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
12778         passed in a register but moved to the stack.
12779
12780 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
12781
12782         * gcc.c (pass_exit_codes, greatest_status): New variables.
12783         (struct option_map): Add entry for "--pass-exit-codes".
12784         (execute): Update greatest_status if error.
12785         (display_help): Add documentation for -pass-exit-codes.
12786         (process_command): Handle -pass-exit-codes.
12787         (main): Look at pass_exit_codes and greatest_status on call to exit.
12788
12789 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12790
12791         * reload.c (find_reloads): Refine test for no input reload
12792         case to not includes reloads emitted after insn.
12793
12794         * function.c (find_temp_slots_from_address): Handle sum involving
12795         a register that points to a temp slot.
12796         (update_temp_slot_address): Make recursive call if both old and
12797         new are PLUS with a common operand.
12798         * calls.c (expand_call): Mark temp slot for result as having
12799         address taken.
12800
12801         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
12802
12803         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
12804         component as well as "BINUTILS".
12805
12806         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
12807         * integrate.c (copy_rtx_and_substitute): Likewise.
12808         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
12809         All callers changed.
12810         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
12811
12812         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
12813         gdb extensions, write size of type; also be more consistent
12814         in using references when this is a subtype.
12815
12816         * pa.md (extv, extzv, insv): Use define_expand to reject constant
12817         that is out of range.
12818
12819         * loop.c (unknown_constant_address_altered): New variable.
12820         (prescan_loop): Initialize it.
12821         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
12822         (invariant_p, case MEM): Remove handling for volatile and readonly;
12823         check new variable if readonly.
12824         (check_dbra_loop): Chdeck unknown_constant_address_altered.
12825
12826         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
12827         (addr_affects_sp_p): Removed from note_mem_written and only
12828         define #ifdef AUTO_INC_DEC.
12829
12830         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
12831
12832         * regclass.c (record_reg_classes): Properly handle register move
12833         directions.
12834
12835         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
12836         Don't think valid if both operands are invalid.
12837         (struct constant_descriptor): New field RTL.
12838         (mark_const_hash_entry): Mark it.
12839         (record_constant{,_rtx}): Initialize it.
12840         (output_constant_def): Allocate RTL in permanent obstack and
12841         save in table.
12842         ({record,compare}_constant_1): Modes must match for
12843         CONSTRUCTOR of ARRAY_TYPE.
12844
12845         * c-common.h (initializer_constant_valid_p): Delete decl from here.
12846         * output.h (initializer_constant_valid_p): Move decl to here.
12847         * c-common.c (initializer_constant_valid_p): Delete function from here.
12848         * varasm.c (initializer_constant_valid_p): Move function to here.
12849
12850         * tree.h (STRIP_SIGN_NOPS): New macro.
12851         * fold-const.c (optimize_minmax_comparison): New function.
12852         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
12853         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
12854         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
12855         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
12856         widening conversions.
12857         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
12858         to look at size of mode, not precision of type; also add missing cases.
12859         (optimize_bit_field_compare, decode_field_reference): Don't try to
12860         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
12861
12862         * dwarf2out.c (ctype.h): Include.
12863         (dwarf2out_set_demangle_name_func): New function.
12864         (size_of_line_info): Deleted.
12865         (output_line_info): Compute size of line info table from difference
12866         of labels.
12867         (base_type_die, add_name_attribute): Call demangle function, if any.
12868         (field_byte_offset): Use bits per word for variable length fields.
12869         (gen_array_type_die): Add array name.
12870         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
12871         (dwarf2out_add_library_unit_info): New function.
12872
12873         * explow.c (set_stack_check_libfunc): New function.
12874         (stack_check_libfunc): New static variable.
12875         (probe_stack_range): Allow front-end to set up a libfunc to call.
12876
12877         * combine.c (simplify_comparison): When making comparison in wider
12878         mode, check for having commuted an AND and a SUBREG.
12879         (contains_muldiv): New function.
12880         (try_combine): Call it when dividing a PARALLEL.
12881         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
12882         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
12883         a PLUS.
12884         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
12885         use one of the CLOBBERs instead.
12886         (if_then_else_cond): If comparing against zero, just return thing
12887         being compared.
12888
12889         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
12890         Don't generate shifts and subtract if have conditional arithmetic.
12891
12892         * rtl.h (delete_barrier): New declaration.
12893         * jump.c (jump_optimize): Set up to handle conditional call.
12894         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
12895         (delete_barrier): New function.
12896
12897         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
12898
12899         * recog.c (nonmemory_operand): Accept ADDRESSOF.
12900
12901         * tree.c (build_type_attribute_variant): Push to obstack of
12902         ttype around type_hash_canon call.
12903
12904         * expr.c (placeholder_list): Move decl to file scope.
12905         (expand_expr): Don't force access to volatile just because its
12906         address is taken.
12907         If ignoring reference operations, just expand the operands.
12908         (expand_expr, case COMPONENT_REF): Propagate
12909         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
12910         Refine test for using bitfield operations vs pointer punning.
12911         (expand_expr, case CONVERT_EXPR): If converting to
12912         BLKmode UNION_TYPE from BLKmode, just return inner object.
12913         Use proper mode in store_field call.
12914         Properly set sizes of object to store and total size in store_field
12915         call for convert to union.
12916         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
12917         memory (like for ADDR_EXPR).  Also, don't put constant in register if
12918         we'll want it in memory.
12919         (readonly_fields_p): New function.
12920         (expand_expr, case INDIRECT_REF): Call it if LHS.
12921         (expand_assignment): Handle a RESULT_DECL where
12922         DECL_RTL is a PARALLEL.
12923         (do_jump, case WITH_RECORD_EXPR): New case.
12924         (get_inner_reference): Always go inside a CONVERT_EXPR
12925         and NOP_EXPR if both modes are the same.
12926         (store_field): Use bitfield operations if size of bitsize is not same
12927         as size of RHS's type.
12928         Check for bitpos not a multiple of alignment in BLKmode case.
12929         Do block move in largest possible alignment.
12930         (store_constructor): Set BITSIZE to -1 for variable size and properly
12931         in case of array of BLKmode.
12932         (expand_expr_unaligned): New function.
12933         (do_compare_and_jump): Call it.
12934
12935         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
12936         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
12937         does not include 'o'.
12938
12939         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
12940         both SET_DEST and SET_SRC reference a virtual register.
12941         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
12942
12943         * integrate.c (expand_inline_function): Handle case of setting
12944         virtual stack vars register (from built in setjmp); when parameter
12945         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
12946         (subst_constant): Add new parm, MEMONLY.
12947         (expand_inline_function, integrate_parm_decls): Pass new parm.
12948         (integrate_decl_tree): Likewise.
12949         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
12950         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
12951         (copy_rtx_and_substitute, case SET): Add explicit calls to
12952         copy_rtx_and_substitute for both sides.
12953
12954         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
12955         constraints.
12956         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
12957         within INDEX_TYPE, instead of before.
12958         (fixup_gotos): Use f->target_rtl, not the next insn,
12959         since latter may be from a later fixup.
12960         (expand_value_return): Correctly convert VAL when promoting function
12961         return; support RETURN_REG being a PARALLEL.
12962         (expand_return): When checking for result in regs and having
12963         cleanup, consider PARALLEL in DECL_RTL as being in regs.
12964
12965 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
12966
12967         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
12968         last_nominal_fname): Mark const.
12969         (struct include_hash: name, nshort, control_macro): Mark
12970         const.
12971         (struct macrodef: symnam): Mark const.
12972         (struct if_stack: fname): Mark const.
12973         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
12974         (IStable): New character-syntax array which encompasses all
12975         the old is_foo arrays.
12976         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
12977         is_space): New macros for interrogating IStable.
12978         (check_macro_name): Kill last argument.  All callers changed.
12979
12980         * cppinit.c (initialize_char_syntax): Delete.
12981         (is_idchar, is_idstart, is_hor_space, is_space,
12982         trigraph_table): Delete.
12983         (IStable): New.  Initialize with clever macros to avoid
12984         information duplication.
12985         (builtin_array): Table of builtins to get rid of explicit list
12986         in initialize_builtins.
12987         (initialize_builtins): Use builtins_array.
12988         (cpp_start_read): Call init_IStable, and set IStable['$'] if
12989         opts->dollars_in_ident.
12990
12991         * cppexp.c: Change all refs to is_xyz[] arrays to use new
12992         is_xyz() macros.
12993         (cpp_parse_expr): Avoid 'format string is not constant'
12994         warning. Use ISGRAPH to identify printable chars.
12995         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
12996         is_xyz() macros.
12997         (read_and_prescan): Map trigraphs to chars with open-coded
12998         if-else-if-... sequence, not a lookup table.
12999         * cpphash.c: Change all refs to is_xyz[] arrays to use new
13000         is_xyz() macros.
13001         * cpplib.c: Change all refs to is_xyz[] arrays to use new
13002         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
13003         (check_macro_name): Remove ability to report an invalid
13004         assertion name, which is never used.
13005         (do_line): Constify a couple of char *'s.
13006         * cppmain.c (main): Call cpp_cleanup before returning.
13007
13008 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
13009
13010         * ggc.h (struct ggc_statistics): New type.
13011         (ggc_get_size): New function.
13012         (ggc_print_statistics): Likewise.
13013         * ggc-common.c (ggc_stats): New variable.
13014         (ggc_mark_rtx_children): Keep statistics.
13015         (ggc_mark_tree_children): Likewise.
13016         (ggc_print_statistics): New function.
13017         * ggc-page.c (struct globals): Add bytes_mapped field.
13018         (alloc_anon): Update it.
13019         (release_pages): Likewise.
13020         (ggc_get_size): New function.
13021         (ggc_page_print_statistics): New function.
13022         * ggc-simple.c (ggc_get_size): New function.
13023
13024 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
13025
13026         * flow.c (propagate_block): When the last reference to a label
13027         before an ADDR_VEC is deleted because the reference is a dead
13028         store, delete the ADDR_VEC.
13029
13030 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
13031
13032         * resource.c (find_free_register): Don't use the frame pointer
13033         if frame_pointer_needed.
13034
13035 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
13036
13037         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
13038         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
13039
13040         * config/i960/i960.c (i960_va_start): New locals base, num.
13041         Use INDIRECT_REF instead of ARRAY_REF on valist.
13042         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
13043
13044 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
13045
13046         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
13047
13048 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
13049
13050         * tree.def (PLACEHOLDER_EXPR): Update comments.
13051
13052 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13053
13054         * c-common.c (check_format_info): Avoid non-literal format string
13055         warnings when `first_arg_num' is zero.
13056
13057 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13058
13059         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
13060
13061 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
13062
13063         * arm.md (casesi_insn): Add a clobber of the condition code
13064         register.
13065
13066 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
13067
13068         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
13069         used by both cc1 and cc1plus.
13070
13071 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
13072
13073         * config/arm/arm.c: Initialise arm_structure_size_boundary to
13074         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
13075         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
13076         to the value 32 if it has not already been defined.
13077         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
13078         Override definition in arm.h with a value of 8.
13079
13080 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
13081
13082         * c-pragma.c (push_alignment): Don't check the return value
13083         of xmalloc.
13084
13085 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
13086
13087         * sparc.h (ADJUST_COST): Fix thinko.
13088
13089 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
13090
13091         * cccp.c (rescan): Fixed obp pointer handling around call to
13092         check_expand subroutine.
13093
13094 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
13095
13096         * gcse.c (delete_null_pointer_checks): Only record non-null info
13097         for pseudos when examining stores.
13098
13099         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
13100         splitters for these patterns.  Use "#" for output templates.
13101         (addsi3_carryin_shift): New pattern.
13102
13103 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
13104
13105         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
13106         of the function return register into a plain REG until
13107         after function inlining is done.
13108
13109 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
13110
13111         * jump.c (jump_optimize_1): If we did cross-jumping, and
13112         the data will matter, rebuild the CFG.
13113         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
13114         not optimizing.  Don't run shorten_branches.
13115         * toplev.c (rest_of_compilation): Run shorten_branches after
13116         reg_to_stack.
13117
13118 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
13119
13120         * rtl.h (note_stores): Add additional paramter.
13121         * rtlanal.c (reg_set_p_1): Take additional paramter.
13122         (reg_set_last_1): Likewise.
13123         (reg_set_p): Adjust call to note_stores.
13124         (reg_set_last): Likewise.
13125         (note_stores): Pass data parameter to worker function.
13126         * alias.c (record_set): Take additional parameter.
13127         (init_alias_analysis): Pass it.
13128         * caller-save.c (mark_set_regs): Take additional parameter.
13129         (save_call_clobbered_regs): Pass NULL to note_stores.
13130         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
13131         parameter.
13132         (record_dead_and_set_regs_1): Likewise.
13133         (reg_dead_at_p_1): Likewise.
13134         (combine_instructions): Adjust calls to note_stores.
13135         (try_combine): Likewise.
13136         (record_dead_insn): Remove.
13137         (record_dead_and_set_regs): Adjust calls to note_stores.
13138         (reg_dead_at_p): Likewise.
13139         * cse.c (invalidate_skipped_set): Take additional parameter.
13140         (cse_check_loop_start): Likewise.
13141         (cse_check_loop_start_value): Remove.
13142         (cse_set_around_loop): Adjust calls to note_stores.
13143         * flow.c (notice_stack_pointer_modification): Take additional
13144         parameter.  Remove duplicate declaration.
13145         (record_volatile_insns): Adjust calls to note_stores.
13146         * gcse.c (record_set_info): Take additional parameter.
13147         (record_last_set_info): Likewise.
13148         (invalidate_nonnull_info): Likewise.
13149         (record_set_insn): Remove.
13150         (compute_sets): Adjust calls to note_stores.
13151         (last_set_insn): Remove.
13152         (compute_hash_table): Adjust calls to note_stores.
13153         (insert_insn_end_bb): Likewise.
13154         (delete_null_pointer_checks): Likewise.
13155         * global.c (mark_reg_store): Take additional parameter.
13156         (mark_reg_clobber): Likewise.
13157         (reg_becomes_live): Likewise.
13158         (global_conflicts): Adjust calls to note_stores.
13159         (build_insn_chain): Likewise.
13160         * integrate.c (note_modified_parmregs): Take additional parameter.
13161         (mark_stores): Likewise.  Make it static.
13162         (save_for_inline_nocopy): Adjust calls to note_stores.
13163         (try_constants): Likewise.
13164         * integrate.h (mark_stores): Remove declaration.
13165         * jump.c (mark_modified_reg): Take additional parameter.
13166         (thread_jumps): Adjust calls to note_stores.
13167         * local-alloc.c (validate_equiv_mem_from_store): Take additional
13168         parameter.
13169         (no_equiv): Likewise.
13170         (reg_is_set): Likewise.
13171         (validate_equiv_mem): Adjust calls to note_stores.
13172         (update_equiv_regs): Likewise.
13173         (block_alloc): Likewise.
13174         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
13175         (note_addr_stored): Take additional parameter.
13176         (note_set_pseudo_multiple_uses): Likewise.
13177         (record_initial): Likewise.
13178         (prescan_loop): Adjust calls to note_stores.
13179         (strength_reduce): Likewise.
13180         (check_dbra_loop): Likewise.
13181         * regmove.c (flags_set_1): Take additional paramter.
13182         (mark_flags_life_zones): Adjust calls to note_stores.
13183         * reload1.c (mark_not_eliminable): Take additional parameter.
13184         (forget_old_reloads_1): Likewise.
13185         (reload_cse_invalidate_rtx): Likewise.
13186         (reload_cse_check_clobber): Likewise.
13187         (reload_combine_note_store): Likewise.
13188         (move2add_note_store): Likewise.
13189         (reload): Adjust calls to note_stores.
13190         (reload_as_needed): Likewise.
13191         (emit_reload_insns): Likewise.
13192         (reload_cse_regs_1): Likewise.
13193         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
13194         (reload_combine): Adjust calls to note_stores.
13195         * resource.c (update_live_status): Take additional paramter.
13196         (mark_target_live_regs): Adjust calls to note_stores.
13197         * stupid.c (find_clobbered_regs): Take additional parameter.
13198         (stupid_life_analysis): Adjust calls to note_stores.
13199
13200 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
13201
13202         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
13203         definition.
13204
13205         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
13206         definition.
13207
13208         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
13209         of the variable arm_structure_size_boundary.
13210
13211 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
13212
13213         * alias.c (init_alias_analysis): Allocate reg_known_value and
13214         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
13215         and reg_seen.
13216         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
13217         * cse.c (cse_main): Call end_alias_analysis.
13218         * haifa-sched.c (schedule_insns): Likewise.
13219         * local-alloc. (update_equiv_regs): Likewise.
13220         * reload1.c (reload_cse_regs): Likewise.
13221
13222 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13223
13224         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
13225         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
13226         mapping from MASK_FPU.
13227
13228 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
13229
13230         * sparc.md (call): Don't bound structure return size to 0xfff.
13231
13232 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
13233
13234         * resource.c (mark_target_live_regs): Check that the target
13235         insn wasn't created after compute_bb_for_insn.
13236
13237 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
13238
13239         * ggc-page.c (poison_pages): Don't be overzealous.
13240
13241 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
13242
13243         * alias.c: Update comments for ADDRESS.
13244         (nonlocal_reference_p): Look inside the ADDRESS to determine if
13245         it is a local memory reference.
13246
13247         * c-typeck.c (build_function_call): Check that the built-in
13248         function is of class BUILT_IN_NORMAL before trying to recongize
13249         it as BUILT_IN_ABS.
13250         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
13251         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
13252
13253 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
13254
13255         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
13256         of alloca.
13257         (pre_gcse): Likewise.
13258         (hoist_expr_reaches_here_p): Likewise.
13259         (hoist_code): Likewise.
13260         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
13261         code to ...
13262         (pre_expr_reaches_here_p_work): ... here.
13263         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
13264         code to ...
13265         (expr_reaches_here_p_work): ... here.
13266
13267 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
13268
13269         * resource.c (find_basic_block): Delete.
13270         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
13271         (init_resource_info): Call compute_bb_for_insn.
13272
13273 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
13274
13275         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
13276         with already adjacent blocks, but no fallthru.
13277         (merge_blocks_move_successor_nojumps): Simplify.
13278         (debug_flow_info): New.
13279
13280         * toplev.c (rest_of_compilation): Open jump1 dump file before
13281         jump and close after, as opposed to just using dump_rtl.
13282
13283 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13284
13285         * reload.h (earlyclobber_operand_p): Declare.
13286         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
13287         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
13288         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
13289         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
13290
13291 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
13292                           Richard Henderson  <rth@cygnus.com>
13293
13294         * emit-rtl.c (emit_block_insn_before): New.
13295         (emit_block_insn_after): New.
13296         * basic-block.h: Declare them.
13297
13298         * bitmap.h: Protect from multiple inclusion.
13299
13300         * recog.c (scratch_operand): Handle VOIDmode correctly.
13301
13302         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
13303
13304         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
13305         * function.c (assign_parms): Likewise.
13306         * global.c (global_conflicts): Clarify STACK_REGS commentary.
13307
13308         * reg-stack.c (max_uid): Remove.
13309         (blocks, block_begin, block_end, block_drops_in): Remove.
13310         (block_stack_in, block_out_reg_set, block_number): Remove.
13311         (struct block_info_def, BLOCK_INFO): New.
13312         (enum emit_where): New.
13313         (current_block): New.
13314         (BLOCK_NUM): Remove.
13315         (mark_regs_pat, record_label_references): Remove.
13316         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
13317         (nan): New.
13318         (goto_block_pat, print_blocks, dump_stack_info): Remove.
13319         (reg_to_stack): Simplified test for existance of fp code.  Use
13320         flow.c code.  Call shorten_branches after cross-jump opt.
13321         (check_asm_stack_operands): Renamed from record_asm_reg_life.
13322         Return false if the asm doesn't use stack regs.  Don't do life
13323         analysis on the asm.
13324         (emit_pop_insn): Replace function pointer arg `when' with
13325         enum `where'.  Update all callers.
13326         (change_stack): Likewise.  Update basic block end.
13327         (emit_swap_insn): Use current_block->head to limit reverse search
13328         for start of block.  Use emit_block_insn_after.
13329         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
13330         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
13331         structure assignment instead of bcopy.
13332         (print_stack): New.
13333         (convert_regs_entry, convert_regs_exit): New.
13334         (convert_regs_1, convert_regs_2): Split out from convert_regs.
13335         Work on basic blocks and the CFG.
13336         (convert_regs): Use them.
13337
13338         * i386.c (output_fix_trunc): Remove code for DImode input operand
13339         not at top-of-stack.
13340         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
13341         appropriate mode.
13342         (fix_truncdi_1): Allow any mode scratch.
13343
13344 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
13345
13346         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
13347         * linux.h, netbsd.h, vms.h: Not here.
13348
13349 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
13350
13351         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
13352         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
13353         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
13354         CONDITIONAL_REGISTER_USEAGE): Use them.
13355         * config/mips/mips.c (mips_move_1word,mips_move_2words,
13356         gen_conditional_branch,override_options) : Use them.
13357         * config/mips/mips.md : Use them.
13358
13359 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
13360
13361         * i386.md (zero_extendqihi2): Use SImode register name with andl.
13362
13363 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
13364
13365         * integrate.c (function_cannot_inline_p): Don't allow inlining
13366         if setjmp is used.
13367
13368 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13369
13370         * c-parse.in (cast_expr): Constify.
13371
13372         * cccp.c (special_symbol): Likewise.
13373
13374         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
13375
13376         * dwarf2out.c (base_type_die): Likewise.
13377
13378         * global.c (allocno_compare): Likewise.
13379
13380         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
13381
13382         * regclass.c (fix_register): Likewise.
13383
13384         * rtl.h (fix_register): Likewise.
13385
13386         * stupid.c (stupid_reg_compare): Likewise.
13387
13388         * toplev.c (decode_f_option): Likewise.
13389
13390         * tree.c (build_complex_type): Likewise.
13391
13392 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
13393
13394         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
13395
13396 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13397
13398         * reload.c (find_reloads): Compute mode and nregs fields of all
13399         reloads.
13400         * reload1.c (calculate_needs_all_insns): Simplify a bit.
13401         (calculate_needs): Use precomputed mode/nregs values.
13402         (allocate_reload_reg): Likewise.
13403         Break out two...
13404         (failed_reload, set_reload_reg): ... new functions.
13405         (choose_reload_regs_init): New function, mostly broken out from...
13406         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
13407         Also lose one #if 0 block.
13408
13409 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
13410
13411         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
13412         substitution.
13413
13414 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
13415
13416         * tree.h (BLOCK_TYPE_TAGS): Remove.
13417         (BLOCK_END_NOTE): Likewise.
13418         (BLOCK_LIVE_RANGE_FLAG): Likewise.
13419         (BLOCK_LIVE_RANGE_START): Likewise.
13420         (BLOCK_LIVE_RANGE_END): Likewise.
13421         (tree_block): Remove live_range_flag, live_range_var_flag, and
13422         type_tags.  Remove end_note, live_range_start, and live_range_end.
13423         (remember_end_note): Remove prototype.
13424         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
13425         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
13426         remember_end_note.
13427         * ggc-common.c (ggc_mark_tree_children): Don't mark
13428         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
13429         * integrate.c (adjust_copied_decl_tree): Remove.
13430         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
13431         * stmt.c (last_block_end_note): Remove.
13432         (init_stmt): Don't add a GC root for it.
13433         (expand_fixup): Don't set it.
13434         (remember_end_note): Remove.
13435         (expand_end_bindings): Don't set last_block_end_note.
13436
13437 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13438
13439         * reload1.c (reload_reg_free_for_value_p): Show
13440         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
13441         reloads.
13442
13443 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
13444
13445         * expmed.c (extract_bit_field): Allow for the case of non-integer
13446         objects that are smaller than a word (like SFmode on a 64-bit
13447         machine).
13448
13449         * loop.c (basic_induction_var): A non-integer variable which is
13450         being set by a paradoxical subreg is probably not a biv.
13451
13452 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13453
13454         * prefix.c (translate_name) Check for empty prefix string.
13455
13456 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
13457
13458         * Makefile.in (CPP_CROSS_NAME): New variable.
13459         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
13460         xcpp.
13461         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
13462         names of the files to be uninstalled.
13463
13464 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
13465
13466         * collect2.c (IS_DIR_SEPARATOR): Define.
13467         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
13468
13469         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
13470         functions too.
13471
13472         * haifa-sched.c (add_dependence): Update the true dependency
13473         cache the first time we add a true dependence to the LOG_LINKS chain.
13474
13475 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
13476
13477         * fold-const.c (fold): Fix comment.
13478
13479 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13480
13481         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
13482         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
13483         dbxout_start_new_source_file, dbxout_source_file,
13484         dbxout_source_line, dbxout_finish, dbxout_type_fields,
13485         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
13486         Constify a char*.
13487         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
13488         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
13489         (dbxout_block): Initialize variable `blocknum'.
13490
13491         * dbxout.h (dbxout_init, dbxout_finish,
13492         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
13493         dbxout_args, dbxout_source_line): Constify a char*.
13494
13495         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
13496         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
13497         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
13498         low_pc_attribute, high_pc_attribute, body_begin_attribute,
13499         body_end_attribute, comp_dir_attribute, sf_names_attribute,
13500         src_info_attribute, mac_info_attribute, producer_attribute,
13501         lookup_filename, generate_macinfo_entry, fundamental_type_code,
13502         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
13503         dwarfout_undef): Constify a char*.
13504         (add_incomplete_type, retry_incomplete_types): Add prototypes.
13505
13506         * dwarfout.h (dwarfout_define, dwarfout_undef,
13507         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
13508
13509 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
13510
13511         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
13512         (MULTILIB_ISA_DEFAULT): New.
13513         (MULTILIB_DEFAULTS): Use it.
13514         * config/mips/mips.c (): Remove the now unnecessary definition
13515         of MIPS_ISA_DEFAULT.
13516         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
13517         unnecessary definition.
13518
13519 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
13520
13521         * arm.md (pic_load_addr): Add constraints to operand 1.
13522
13523 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
13524
13525         * fixinc/genfixes:  Provide a means for specifying -D options to
13526         AutoGen
13527
13528 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
13529
13530         * arm.c (arm_override_options): Correct initialization of
13531         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
13532         arm_is_strong, and arm_is_6_or_7.
13533
13534         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
13535         (note_set_pseudo_multiple_uses): New function.
13536         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
13537         if a pseudo set in the loop exit is used elsewhere.
13538
13539 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
13540
13541         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
13542
13543 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
13544
13545         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
13546         a single load-address pattern.
13547
13548 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
13549
13550         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
13551         depending on whether or not line-number notes are present.
13552
13553 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13554
13555         * cccp.c (progname, file_buf, default_include, include_file,
13556         macrodef, definition, hashval, wchar_type, user_label_prefix,
13557         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
13558         expand_to_temp_buffer, is_system_include, base_name,
13559         absolute_filename, read_name_map, open_include_file,
13560         record_control_macro, check_precompiled, check_preconditions,
13561         pcfinclude, pass_thru_directive, create_definition,
13562         check_macro_name, comp_def_part, collect_expansion,
13563         check_assertion, read_token_list, assertion_install,
13564         assertion_lookup, eval_if_expression, conditional_skip,
13565         validate_else, skip_quoted_string, quote_string, macarg1,
13566         error_from_errno, install, lookup, hashf, dump_defn_1,
13567         perror_with_name, pfatal_with_name, main, trigraph_pcp,
13568         check_white_space, rescan, handle_directive, monthnames,
13569         special_symbol, do_include, remap_include_file, write_output,
13570         arglist, do_assert, do_unassert, do_line, do_error, do_once,
13571         do_ident, do_sccs, do_xifdef, skip_if_group,
13572         output_line_directive, macroexpand, macarg, change_newlines,
13573         initialize_builtins, make_definition): Constify a char*.
13574
13575         * pcp.h (stringdef): Likewise.
13576
13577 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
13578
13579         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
13580         not of pattern.
13581
13582 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
13583                           Richard Henderson  <rth@cygnus.com>
13584
13585         * alias.c: Include ggc.h.
13586         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
13587         (record_set): Verify enough room in reg_base_value.
13588         (init_alias_analysis): Allocate reg_base_value with xcalloc.
13589         Register it as a GC root.
13590         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
13591         * Makefile.in (alias.o): Depend on ggc.h.
13592
13593         * unroll.c (unroll_loop): Verify the insn before a barrier
13594         is a JUMP_INSN before checking JUMP_LABEL.
13595
13596 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13597
13598         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
13599         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
13600         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
13601         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
13602         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
13603         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
13604
13605 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13606
13607         * output.h (ctors_section, dtors_section, bss_section): Prototype.
13608
13609         * alpha/alpha-interix.h (text_section): Delete prototype.
13610         * alpha/elf.h (text_section): Likewise.
13611         * arm/linux-elf.h (text_section): Likewise.
13612         * arm/linux-telf.h (text_section): Likewise.
13613         * c4x/c4x.h (text_section): Likewise.
13614         * dsp16xx/dsp16xx.h (bss_section): Likewise.
13615         * elfos.h (text_section): Likewise.
13616         * i386/aix386ng.h (text_section): Likewise.
13617         * i386/i386-interix.h (text_section): Likewise.
13618         * i386/sco5.h (text_section): Likewise.
13619         * i386/svr3gas.h (text_section): Likewise.
13620         * nextstep.h (text_section): Likewise.
13621         * psos.h (text_section): Likewise.
13622         * ptx4.h (text_section): Likewise.
13623         * svr3.h (text_section): Likewise.
13624         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
13625
13626 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13627
13628         * final.c (peephole): Delete prototype.
13629
13630         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
13631         (pre_insert_copies): Remove unused variable `bb'.
13632
13633         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
13634         prototypes.
13635
13636         * output.h (peephole): Add prototype.
13637
13638 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
13639
13640         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
13641         -O0.
13642
13643 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
13644
13645         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
13646         for inlined declarations.
13647
13648 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
13649
13650         * arm.c (logical_binary_operator): New fucntion.
13651         * arm.h (logical_binary_operator): Declare it.
13652         (PREDICATE_CODES): Handle logical_binary_operator.
13653         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
13654         output constraints.  Add appropriate splitters.
13655         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
13656         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
13657         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
13658
13659 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13660
13661         * genoutput.c (struct operand_data): New elt eliminable.
13662         (output_operand_data): Write it.
13663         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
13664         (compare_operands): Take it into account.
13665         * recog.h (struct insn_operand_data): New elt eliminable.
13666         * reload1.c (check_eliminable_occurrences, elimination_effects): New
13667         functions.
13668         (old_asm_operands_vec, new_asm_operands_vec): Delete.
13669         (eliminate_regs): Move code that detects changes to elimination
13670         target regs into new function elimination_effects.
13671         Delete one #if 0 block.
13672         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
13673         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
13674         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
13675         Only call eliminate_regs for real operands of the insn, not for parts
13676         of its structure or parts matched by things like match_operator.
13677         Use elimination_effects and check_eliminable_occurrences.  Use
13678         copy_insn to duplicate the pattern when not in the final pass.
13679
13680 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
13681
13682         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
13683         and fld.
13684
13685 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
13686
13687         * fixinc/README: document the "mach" machine matching test
13688         * fixinc/fixfixes.c: Implement the #else/#endif label fix
13689         * fixinc/fixtests.c: Implement the #else/#endif label test
13690         * fixinc/inclhack.def: utilize these tests and fixes
13691         * fixinc/inclhack.sh:  regen
13692         * fixinc/fixincl.x:  regen
13693         * fixinc/fixincl.sh:  regen
13694
13695 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
13696
13697         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
13698         depend on ggc.h.
13699
13700 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
13701
13702         * gcc.1: Document exit codes.
13703
13704 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13705
13706         * calls.c: Include tm_p.h later, so everything we need is defined.
13707         * expr.c: Likewise.
13708         * function.c: Likewise.
13709
13710         * except.c: Include tm_p.h.
13711
13712         * sparc.c: Likewise.
13713         (dwarf2out_cfi_label): Don't prototype.
13714         (check_return_regs, epilogue_renumber,
13715         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
13716         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
13717         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
13718         ultra_schedule_insn): Add static prototype.
13719         (data_segment_operand, text_segment_operand): Call itself with the
13720         proper number of arguments.
13721         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
13722
13723         * sparc.h: Move all declarations to sparc-protos.h.
13724         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
13725         symbolic_operand.
13726
13727         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
13728
13729         * config/svr4.h (text_section, ctors_section, dtors_section): Add
13730         Prototypes.
13731         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
13732         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
13733         ASM_OUTPUT_ASCII): Constify a char*.
13734
13735         * sparc-protos.h: New file for sparc prototypes.
13736
13737 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13738
13739         * function.c (record_insns, contains): Always declare and define.
13740         (record_insns): Mark with ATTRIBUTE_UNUSED.
13741
13742 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
13743
13744         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
13745         to .section when outputting a .bss section to deal with multiple
13746         .bss input sections (as happens with -fdata-sections)
13747         Also output %progbits, not @progbits so the assembler doesn't treat as
13748         a comment.
13749         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
13750
13751         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
13752         thumb parts even when building with non-thumb CPUs, by forcing
13753         thumb mode.
13754
13755 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
13756
13757         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
13758         (movdf_const_intreg_sp64): Similarly.
13759
13760         * local-alloc.c (update_equiv_regs): Check the correct insn
13761         for pre-existing REG_EQUIV notes.
13762
13763 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
13764
13765         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
13766         block reached by a branch if we're not going to actually process
13767         this block.
13768
13769 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
13770
13771         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
13772         a local extern function declaration.
13773
13774 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
13775
13776         * i386.c (ix86_expand_prologue): Properly wrap USE around
13777         reg for CALL_INSN_FUNCTION_USAGE.
13778
13779 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
13780
13781         * config/mips/mips.md (movdf_internal1a): Allow floating-point
13782         move between GP_REGs.
13783
13784 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
13785
13786         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
13787         the mode size when finding out if an offset is legal.
13788
13789 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
13790
13791         * basic-block.h (PROP_*): Move constants from ...
13792         * flow.c: ... here.
13793         (compute_bb_for_insn): Free the array before reallocating.
13794         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
13795         (allocate_reg_life_data): Reset all reg variables collected by
13796         propagate_block.
13797         (get_block_head_tail): Don't convert from bb to block.
13798         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
13799         (find_insn_reg_weight): Take block not bb.
13800         (schedule_block): Don't set block num for moved insns.
13801         (schedule_region): Don't update_life_info or find_insn_reg_weight.
13802         (schedule_insns): Do it here instead.
13803         * combine.c (combine_instructions): Invoke compute_bb_for_insn
13804         before update_life_info.
13805         * recog.c (split_all_insns, peephole2_optimize): Update for
13806         new arg to update_life_info.
13807         * rtlanal.c (remove_note): Cope with NULL note.
13808         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
13809         if we did sched1.
13810
13811 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
13812
13813         * jump.c (jump_optimize_1): More accurately detect casesi insns.
13814
13815         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
13816         block records so that merge_blocks_nomove will clean up correctly.
13817         (split_edge): Handle casesi insns.
13818
13819         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
13820
13821 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
13822
13823         * pa.md (call, call_value): Do not emit a blockage after restoring
13824         the PIC register.
13825
13826 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
13827
13828         * c-typeck.c (c_expand_asm_operands): Fix typo.
13829
13830 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13831
13832         * arm.c (fpu_rhs_operand): Verify modes.
13833         (fpu_add_operand): Likewise.
13834         (di_operand): Likewise.
13835         (soft_df_operand): Likewise.
13836
13837 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
13838
13839         * arm.c (arm_return_in_memory): APCS rules state that the elements
13840         of a structure returned in a register must be 'integer-like'.
13841
13842 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
13843
13844         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
13845         in the source tree when the generated targets are out of date
13846         * fixinc/genfixes: Alter it to run individual fixes for make.
13847         * fixinc/README: rewrite
13848         * fixinc/inclhack.def: moved initial comments to README
13849
13850 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
13851
13852         * toplev.c (main): Do not generate an error message if an
13853         unrecognised command line switch is recognisable by another
13854         language.  If extra_warnings are enabled, then generate a
13855         warning message instead.
13856
13857 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13858
13859         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
13860         (insert_pack_attributes): Delete prototype.
13861
13862         * c-pragma.c (default_alignment): New static variable.
13863         (push_alignment): Initialize to current effective alignment.
13864         (pop_alignment): Use to set new alignment.
13865         (insert_pack_attributes): Delete function.
13866         (handle_pragma_token): Set default_alignment as well each time
13867         a #pragma pack(<n>) is encountered.
13868
13869 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
13870
13871         * reg-stack.c (stack_result): Aggregates are not returned in
13872         stack registers.
13873
13874 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
13875
13876         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
13877
13878 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
13879
13880         * basic-block.h (set_block_num): Declare.
13881         * flow.c (update_life_info): Don't call compute_bb_for_insn
13882         or free_basic_block_vars.
13883         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
13884         (insn_orig_block): Remove.
13885         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
13886         (schedule_block): Keep BLOCK_NUM up-to-date.
13887         (schedule_insns): Use compute_bb_for_insn.
13888         * recog.c (split_all_insns): Likewise.
13889         (peephole2_optimize): Likewise.
13890
13891 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
13892
13893         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
13894         if the pic register is used.
13895
13896 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13897
13898         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
13899         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
13900         if that tests TREE_PERMANENT.
13901
13902 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
13903
13904         * cse.c (invalidate_for_call): Do not remove memory references from
13905         the table here.  It's handled elsewhere.
13906
13907         * haifa-sched.c (add_dependence): Protect references to the
13908         true dependency cache with #ifdef INSN_SCHEDULING.
13909         (remove_dependence): Similarly.
13910
13911         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
13912         to the cfg code that this is a return instruction.
13913         * mn10300.md (return_internal): Similarly.
13914
13915         * combine.c (get_last_value): If the last set of a register
13916         is after subst_low_cuid, then we can not use it to determine
13917         the register's last value.
13918
13919 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
13920
13921         * Makefile.in: Back out previous change.
13922
13923 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
13924
13925         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
13926
13927         * haifa-sched.c (add_dependence): Only check/update the cache
13928         if it exists.
13929         (remove_dependence): Likewise.
13930         (schedule_insns): Only create the true_dependency_cache if the
13931         average number of instructions in a basic block is very large.
13932
13933 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
13934
13935         * Makefile.in (ggc-common.o): Depend on genrtl.h.
13936         (ggc-simple.o): Likewise.
13937         (ggc-page.o): Likewise.
13938
13939 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
13940
13941         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
13942         Prototype for exported functions.
13943         (pre_lcm, pre_rev_lcm): Remove prototypes.
13944         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
13945         (compute_available): Move to lcm.c, and change parameter order.
13946         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
13947         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
13948         (gcse_main): No longer call compute_preds_succs.  Rebuild the
13949         set table after reach pre pass.
13950         (pre_insert_map, pre_delete_map, edge_list): New.
13951         (alloc_pre_mem): Allocate edge vectors.
13952         (free_pre_mem): Delete edge vectors.
13953         (compute_pre_data): Call new edge based lcm routines.
13954         (process_insert_insn): New function.
13955         (insert_insn_end_bb): Use it.
13956         (pre_edge_insert): New function.
13957         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
13958         needed.
13959         (pre_insert_copies): Revamp using new edge based lcm outputs.
13960         (pre_delete): Likewise.
13961         (one_pre_gcse_pass): Insert & remove fake edges to the exit
13962         block.
13963         (compute_code_hoist_vbeinout): New new edge based routines.
13964         * lcm.c: Remove all the old LCM functions.  Replace with new ones
13965         that work with the new cfg datastructures and work with edges
13966         instead of blocks.
13967
13968 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13969
13970         * reload.h (struct reload): Add new fields "mode" and "nregs".
13971         * reload1.c: Change all occurrences of reload_mode and reload_nregs
13972         to reference the "mode" and "nregs" field within struct reload.
13973
13974 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
13975
13976         * haifa-sched.c (true_dependency_cache): New.
13977         (add_dependence): Use the true dependency cache to avoid expensive
13978         walks down the LOG_LINKS dependency list.  Add entries to the
13979         cache as necessary.
13980         (remove_dependence): Remove entries from the true dependency cache
13981         as needed.
13982         (schedule_insns): Allocate and initialize and free the true
13983         dependency cache.
13984
13985         * haifa-sched.c (schedule_insns): Do not remove inter-block
13986         dependencies anymore.
13987
13988 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
13989
13990         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
13991         * i386/t-winnt: Likewise.
13992
13993 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
13994
13995         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
13996
13997 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
13998
13999         * Makefile.in (LANGUAGES): Omit "proto".
14000         (clean): Remove stale comment about removing unprotoize.c.
14001
14002 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14003
14004         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
14005         using arithmetic on void pointers.
14006
14007 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
14008
14009         * haifa-sched.c (compute_block_forward_dependencies): Only check
14010         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
14011
14012 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
14013
14014         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
14015         (expr_equiv_p): Reject memories with different alias sets.
14016
14017 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
14018
14019         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
14020         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
14021         (f_options): Add "bounded-pointers" and "bounds-check" entries.
14022         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
14023         (lang_init): Set default for flag_bounds_check if still "unspecified".
14024
14025 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14026
14027         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
14028
14029 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14030
14031         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
14032         instructions.
14033
14034 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14035
14036         * config/c4x/c4x.md (*db_noclobber,
14037         *decrement_and_branch_until_zero_noclobber): New patterns and
14038         associated splitters.
14039
14040 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14041
14042         * config/c4x/c4x.md (parallel instruction patterns): Rework
14043         constraints to keep reload happy.
14044
14045 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14046
14047         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
14048         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
14049         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
14050         Add new patterns and associated post-reload splitters.
14051
14052 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14053
14054         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
14055
14056 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14057
14058         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
14059         if appropriate.
14060         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
14061
14062 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14063
14064         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
14065         memory mode.
14066
14067 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
14068
14069         * pa.c (move_operand): Rely on memory_address_p to determine the
14070         validity of non-indexed memory addresses.
14071         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
14072         operand in DFmode and SFmode when generating PA2.0 code.
14073
14074 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
14075
14076         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
14077
14078 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
14079
14080         * mips.c (function_prologue): Fix argument types.
14081         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
14082         (casesi_internal): Write to the scratch register.
14083
14084 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
14085
14086         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
14087         to U_CHAR **.
14088         (parse_charconst): Delete unnecessary cast when calling
14089         cpp_parse_escape.
14090         (cpplib.h): Kill prototype of cpp_parse_escape.
14091
14092 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
14093
14094         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
14095         * unroll.c (unroll_loop): Cast return value of alloca.
14096         * i370/i370.c: Include function.h and toplev.h.
14097         (i370_label_scan): Remove c++ commented abort.
14098         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
14099         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
14100         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
14101         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
14102
14103 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
14104
14105         * config/t-freebsd: Do not override USER_H.
14106         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
14107
14108 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
14109                           Mumit Khan  <khan@xraylith.wisc.edu>
14110
14111         * c-parse.in (component_decl): Support anonymous struct/union.
14112         (%expect): Update.
14113         * c-parse.y: Regenerate.
14114         * c-parse.c: Likewise.
14115         * objc/objc-parse.y: Likewise.
14116         * objc/objc-parse.c: Likewise.
14117         * c-decl.c (finish_struct): Don't sort the fields.
14118         (field_decl_cmp): Delete unused function.
14119
14120 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
14121
14122         * sparc.md (movsf_const_intreg): Revert last constraint change.
14123         (movdf_const_intreg_sp32): Likewise.
14124
14125 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
14126
14127         * cse.c: Include hashtab.h instead of splay-tree.h
14128         (struct cse_reg_info): No longer use variant union.  Add new
14129         field "regno".  All references changed to avoid union.
14130         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
14131         (free_cse_reg_info): Remove.
14132         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
14133         (get_cse_reg_info): Revamp to use expandable hash tables instead
14134         of splay trees.  Initialize new fields in cse_reg_info structure.
14135         (new_basic_block): Similarly.
14136
14137 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
14138
14139         * genrecog.c (message_with_line): Prototype.
14140         (validate_pattern): Pass along the set for the dest, not a flag.
14141         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
14142         Check for PC/CC0 as sources.
14143         (nodes_identical): Check for children position match before
14144         allowing the combination.
14145
14146         * rtl.c (read_rtx): Track line number across \\\n.
14147
14148 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
14149
14150         * mips.h (SPECIAL_MODE_PREDICATES): New.
14151         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
14152         (movdi+1, movsi+1): Add output reload constraint.
14153         (casesi_internal): Likewise.  Fix commentary.
14154         (return_internal): Use pmode_register_operand.
14155
14156 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
14157
14158         * 1750a.md (movstrqi): Add missing output reload constraint.
14159         (call_value): Likewise.
14160         * a29k.md (cpxxx patterns): Add missing match_operator mode.
14161         (jmpfdec): Add missing inout reload constraint.
14162         * elxsi.md (addsi patterns): Add missing output reload constraint.
14163         (move from sp): Use @ alternates.
14164         (call_value): No constraint on output.
14165         * fr30.md (movsi_pop): Add missing output reload constraint.
14166         (movsf_constant_store): Likewise.
14167         (splits): Remove constraints.
14168         (subsi3): Add missing mode.
14169         * i370.md (cmpstrsi+1): Add missing output reload constraint.
14170         (call_value): Likewise.
14171         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
14172         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
14173         * m32r.md (movsicc_internal): Add output reload constraint.
14174         (movstrsi_internal): Add inout reload constraints.
14175         * m88k.h (reg_names): Don't declare.
14176         (SPECIAL_MODE_PREDICATES): New.
14177         * m88k.md (*): Use register_operand not reg_or_0_operand
14178         on destinations.
14179         * mn10200.h (PREDICATE_CODES): New.
14180         * ns32k.md (ffs pattern): Add output reload constraint.
14181         * pdp11.md (sob pattern): Add inout reload constraint.
14182         * sh.md (splits): Remove constraints.
14183         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
14184         * v850.md (pattern_is_ok_for_epilogue): Likewise.
14185         * vax.md (jgequ pattern): Add inout reload constraint.
14186
14187 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
14188
14189         * configure.in (djgpp): Revert previous patch.
14190         * configure: Rebuit.
14191         * config/i386/djgpp.h: Revert previous patch.
14192
14193 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
14194
14195         * fixinc/inclhack.def: Restore patch lost during last merge of
14196         "no_bogosity" branch.
14197         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
14198
14199 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14200
14201         * fixincludes: Add a HPUX 11 fix for inttypes.h.
14202         * fixinc/inclhack.def: Same.
14203         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
14204
14205 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
14206
14207         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
14208         as the base of a PLUS.
14209
14210 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14211
14212         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
14213         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
14214
14215 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
14216
14217         * pa.md (post_stw+1): Use pmode_register_operand.
14218         (dcacheflush, icacheflush): Likewise.
14219
14220         * i386.md (movstricthi_1): Allow r/r.
14221
14222 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
14223
14224         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
14225         to (not (and (arg0) (arg1))). Similary for and.
14226
14227         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
14228         fallthrough to associate code.
14229         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
14230         bits in common.
14231
14232         * combine.c (simplify_logical): Convert XOR to IOR if operands have
14233         no bits in common; remove XOR to ROTATE conversion.
14234
14235 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14236
14237         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
14238
14239 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14240
14241         * config/c4x/c4x.c (dst_operand): New.
14242         (PREDICATE_CODES): Update.
14243         * config/c4x/c4x.h (dst_operand): Declare it.
14244         * config/c4x/c4x.md:  Define mode for each unspec usage.
14245         (move patterns):  Use dst_operand predicate instead of src_operand.
14246         (movqi_update, movqf_update): Delete.
14247
14248 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
14249
14250         * recog.c (pmode_register_operand): New.
14251         * recog.h: Declare it.
14252         * genrecog.c (pred_codes): Likewise.
14253         (special_mode_pred_table): Likewise.
14254         (validate_pattern): Don't warn no mode for address_operand.
14255
14256         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
14257         if the operand is not insn-like.
14258
14259 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
14260                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
14261
14262         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
14263
14264 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
14265
14266         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
14267         instead of general_operand in a SET_DEST.  Use const_double_operand
14268         instead of an explicit test against CONST_DOUBLE.
14269         (movsf_const_lo): Add missing register mode.
14270         (goto_handler_and_restore): Add auxiliary test for Pmode.
14271         (flush): Adjust to use address_operand.
14272         (return_sf_no_fpu): Add missing output constraint.
14273
14274 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
14275
14276         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
14277         for call return value.
14278         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
14279
14280 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
14281
14282         * toplev.c (main): Only warn about options for other languages.
14283         * collect2.c (main): Pass -w to sub-gcc.
14284
14285 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
14286
14287         * flow.c (propagate_block): Add call-clobbered registers to
14288         significant too.
14289
14290         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
14291         zapping mem_set_list.
14292         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
14293         (mark_set_1, mark_used_regs): Likewise.
14294
14295 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
14296
14297         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
14298
14299 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14300
14301         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
14302         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
14303         options. Also add a new item "C-only Warning Options" to the
14304         option summary.
14305
14306 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
14307
14308         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
14309         from multiple calls.
14310
14311 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
14312
14313         * i386.md (call value patterns): Move to the end of the file.
14314         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
14315
14316 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
14317
14318         * configure.in (djgpp configuration): Define extra_objects..
14319         * configure: Rebuilt.
14320         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
14321         (DTORS_SECTION_ASM_OP): Define.
14322         (INIT_SECTION_ASM_OP): Define.
14323         (FINI_SECTION_ASM_OP): Define.
14324         (DATA_SECTION_ASM_OP): Define.
14325         (TEXT_SECTION_ASM_OP): Define.
14326         (EH_FRAME_SECTION_ASM_OP): Define.
14327         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
14328         (STARTFILE_SPEC): Add crtbegin.o.
14329         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
14330         to here from LINK_COMMAND_SPEC.
14331         (DO_GLOBAL_CTORS_BODY): Define.
14332         (CRTSTUFF_USE_FINI_SECTION): Define
14333         (HAS_INIT_SECTION): Delete.
14334
14335 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
14336
14337         * Makefile.in (all.cross): Depend on xcpp$(exeext).
14338
14339 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
14340
14341         * pa.h (PREDICATE_CODES): New.
14342
14343         * genrecog.c (validate_pattern): Condense the destination
14344         non-lvalue message.
14345
14346 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
14347
14348         * alpha.md (call-1): Supply missing mode for operator.
14349         (*): Add missing output reload constraints.  Remove constraints
14350         from define_splits.
14351
14352         * i386.h (SPECIAL_MODE_PREDICATES): New.
14353         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
14354         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
14355         (addsi_lea_3): Add missing mode for op 3.
14356         (prologue_set_got, prologue_get_pc): Add missing modes.
14357         (*) Add missing output reload constraints.
14358
14359 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
14360
14361         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
14362         check for member bit-size overflow and use var_size if it occurs.
14363         (layout_record): Use bitsize_int() to define the type size in bits.
14364         Likewise for computation and assignment to DECL_FIELD_BITPOS.
14365         (layout_decl): Likewise when assigning to DECL_SIZE.
14366
14367 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
14368
14369         * genrecog.c (validate_pattern): Typo last change.  Verify
14370         that output operands have output reloads.
14371
14372 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
14373
14374         * genrecog.c (special_mode_pred_table): New.
14375         (NUM_SPECIAL_MODE_PREDS): New.
14376         (find_operand): New.
14377         (validate_pattern): New argument `insn'.  Warn for assignment to
14378         any predicate accepting non-lvalues.  Conditionaly warn for
14379         match_operand without a mode.  Try much harder to match source
14380         and destination modes on a set.
14381         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
14382
14383 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
14384
14385         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
14386
14387 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
14388
14389         * combine.c (simplify_logical): Recognize xor pattern that encodes
14390         rotation.
14391
14392 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14393
14394         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
14395         alignment.
14396
14397 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
14398
14399         * ggc-page.c (MAP_FAILED): Provide default.
14400
14401 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
14402
14403         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
14404         * sparc.h (PREDICATE_CODES): Update.
14405
14406 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
14407
14408         * alpha.c (some_ni_operand): New.
14409         * alpha-protos.h: Declare it.
14410         * alpha.h (PREDICATE_CODES): Update.
14411         * alpha.md (sXaddq reload insns): Use some_ni_operand
14412         for SET_DEST instead of some_operand.
14413
14414 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
14415                           Jim Wilson  <wilson@cygnus.com>
14416
14417         * genrecog.c (maybe_both_true_2): Don't compare modes of
14418         two DT_pred tests.
14419         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
14420         after find_afterward.
14421         (debug_decision_1): Dump next and afterward codes.
14422
14423 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
14424
14425         * rtl.c (dump_and_abort): Remove.
14426         (fatal_with_file_and_line): New.
14427         (fatal_expected_char): New.
14428         (read_rtx_lineno, read_rtx_filename): New.
14429         (read_skip_spaces): Track line number.
14430         (read_name): Use fatal_with_file_and_line.
14431         (read_rtx): Use fatal_expected_char.  Track line number.
14432         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
14433
14434         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
14435         if it isn't a CODE_LABEL.
14436
14437         * genattr.c (main): Set read_rtx_filename.
14438         * genattrtab.c (main): Likewise.
14439         * gencodes.c (main): Likewise.
14440         * genconfig.c (main): Likewise.
14441         * genemit.c (main): Likewise.
14442         * genextract.c (main): Likewise.
14443         * genflags.c (main): Likewise.
14444         * genopinit.c (main): Likewise.
14445         * genoutput.c (main): Likewise.
14446         * genpeep.c (main): Likewise.
14447
14448         * genrecog.c (decision_test.u.insn): Add `lineno'.
14449         (pattern_lineno, error_count): New variables.
14450         (message_with_line): New.
14451         (add_to_sequence): Break out checking code to ...
14452         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
14453         (merge_insn): Use message_with_line.
14454         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
14455         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
14456
14457 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14458
14459         * expr.c (store_constructor): Clear union if constructor is empty.
14460
14461 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
14462
14463         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
14464         Add !endian checks.  Change %{...} to %(...).
14465
14466 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
14467
14468         * i386.md (*addsi3_cc): Renamed from addcsi3.
14469         (*addsi3_carry): Renamed from addxsi3.
14470         (*subsi3_cc): Renamed from subcsi3.
14471         (*subsi3_carry): Renamed from subxsi3.
14472         (*xorqi_cc_1): Renamed from xorcqi_1.
14473         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
14474         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
14475
14476 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
14477
14478         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
14479         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
14480
14481 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
14482
14483         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
14484         climb up the chain of insns.
14485
14486 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
14487
14488         * genrecog.c (write_subroutine): Careful for null trees.
14489         (process_tree): Don't elide empty functions.
14490
14491 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
14492
14493         * Makefile.in (genrtl.o): Depend on ggc.h.
14494         * configure.in (valloc): Probe for it.
14495         (with-gc): Use ggc-page if valloc present.
14496         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
14497         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
14498         (ggc_alloc_string): Moved from ggc-page.c.
14499         * ggc-none.c (ggc_alloc_obj): New.
14500         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
14501         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
14502         (struct globals): Likewise for dev_zero_fd.
14503         (init_ggc): Likewise for it's initialization.
14504         (ggc_allocated_p): Move careful dereference from ...
14505         (ggc_lookup_page_table): ... here.  Delete.
14506         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
14507         (alloc_anon): Use valloc if no mmap.
14508         (release_pages): Use free if using valloc.
14509         (ggc_alloc_obj): Renamed from alloc_obj.
14510         (ggc_set_mark): Renamed from mark_obj.
14511         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
14512         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
14513         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
14514         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
14515         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
14516         (ggc_collect): Use fp printing instead of our own rounding.
14517         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
14518         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
14519         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
14520         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
14521         (struct ggc_string, struct ggc_any): Delete.
14522         (offsetof): Provide default definition.
14523         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
14524         (PTR_KEY): New.
14525         (struct ggc_mem): New, from corpse of ggc_any.
14526         (struct ggc_status): Delete.
14527         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
14528         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
14529         (n_strings_collected, n_anys_collected): Delete.
14530         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
14531         (ggc_alloc_string, ggc_alloc): Delete.
14532         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
14533         (ggc_free_string, ggc_free_any): Delete.
14534         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
14535         (ggc_compare_addresses, ggc_mark_string): Delete.
14536         (ggc_mark_string_if_gcable, ggc_mark): Delete.
14537         (search_data): Delete.
14538         (struct globals): New.
14539         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
14540         (tree_insert, tree_lookup): New.
14541         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
14542         (clear_marks, sweep_objs): New.
14543         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
14544         (init_ggc): Set allocated_last_gc.
14545         (ggc_push_context): Gut.  Use G.context.
14546         (ggc_pop_context): Likewise.
14547         (ggc_pop_context_1): New.
14548         (debug_ggc_tree): New.
14549         (debug_ggc_balance, tally_leaves): New.
14550         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
14551         (ggc_mark_string_if_gcable): Remove decl.
14552         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
14553         (ggc_mark_rtvec_children): New.
14554         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
14555         (ggc_mark_if_gcable): New decl.
14556         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
14557         (ggc_alloc_tree, ggc_alloc): Likewise.
14558         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
14559         (ggc_alloc_obj): New decl.
14560         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
14561         (ggc_alloc_tree, ggc_alloc): Likewise.
14562         (ggc_set_mark): New decl.
14563         * rtl.h (struct rtx_def): Remove gc_mark.
14564         (struct rtvec_def): Likewise.
14565         * tree.h (struct tree_common): Likewise.
14566
14567 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
14568
14569         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
14570         float_format and thread_file definitions.
14571         * configure: Rebuilt.
14572
14573 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
14574
14575         * extend.texi (Function Names): Document types of function names.
14576
14577 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14578
14579         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
14580         an earlyclobbered output conflict with RELOAD_INPUT reloads.
14581
14582 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14583
14584         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
14585
14586 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14587
14588         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
14589
14590 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
14591
14592         * collect2.c (main): Do prelimnary link on AIX if rflag.
14593
14594 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14595
14596         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
14597         __CTOR_LIST__ in opposite order, which is the correct order for sorted
14598         constructors.
14599         (__do_global_dtors): similarly for __DTOR_LIST__.
14600
14601 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14602                                 Diego Novillo <dnovillo@cygnus.com>
14603
14604         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
14605         FPUL_REGS.
14606
14607 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
14608
14609         * fixincl/*: Merged "no_bogosity" branch
14610         * fixincl/fixlib.h: protect against doubly defining t_bool
14611         * fixincl/server.h: protect against doubly defining t_bool
14612
14613 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
14614
14615         * genoutput.c: Include toplev.h.
14616
14617 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
14618
14619         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
14620         Undef.
14621         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
14622         * configure: Regenerate.
14623
14624 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
14625
14626         * gcse.c (delete_null_pointer_checks): Returns void.
14627
14628 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14629
14630         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
14631         * emit-rtl.c (copy_insn_1): Likewise.
14632
14633 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
14634
14635         * config/mips/mips.c (mips_build_va_list): Correct
14636         TREE_CHAIN setting when hard-float.
14637         (mips_va_start): Use corrected setting.
14638         (mips_va_arg): Likewise.  Also pass a tree to build of
14639         POSTINCREMENT_EXPR rather than a naked 'int'.
14640
14641 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
14642
14643         * ggc.h (ggc_push_context): Fix comment.
14644         (ggc_pop_context): Likewise.
14645         (mark_string_if_gcable): Likewise.
14646         * ggc-common.c (ggc_mark_rtx_children): Use
14647         ggc_mark_string_if_gcable.
14648         * ggc-page.c (ggc_lookup_page_table): New function.
14649         (ggc_allocated_p): Likewise.
14650         (mark_obj): Fix formatting.
14651         (ggc_mark_string_if_gcable): New function.
14652         * ggc-simple.c (ggc_allocated_strings): New variable.
14653         (ggc_strings_used): Likewise.
14654         (ggc_compare_addresses): New function.
14655         (ggc_pop_context): Pop the `any' memory too.
14656         (ggc_mark_string_if_gcable): New function.
14657         (ggc_collect): Initialize and tear down ggc_allocated_strings.
14658
14659 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
14660
14661         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
14662         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
14663         * rs6000.c (expand_block_move): Match movstrsi_?reg register
14664         changes.
14665
14666 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
14667
14668         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
14669         (sched_reg_live_length, sched_reg_basic_block): Delete.
14670         (current_block_num, bb_live_regs, old_live_regs): Delete.
14671         (dead_notes, struct sometimes): Delete.
14672         (sched_note_set, birthing_insn_p): Delete.
14673         (adjust_priority): Gut useless reg lifetime code.
14674         (create_reg_dead_note, attach_deaths): Delete.
14675         (attach_deaths_insn, new_sometimes_live): Delete.
14676         (finish_sometimes_live): Delete.
14677         (find_pre_sched_live, find_post_sched_live): Delete.
14678         (update_reg_usage): Delete.
14679         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
14680         (schedule_insns): Delete reg lifetime code.
14681         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
14682         (unlink_other_notes): Adjust REG_NOTE commentary.
14683         (reemit_notes): Use REG_SAVE_NOTE.
14684         (schedule_block): Likewise.
14685         (schedule_region): Allocate bitmap of blocks in region.  Use
14686         count_or_remove_death_notes.  Use update_life_info.
14687
14688         * rtl.h (REG_SAVE_NOTE): New.
14689         * rtl.c (reg_note_name): Update.
14690
14691 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
14692
14693         * combine.c (refresh_blocks, need_refresh): New.
14694         (combine_instructions): Allocate refresh_blocks.  Invoke
14695         update_life_info if needed.
14696         (distribute_notes): Mark refresh_blocks instead of installing
14697         USE insns.
14698         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
14699         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
14700
14701         * Makefile.in (recog.o): Depend on basic-block.h.
14702
14703 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
14704
14705         * genrecog.c (add_to_sequence): Thinko last change: delete
14706         shadowing allow_const_int variable.
14707
14708 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14709
14710         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
14711         __GNUC__ and __GNUC_MINOR__.
14712
14713         * gansidecl.h: Likewise.
14714
14715         * rtl.c: Likewise.
14716
14717         * rtl.h: Likewise.
14718
14719         * toplev.h: Likewise.
14720
14721         * tree.c: Likewise.
14722
14723         * tree.h: Likewise.
14724
14725         * varray.c: Likewise.
14726
14727         * varray.h: Likewise.
14728
14729 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14730
14731         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
14732         use one before a jump table.
14733
14734         * rtl.def (ADDRESS): Change documentation to match reality.
14735         * md.texi: Don't document it.
14736         * gmicro.md (load address pattern): Use 'p' constraint, delete use
14737         of ADDRESS rtx.
14738
14739         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
14740
14741 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
14742
14743         * genrecog.c (add_to_sequence): Move allow_const_int test outside
14744         known predicate block; default allow_const_int true.
14745         (debug_decision_list): New.
14746
14747 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
14748
14749         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
14750
14751 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
14752
14753         * gcse.c (gcse_main): Avoid global optimizations if we have a
14754         large number of basic blocks and the ratio of edges to blocks
14755         is high.
14756         (delete_null_pointer_checks): Likewise.
14757
14758 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
14759
14760         * c-common.c (check_format_info): Warn if format string isn't a
14761         string literal.
14762
14763 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14764
14765         * configure.in (arm*-*-*): Don't let autoconf remove brackets
14766         * configure: regenerate
14767
14768 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
14769
14770         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
14771         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
14772         (peepholes): Re-enable.
14773
14774 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
14775
14776         * Makefile.in (flow.o): Depend on TREE_H.
14777         * basic-block.h (REG_SET_EQUAL_P): New.
14778         (XOR_REG_SET): New.
14779         (n_edges): Declare.
14780         (free_regset_vector): Remove declaration.
14781         (flow_delete_insn_chain): Declare.
14782         (enum update_life_extent): New.
14783         (update_life_info, count_or_remove_death_notes): Declare.
14784         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
14785         Verify register live at bb->global_live_at_start before adding USE.
14786         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
14787         (CLEAN_ALLOCA): New.
14788         (n_edges): New.
14789         (PROP_*): New flags.
14790         (find_basic_blocks_1): Use alloc_EXPR_LIST.
14791         (clear_edges): Zero n_edges.
14792         (make_edge): Increment n_edges.
14793         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
14794         (flow_delete_insn_chain): Export.
14795         (delete_block): Decrement n_edges.
14796         (merge_blocks_nomove): Likewise.
14797         (life_analysis): Give life_analysis_1 PROP flags.
14798         (verify_wide_reg_1, verify_wide_reg): New.
14799         (verify_local_live_at_start): New.
14800         (update_life_info): Rewrite to call into propogate_block.
14801         (mark_reg): New.
14802         (mark_regs_live_at_end): After reload, if epilogue as rtl,
14803         always mark stack pointer.  Conditionally mark PIC register.
14804         After reload, mark call-saved registers, return regsiters.
14805         (life_analysis_1): Accept PROP flags not remove_dead_code.
14806         Call mark_regs_live_at_end before zeroing regs_ever_live.
14807         Use calculate_global_regs_live.  Copy global_live_at_end before
14808         calling final propagate_block.  Zero reg_next_use on exit.
14809         (calculate_global_regs_live): New.
14810         (allocate_bb_life_data): Don't allocate bb->local_set.
14811         (init_regset_vector, free_regset_vector): Remove.
14812         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
14813         Test flags before every operation.  Warn if prologue/epilogue insn
14814         would have been deleted.
14815         (mark_set_regs, mark_set_1): Accept and use FLAGS.
14816         Use alloc_EXPR_LIST.
14817         (mark_used_regs): Accept and use FLAGS, not FINAL.
14818         Remove special handling for RETURN.
14819         (try_pre_increment): Use alloc_EXPR_LIST.
14820         (dump_flow_info): Dump n_edges.
14821         (unlink_insn_chain, split_hard_reg_notes): Remove.
14822         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
14823         (find_insn_with_note, new_insn_dead_notes): Remove.
14824         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
14825         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
14826         (replace_insns): Remove.
14827         (count_or_remove_death_notes): New.
14828         (verify_flow_info): Abort on error after all checks.
14829         (remove_edge): Decrement n_edges.
14830         (remove_fake_edges): Tweek format.
14831         * haifa-sched.c (schedule_insns): Use split_all_insns.
14832         * output.h (update_life_info): Remove declaration.
14833         * recog.c (split_all_insns): From the corpse of split_block_insns,
14834         do the whole function block by block.  Use update_life_info.
14835         (recog_last_allowed_insn): New.
14836         (recog_next_insn): Mind it.
14837         (peephole2_optimize): Set it.  Walk backwards through blocks.
14838         Use update_life_info.
14839         * rtl.h (update_flow_info, replace_insns): Remove declarations.
14840         (split_all_insns): Declare.
14841         * toplev.c (rest_of_compilation): Thread prologue before flow2.
14842         Use split_all_insns.
14843
14844         * i386.md (or -1 peep2s): Disable.
14845
14846 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
14847
14848         * config/mips/mips.md (movstrsi+[123]) : Combine these into
14849         a single pattern.  Scrap the 'd' versions as unnecessary.
14850
14851         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
14852         tablejump_mips162,tablejump_internal4): The operands to a
14853         label_ref must be VOIDmode.
14854
14855 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14856
14857         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
14858
14859 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
14860
14861         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
14862
14863 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
14864
14865         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
14866         cache every function if ggc_p.
14867
14868 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14869
14870         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
14871         instead of copy_rtx.  Accept sequences that contain asm statements.
14872         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
14873         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
14874         orig_asm_operands_vector, copy_asm_operands_vector,
14875         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
14876         variables.
14877         * rtl.h (copy_insn, copy_insn_1): Declare.
14878
14879 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14880
14881         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
14882
14883         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
14884         arguments to `current_file_function_operand'.
14885
14886         * genrecog.c: Include hard-reg-set.h and resource.h in the
14887         generated output file.
14888
14889         * real.c: Include tm_p.h.
14890
14891 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14892
14893         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
14894         output operand.
14895
14896 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
14897
14898         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
14899         before the fctiwz insn.
14900
14901 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14902                           Mark Mitchell  <mark@codesourcery.com>
14903
14904         * tree.c (make_lang_type_fn): New funtion pointer.
14905         (make_lang_type): Call it.
14906         * tree.h (make_lang_type): Declare.
14907         (make_lang_type_fn): Likewise.
14908         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
14909
14910 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
14911
14912         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
14913         make sure that HIGH instructions are copied into BASE_REGS.
14914
14915 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
14916
14917         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
14918
14919 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
14920
14921         * c-decl.c (finish_struct): Use simpler method of
14922         removing elements of a singly-linked list.
14923
14924 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
14925
14926         * alpha.md (peephole2's): Comment out peephole2's that generate
14927         buggy code.
14928
14929 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
14930
14931         * genrecog.c (add_to_sequence): Disable mode check for
14932         wildcard matches.
14933
14934 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14935
14936         * ggc-simple.c (init_ggc): Set empty_string.
14937
14938 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
14939
14940         * configure.in: Detect mmap.  Add --with-gc=foo to select
14941         garbage collector; default to page if mmap available.
14942         * Makefile.in (GGC): Substitute.
14943
14944 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
14945
14946         * c-decl.c (ggc_p): Enable.
14947
14948 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14949
14950         * flow.c (verify_flow_info): Make it extern & unconditionally define.
14951
14952 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
14953
14954         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
14955         string for little-endian-data.
14956
14957 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
14958
14959         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
14960         case somebody tries to compile --enable-checking code with gcc
14961         1.34 or such.
14962
14963 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
14964
14965         * genrecog.c (add_to_sequence): Verify operand to label_ref is
14966         VOIDmode.
14967
14968 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
14969
14970         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
14971         * jump.c (jump_optimize_1): Document why.
14972
14973 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14974
14975         * collect2.c (scan_prog_file, scan_libraries): Prototype function
14976         pointers and casts for `int_handler' and `quit_handler'.
14977
14978         * flow.c (verify_flow_info, split_hard_reg_notes,
14979         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
14980         remove_edge, remove_fake_successors): Add static prototypes.
14981         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
14982         (mark_set_1): Initialize variable `regno'.
14983         (unlink_insn_chain): Likewise for variable `curr'.
14984         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
14985
14986         * loop.c (strength_reduce): Initialize variable
14987         `unrolled_insn_copies'.
14988         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
14989         prototypes.  Change these functions to take const PTR parameters
14990         to avoid prototype conflict when used as the comparson argument
14991         for qsort.
14992         (check_dbra_loop): Initialize variable `comparison_val'.
14993
14994         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
14995         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
14996         (find_valid_class): Initialize variable `best_class'.
14997         (find_reloads): Call memcpy, not bcopy.
14998
14999         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
15000         (hard_reg_use_compare): Don't needlessly cast away const.
15001         (reload_reg_class_lower): Likewise.
15002         (choose_reload_regs): Initialize variable `regno'.
15003
15004 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
15005
15006         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
15007
15008 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
15009
15010         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
15011         ({,d}discard): Add forward declarations.  Declare parameter as
15012         unused.
15013         (main_without_main): Explicitly declare return type to be int.
15014         (memcpy): Properly declare.
15015
15016         * libgcc2.c (toplevel): If inhibit_libc is defined and not
15017         building the trampoline support, declare malloc, free, and
15018         atexit.
15019         (__clear_cache): Mark arguments as potentially unused.
15020
15021         * frame.c (toplevel): If inhibit_libc is defined, declare
15022         malloc and free.
15023
15024 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
15025
15026         * flow.c (make_edge): Accept an optional 2D bitmap in which
15027         to cache edge existence.  Update all callers.
15028         (make_label_edge, make_eh_edge): Pass through the edge cache.
15029         (make_edges): Provide the cache.
15030
15031 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15032
15033         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
15034         a char*.
15035         (local_mbtowc): Change the type of variable `i' from int to size_t.
15036
15037         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
15038         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
15039
15040 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
15041
15042         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
15043         after other includes that define the appropriate types.  Include
15044         tm_p.h for getting user prototypes.
15045         * ggc-callbacks.c (toplevel): Ditto.
15046         * ggc-none.c (toplevel): Ditto.
15047         * gcc-page.c (toplevel): Ditto.
15048         * ggc-simple.c (toplevel): Ditto.
15049
15050 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
15051                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
15052
15053         * config/mips/mips.c (mips_move_2words): Split doubles if
15054         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
15055
15056 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
15057
15058         * genrecog.c (struct decision_test): New.
15059         (struct decision): Remove test-related members, sort the rest by size.
15060         (IS_SPLIT): Simplify.
15061         (new_decision, new_decision_test): New.
15062         (add_to_sequence): Use them.  No special handling for args of
15063         non-MATCH codes.
15064         (maybe_both_true): Renamed from not_both_true; return sense changed.
15065         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
15066         of maybe_both_true and adjusted for decision_test.
15067         (position_merit): Remove.
15068         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
15069         (merge_accept_insn): New, broken out of merge_trees.
15070         (merge_trees): Use them.  No special case for c_test; no node
15071         splitting; use test type instead of position_merit.
15072         (factor_tests): New.
15073         (simplify_tests): New.
15074         (break_out_subroutines): Don't write code now.
15075         (find_afterward): New.
15076         (write_afterward, write_switch, write_cond): New.
15077         (write_action, is_unconditional): New.
15078         (write_node): New.  Use them.
15079         (write_tree_1): Rewrite.  Use the new functions above.
15080         (write_tree): Remove afterward processing.
15081         (write_subroutine): Simplify function variant emission.
15082         (write_subroutines): New.
15083         (same_codes, clear_codes): Remove.
15084         (same_modes, clear_modes): Remove.
15085         (write_header): New, broken out of main.
15086         (make_insn_sequence): Use new_decision and new_decision_test.
15087         (process_tree): New, broken out of main.
15088         (main): Adjust for merge_trees interface change.
15089         Don't #define operands in the output file.
15090         (record_insn_name): New, broken out of make_insn_sequence.
15091         (debug_decision_2, debug_decision_1, debug_decision_0): New.
15092         (debug_decision): New.
15093
15094 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
15095
15096         * resource.c (find_free_register): Mark class_str argument const.
15097         * resource.h: Update prototype to match.
15098
15099         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
15100         * i386.md: Give all anonymous insns names.
15101
15102 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
15103
15104         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
15105         blocks.
15106
15107 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
15108
15109         * toplev.c (dbr_sched_time): Unconditional.
15110         (peephole2_time): New.
15111         (compile_file): Add pass numbers to all of the dump file suffixes.
15112         Dump peephole2_time.  Don't dump times for non-applicable passes.
15113         (rest_of_compilation): Add pass numbers to dump file suffixes.
15114         Conditionalize calls to the scheduler.
15115         * invoke.texi: Update.
15116
15117 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
15118
15119         * flow.c (make_edges): Fix insn iteration.
15120         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
15121         (find_basic_blocks_1): Fix spelling mistake.
15122
15123 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
15124
15125         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
15126         always have side-effects.  Use memset not bzero.
15127         (make_node): Likewise.
15128
15129 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
15130
15131         * stmt.c (expand_anon_union_decl): When any of the elements of the
15132         union is addressable, so is the entire union.
15133
15134 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
15135
15136         * sbitmap.c (sbitmap_ones): Don't set too many bits.
15137
15138         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
15139         * bitmap.c (bitmap_operation): Return true iff TO changed.
15140         (bitmap_equal_p): New.
15141         (bitmap_bit_p): Tidy arithmetic.
15142         (debug_bitmap_file): Likewise.
15143
15144 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
15145
15146         * toplev.c (rest_of_compilation): Turn on cse_not_expected
15147         before cse2 instead of after.
15148
15149 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
15150
15151         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
15152         register offsets.
15153
15154 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15155
15156         * cppinit.c (is_idchar initializer): Loosen tests to accept
15157         gcc 2.>6 and >2.
15158
15159 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
15160
15161         * mips.md: Define conditional move patterns for floating point
15162         operands and DI mode conditions.
15163
15164 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
15165
15166         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
15167         always have side-effects.
15168
15169 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
15170
15171         * mn10200.c (asm_file_start): Fix typo.
15172
15173         * cppinit.c (is_idchar initializer): Tighten tests for when
15174         to put the table into initialized memory.
15175
15176         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
15177         not an array of rtunion.
15178         * gcc-page.c (ggc_alloc_rtvec): Similarly.
15179         * gcc-simple (ggc_free_rtvec): Similarly.
15180
15181         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
15182         of rtunions.
15183
15184         * mbchar.h: Add missing #endif.
15185
15186         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
15187         (FPBIT, DPBIT): Define.
15188
15189 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15190
15191         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
15192
15193         * profile.c (instrument_arcs, output_gcov_string,
15194         tablejump_entry_p): Add static prototypes.
15195         (output_gcov_string): Constify a char*.
15196
15197         * regmove.c (replacement_quality, fixup_match_2): Add static
15198         prototypes.
15199
15200         * resource.h (reg_dead_p): Add extern prototype.
15201
15202         * rtl.c (trim_filename): Add static prototype.
15203
15204         * scan-decls.c (skip_to_closing_brace): Likewise.
15205
15206         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
15207         (expand_end_case): Initialize variable `range'.
15208         (emit_case_nodes): Remove unused prototype `rtx_fn'.
15209
15210         * varasm.c (asm_emit_uninitialised): Add static prototype.
15211         (asm_emit_uninitialised, assemble_variable): Mark parameter with
15212         ATTRIBUTE_UNUSED.
15213
15214 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15215
15216         * cpplib.c (if_directive_nameo): Add static prototype.
15217
15218         * cse.c (cse_insn): Remove unused variable `p'.
15219
15220         * except.c (create_rethrow_ref, push_entry,
15221         receive_exception_label, new_eh_region_entry, find_func_region,
15222         clear_function_eh_region, process_nestinfo): Add static prototypes.
15223         (get_reg_for_handler): Hide definition.
15224         (process_nestinfo): Initialize variable `extra_handlers'.
15225
15226         * expr.h (expand_builtin_longjmp): Add extern prototype.
15227
15228         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
15229
15230         * function.c (prepare_function_start): Likewise.
15231         (pop_function_context_from): Mark parameter `context' with
15232         ATTRIBUTE_UNUSED.
15233         (push_temp_slots_for_block, flush_addressof): Hide definition.
15234
15235         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
15236         solve_program_flow_graph, calculate_branch_probs,
15237         function_summary, main, fancy_abort): Add prototypes.
15238
15239         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
15240         (add_hash): Constify a char*.
15241
15242         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
15243         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
15244         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
15245
15246         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
15247
15248         * lists.c (free_list, zap_lists): Likewise.
15249
15250 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15251
15252         * alias.c (nonlocal_reference_p): Add static prototype.
15253
15254         * bitmap.c (bitmap_element_allocate): Prototype args in function
15255         pointer cast.
15256
15257         * builtins.c (stabilize_va_list): Add static prototype.
15258         (expand_builtin_va_arg): Constify a char*.
15259
15260         * c-lex.c (getch, put_back, extend_token_buffer_to,
15261         read_line_number, token_getch, token_put_back): Add static
15262         prototypes.
15263
15264         * c-parse.gperf (hash, is_reserved_word): Likewise.
15265
15266         * cccp.c (is_dir_separator): Likewise.
15267
15268 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15269
15270         * graph.h: New file to prototype functions exported by graph.c.
15271
15272         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
15273
15274         * graph.c: Include graph.h.
15275
15276         * toplev.c: Likewise.  Remove redundant prototypes.
15277
15278 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
15279
15280         * invoke.texi: Removed duplicated description for -Q.
15281
15282 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
15283
15284         * extend.texi: Grammar fix in __extension__ text.
15285
15286 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
15287
15288         * md.texi (define_peephole2): New section.
15289
15290 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
15291
15292         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
15293         (mov $-1 to or peepholer): Enable for pentium when optimizing for
15294         speed.
15295
15296 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
15297
15298         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
15299
15300 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
15301
15302         * i386.md (ffs expander): Emit Pentium friendly code for
15303         TARGET_PENTIUM.
15304
15305 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
15306
15307         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
15308         for non-trees.
15309         (build1): Likewise.
15310
15311 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15312
15313         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
15314
15315 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
15316
15317         * config/m68k/m68k.c (use_return_insn): Return false if the pic
15318         register is in use.
15319
15320 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15321
15322         * md.texi (No Constraints): Delete section.
15323         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
15324         * final.c (final_scan_insn): We always have register constraints.
15325         * genattrtab.c: Don't include "insn-config.h".
15326         (write_attr_case): We always have register constraints.
15327         * genconfig.c (register_constraint_flag): Delete.
15328         (walk_insn_part): Don't check whether we have register constraints.
15329         (main): Don't write out "#define REGISTER_CONSTRAINTS".
15330         * genoutput.c (have_constraints): Delete.
15331         (main): Don't set it.
15332         (output_operand_data): We always have constraints.
15333         (scan_operands): Likewise.
15334         (compare_operands): Likewise.
15335         * local-alloc.c (block_alloc): We always have constraints.
15336         (requires_inout): Always compile this function.
15337         * recog.c (extract_insn): We always have constraints.
15338         (constrain_operands, reg_fits_class_p): Always compile these
15339         functions.
15340         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
15341         fields.
15342         (struct insn_operand_data): Likewise.
15343         * regclass.c (regclass): We always have constraints.
15344         (record_reg_classes, copy_cost, record_address_regs,
15345         auto_inc_dec_reg_p): Always compile these functions.
15346         * regmove.c (regmove_optimize): We always have constraints.
15347         * reload.c (find_reloads): Likewise.
15348         * reload1.c (reload): Likewise.
15349         (reload_cse_simplify_operands): Likewise.
15350         * i860.c (output_delay_insn): Likewise.
15351
15352 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
15353
15354         * iris6.h (BUILD_VA_LIST_TYPE): Define.
15355
15356 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15357
15358         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
15359         for the va_list record.
15360
15361 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
15362
15363         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
15364         prologues.
15365
15366 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
15367
15368         * alias.c: Include insn-flags.h.
15369         * Makefile.in (alias.o): Update.
15370
15371 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
15372
15373         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
15374         to LTU and GEU.  Handle more cases using sbb.
15375
15376 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
15377
15378         * i386.md (truncatexfdf splitters): Do not use subreg.
15379         (fop XFmode patterns): Fix mode in operand testing.
15380
15381 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
15382
15383         * jump.c (jump_optimize_1): Amend last change to test only the
15384         form of the operand, not the insn.
15385
15386         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
15387         not register_operand to determine when B may need preloading.
15388
15389 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
15390
15391         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
15392         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
15393         (call-value patterns): Move to end of file.
15394         (*): Remove mode from label_ref in (pc) context.
15395         (movstrqi): Use memory not general_operand for BLKmode operands.
15396         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
15397         to register_operand operands.
15398         (peep2 patterns): Convert from commented-out peephole patterns.
15399
15400 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15401
15402         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
15403         to BUILT_IN_INIT_DWARF_REG_SIZES.
15404         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
15405         Renamed from BUILT_IN_DWARF_REG_SIZE; call
15406         expand_builtin_init_dwarf_reg_sizes.
15407         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
15408         with __builtin_init_dwarf_reg_size_table.
15409         * dwarf2out.c (struct reg_size_range): Delete.
15410         (expand_builtin_init_dwarf_reg_sizes): New function.
15411         (expand_builtin_dwarf_reg_size): Delete.
15412         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
15413         (expand_builtin_dwarf_reg_size): Don't declare.
15414         * libgcc2.c (dwarf_reg_size_table_initialized): New.
15415         (dwarf_reg_size_table): New.
15416         (init_reg_size_table): New function.
15417         (copy_reg): Use dwarf_reg_size_table.
15418         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
15419         before use.
15420
15421 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
15422
15423         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
15424         Correctly build argument list to constructor and destructor functions.
15425
15426 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
15427
15428         * c-tree.h (warn_float_equal): Declare.
15429         * c-decl.c (warn_float_equal): Define.
15430         (c_decode_option): Recognize -W[no-]float-equal.
15431         * c-typeck.c (build_binary_op): Conditionally warn
15432         about equality tests of floating point types.
15433         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
15434         * invoke.texi: Add docs for -Wfloat-equal warning.
15435
15436 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
15437
15438         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
15439         generating RTL directly.
15440         * mips.h (INIT_TARGET_OPTABS): Likewise.
15441         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
15442
15443         * expr.h (init_mov_optab): Delete declaration
15444
15445         * h8300.c (WORD_REG_USED): Update to avoid useless register
15446         saves in interrupt functions and functions which never return.
15447
15448         * cse.c (struct set): Delete inner_dest_loc field.
15449         (cse_insn): Remove assignments to inner_dest_loc field.
15450
15451 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
15452
15453         * ggc-page.c: Don't include <unistd.h> etc taken care of
15454         by "system.h".  Include <sys/mman.h> afterward.
15455
15456 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
15457
15458         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
15459         ggc_alloc_string.
15460
15461 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
15462
15463         * xcoffout.c (xcoffout_declare_function): Add documentation.
15464         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
15465         TARGET_64BIT.  Compare constant to -1, not bit pattern.
15466         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
15467         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
15468         gen_movsi typos.
15469
15470 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
15471
15472         * dwarf2out.c (add_abstract_origin_attribute): Abort if
15473         origin_die is NULL.
15474         (gen_inlined_enumeration_type_die): Do not abort if the type has
15475         not been writeen out.
15476         (gen_inlined_structure_type_die): Do not abort if the type has
15477         not been writeen out.
15478         (gen_inlined_union_type_die): Do not abort if the type has
15479         not been writeen out.
15480         (gen_tagged_type_instantiation_die): Do not abort if the type
15481         has not been written out.
15482
15483 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15484
15485         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
15486         call it.
15487         * reg-stack.c (straighten_stack): Copy hard reg set with
15488         COPY_HARD_REG_SET.
15489
15490 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
15491
15492         * builtins.c (stabilize_va_list): Stabilize array type va_list
15493         to a pointer type, not the base record type.
15494         (expand_builtin_va_copy): Dereference the pointers explicitly;
15495         use the correct size for the copy.
15496
15497         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
15498         (rs6000_va_arg): Likewise.
15499
15500 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
15501
15502         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
15503
15504 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
15505
15506         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
15507         field.
15508         (DECL_BUILT_IN_CLASS): Adjust accordingly.
15509
15510 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
15511
15512         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
15513         (init_ggc): Use it instead of a constant.
15514         (ggc_collect): Bound allocated_last_gc by it.
15515
15516 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
15517
15518         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
15519         with va_list.
15520
15521 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
15522
15523         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
15524         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
15525         * configure:  Regen.
15526         * config/mips/openbsd.h:  New, OpenBSD little endian target.
15527         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
15528         * config/mips/xm-openbsd.h:  New, OpenBSD host.
15529
15530 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
15531
15532         * config/m68k/m68k.c (output_function_prologue,
15533         output_function_epilogue): Use
15534         current_function_uses_pic_offset_table instead of regs_ever_live
15535         to decide whether to save/restore pic register.
15536         (legitimize_pic_address): Don't modify regs_ever_live any more.
15537
15538 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
15539
15540         * function.h (struct function): Add x_dont_save_pending_sizes_p.
15541         * stor-layout.c (variable_size): Don't add sizes to the pending
15542         sizes list if x_dont_save_pending_sizes_p is set.
15543
15544 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
15545
15546         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
15547         for symbolic_operand().
15548         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
15549
15550 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15551
15552         * combine.c (gen_rtx_combine): Add missing call to va_end().
15553
15554         * final.c (asm_fprintf): Likewise.
15555
15556         * genattrtab.c (attr_rtx): Likewise.
15557
15558 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
15559
15560         * cse.c: Update comments.
15561         (cse_insn): When converting a conditional/computed jump into
15562         an unconditional jump, always make sure a BARRIER immediately
15563         follows the converted jump.  Do not delete unreachable code.
15564         (cse_basic_block): Do not delete unreachable code.
15565         * toplev.c (rest_of_compilation): Move call to
15566         delete_trivially_dead_insns after the conditional call to
15567         jump_optimize.
15568
15569 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15570
15571         * collect2.c (make_temp_file): Don't prototype.
15572
15573         * gcc.c (make_temp_file): Likewise.
15574
15575         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
15576
15577 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
15578
15579         * varasm.c (asm_emit_uninitialised): New function: Generate
15580         the assembler statements necessary to declare an uninitialised
15581         variable.
15582         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
15583         variable.
15584         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
15585         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
15586         section.
15587         (assemble_variable): Use asm_emit_uninitialised to emit an
15588         uninitialised variable.
15589
15590 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
15591
15592         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
15593         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
15594         <geoffk@cygnus.com>.
15595
15596 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15597
15598         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
15599         * c-common.h (builtin_function): Don't declare.
15600
15601         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
15602         DECL_BUILT_IN.
15603         (pushdecl): Likewise.
15604         (finish_decl): Likewise.
15605         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
15606         int.  All callers changed.
15607         Set the builtin's DECL_BUILT_IN_CLASS.
15608         * tree.h (enum built_in_class): New.
15609         (enum built_in_function): Delete NOT_BUILT_IN.
15610         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
15611         in a union.
15612         (DECL_SET_FUNCTION_CODE): Likewise.
15613         (DECL_BUILT_IN_CLASS): New macro.
15614         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
15615         (struct tree_decl): Split builtin function code field into a
15616         struct.
15617         (builtin_function): Declare.
15618
15619 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
15620
15621         * optabs.c (init_traps): Fix typo in last change.
15622
15623 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
15624
15625         * toplev.c (rest_of_decl_compilation): Update comment.
15626
15627 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
15628
15629         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
15630         in .sbss if appropriate.
15631         (EXTRA_SECTION_FUNCTIONS): Add sbss.
15632         (SBSS_SECTION_ASM_OP): New macro.
15633         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
15634         (EXTRA_SECTIONS): Add in_sbss.
15635         * config/mips/mips.h: Prototype sbss_section.
15636
15637 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
15638
15639         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
15640         to disappear.
15641
15642 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
15643
15644         * optabs.c (init_traps): Register trap_rtx as a GC root.
15645
15646 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15647
15648         * config/mips/mips.c (function_arg_pass_by_reference): Define
15649         unconditionally, since it's called unconditionally.
15650
15651 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
15652
15653         * toplev.c (documented_lang_options): Add -fshort-wchar.
15654         * c-decl.c (c_decode_option): Likewise.
15655         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
15656         for wchar_t.
15657         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
15658         * gcc.c (default_compilers): If -fshort-wchar,
15659         override __WCHAR_TYPE__.
15660         * tm.texi (C Dialect Options): Add -fshort-wchar.
15661
15662         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
15663         symbol for a variable.
15664
15665         * cpplib.h (CPP_PREPROCESSED): New macro.
15666         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
15667         we're seeing this input for a second time.
15668
15669 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
15670
15671         * emit-rtl.c (init_emit_once): Initialize modes first.
15672
15673 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
15674
15675         * config/i386/i386.c (pic_label_name): Change to char pointer.
15676         (global_offset_table): New variable.
15677         (load_pic_register): Fill global_offset_table if it hasn't
15678         already been done.  Allocate pic_label_name dynamically.
15679         * ggc.h (empty_string): New variable.
15680         * ggc-simple.c (empty_string): Likewise.
15681         (init_ggc): Allocate empty_string and add as root.
15682         * stmt.c (digit_strings): New variable.
15683         (init_stmt): Add last_block_end_note as root.  Allocate and
15684         initialize digit_strings.
15685         (expand_asm_operands): Use empty_string instead of string
15686         constant.  Use digit_strings instead of string constants.
15687         * profile.c (init_arc_profiler): Allocate string with
15688         ggc_alloc_string instead of xmalloc.
15689         (output_func_start_profiler): Likewise.
15690         * c-typeck.c (digest_init): Check if init is error_mark_node.
15691
15692 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
15693                           Richard Henderson  <rth@cygnus.com>
15694
15695         * ggc-page.c: New file.
15696         * Makefile.in (ggc-page.o): New.
15697
15698 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
15699
15700         * invoke.texi: Document -fdelete-null-pointer-checks
15701         * toplev.c (flag_delete_null_pointer_checks): New.
15702         (f_options): Add entry for -fdelete-null-pointer-checks.
15703         (rest_of_compilation): Conditionalize null pointer check
15704         elimination on flag_delete_null_pointer_checks.
15705         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
15706
15707 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
15708
15709         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
15710         copyright notice and special exception to GPL.
15711
15712 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15713
15714         * abi64.h (mips_function_value): Add prototype arguments.
15715
15716         * mips-protos.h: New file with mips prototypes.
15717
15718         * mips.c: Include "tm_p.h".
15719         (mktemp, lookup_name): Add prototype arguments.
15720         (extern_list, string_constant, mips_fill_delay_slot,
15721         mips_output_external, mips_output_external_libcall,
15722         mips_output_filename, mips_declare_object, function_prologue,
15723         mips_expand_prologue, function_epilogue, mips16_constant,
15724         build_mips16_function_stub, mips_output_conditional_branch):
15725         Constify a char*.
15726         (mips_va_start): Remove unused variable `u'.
15727         (mips_va_arg): Cast value to unsigned when comparing against one.
15728         (trace): Delete.
15729         (save_restore_insns, mips_expand_prologue): Add missing arg in
15730         call to `large_int'.
15731
15732         * mips.h: Move prototypes to mips-protos.h.
15733         (data_section, memory_address_p, rdata_section,
15734         readonly_data_section, simple_epilogue_p, text_section): Delete
15735         prototypes delcared elsewhere.
15736         (mips_epilogue_delay_slots, print_options): Delete unused decls.
15737         (trace): Delete.
15738         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
15739
15740         * mips.md: Delete extra args in call to `mips_move_2words'.
15741
15742         * xm-iris6.h (alloca): Add prototype argument.
15743
15744         * genpeep.c: Include "tm_p.h" in generated output file.
15745
15746 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15747
15748         * basic-block.h (find_edge_index): Change parameters.
15749         * flow.c (verify_edge_list): Pass basic_block parameters to
15750         find_edge_index instead of integers.
15751
15752 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
15753
15754         * combine.c (simplify_comparison): Use an unsigned shift to adjust
15755         the constant.
15756
15757 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
15758
15759         * gcc.1: Fix a formatting error.
15760
15761 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15762
15763         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
15764         i786, mn10200, mn10300, pdp11, v850.
15765
15766 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
15767
15768         * libgcc2.c (num_digits): Add prototype with
15769         __attribute__((const)).
15770         (__terminate): Add prototype.
15771
15772 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
15773
15774         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
15775
15776         * alpha/alpha.c (print_operand): Fix type of `code'.
15777         (alpha_output_filename): Constify.
15778         * alpha/alpha.h: Move all function declarations ...
15779         * alpha/alpha-protos.h: ... here.  New file.
15780         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
15781         (SECTION_FUNCTION_TEMPLATE): Likewise.
15782
15783 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15784
15785         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
15786         * expr.c (expand_expr): Likewise.
15787         (do_jump): Likewise.
15788         (do_store_flag): Pass ccp_store_flag to can_compare_p.
15789         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
15790         accessor macros.
15791         (enum can_compare_purpose): New.
15792         (can_compare_p): Adjust prototype.
15793         (prepare_cmp_insn, prepare_operand): Declare.
15794         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
15795         * optabs.c (cmp_available_p): Deleted.
15796         (expand_abs): Pass ccp_jump to can_compare_p.
15797         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
15798         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
15799         Call can_compare_p rather than cmp_available_p.
15800         (prepare_operand): No longer static.
15801         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
15802         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
15803         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
15804         sequence to use emit_cmp_and_jump_insns.
15805         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
15806
15807 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
15808
15809         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
15810         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
15811         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
15812         (plus (reg) (const_int 0))
15813         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
15814
15815 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
15816
15817         * rs6000.c (expand_block_move): DImode loads and stores require
15818         word-aligned displacements.  Increment address registers with
15819         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
15820
15821 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
15822
15823         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
15824         is no name for the base type, rather than segfault.  If we are
15825         writing out a complex integer type, use DW_ATE_lo_user.
15826
15827         * expr.c (emit_move_insn_1): If we are copying a complex that fits
15828         in one word or less (complex char, complex short, or on 64 bit
15829         systems complex float) to/from a hard register, copy it through
15830         memory instead of dying in gen_{real,imag}part.  If we have a
15831         short complex type, prevent inlining since it allocates stack
15832         memory.
15833
15834         * tree.c (build_complex_type): If we are writing dwarf2 output,
15835         generate a name for complex integer types.
15836
15837 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15838
15839         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
15840         * flow.c (remove_edge): Remove extra whitespace.
15841         (remove_fake_edges): Fix comment.
15842         (add_noreturn_fake_exit_edges): Use the correct name.
15843
15844 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
15845
15846         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
15847         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
15848         (clean): Depend on INTL_CLEAN.
15849         (maintainer-clean): Adjust.
15850
15851 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15852
15853         * configure.in (AC_PREREQ): Bump to 2.13.
15854         (AC_C_STRINGIZE): Call this instead of using a custom macro.
15855
15856         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
15857
15858         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
15859
15860         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
15861
15862         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
15863         (HAVE_STRINGIZE): Define.
15864
15865 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
15866
15867         * c-parse.in: save and restore warn_pointer_arith on __extension__
15868         along with pedantic.
15869         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
15870         Set the type of extension to itype rather than $<itype>1 kludge.
15871         * extend.texi (Alternate Keywords): Adjust documentation.
15872         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
15873
15874 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
15875
15876         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
15877         most assembler templates.
15878
15879         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
15880         FP loads and stores.
15881         (following_call): Always return zero for the PA8000.
15882         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
15883         FP loads and stores.
15884         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
15885
15886         * pa.h (BRANCH_COST): Define.
15887
15888         * pa.md (return, return_internal): Use bve for PA2.0.
15889
15890         * pa.md (fused multiply): Add variants which reduce height for the
15891         fused multiply, but which still generate 2 insns.
15892         (fnegabs): Similarly.
15893
15894         * pa.md (subsi3): Turn into an expander.  Create two anonymous
15895         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
15896         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
15897
15898         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
15899         for TARGET_PA_20.
15900         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
15901         code generation.
15902         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
15903         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
15904
15905         * regclass.c (init_regs): Add "top_of_stack" as a garbage
15906         collection root.
15907
15908         * flow.c (record_active_eh_regions): Terminate loop after finding
15909         the last insn in the last basic block.
15910
15911 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15912
15913         * config/c4x/c4x.md: Delete parallel instruction peepholes.
15914
15915 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15916
15917         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
15918
15919 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15920
15921         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
15922         splitting to not use output template.
15923
15924 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15925
15926         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
15927         * config/c4x/c4x.c (c4x_va_start): New function.
15928
15929 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
15930
15931         * genrecog.c (not_both_true): Handle correctly cases when called for
15932         tests with different positions in the insn.
15933
15934 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15935
15936         * machmode.h (HOST_PTR_PRINTF): Move from here ...
15937
15938         * system.h (HOST_PTR_PRINTF): ... to here.
15939
15940         * mips-tfile.c: Don't include machmode.h.
15941
15942         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
15943         (mips-tfile.o): Don't depend on machmode.h.
15944
15945 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15946
15947         * haifa-sched.c (sched_analyze): Rename local variable `region' to
15948         avoid conflicts with typedef struct `region' at the top level scope.
15949
15950 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
15951
15952         * basic-block.h (basic_block): Add eh_beg, eh_end.
15953         * flow.c (entry_exit_blocks): Update.
15954         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
15955         Call new functions.
15956         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
15957         lists.c functions to allocate insn lists.
15958         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
15959         edge creation ...
15960         (make_eh_edge): ... here.  New.
15961         (move_stray_eh_region_notes): New.
15962         (record_active_eh_regions): New.
15963         (delete_unreachable_blocks): Split out block merging ...
15964         (try_merge_blocks): ... here.  New.
15965         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
15966         Dump debugging data.
15967         (merge_blocks_move_successor_nojumps): Likewise.
15968         (merge_blocks): Use eh_beg+eh_end to validate block movement.
15969
15970 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15971
15972         * extend.texi (Bound member functions): Document unbound pmf
15973         conversion.
15974
15975 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15976
15977         * flow.c (split_edge): Handle insertion on a fallthrough edge which
15978         has the EXIT_BLOCK as a dest.
15979
15980 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15981
15982         * flow.c (remove_edge): New function to remove an edge from the
15983         flow graph.
15984         (remove_fake_successors): New function to remove fake successor edges.
15985         (remove_fake_edges): New function to remove all fake edges from the
15986         flow graph.
15987         (add_fake_exit_edges): New function to add fake edges from all blocks
15988         with no successors to the exit block.
15989         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
15990         prototypes for new functions.
15991
15992 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15993
15994         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
15995         Use Pmode to determine whether to output .dword or .word.
15996
15997 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
15998
15999         * tree.c (built_in_filename): New variable.
16000         (BUILT_IN_FILENAME): New macro.
16001         (init_tree_codes): Allocate built_in_filename.
16002         (make_node): Use built_in_filename instead of string constant.
16003
16004 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
16005
16006         * configure.in: Add fr30 target.
16007         * configure: Regenerate.
16008         * config/fr30: New directory.
16009         * config/fr30/crti.asm: New file.
16010         * config/fr30/fr30.c: New file.
16011         * config/fr30/crtn.asm: New file.
16012         * config/fr30/fr30.h: New file.
16013         * config/fr30/fr30.md: New file.
16014         * config/fr30/lib1funcs.asm: New file.
16015         * config/fr30/t-fr30: New file.
16016         * config/fr30/xm-fr30.h: New file.
16017
16018 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
16019
16020         * flow.c (merge_blocks_move_successor_nojumps): Delete the
16021         BARRIER at the end of the successor, not the BARRIER before
16022         the successor.
16023
16024         * pa.c (pa_add_gc_roots): Fix thinko in last change.
16025
16026 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
16027
16028         * stmt.c (any_pending_cleanups): Don't crash when
16029         current_function->stmt is unset.
16030
16031 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16032
16033         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
16034         other initializations that may use it for relative offsets.
16035
16036 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16037
16038         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
16039         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
16040         * config/i386/sol2dbg.h: Removed.
16041         * config/i386/sol2gas.h: New file, to enable gas work-around.
16042         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
16043         Don't use sol2dbg.h.
16044         * configure: Rebuilt.
16045
16046 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
16047
16048         * invoke.texi (-fthis-is-variable): Remove documentation.
16049
16050 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
16051
16052         * basic-block.h (compute_bb_for_insn): Declare.
16053         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
16054         to use; set size of basic_block_for_insn directly.
16055         (find_basic_blocks): Update.
16056
16057 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16058
16059         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
16060
16061 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16062
16063         * crtstuff.c (ON_EXIT): Delete empty macro definition.
16064         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
16065
16066 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
16067
16068         * c-decl.c (c_decode_option): Extend comment.
16069
16070 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
16071
16072         * toplev.c (progname): Make 'const char *'
16073         (flag_print_mem): Move out of main.
16074         (version_flag): Move out of main.
16075         (filename): Move out of main.
16076         (debug_args): Remove g prefix from options.
16077         (documented_lang_options): Remove cpplib specific options.
16078         (display_help): Add g prefix to debug options.
16079         (check_lang_option): Delete this function.
16080         (decode_d_option): New function: Decode -d... option.
16081         (decode_f_option): New function: Decode -f... option.
16082         (decode_W_option): New function: Decode -W... option.
16083         (decode_g_option): New function: Decode -g... option.
16084         (independent_decode_option): New function: Decode a language
16085         independent command line option.
16086         (main): Invoke lang_decode_option and then
16087         independent_decode_option on each command line option in
16088         turn.
16089
16090 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
16091
16092         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
16093          * fold-const.c (fold_range_test): Do not try to fold the range
16094          test if the rhs or lhs has side effects.
16095
16096         * basic-block.h (compute_flow_dominators): Declare.
16097
16098         * gcse.c (alloc_code_hoist_mem): New function.
16099         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
16100         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
16101         (hoist_code, one_code_hoisting_pass): Likewise.
16102         (gcse_main): If optimizing for size, then hoist expressions
16103         computed in multiple dominated basic blocks.
16104
16105         * gcse.c (invalid_nonnull_info): New function.
16106         (delete_null_pointer_checks): Likewise.
16107         * rtl.h (delete_null_pointer_checks): Declare.
16108         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
16109
16110         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
16111         (merge-blocks_move_successor_nojumps): Likewise.
16112         (merge_blocks): Allow merging of some blocks, even if it requires
16113         physical movement of the blocks, but not if it requires new jumps.
16114
16115         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
16116         Callers and prototype changed.
16117         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
16118
16119 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16120
16121         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
16122         -YP when both -p and -pg are present.  From i386/sol2.h.
16123
16124 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16125
16126         * Makefile.in (distclean): Delete tm_p.h.
16127         * configure.in: Create a new file, "tm_p.h", from a list in
16128         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
16129         "i386/i386-protos.h".
16130
16131         * alias.c: Include "tm_p.h".
16132         * c-typeck.c: Likewise.
16133         * calls.c: Likewise.
16134         * cse.c: Likewise.
16135         * emit-rtl.c: Likewise.
16136         * explow.c: Likewise.
16137         * expmed.c: Likewise.
16138         * expr.c: Likewise.
16139         * final.c: Likewise.
16140         * flow.c: Likewise.
16141         * fold-const.c: Likewise.
16142         * function.c: Likewise.
16143         * gcse.c: Likewise.
16144         * global.c: Likewise.
16145         * haifa-sched.c: Likewise.
16146         * integrate.c: Likewise.
16147         * jump.c: Likewise.
16148         * local-alloc.c: Likewise.
16149         * loop.c: Likewise.
16150         * optabs.c: Likewise.
16151         * recog.c: Likewise.
16152         * reg-stack.c: Likewise.
16153         * regclass.c: Likewise.
16154         * regmove.c: Likewise.
16155         * reload.c: Likewise.
16156         * reload1.c: Likewise.
16157         * reorg.c: Likewise.
16158         * resource.c: Likewise.
16159         * stmt.c: Likewise.
16160         * stor-layout.c: Likewise.
16161         * toplev.c: Likewise.
16162         * tree.c: Likewise.
16163         * unroll.c: Likewise.
16164         * genattrtab.c (main): Make generated file include "tm_p.h".
16165         * genemit.c (main): Likewise.
16166         * genoutput.c (main): Likewise.
16167         * genrecog.c (main): Likewise.
16168
16169         * i386.h: Delete all prototypes.
16170         * i386.c: Include "tm_p.h".
16171         (ix86_attr_length_default): Call constant_call_address_operand
16172         with correct number of arguments.
16173         * i386-protos.h: New file.
16174         * i386.md (unnamed patterns): Call constant_call_address_operand
16175         with correct number of arguments.
16176         (exception_receiver): Call load_pic_register with correct number
16177         of arguments.
16178
16179 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
16180
16181         * c-pragma.c (mark_align_stack): Dereference the void* properly.
16182
16183 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
16184
16185         * rtl.h (insns_safe_to_move_p): New function.
16186         * loop.c (find_and_verify_loops): Use it.
16187         * rtlanal.c (insns_safe_to_move_p): Define it.
16188
16189 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
16190
16191         * c-pragma.c: Include ggc.h.
16192         * Makefile.in (c-pragma.o): Update.
16193
16194 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16195
16196         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
16197         (LIB_SPEC): Likewise.
16198         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
16199         Reindent -YP/-p/-pg.
16200         Copied from config/sparc/sol2.h.
16201
16202 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
16203
16204         * c-pragma.c (mark_align_stack): New.
16205         (init_pragma): New.
16206         * c-pragma.h (init_pragma): Declare it.
16207         * c-lex.c (init_parse): Call it.
16208
16209 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16210
16211         * configure.in: Pick up thread library on Solaris/x86 just
16212         like on Solaris/sparc.
16213         * configure: Rebuilt.
16214
16215 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
16216
16217         * rtl.h (global_rtx_index): New enum.
16218         (global_rtl): Change to array of rtx.
16219         (pc_rtx, cc0_rtx): Redefine accordingly.
16220         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
16221         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
16222         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
16223         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
16224         (const_int_rtx): Change to array of rtx.
16225         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
16226         accordingly.
16227         * emit-rtl.c (global_rtl): Change to array of rtx.
16228         (const_int_rtx): Change to aray of rtx.
16229         (gen_rtx_CONST_INT): Redefine accordingly.
16230         (init_emit_once): Allocate and initialize global_rtl.  Likewise
16231         for const_int_rtx.  Add both as GC roots.
16232         * genattrtab.c (global_rtl): Update declaration.
16233
16234 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
16235
16236         * Makefile (USER_H): Add iso646.h back.
16237
16238 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
16239
16240         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
16241         zapping the LOG_LINKS of sched_before_next_call.
16242
16243         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
16244         * pa.c (insn_refs_are_delayed): Renamed from
16245         insn_sets_and_refs_are_delayed.
16246
16247 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
16248
16249         * functiion.h (struct function): Add x_whole_function_mode_p.
16250         (retrofit_block): Declare.
16251         * function.c (retrofit_block): New function.
16252         (identify_blocks): Add assertions.  Allow an incomplete set of
16253         block notes if we're still generating code for the function.
16254         * integrate.c: Include loop.h.
16255         (expand_inline_function): Call find_loop_tree_blocks to map block
16256         notes to blocks when in whole-function mode.  Use retrofit_block
16257         to insert new BLOCKs for the inlined function, rather than
16258         insert_block.
16259         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
16260         * Makefile.in (integrate.o): Depend on loop.h.
16261
16262 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
16263
16264         * tree.h (warn_about_unused_variables): Declare.
16265         * stmt.c (warn_about_unused_variables): New function, split out
16266         from ...
16267         (expand_end_bindings): Here.
16268
16269 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
16270
16271         * stmt.c (preserve_subexpressions_p): Don't crash when
16272         current_function->stmt is unset.
16273
16274 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
16275
16276         * stmt.c (expand_start_bindings): Allow callers to pass a flag
16277         indicating that no NOTE_INSN_BLOCK_BEG note is required.
16278         (expand_start_target_temps): Use it.
16279         * except.c (expand_eh_region_start_for_decl): Likewise.
16280         * expr.c (expand_expr): Likewise.
16281
16282 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16283
16284         * fold-const.c (operand_equal_p): Pay attention to side effects.
16285
16286 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
16287
16288         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
16289         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
16290
16291         * tlink.c (scan_linker_output): Look for keywords before accepting
16292         a mangled name in quotes.
16293
16294 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
16295
16296         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
16297         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
16298
16299 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
16300
16301         * alpha.md: Revert Thu Nov 26 change that came in through the
16302         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
16303         Avoid earlyclobber when possible.
16304
16305 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16306
16307         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
16308
16309         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
16310         Define HAVE_ON_EXIT.
16311
16312 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16313
16314         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
16315         CTYPE_CONV in all ctype macros.
16316
16317         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
16318         from system.h.
16319
16320         * cexp.y (initialize_random_junk): Likewise.
16321
16322         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
16323
16324         * i370.c (handle_pragma): Likewise.
16325
16326         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
16327
16328         * v850.c (override_options): Likewise.
16329
16330         * doprint.c (_doprnt): Likewise.
16331
16332         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
16333         Likewise.
16334
16335         * fixinc/server.c (load_data): Likewise.
16336
16337         * fold-const.c (real_hex_to_f): Likewise.
16338
16339         * genattr.c (write_upcase, gen_attr): Likewise.
16340
16341         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
16342         write_upcase): Likewise.
16343
16344         * genemit.c (print_code): Likewise.
16345
16346         * genopinit.c (gen_insn): Likewise.
16347
16348         * genpeep.c (print_code): Likewise.
16349
16350         * genrecog.c (print_code): Likewise.
16351
16352         * optabs.c (init_libfuncs): Likewise.
16353
16354 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
16355
16356         * haifa-sched.c (sched_analyze): Keep the list of notes organized
16357         in pairs.
16358         (reemit_notes): Likewise.
16359
16360 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
16361
16362         * ggc.h (ggc_root): Move to ggc-common.c.
16363         (roots): Remove.
16364         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
16365         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
16366         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
16367         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
16368         * ggc-common.c (ggc_root): Move from ggc.h.
16369         (roots): Declare, static.
16370         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
16371         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
16372         null or check/set mark bit.
16373         (ggc_mark_roots): New.
16374         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
16375
16376 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
16377
16378         * m32r.c: Include toplev.h.
16379         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
16380         (gen_compare): Rename swap_p to must_swap to match uses.
16381         Add default abort case.
16382         (m32r_output_function_epilogue): Remove unused variables.
16383         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
16384         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
16385         define to empty parameter list.  Update all uses.
16386         (predicate decls): Use enum machine_mode not int.
16387         * m32r.md (movsi): Call abort, not fatal_insn.
16388         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
16389
16390 1999-09-14  Andrew Haley  <aph@cygnus.com>
16391
16392         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
16393         use $0 instead of 0.
16394
16395 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16396
16397         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
16398         computation out of loop over hard regs.
16399
16400 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
16401
16402         * function.c (identify_blocks): Don't shadow a variable in an
16403         outer scope.
16404         * integrate.c (integrate_decl_tree): Don't use pushlevel,
16405         pushdecl, or poplevel to build up the new BLOCK tree.
16406         (expand_inline_function): Likewise.
16407         (integrate_parm_decls): Likewise.
16408
16409 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
16410
16411         * c-typeck.c (qualify_type): Merge qualifiers from both types.
16412
16413 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
16414
16415         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
16416         * invoke.texi: Document this change.
16417
16418 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
16419
16420         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
16421         Free the struct.
16422         (mark_emit_status): Renamed from mark_emit_state.
16423         * except.c (mark_eh_status): Renamed from mark_eh_state.
16424         Check not null before marking.
16425         (free_eh_status): New.
16426         * expr.c (mark_expr_status, free_expr_status): New.
16427         * function.c (free_machine_status): New.
16428         (free_after_parsing): New.
16429         (free_after_compilation): Move bits to free_after_parsing; call
16430         free_eh_status, free_expr_status; zero the marked members of the
16431         function state.
16432         (prepare_function_start): No can_garbage_collect.
16433         Call init_eh_for_function.
16434         (expand_dummy_function_end): Free up current_function state.
16435         (mark_function_status): Renamed from mark_function_state.
16436         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
16437         * function.h (struct function): No can_garbage_collect.
16438         (free_machine_status, free_after_parsing): Declare.
16439         (free_eh_status, free_expr_status): Declare.
16440         * ggc.h (mark_expr_status): Declare.
16441         * stmt.c (free_stmt_status): Free the struct.
16442         (mark_stmt_status): Renamed from mark_stmt_state.
16443         (init_stmt): Don't call init_eh.
16444         (init_stmt_for_function): Don't call init_eh_for_function.
16445         * toplev.c (compile_file): Call init_eh.
16446         (rest_of_compilation): Free basic block info before ggc_collect.
16447         Call free_after_parsing; conditionally call free_after_compilation.
16448         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
16449         Check not null before marking.
16450         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
16451
16452 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
16453
16454         * c-lex.c (yylex): Initialize warn.
16455
16456 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
16457
16458         * pa.c (emit_move_sequence): Properly set the mode of the scratch
16459         register when performing secondary reloads for the SAR register.
16460
16461 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
16462
16463         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
16464         (NOTE_BLOCK): New macro.
16465         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
16466         * function.h (identify_blocks): Change prototype.
16467         * function.c (identify_blocks): Simplify.
16468         (reorder_blocks): Likewise.
16469         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
16470         NOTE_INSN_BLOCK_{BEG,END}.
16471         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
16472         the list of saved notes if the note isn't a
16473         NOTE_INSN_BLOCK_{BEG,END}.
16474         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
16475         NOTE_BLOCK_NUMBER.
16476         (reemit_notes): Adjust recreation of notes to reflect new saved
16477         note structure.
16478         * print-rtl.c (print_rtx): Print the address of the BLOCK when
16479         printing a block note.
16480         * stmt.c (block_vector): Remove.
16481         (find_loop_tree_blocks): Simplify.
16482         (unroll_block_trees): Likewise.
16483         * tree.h (reorder_block): Change prototype.
16484
16485 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
16486
16487         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
16488         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
16489         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
16490         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
16491         (atexit, exit): Simplify.
16492         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
16493         * config/lots: Remove defns of HAVE_ATEXIT.
16494
16495 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
16496
16497         * calls.c (precompute_arguments): Fix typo in comment.
16498         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
16499         TARGET_EXPR.
16500
16501 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
16502
16503         * dsp16xx.c (override_options): Fix typos in GC root registration.
16504
16505 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
16506
16507         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
16508         from config/svr4.h.
16509         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
16510         (FUNCTION_PROFILER): Redefine appropriately for Linux.
16511         (CC1_SPEC): Likewise.
16512
16513 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16514
16515         * genattr.c (main): Add extern prototype.  Call return, not exit.
16516         * genattrtab.c (main): Likewise.
16517         * gencheck.c (main): Likewise.
16518         * gencodes.c (main): Likewise.
16519         * genconfig.c (main): Likewise.
16520         * genemit.c (main): Likewise.
16521         * genextract.c (main): Likewise.
16522         * genflags.c (main): Likewise.
16523         * gengenrtl.c (main): Likewise.
16524         * genopinit.c (main): Likewise.
16525         * genoutput.c (main): Likewise.
16526         * genpeep.c (main): Likewise.
16527         * genrecog.c (main): Likewise.
16528
16529         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
16530         * genattrtab.c (get_insn_name): Likewise.
16531         * gencodes.c (get_insn_name): Likewise.
16532         * genconfig.c (get_insn_name): Likewise.
16533         * genemit.c (get_insn_name): Likewise.
16534         * genextract.c (get_insn_name): Likewise.
16535         * genflags.c (get_insn_name): Likewise.
16536         * genopinit.c (get_insn_name): Likewise.
16537         * genpeep.c (get_insn_name): Likewise.
16538
16539         * gencheck.c (usage): Add static prototype.
16540         * genextract.c (print_path): Constify a char*.
16541         * genopinit.c (optabs): Likewise.
16542         * genoutput.c (operand_data, data, output_predicate_decls,
16543         compare_operands): Likewise.
16544         * genrecog.c (write_tree): Add default case in switch.
16545
16546 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16547
16548         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
16549
16550         * print-rtl.c (get_insn_name): Remove prototype.
16551
16552         * toplev.h (progname): Declare const.
16553
16554         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
16555         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
16556         dump_sched_info, dump_local_alloc, regset_release_memory,
16557         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
16558         error_with_file_and_line, error_with_decl, error_for_asm, error,
16559         fatal, warning_with_file_and_line, warning_with_decl, warning,
16560         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
16561         Remove redundant prototypes.
16562
16563         (notice, check_lang_option, report_file_and_line, vnotice,
16564         mark_file_stack): Add static prototype.
16565         (set_fatal_function): Add prototype.
16566         (vnotice, report_file_and_line, set_fatal_function,
16567         check_lang_option): Constify a char*.
16568         (main): Prototype.  Call return, not exit.
16569
16570 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16571
16572         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
16573
16574         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
16575
16576         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
16577
16578         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
16579
16580 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16581
16582         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
16583         behave as if it's zero in all cases.
16584         (expand_function_start): Adjust call to assign_parms.
16585         * tree.h (assign_parms): Adjust prototype.
16586         * objc/objc-act.c (hack_method_prototype): Adjust call to
16587         assign_parms.
16588
16589 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
16590
16591         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
16592         arg_pointer_rtx fixed if the argument pointer register is
16593         not fixed.
16594         (NONZERO_BASE_PLUS_P): Likewise.
16595
16596 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
16597
16598         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
16599         match_insn2 to match_insn.
16600         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
16601
16602 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
16603
16604         * Makefile.in (USER_H): Remove va-foo.h.
16605
16606         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
16607         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
16608         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
16609         va-spur.h,va-v850.h}: Remove.
16610
16611 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
16612
16613         * sparc/sparc.md (eligible_for_return_delay): New attribute.
16614         (in_return_delay): Use it instead of match_insn.
16615
16616 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16617
16618         * config/alpha/va_list.h (va-alpha.h): Do not include.
16619         (__gnuc_va_list): Typedef as in varargs.h.
16620
16621 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
16622
16623         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
16624         DECL_LIVE_RANGE_RTL.
16625
16626 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
16627
16628         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
16629         not NOTE_BLOCK_NUMBER.
16630         (expand_eh_region_end): Likewise.
16631         (find_exception_handler_labels): Likewise.
16632         (scan_region): Likewise.
16633         (exception_optimize): Likewise.
16634         (update_rethrow_references): Likewise.
16635         (set_insn_eh_region): Likewise.
16636         * final.c (final_scan_insn): Likewise.
16637         * flow.c (make_edges): Likewise.
16638         * integrate.c (expand_inline_function): Likewise.
16639         * print-rtl.c (print_rtx): Likewise.
16640
16641 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
16642
16643         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
16644         terms of builtin functions and types.
16645
16646         * mips.c (mips_build_va_list): New.
16647         (mips_va_start, mips_va_arg): New.
16648         * mips.h (BUILD_VA_LIST_TYPE): New.
16649         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16650
16651         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
16652         (sh_build_va_list, sh_va_start, sh_va_arg): New.
16653         * sh.h (BUILD_VA_LIST_TYPE): New.
16654         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16655
16656 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
16657
16658         * recog.h (struct recog_data): Make dup_num, operand_address_p,
16659         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
16660         (struct insn_data): Likewise with n_operands, n_dups,
16661         n_alternatives, output_format.
16662         * regclass.c (scan_one_insn): Cast n_operands to int before
16663         arithmetic inside comparison.
16664
16665 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
16666
16667         * toplev.c (compile_function): Unconditionally emit nop.
16668
16669 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16670
16671         * haifa-sched.c (actual_hazard): Move declaration of variable
16672         `this_cost' into the scope where it is used.
16673
16674 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16675
16676         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
16677         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
16678         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
16679
16680         * genrecog.c (make_insn_sequence): Call memset, not bzero.
16681
16682         * jump.c (find_insert_position): Don't declare or define unless
16683         !HAVE_conditional_arithmetic.
16684         (returnjump_p_1, delete_prior_computation): Add static prototypes.
16685
16686         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
16687
16688         * recog.c (offsettable_address_p): Prototype function pointer.
16689         (preprocess_constraints): Call memset, not bzero.
16690
16691         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
16692         (gcc_obstack_init): Don't declare.
16693         (fix_sizetype): Add static prototype.
16694         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
16695         (tree_cons): Call memset, not bzero.
16696
16697         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
16698         definition in macro ASM_WEAKEN_LABEL.
16699         (mark_const_hash_entry): Add static prototype.
16700
16701 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16702
16703         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
16704
16705         * unroll.c (find_common_reg_term, subtract_reg_term,
16706         loop_find_equiv_value): Add static prototypes.
16707         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
16708         (copy_loop_body): Remove unreachable break statement.
16709
16710         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
16711
16712         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
16713
16714 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16715
16716         Undo some changes from the gcc2 merge:
16717         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
16718         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
16719         pointers.
16720
16721         Undo this change:
16722         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
16723         * emit-rtl.c (gen_lowpart_common): Disable optimization of
16724         initialized float-int union if the value is a NaN.
16725
16726 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16727
16728         * gthr-win32.h: New file.
16729
16730         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
16731         shared as a valid attribute.
16732         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
16733         * extend.texi: Document `shared' variable attribute.
16734
16735 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
16736
16737         * configure.in: Handle --enable-threads on FreeBSD.
16738         * configure: Rebuit.
16739
16740 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
16741
16742         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
16743         thread support.
16744         * configure: Rebuilt.
16745
16746 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
16747                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
16748                           Rosimildo DaSilva <rdasilva@connecttel.com>
16749
16750         * configure.in (m68k-*-rtemscoff*): Added.
16751         * configure.in (mips64orion-*-rtems*): Converted to ELF.
16752         * configure.in (sparc-*-rtemsaout*): Added as alias for old
16753         sparc-rtems configuration.
16754         * configure.in (sparc-*-rtemself*): Added.
16755         * configure.in (sparc-*-rtems*): Now ELF not a.out.
16756         * config/i386/rtems.h: Added comment.
16757         * config/sparc/rtemself.h: New file.
16758
16759         * configure.in (m68k-rtemself): Added.
16760         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
16761         and DWARF_DEBUGGING_INFO.
16762         * config/m68k/crti.s: New file.
16763         * config/m68k/crtn.s: New file.
16764         * config/m68k/t-crtstuff: New file.
16765         * config/m68k/rtemself.h: New file.
16766
16767         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
16768         global ctor/dtor and C++ exception handling.
16769         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
16770         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
16771         ENDFILE_SPEC.
16772         * config/i386/t-rtems-i386: New File.
16773
16774 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
16775
16776         * stmt.c (expand_end_case): Return right away if the case stack is
16777         empty.
16778
16779 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
16780
16781         * Makefile.in (version.c): Remove rule incorrectly brought in from
16782         the gcc2 merge.
16783
16784 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
16785
16786         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
16787         * msdos/top.sed:  Take into account a prepended $(SHELL) to
16788         move-if-change.
16789         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
16790
16791         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
16792
16793 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16794
16795         * regmove.c (fixup_match_1): Don't change an unchanging register.
16796         (stable_but_for_p): Renamed to:
16797         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
16798         Changed all callers.
16799
16800 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
16801
16802         * loop.c (strength_reduce): Don't call reg_used_between_p if the
16803         insn from BL2 is after the insn from BL.
16804
16805 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
16806
16807         * recog.h (INSN_OUTPUT_FORMAT_*): New.
16808         (struct insn_data): Merge `template' and `outfun' into `output'.
16809         Add `output_format'.
16810         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
16811         (struct data): Remove `outfun'; add `output_format'.
16812         (name_for_index): Remove declaration.
16813         (output_insn_data): Handle output formats.
16814         (process_template): Emit the bare array for @.
16815         (gen_expand, gen_split): Set output_format to NONE.
16816         * output.h (get_insn_template): Declare.
16817         * final.c (get_insn_template): New.
16818         (final_scan_insn): Use it.
16819         * toplev.c (compile_file): Likewise.
16820
16821         * c4x/c4x.c (c4x_process_after_reload): Likewise.
16822         * i860/i860.c (output_delayed_branch): Likewise.
16823         (output_delay_insn): Likewise.
16824
16825 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16826
16827         * rtl.c (obstack_alloc_rtx): Removed.
16828
16829 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
16830
16831         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
16832
16833 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
16834
16835         * i386.c (call_insn_operand): Reject const_int.
16836         (expander_call_insn_operand): Use call_insn_operand.
16837
16838 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16839
16840         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
16841
16842 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
16843
16844         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
16845         Use DImode operation.
16846
16847 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
16848
16849         * gcc.c: Include sys/resource.h.
16850         (report_times): New flag.
16851         (execute):  If report_times is set, calculate and report the
16852         CPU time consumed by each subprocess.
16853
16854         (rus, prus): New globals.
16855         (option_map): Add --time.
16856         (display_help): Document -time.
16857         (process_command): Set report_times if -time is given.
16858         Turn off -pipe if -time is given.
16859
16860         * invoke.texi: Document new option -time.
16861
16862         * configure.in: Check for getrusage.  Check if we have to
16863         prototype getrusage.
16864         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
16865         * configure: Regenerate.
16866         * config.in: Regenerate.
16867
16868 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
16869
16870         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
16871         fields.
16872
16873 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
16874
16875         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
16876         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
16877         (nan): Return _thenan_sf or _thenan_df as appropriate.
16878         (L_thenan_sf): Define _thenan_sf.
16879         (L_thenan_df): Define _thenan_df.
16880
16881         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
16882         (DPBIT_FUNCS): Add _thenan_df.
16883
16884 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
16885
16886         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
16887         TYPE_SIZE_UNIT.
16888
16889 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16890
16891         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
16892
16893         * gcc.h: New file.
16894         (lang_specific_driver): Don't take a function pointer parameter.
16895         All callers changed.
16896
16897         * gcc.c: Include gcc.h.
16898         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
16899         lang_specific_extra_outfiles, fatal): Don't declare.
16900         (multilib_defaults_raw): Constify.
16901         (read_specs): Call memset, rather than bzero.
16902         (main): Call return, not exit.
16903         (lookup_compiler): Call memcpy, not bcopy.
16904         (fatal): Make extern.
16905
16906         * cppspec.c: Include gcc.h.
16907         (lang_specific_driver): Initialize variable `quote'.  Constify a
16908         char*.  All calls to the function pointer parameter now
16909         explicitly call `fatal'.
16910
16911         * gccspec.c (lang_specific_driver): Include gcc.h.
16912
16913 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
16914
16915         * arm.c (note_invalid_constants): Use recog_data.operand_type
16916         for recog_op_type.
16917
16918 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16919
16920         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
16921         Declare.
16922
16923         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
16924         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16925         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16926         reload_secondary_in_reload, reload_secondary_out_reload,
16927         reload_secondary_in_icode, reload_secondary_out_icode,
16928         reload_reg_rtx, reload_when_needed): Delete declarations.
16929         (struct reload): New structure.
16930         (rld): Declare new array.
16931         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
16932         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16933         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16934         reload_secondary_in_reload, reload_secondary_out_reload,
16935         reload_secondary_in_icode, reload_secondary_out_icode,
16936         reload_reg_rtx, reload_when_needed): Delete definitions.
16937         (rld): New array.
16938         (whole file): Replace uses of the deleted arrays with uses of rld.
16939         * reload1.c (whole file): Replace uses of the deleted arrays with
16940         uses of rld.
16941         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
16942         explicit loops, not with bcopy.
16943
16944 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
16945
16946         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
16947         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
16948         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
16949         insn_name): Delete and consolidate into new structures.
16950         (insn_operand_predicate_fn): New.
16951         (insn_output_fn): New.
16952         (insn_gen_fn): New.
16953         (struct insn_operand_data): New.
16954         (struct insn_data): New.
16955         (insn_data): New.
16956         (OUT_FCN): Update for insn_data change.
16957         * builtins.c (expand_builtin_strlen): Likewise.
16958         (expand_builtin_memcmp): Likewise.
16959         * combine.c (make_extraction, simplify_comparison): Likewise.
16960         * cse.c (canon_reg, cse_insn): Likewise.
16961         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
16962         * expmed.c (store_bit_field, extract_bit_field): Likewise.
16963         (emit_store_flag): Likewise.
16964         * expr.c (convert_move, emit_block_move): Likewise.
16965         (clear_storage, emit_push_insn, expand_increment): Likewise.
16966         (do_store_flag): Likewise.
16967         * expr.h (GEN_FCN): Likewise.
16968         (insn_gen_function): Die.
16969         * final.c (final_scan_insn): Update for insn_data change.
16970         (output_asm_name): Likewise.
16971         * function.c (fixup_var_refs_1): Likewise.
16972         * loop.c (check_dbra_loop): Likewise.
16973         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
16974         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
16975         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
16976         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
16977         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
16978         * regmove.c (gen_add3_insn): Likewise.
16979         * reload.c (push_secondary_reload, combine_reloads): Likewise.
16980         (find_reloads, find_reloads_address_1): Likewise.
16981         (debug_reload_to_stream): Likewise.
16982         * reload1.c (emit_reload_insns, gen_reload): Likewise.
16983         * stmt.c (expand_end_case): Likewise.
16984         * toplev.c (compile_file): Likewise.
16985
16986         * c4x/c4x.c (c4x_process_after_reload): Likewise.
16987         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
16988
16989         * print-rtl.c (insn_name_ptr): Remove declaration.
16990         (get_insn_name): Declare.
16991         (print_rtx): Use it.
16992         * genoutput.c (insn_name_ptr): Remove.
16993         (next_operand_number): New.
16994         (struct operand_data): New.
16995         (null_operand, odata, odata_end): New.
16996         (struct data): Use struct operand_data.
16997         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
16998         (get_insn_name): Renamed from name_for_index.
16999         (output_prologue): Define NO_MD_PROTOTYPES.
17000         (output_predicate_decls): Break out from output_epilogue.
17001         Iterate over the operands list.
17002         (output_operand_data): Break out from output_epilogue.  Emit
17003         just the operands list.
17004         (output_insn_data): Break out from output_epilogue.  Emit just
17005         the insn data.
17006         (output_epilogue): Remove.
17007         (output_get_insn_name): New.
17008         (constraints, op_n_alternatives, predicates, address_p): Die.
17009         (modes, strict_low, seen): Die.
17010         (scan_operands): Take new param `d' instead of writing to
17011         seven global variables.
17012         (compare_operands): New.
17013         (place_operands): New.
17014         (validate_insn_alternatives): Update for struct data change.
17015         (gen_insn): Don't zero or copy 7 global arrays.  Update for
17016         scan_operands; call place_operands.
17017         (gen_peephole, gen_expand, gen_split): Likewise.
17018         (main): Update for new output routines.
17019
17020         * genattr.c (insn_name_ptr): Remove.
17021         (get_insn_name): New function.
17022         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
17023         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
17024         * genrecog.c: Likewise.
17025
17026         * alpha.md (adddi3): Make `pattern' array static.
17027
17028 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17029
17030         * config/c4x/c4x.h (c4x_rpts_cycles_string,
17031         c4x_cpu_version_string): Constify char *.
17032         * config/c4x/c4x.c (c4x_rpts_cycles_string,
17033         c4x_cpu_version_string): Likewise.
17034
17035 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
17036
17037         * tree.c (save_tree_status): Revert 10 Sep change.
17038         (restore_tree_status): Likewise.  Call obstack_free with NULL
17039         before freeing the obstack proper.
17040
17041 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
17042
17043         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
17044
17045         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
17046         surrounding context.
17047
17048 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
17049
17050         * tree.c (type_hash_canon): Put all types in the hash-table, when
17051         GC'ing.
17052
17053 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
17054
17055         * recog.h (struct recog_data, recog_data): New.
17056         (recog_foo variables): Kill.
17057         * recog.c (recog_operand, recog_operand_loc): Kill.
17058         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
17059         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
17060         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
17061         (recog_data): Define.
17062         (extract_insn): Update all recog_foo references to use recog_data.
17063         (preprocess_constraints, constrain_operands): Likewise.
17064         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
17065         * genattrtab.c (main): Likewise.
17066         * genextract.c (main): Likewise.
17067         * genoutput.c: Likewise.
17068         * genrecog.c (write_subroutine, main): Likewise.
17069         * local-alloc.c (block_alloc): Likewise.
17070         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
17071         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
17072         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
17073         * reload.c (find_reloads, find_reloads_toplev): Likewise.
17074         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
17075         (reload_cse_simplify_operands): Likewise.
17076
17077         * arc/arc.c (arc_final_prescan_insn): Likewise.
17078         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
17079         * h8300/h8300.c (notice_update_cc): Likewise.
17080         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
17081         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
17082         * mn10200/mn10200.c (notice_update_cc): Likewise.
17083         * mn10300/mn10300.c (notice_update_cc): Likewise.
17084         * romp/romp.c (update_cc): Likewise.
17085         * sparc/sparc.c (check_pic): Likewise.
17086         * v850/v850.c (notice_update_cc): Likewise.
17087
17088         * genemit.c (main): Don't declare recog_operand.
17089
17090 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
17091
17092         * ggc.h (rtvec_def): Forward declare.
17093         (tree_node): Likewise.
17094         (ggc_root): Define.
17095         (roots): Declare.
17096         (ggc_set_mark_rtx): Add prototype.
17097         (ggc_set_mark_rtvec): Likewise.
17098         (ggc_set_mark_tree): Likewise.
17099         * ggc-simple.c (ggc_root): Don't define.
17100         (roots): Don't declare.
17101         (ggc_mark_rtx): Remove.
17102         (ggc_mark_rtvec): Likewise.
17103         (ggc_mark_tree): Likewise.
17104         (ggc_mark_varray): Likewise.
17105         (ggc_mark_tree_hash_table_entry): Likewise.
17106         (ggc_mark_tree_hash_table): Likewise.
17107         (ggc_set_mart_rtx): New function.
17108         (ggc_set_mark_rtvec): Likewise.
17109         (ggc_set_mark_tree): Likewise.
17110         (ggc_add_root): Remove.
17111         (ggc_add_rtx_root): Likewise.
17112         (ggc_remove_tree_root): Likewise.
17113         (ggc_add_string_root): Likewise.
17114         (ggc_add_tree_varray_root): Likewise.
17115         (ggc_add_tree_hash_table_root): Likewise.
17116         (ggc_del_root): Likewise.
17117         (ggc_mark_rtx_ptr): Likewise.
17118         (ggc_mark_tree_ptr): Likewise.
17119         (ggc_mark_string_ptr): Likewise.
17120         (ggc_mark_tree_varray_ptr): Likewise.
17121         (ggc_mark_tree_hash_table_ptr): Likewise.
17122         * ggc-common.c: New file.
17123         * Makefile.in (OBJS): Add ggc-common.o.
17124         (ggc-common.o): List dependencies.
17125
17126 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
17127
17128         * cppalloc.c (xstrdup): Use memcpy.
17129         * cpperror.c (cpp_print_containing_files): Don't use
17130         cpp_notice.
17131         * cpplib.c (conditional_skip): Set temp->lineno.
17132         (do_endif): Make error message less obscure.
17133         (if_directive_name): New function.
17134         (cpp_get_token [case EOF]): Unwind the if stack and generate
17135         error messages for each unterminated conditional in this file.
17136         (parse_string):  Do not behave differently if -traditional.
17137
17138 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
17139
17140         * builtins.c (expand_builtin_va_arg): Cope with an array-type
17141         va_list decomposing to pointer-type.
17142         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
17143         (rs6000_va_arg): Likewise.
17144
17145 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
17146
17147         * except.c (start_dynamic_handler): Compute size using
17148         STACK_SAVEAREA_MODE.
17149
17150 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17151
17152         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
17153         include directory headers.  Don't define strrchr.  Don't provide
17154         my_* replacement functions.  Prefer PTR over `pointer_type'.
17155         Don't prototype system functions.  Don't redefine getopt.
17156
17157         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
17158         safe_read, safe_write, save_pointers, restore_pointers,
17159         is_id_char, in_system_include_dir, directory_specified_p,
17160         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
17161         find_corresponding_lparen, referenced_file_is_newer,
17162         save_def_or_dec, munge_compile_params, gen_aux_info_file,
17163         process_aux_info_file, identify_lineno, check_source,
17164         seek_to_line, forward_to_next_token_char, output_bytes,
17165         output_string, output_up_to, other_variable_style_function,
17166         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
17167         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
17168         find_static_definition, connect_defs_and_decs, add_local_decl,
17169         add_global_decls, needs_to_be_converted, visit_each_hash_node,
17170         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
17171         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
17172         scan_for_missed_items, edit_file, string_list_cons): Add static
17173         prototypes.
17174         (standard_exec_prefix, target_machine, target_version,
17175         default_syscalls_dir, string_list, string_list_cons, find_file,
17176         do_cleaning): Constify a char*.
17177         (safe_read, safe_write): Use PTR, not a char*.
17178         (is_id_char): Take an int, not a char.
17179         (main): Add prototype.  Call return, not exit.
17180
17181 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
17182
17183         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
17184         when comparing types.
17185
17186 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
17187
17188         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
17189         (strength_reduce): Release the varrays from the no-bivs early exit.
17190
17191         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
17192         the loop over the registers.
17193
17194         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
17195         for a new obstack.
17196         (restore_tree_status): Check that instead when freeing the obstack.
17197
17198 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
17199
17200         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
17201         as pointers.
17202
17203 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17204
17205         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
17206         operand size modifiers.
17207
17208 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17209
17210         * c-common.c (c_common_nodes_and_builtins): Don't build
17211         va_list_type_node.
17212         * c-common.h (enum c_tree_index and related accesor macros): Remove
17213         everything now declared in tree.h.
17214         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
17215         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
17216         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
17217         (error_mark_node, void_type_node, char_type_node, integer_type_node,
17218         unsigned_type_node, ptr_type_node, va_list_type_node,
17219         integer_zero_node, null_pointer_node, integer_one_node): Delete.
17220         (init_decl_processing): Call build_common_tree_nodes and
17221         build_common_tree_nodes_2 instead of building their nodes here.
17222         Don't add roots for these nodes.
17223         * stor-layout.c (size_zero_node, size_one_node): Delete.
17224         (set_sizetype): Make a new node for bitsizetype each time.
17225         * tree.c (global_trees): New variable.
17226         (init_obstacks): Add a gc root for it.
17227         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
17228         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
17229         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
17230         (build_common_tree_nodes): New function.
17231         (fix_sizetype): New function.
17232         (build_common_tree_nodes_2): New function.
17233         * tree.h (enum tree_index): New.
17234         (global_trees): Declare.
17235         Add accessor macros for all nodes now moved to global_trees.
17236         Delete their declarations.
17237
17238 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
17239
17240         * c-decl.c (finish_function): When processing a nested function,
17241         push and pop GC context around rest_of_compilation.
17242
17243 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
17244
17245         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
17246         Default ix86_arch to PROCESSOR_I386.
17247         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
17248         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
17249         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
17250         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
17251         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
17252         (EXTRA_SPECS): Remove deleted specs.
17253
17254 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
17255
17256         * function.c (assign_stack_local_1): Allocate from
17257         function->x_frame_offset, not frame_offset.
17258
17259 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
17260
17261         * ggc.h (lang_cleanup_tree): Remove.
17262         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
17263         * ggc-callbacks.c (lang_cleanup_tree): Remove.
17264
17265         * c-decl.c (finish_struct): Use ggc_alloc to allocate
17266         TYPE_LANG_SPECIFIC when garbage collecting.
17267         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
17268         (lang_cleanup_tree): Remove.
17269
17270 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
17271
17272         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
17273         * crtstuff.c: Not here.
17274         * dwarf2out.c: Or here.
17275         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
17276         info.
17277
17278 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
17279
17280         * function.h (free_after_compilation): Remove decl parameter.
17281         (free_varasm_status0: Likewise.
17282         (free_emit_status): Likewise.
17283         (free_stmt_status): Likewise.
17284         (free_after_compilation): Likewise.
17285         (init_lang_status): New variable.
17286         (free_lang_status): Likewise.
17287         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
17288         * function.c (init_lang_status): New variable.
17289         (free_lang_status): Likewise.
17290         (push_function_context_to): Don't set function::decl here.
17291         (free_after_copmilation): Make decl parameter implicit.  Call
17292         free_lang_status if defined.
17293         (prepare_function_start): Call init_lang_status if defined.
17294         (init_function_start): Set function::decl here.
17295         * profile.c (output_func_start_profiler): Don't call pushdecl
17296         until we've actually started the function.
17297         * stmt.c (free_stmt_status): Make decl parameter implicit.
17298         * toplev.c (rest_of_compilation): Don't pass decl to
17299         free_after_compilation.
17300         * varasm.c (free_varasm_status): Likewise.
17301
17302 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17303
17304         * except.c (call_get_eh_context): Add root when allocating static
17305         tree variable.
17306
17307 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
17308
17309         * arm.c: Include "ggc.h".
17310         (arm_add_gc_roots): New function.
17311         (arm_override_options): Call it.
17312         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
17313
17314         * arm.md (define_asm_attributes): Add a pool_range attribute.
17315
17316 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
17317
17318         * extend.texi (Volatiles): New node.
17319
17320 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
17321
17322         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
17323         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
17324         (struct ggc_any): Replace `mark' with `magic_mark'.
17325         (ggc_alloc_string): Use memcpy, not bcopy.
17326         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
17327         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
17328         (ggc_free_any): New.
17329         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
17330         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
17331         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
17332         Use IS_MARKED. Use ggc_free_any.
17333
17334 1999-09-09  Scott Bambrough <scottb@netwinder.org>
17335
17336         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
17337
17338 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
17339
17340         * toplev.c (main): Always init_ggc.
17341
17342 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
17343
17344         * except.c (find_all_handler_type_matches): Free the list if
17345         we found no matches.
17346
17347         * combine.c (SUBST): Break out to a real function do_SUBST.
17348         (SUBST_INT): Likewise.
17349         * gcse.c (free_pre_mem): Free `temp_bitmap'.
17350         (pre_insert): Free `inserted'.
17351         * loop.c (basic_induction_var): Always set `location'.
17352
17353         * function.c (expand_function_end): Add initial_trampoline as a root.
17354         * rtl.h (init_varasm_once): Declare.
17355         * toplev.c (compile_file): Call it.
17356         * ggc-simple.c (ggc_mark_string_ptr): New.
17357         (ggc_add_string_root): New.
17358         (ggc_collect): Disable collection avoidance temporarily.
17359         * ggc.h (ggc_add_string_root): Declare.
17360         * except.c (create_rethrow_ref): Use ggc_alloc_string.
17361         * optabs.c (init_libfuncs): Likewise.
17362         * varasm.c (named_section): Use ggc_alloc_string.
17363         (make_function_rtl): Likewise.
17364         (make_decl_rtl): Likewise.
17365         (assemble_static_space): Likewise.
17366         (assemble_trampoline_template): Likewise.
17367         (output_constant_def): Likewise.
17368         (force_const_mem): Likewise.
17369         (mark_const_hash_entry): New.
17370         (mark_pool_sym_hash_table): New.
17371         (mark_varasm_state): Use it.
17372         (init_varasm_once): New.
17373
17374         * expr.h (init_one_libfunc): Declare.
17375         * optabs.c (init_one_libfunc): New.
17376         (init_optabs): Use it.
17377         * config/gofast.h: Likewise.
17378         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
17379         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
17380
17381 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
17382
17383         * Makefile.in (cppexp.o): Depend on cpphash.h.
17384         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
17385         Include cpphash.h.
17386         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
17387         * cpplib.c (do_define): Generalise to handle poisoned definitions,
17388         redefining poisoned identifiers, etc.
17389         (do_undef): Don't allow poisoned identifiers to be undefined.
17390         (do_pragma): Add #pragma poison.
17391         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
17392
17393         * cccp.c: Add T_POISON node type.
17394         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
17395         poisoned xxx.
17396         (do_define): Generalise to handle poisoned definitions,
17397         redefining poisoned identifiers, etc.
17398         (do_undef): Don't allow poisoned identifiers to be undefined.
17399         (do_pragma): Add #pragma poison.
17400         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
17401
17402         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
17403         * c-pragma.h: Add ps_poison state.  We now always have generic
17404         pragmas.
17405
17406 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
17407
17408         * ggc.h (ggc_alloc): New function.
17409         (ggc_mark): Likewise.
17410         * ggc-simple.c (ggc_any): New structure.
17411         (ggc_status): Add anys.
17412         (n_anys_collected): New variable.
17413         (ggc_alloc): Define.
17414         (ggc_mark): Likewise.
17415         (ggc_collect): Collect the anys.
17416
17417 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17418
17419         * c-decl.c (mark_binding_level): Make static to match prototype.
17420
17421 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
17422
17423         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
17424
17425 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
17426
17427         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
17428         will use into account.  Expand the max width to 5.
17429         * rtl.c: Likewise.
17430
17431 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
17432
17433         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
17434         for the rtx length.
17435
17436 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
17437
17438         * alpha.md (call value patterns): Remove the result predicates.
17439
17440 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
17441
17442         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
17443         last change.
17444
17445 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17446
17447         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
17448         changed from extern char *, to extern PTR.  Also fix typo in
17449         NEED_DECLARATION_REALLOC test.
17450
17451         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
17452
17453 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17454
17455         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
17456         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
17457         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
17458         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
17459
17460         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
17461
17462         * cccp.c (pcfinclude): Likewise.
17463
17464         * global.c (allocno_compare): Likewise.
17465
17466         * haifa-sched.c (rank_for_schedule): Likewise.
17467
17468         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
17469
17470         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
17471
17472         * stupid.c (stupid_reg_compare): Likewise.
17473
17474         * tree.c (_obstack_allocated_p): Likewise.
17475
17476         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
17477
17478 1999-09-08  Bruce Korb  autogen@linuxbox.com
17479
17480         * Makefile.in: Give the hapless gperf user a hint about
17481         why "gperf -F" fails.
17482
17483 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
17484
17485         * lists.c: Include ggc.h.
17486         (zap_lists): New.
17487         (init_EXPR_INSN_LIST_cache): Install it.
17488
17489         * ggc-simple.c (init_ggc): Absorb the old init.
17490         (ggc_push_context): Use xcalloc.
17491         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
17492         (ggc_collect): Add [rvts] tags to the collection stats.
17493
17494 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
17495
17496         * cccp.c (main): Fix handling of -include and -imacros options.
17497
17498 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
17499
17500         * cpplib.c (cpp_push_buffer): Fix order of arguments.
17501
17502 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
17503
17504         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
17505         genrtl.c.
17506
17507 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
17508
17509         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
17510         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
17511         and SET_DEST. Update comment.
17512
17513 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17514
17515         * config/c4x/c4x.c: Include ggc.h.
17516         (c4x_add_gc_roots): New function.
17517         (c4x_override_options): Call c4x_add_gc_roots.
17518
17519 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
17520
17521         * defaults.h (TARGET_ESC): Move ...
17522         * system.h: ... here, where Linas had it in the first place.  Silly me.
17523
17524 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
17525
17526         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
17527         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
17528         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
17529         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
17530         * defaults.h (TARGET_ESC): Add default.
17531
17532 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
17533
17534         * configure.in: add i370-*-openedition, i370-*-mvs and
17535         i370-*-linux targets
17536
17537 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
17538
17539         * dsp16xxx.c: Include ggc.h
17540         (override_options): Mark GC roots.
17541         * mn10200.c: Include ggc.h.
17542         (asm_file_start): Mark GC roots.
17543         * tahoe.c: Include ggc.h.
17544         (extensible_operand): Mark GC roots.
17545
17546 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
17547
17548         * README: Add section discussing status of ELF ABI.
17549         * i370.c: Fix misc spelling mistakes.
17550         (i370_label_scan): Updated notes, exception handling.
17551         (i370_function_prolog): Simplify ELF stack handling.
17552         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
17553         (STACK_GROWS_DOWNWARD): ELF stack grows down.
17554         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
17555         * i370.md: (movdi): Add notes.
17556         (floatsidf2): Use stack not rtca for scratch float area.
17557         (iorsi3): Correct operand constraints.
17558         * x-oe: Restore TAROUTOPTS which are used by pax.
17559
17560 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
17561
17562         * rs6000.c: Include ggc.h.
17563         (rs6000_add_gc_roots): New function.
17564         (override_options): Call it.
17565
17566 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
17567
17568         * alpha.h (alpha_compare): New.
17569         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
17570         * alpha.c: Likewise for the definitions.
17571         (alpha_emit_conditional_branch): Update for alpha_compare.
17572         (alpha_emit_conditional_move): Likewise.
17573         * alpha.md (cmpdf, cmpdi): Likewise.
17574         (setcc patterns): Likewise.  Zero alpha_compare after use.
17575         (sne): Optimize (x != 0) into (0U < x).
17576
17577 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
17578
17579         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
17580         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
17581         (INIT_EXPANDERS): Remove.
17582         * alpha.c: Include ggc.h.
17583         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
17584         (alpha_init_machine_status, alpha_mark_machine_status): New.
17585         (override_options): Install them.
17586         (struct machine_function): Moved to alpha.h.
17587         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
17588         (alpha_init_expanders): Remove.
17589         (alpha_return_addr): Adjust to use current_function->machine.
17590         (alpha_ra_ever_killed): Likewise.
17591         (alpha_expand_epilogue): Likewise.
17592         * alpha.md (eh_epilogue): Likewise.
17593
17594 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
17595                           Melissa O'Neill  <oneill@cs.sfu.ca>
17596                           Geoffrey Keating  <geoffk@cygnus.com>
17597
17598         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
17599         call-used registers (call-saved registers must still be contiguous
17600         and end with r31, of course).
17601
17602 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
17603
17604         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
17605         (self_promoting_type_p): Delete.
17606         (self_promoting_args_p): Move ...
17607         * c-common.c: ... here.
17608         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
17609         (simple_type_promotes_to): New.
17610         * builtins.c (lang_type_promotes_to): New.
17611         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
17612         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
17613         * c-common.h: ... here.
17614         (self_promoting_args_p, simple_type_promotes_to): Declare.
17615         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
17616         (grokdeclarator): Likewise.
17617         * tree.h (lang_type_promotes_to): Declare.
17618
17619 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
17620
17621         Add some machine-dependent GC roots.
17622         * sparc.c: Include ggc.h.
17623         (sparc_add_gc_roots): New function.
17624         (mark_ultrasparc_pipeline_state): Likewise.
17625         (override_options): Call sparc_add_gc_roots.
17626         * pa.c: Include ggc.h.
17627         (pa_add_gc_roots): New function.
17628         (mark_deferred_plabels): Likewise.
17629         (override_options): Call pa_add_gc_roots.
17630         * mips.c: Include ggc.h.
17631         (mips_add_gc_roots): New function.
17632         (override_options): Use it.
17633
17634 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17635
17636         * cpperror.c (cpp_file_line_for_message): Constify a char*.
17637
17638         * cppexp.c (parse_number, parse_charconst, cpp_lex,
17639         cpp_parse_expr): Add static prototypes.
17640         (parse_charconst): Don't cast away const-ness.
17641         (token): Constify a char*.
17642
17643         * cppfiles.c (file_name_list, include_hash, find_include_file,
17644         finclude, initialize_input_buffer): Constify a char*.
17645         (file_cleanup, find_position): Add static prototypes.
17646
17647         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
17648         collect_expansion): Add static prototypes.
17649         (cpp_install, create_definition, monthnames): Constify a char*.
17650
17651         * cpphash.h (cpp_install): Likewise.
17652
17653         * cppinit.c (known_suffixes, default_include,
17654         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
17655         (base_name, dump_special_to_buffer, initialize_dependency_output):
17656         Add static prototypes.
17657
17658         * cpplib.c (my_strerror): Constify a char*.
17659         (null_underflow, null_cleanup, skip_comment, copy_comment,
17660         copy_rest_of_line, handle_directive, pass_thru_directive,
17661         get_directive_token, read_line_number, cpp_print_file_and_line,
17662         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
17663         v_cpp_warning_with_line, detect_if_not_defined,
17664         consider_directive_while_skipping): Add static prototypes.
17665         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
17666         cpp_pedwarn_with_file_and_line): Constify a char*.
17667
17668         * cpplib.h (cpp_options, include_hash, progname, definition,
17669         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
17670         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
17671         find_include_file, deps_output, include_hash): Constify a char*.
17672
17673         * cppmain.c (progname): Constify.
17674         (main): Add prototype.  Use return, not exit.
17675
17676         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
17677         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
17678         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
17679         check_protection): Add static prototype.
17680         (xfree): Remove.
17681         (progname, recognized_macrom, recognized_extern): Constify a char*.
17682         (main): Add prototype.
17683
17684         * gen-protos.c (progname): Constify a char*.
17685
17686 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
17687
17688         * emit-rtl.c (free_emit_status): Take decl as a parameter.
17689         (init_emit_once): Add more GC roots.
17690         * except.c (mark_func_eh_entry): New function.
17691         (mark_eh_node): Mark false_label and rethrow_label.
17692         (init_eh): Add more GC roots.
17693         * function.c (free_after_compilation): Take decl as a paramter.
17694         Call free_stmt_status.
17695         (mark_function_state): Don't assume x_parm_reg_stack_loc is
17696         non-NULL.
17697         * function.h (free_after_compilation): Change prototype.
17698         (free_varasm_status): Likewise.
17699         (free_emit_status): Likewise.
17700         (free_stmt_status): New function.
17701         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
17702         Remove, replacing with ...
17703         (ggc_status): New structure.
17704         (ggc_chain): New variable.
17705         (init_gcc): Define.
17706         (ggc_push_context): New function.
17707         (ggc_pop_context): Likewise.
17708         (ggc_alloc_rtx): Adjust for use of ggc_chain.
17709         (ggc_alloc_rtvec): Likewise.
17710         (ggc_alloc_tree): Likewise.
17711         (ggc_alloc_string): Likewise.
17712         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
17713         (ggc_mark_tree): Give language-dependent code a chance to mark
17714         `x' nodes.
17715         (ggc_mark_tree_varray): Handle empty arrays.
17716         (ggc_collect): Adjust for use of ggc_chain.  Clear
17717         bytes_alloced_since_last_gc.
17718         * ggc.h (ggc_pop_context): New function.
17719         (ggc_push_context): Likewise.
17720         * print-tree.c (print_node): Don't print obstacks when GC'ing.
17721         * stmt.c (free_stmt_status): New function.
17722         (init_stmt_for_function): Clear last_expr_value.
17723         * toplev.c (rest_of_compilation): Always call free_after_compilation.
17724         Conditionalize call to ggc_collect.
17725         (main): Call init_ggc.
17726         * tree.c (push_obstacks): Do the push, even when GC'ing.
17727         (push_obstacks_nochange): Likewise.
17728         (pop_obstacks): Liekwise.
17729         * varasm.c (free_varasm_status): Take decl as a parameter.
17730
17731 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17732
17733         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
17734         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
17735         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
17736         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
17737
17738 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
17739
17740         * pa/x-pa-mpeix: New file for the MPE port.
17741
17742         * pa/quadlib.asm: New file for long double support.
17743
17744         * configure.in: Add hppa1.0-*-mpeix for MPE port.
17745         * configure: Rebuilt.
17746
17747 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
17748
17749         * final.c (shorten_branches): Fix last change.
17750
17751 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
17752
17753         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
17754
17755 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
17756
17757         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
17758         details.
17759
17760 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17761
17762         * c-aux-info.c (concat): Don't define.
17763
17764         * cccp.c (my_strerror): Likewise.  All callers changed to use
17765         xstrerror instead.
17766         (do_include): Call xstrdup, not xmalloc/strcpy.
17767         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
17768         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
17769
17770         * collect2.c (my_strsignal): Likewise.  All callers changed to use
17771         strsignal instead.
17772         (locatelib): Call xstrdup, not xmalloc/strcpy.
17773
17774         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
17775
17776         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
17777
17778         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
17779
17780         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
17781
17782         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
17783
17784         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
17785
17786         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
17787         malloc/realloc.
17788         (find_all_handler_type_matches): Likewise.  Don't check return
17789         value.
17790         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
17791         xmalloc, not malloc.
17792         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
17793
17794         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
17795         (init_spec): Call xcalloc, not xmalloc/bzero.
17796         (set_spec): Call xstrdup, not save_string.
17797         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
17798         (find_a_file): Call xstrdup, not xmalloc/strcpy.
17799         (process_command): Call xstrdup, not save_string.
17800         (main): Call xcalloc, not xmalloc/bzero.
17801
17802         * gcov.c (xmalloc): Don't define.
17803         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
17804         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
17805         (output_data): Call xcalloc, not xmalloc/bzero.
17806
17807         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
17808
17809         * mips-tdump.c (xmalloc): Don't define.
17810         (print_symbol): Call xmalloc, not malloc.
17811         (read_tfile): Call xcalloc, not calloc.
17812
17813         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
17814         Don't define.  All callers of xfree/my_strsignal changed to use
17815         free/strsignal instead.
17816         (allocate_cluster): Call xcalloc, not calloc.
17817
17818         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
17819         Fix memory leak, free allocated memory.
17820
17821         * prefix.c (translate_name): Call xstrdup, not save_string.
17822         (update_path): Likewise.
17823
17824         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
17825
17826         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
17827         Don't define.  Callers of xfree/savestring2 changed to use
17828         free/concat instead.
17829
17830         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
17831         (init_elim_table): Likewise.
17832
17833         * resource.c (init_resource_info): Likewise.
17834
17835         * stupid.c (stupid_life_analysis): Likewise.
17836
17837         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
17838         (open_dump_file): Call concat, not xmalloc/strcpy/...
17839         (clean_dump_file): Likewise.
17840         (compile_file): Call xstrdup, not xmalloc/strcpy.
17841
17842 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
17843
17844         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
17845         * v850.c (v850_va_arg): New.
17846
17847 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17848
17849         * haifa-sched.c: Tidy comments.
17850
17851 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17852
17853         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
17854         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
17855         $(out_object_file)): Depend on ggc.h.
17856         * c-common.c: Include "ggc.h".
17857         (combine_strings): If doing GC, use ggc_alloc_string.
17858         * c-decl.c: Include "ggc.h".
17859         (ggc_p): Define with value 0.
17860         (mark_binding_level): New function.
17861         (init_decl_processing): Add GC roots.
17862         (mark_c_function_context): New function.
17863         (lang_mark_false_label_stack): New function.
17864         (lang_mark_tree): New function.
17865         (lang_cleanup_tree): New function.
17866         * c-lang.c: Include "ggc.h".
17867         (lang_init): Call c_parse_init.
17868         * c-lex.c: Include "ggc.h".
17869         (check_linenum): If doing GC, don't copy filenames to permanent
17870         obstack.
17871         * c-parse.in: Include "ggc.h".
17872         (c_parse_init): New function.
17873         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
17874         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
17875
17876         * except.c (mark_eh_state): Mark more state.
17877         * function.c (mark_function_state): Likewise.
17878         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
17879         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
17880         * toplev.c (mark_file_stack): New function.
17881         (compile_file): If doing GC, use ggc_alloc_string on input filename.
17882         (main): Add root for input_file_stack.
17883
17884         * i386.c: Include "ggc.h".
17885         (ix86_mark_machine_status): New function.
17886         (override_options): Set mark_machine_status.
17887
17888 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17889
17890         * tree.c (copy_node): Copy node contents also if doing GC.
17891
17892 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
17893
17894         * collect2.c (scan_libraries): Fix double-thinko :-).
17895
17896 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
17897
17898         * collect2.c (scan_libraries): Fix thinko.
17899
17900         * cse.c (delete_trivially_dead_insns): Do not skip the last
17901         insn if it is a real insn.
17902
17903 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
17904
17905         * Makefile.in (ggc-simple.o): Depend on hash.h.
17906         * ggc.h (ggc_add_tree_hash_table_root): Declare.
17907         (ggc_mark_tree_varray): Likewise.
17908         (ggc_mark_tree_hash_table): Likewise.
17909         * ggc-simple.c: Include hash.h.
17910         (ggc_mark_tree_hash_table_ptr): New function.
17911         (ggc_mark_tree_hash_table_entry): Likewise.
17912         (ggc_mark_tree_hash_table): Likewise.
17913         (ggc_add_tree_hash_table_root): Likewise.
17914         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
17915         rtx, when defining fields.
17916
17917 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
17918
17919         * profile.c (output_func_start_profiler): Remove apparently
17920         nonsensical call to start_sequence.
17921
17922 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
17923
17924         * clipper/clipper.c (clipper_va_start): Fix typos.
17925
17926         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
17927         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
17928         (spur_va_arg): New stub.
17929
17930         * configure.in: Comment out pyramid.
17931
17932 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
17933
17934         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
17935         don't conflict with the bits that win32, cygwin, and dgux
17936         defines.
17937
17938 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
17939                           Bernd Schmidt <bernds@cygnus.co.uk>
17940
17941         * integrate.c (function_cannot_inline_p): Do not inline
17942         functions with forced labels.
17943
17944 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
17945                           Bernd Schmidt <bernds@cygnus.co.uk>
17946                           Mark Mitchell  <mark@codesourcery.com>
17947
17948         * Makefile.in (ggc-simple.o): Depend on varray.h.
17949         (rtl.o): Depend on ggc.h.
17950         (genattrtab.o): Depend on ggc.h.
17951         (print-tree.o): Likewise.
17952         (fold-const.o): Likewise.
17953         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
17954         (make_insn_raw): Don't cache insns when GC'ing.
17955         (emit_insn_before): Likewise.
17956         (emit_insn_after): Likewise.
17957         (emit_insn): Likewise.
17958         (start_sequence): Use xmalloc to allocate the sequence_stack.
17959         (end_sequence): Add free to free it.
17960         (gen_sequence): Don't cache insns when GC'ing.
17961         (clear_emit_caches): Don't use sequence_element_free_list.
17962         (init_emit): Use xcalloc, not xmalloc+bzero.
17963         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
17964         * function.c (pop_function_context_from): Use free to free the
17965         fixup_var_refs_queue.
17966         (put_reg_into_stack): Allocate it with xmalloc.
17967         * genattrtab.c: Include ggc.h.
17968         (operate_exp): Don't use obstack_free when GC'ing.
17969         (simplify_cond): Likewise.
17970         (simplify_text_exp): Likewise.
17971         (optimize_attrs): Likewise.
17972         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
17973         GC'ing.
17974         (gencode): Generate a #include for ggc.h.
17975         * ggc-callbacks.c (ggc_p): Define it to zero.
17976         * ggc-none.c (ggc_p): Likewise.
17977         * ggc-simple.c: Include varray.h.
17978         (ggc_mark_tree_varray): New function.
17979         (ggc_add_tree_varray_root): Likewise.
17980         (ggc_mark_tree_varray_ptr): Likewise.
17981         * ggc.h (ggc_p): Declare.
17982         (varray_head_tag): Likewise.
17983         (ggc_add_tree_varray_root): Declare.
17984         * print-tree.c (print_node): Don't check for TREE_PERMANENT
17985         inconsistencies when GC'ing.
17986         * rtl.c: Include ggc.h.
17987         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
17988         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
17989         (rtx_free): Don't call obstack_free when GC'ing.
17990         * toplev.c (rest_of_compilation): Call ggc_collect after every
17991         pass, if GC'ing.
17992         * tree.c (push_obstacks): Do nothing, if GC'ing.
17993         (pop_obstacks_nochange): Likewise.
17994         (pop_obstacks): Likewise.
17995         (make_node): Use ggc_alloc_tree when GC'ing.
17996         (copy_node): Likewise.
17997         (get_identifier): Use ggc_alloc_string when GC'ing.
17998         (build_string): Likewise.
17999         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
18000         (tree_cons): Likewise.
18001         (build1): Likewise.
18002         (type_hash_canon): Don't call obstack_free when GC'ing.
18003
18004 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
18005
18006         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
18007         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
18008
18009 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
18010                           Bernd Schmidt <bernds@cygnus.co.uk>
18011                           Mark Mitchell  <mark@codesourcery.com>
18012
18013         * Makefile.in (stor-layout.o): Depend on ggc.h.
18014         (expr.o): Depend on ggc.h.
18015         (profile.o): Depend on ggc.h.
18016         (stor-layout.o): Depend on ggc.h.
18017         * emit-rtl.c (init_emit_once): Add gc roots.
18018         * expr.c: Include ggc.h.
18019         (emit_block_move): Add gc roots.
18020         (clear_storage): Likewise.
18021         * expr.h (init_stor_layout_once): New function.
18022         * profile.c: Include ggc.h.
18023         (init_arc_profiler): profiler_label is a root.
18024         * scan.c (make_sstring_space): Trust xrealloc to function
18025         correctly with first parameter NULL.
18026         * stor-layout.c: Include ggc.h.
18027         (set_sizetype): Add gc root.
18028         (init_stor_layout_once): New function.
18029         * toplev.c (compile_file): Call it.
18030
18031 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
18032                           Bernd Schmidt <bernds@cygnus.co.uk>
18033                           Mark Mitchell  <mark@codesourcery.com>
18034
18035         * Makefile.in (tree.o): Depend on ggc.h.
18036         (varasm.o): Likewise.
18037         (function.o): Likewise.
18038         (stmt.o): Likewise.
18039         (except.o): Likewise.
18040         (optabs.o): Likewise.
18041         (emit-rtl.o): Likewise.
18042         * emit-rtl.c: Include ggc.h.
18043         (sequence_element_free_list): Remove, and all references.
18044         (mark_sequence): New functions.
18045         (mark_emit_state): New function.
18046         * except.c: Include ggc.h.
18047         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
18048         (mark_tree_label_node): New functions.
18049         (mark_eh_state): New function.
18050         * function.c: Include ggc.h.
18051         (mark_temp_slot, mark_function_chain): New functions.
18052         (mark_function_state): New function.
18053         (init_function_once): New function.
18054         * function.h (init_function_once): New function.
18055         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
18056         * ggc.h (label_node): Declare.
18057         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
18058         (lang_mark_false_label_stack): New function.
18059         (mark_temp_slot): Remove declaration.
18060         (mark_function_chain): Likewise.
18061         (mark_eh_state): Adjust prototype.
18062         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
18063         Likewise.
18064         * optabs.c: Include ggc.h.
18065         (mark_optab): New function.
18066         (init_optabs): Add gc roots.
18067         * stmt.c: Include ggc.h.
18068         (mark_cond_nesting, mark_loop_nesting): New functions.
18069         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
18070         (mark_stmt_state): New function.
18071         * toplev.c (compile_file): Call init_function_once.
18072         * tree.c: Include ggc.h.
18073         (type_hash): Move declaration earlier in file.
18074         (TYPE_HASH_SIZE, type_hash_table): Likewise.
18075         (init_obstacks): Add gc roots.
18076         (mark_type_hash): New function.
18077         * varasm.c: Include ggc.h.
18078         (mark_pool_constant): New function.
18079         (mark_varasm_state): New function.
18080
18081 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18082
18083         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
18084
18085 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
18086
18087         * c-decl.c (struct language_function): Renamed from struct c_function.
18088         Delete elt NEXT.
18089         (c_function_chain): Delete.
18090         (push_c_function_context): New arg F.  Don't warn about nested
18091         functions here.  Fill LANGUAGE elt of F.  Delete code to update
18092         c_function_chain.  Don't call push_function_context.
18093         (pop_c_function_context): New arg F.  Restore from there instead of
18094         from c_function_chain.  Don't call pop_function_context.  Clear out
18095         LANGUAGE field of F when done.
18096         * c-lang.c: Include "function.h"
18097         (lang_init): Initialize save_lang_status and restore_lang_status.
18098         * c-parse.in (nested_function, nested_function_notype): Warn about
18099         nested functions.  Call push_function_context/pop_function_context
18100         instead of the _c_ variants.
18101         * c-tree.h (push_c_function_context, pop_c_function_context): Update
18102         prototype.
18103         * Makefile.in (c-lang.o): Update dependencies.
18104
18105         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
18106         regno_pointer_flag, regno_pointer_align.
18107         (gen_reg_rtx): Use xrealloc to enlarge them.
18108         (free_emit_status): New function.
18109         * function.c (mark_machine_status, mark_lang_status): New variables.
18110         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
18111         in some bits from assign_stack_local.  All callers changed to use new
18112         name.
18113         (assign_stack_local): Just call assign_stack_local_1.
18114         (free_after_compilation): New function.
18115         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
18116         (trampoline_address): Likewise.
18117         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
18118         (prepare_function_start): Explicitly clear some more variables.
18119         * function.h (struct function): New elt can_garbage_collect.
18120         (mark_machine_status, mark_lang_status): Declare variables.
18121         (free_after_compilation, free_emit_status, free_varasm_status,
18122         init_varasm_status): Declare functions.
18123         * toplev.c (rest_of_compilation): Call free_after_compilation when
18124         done with the current function.
18125         * varasm.c (free_varasm_status): New function.
18126
18127 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
18128
18129         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
18130         (EXPAND_BUILTIN_VA_ARG): Define.
18131         * sparc.c (sparc_va_start): New.
18132         (sparc_va_arg): New.
18133
18134 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18135
18136         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
18137
18138 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18139
18140         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
18141
18142 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
18143
18144         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
18145         (OBJS): Add $(GGC).
18146         (ggc-callbacks.o): New target.
18147         * ggc-callbacks.c: New file.
18148
18149 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18150
18151         * expr.h: Collapse individual optab and libfunc vars to arrays.
18152         (optab_index, libfunc_index): New enumerations.
18153         (optab_table, libfunc_table): New arrays.
18154         Add accessor macros for both.
18155
18156         * optabs.c (optab_table, libfunc_table): New.
18157         Delete declarations for individual optab and libfunc vars.
18158
18159 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
18160
18161         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
18162
18163 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
18164
18165         * Makefile.in (GGC, GGC_LIB): New.
18166         (HOST_RTL): Include ggc-none.o.
18167         (ggc-simple.o): New target.
18168         (ggc-none.o): Likewise.
18169         * tree.h (tree_common): Add gc_mark.
18170         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
18171         (struct rtvec_def): Add gc_mark.
18172         * emit-rtl.c (global_rtl): Update static initializers to contain
18173         enough initializers.
18174         * ggc.h, ggc-none.c, ggc-simple.c: New files.
18175         * toplev.c (gc_time): New variable.
18176         (all_time): New variable.
18177         (compile_file): Print gc time.
18178         (print_time): Calculate percentage of the whole.
18179
18180 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18181
18182         Change obstack memory management and varasm constant pool handling so
18183         that nested functions are treated like any other functions.
18184         * function.c (init_machine_status): New variable.
18185         (push_function_context_to): Set contains_functions for the outer
18186         function.  Don't call save_varasm_status.
18187         (pop_function_context_from): Don't call restore_varasm_status.  Don't
18188         set current_function_contains_functions.
18189         (prepare_function_start): Call init_varasm_status rather than
18190         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
18191         is non-null.
18192         * function.h (struct function) Add field varasm.  Delete fields
18193         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
18194         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
18195         (init_machine_status): Declare.
18196         (save_varasm_status, restore_varasm_status): Delete declarations.
18197         (save_tree_status, restore_tree_status): Delete last argument.
18198         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
18199         code.  All callers changed.
18200         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
18201         save_constants_in_decl_trees, restore_constants, save_constants,
18202         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
18203         functions.
18204         (inlining): New variable.
18205         (reg_map, label_map, insn_map, orig_asm_operands_vector,
18206         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
18207         variables.
18208         (save_for_inline_nocopy): Don't save constants.
18209         Don't set inl_emit field in current_function.
18210         (expand_inline_function): Use emit field, not inl_emit, of the inlined
18211         function.  Set new variable inlining before
18212         calling copy_rtx_and_substitute.
18213         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
18214         constant pool references if inlining is nonzero.
18215         Delete ADDRESS and (most of the) CONST cases.
18216         (output_inline_function): Save and restore current_function/
18217         current_function_decl.  Delete restore_constants code.  Don't call
18218         init_const_rtx_hash_table.
18219         * output.h (init_const_rtx_hash_table): Don't declare.
18220         * rtl.h (struct function): Declare.
18221         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
18222         * toplev.c (rest_of_compilation): Don't treat nested functions or
18223         functions containing them specially.  Delete all code to deal with
18224         save_for_inline_copying.
18225         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
18226         inline_obstacks): Delete variables.
18227         (save_tree_status): Lose arg CONTEXT.  All callers changed.
18228         Simply allocate a new function_maybepermanent_obstack for the new
18229         function, delete all the special cases.
18230         Don't save inline_obstacks.
18231         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
18232         Delete special handling for function_maybepermanent_obstack; simply
18233         free it if empty.
18234         Don't restore inline_obstacks.
18235         (permanent_allocation):  Delete code that frees inline_obstacks.
18236         (print_inline_obstack_statistics): Delete function.
18237         (dump_tree_statistics): Don't call it.
18238         * varasm.c (struct varasm_status): New.
18239         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
18240         last_pool, pool_offset, const_double_chain): Delete global
18241         variables, replace with accessor macros.
18242         (immed_double_const): Don't walk const_double_chain outside a
18243         function, but don't treat nested functions specially anymore.
18244         (immed_real_const_1): Likewise.
18245         (clear_const_double_mem): Don't treat nested functions specially.
18246         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
18247         (save_varasm_status, restore_varasm_status): Delete functions.
18248         (init_varasm_status): New function.
18249         (force_const_mem): Don't treat nested functions specially.
18250         (find_pool_constant): Accept new arg F, search for constants in
18251         that function's pool rather than the current one.  All callers
18252         changed.
18253         (get_pool_constant_for_function, get_pool_mode_for_function): New
18254         functions.
18255
18256         * i386.c (init_386_machine_status): New function, mostly from
18257         clear_386_stack_locals.
18258         (struct machine_functions): Rename element names to avoid name
18259         clashes.
18260         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
18261         macros, replacing global variables.
18262         (clear_386_stack_locals, save_386_machine_status,
18263         restore_386_machine_status): Delete functions.
18264         (override_options): Initialize init_machine_status.
18265         * i386.h (INIT_EXPANDERS): Delete macro.
18266         (save_386_machine_status, restore_386_machine_status,
18267         clear_386_stack_locals): Delete declarations.
18268
18269 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18270
18271         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
18272         (doloop_begin):  Simplify pattern and use emit_jump_insn.
18273         (doloop_end): Simplify pattern, switch operand order,
18274         and use emit_jump_insn.
18275
18276 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
18277
18278         * function.h (struct function): Add new element LANGUAGE.
18279         (save_lang_status): Declare new variable.
18280         (restore_lang_status): Likewise.
18281         * function.c (save_lang_status): Define.
18282         (restore_lang_status): Likewise.
18283         (push_function_context_to): Call language-specific save function.
18284         (pop_function_context_from): Call language-specific restore function.
18285
18286 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
18287
18288         * i386.md (movsf_1): Check REG_P before use of REGNO.
18289         (movdf_1): Likewise.
18290         (movxf_1): Likewise.
18291         (extendsfdf2): Likewise.
18292         (extendsfxf2): Likewise.
18293         (extenddfxf2): Likewise.
18294
18295 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18296
18297         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
18298         constants into memory.
18299         (c4x_shiftable_constant): New function.
18300         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
18301         (c4x_shiftable_constant): Declare.
18302         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
18303         ashlqi3_noclobber): Add new patterns and associated splitters.
18304
18305 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
18306
18307         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
18308         * dwarf2out.c (dwarf2out_frame_init): Likewise.
18309         * final.c (shorten_branches): Likewise.
18310         * global.c (global_alloc): Likewise.
18311         * haifa-sched.c (build_control_flow): Likewise.
18312         * stmt.c (check_for_full_enumeration_handling): Likewise.
18313         (estimate_case_costs): Likewise.
18314
18315 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
18316
18317         * rtl.h (RTL_CHECKC2): Fix typo in last change.
18318
18319 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
18320
18321         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
18322         (recompute_reg_usage): Likewise.
18323         * rtlanal.c (find_regno_fusage): Likewise.
18324
18325         * rtl.c (rtl_check_failed_code1): New function.
18326         (rtl_check_failed_code2): New.
18327         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
18328         (RTL_CHECKC1, RTL_CHECKC2): New.
18329         (XC*): New accessor macros.
18330         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
18331         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
18332         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
18333         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
18334         (TRAP_*, RANGE_INFO_*): Likewise.
18335
18336 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18337
18338         * Makefile.in (tlink.o): Don't depend on toplev.h.
18339
18340         * collect2.c (c_file, o_file, export_file, import_file, ldout,
18341         output_file, nm_file_name, ldd_file_name, strip_file_name,
18342         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
18343         add_prefix, prefix_from_env, prefix_from_string, do_wait,
18344         fork_execute, maybe_unlink, add_to_list,
18345         extract_init_priority, write_list, dump_list,
18346         dump_prefix_list, write_list_with_asm, write_c_file,
18347         write_c_file_stat, write_c_file_glob, scan_prog_file,
18348         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
18349         ignore_library, extract_string, notice, dump_file, target_machine,
18350         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
18351         read_file, print_load_command): Constify a char*.
18352         (fdopen, error, fatal, fatal_perror): Don't prototype.
18353         (my_strerror): Remove.  All callers use xstrerror instead.
18354         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
18355         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
18356         to xcalloc/strcpy/strcat/...  to one call to concat.
18357         (main, scan_prog_file, scan_libraries): Use an intermediate
18358         `const char **' to build an argv array.
18359         (mapfile, libselect, libcompare, locatelib): Add prototypes.
18360
18361         * collect2.h (collect_execute, collect_wait, dump_file,
18362         file_exists): Constify a char*.
18363         (ldout, c_file_name, temporary_obstack, permanent_obstack,
18364         temporary_firstobj, vflag, debug): Add extern declarations.
18365         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
18366
18367         * tlink.c: Don't include toplev.h.
18368         (vflag, debug, ldout, c_file_name, temporary_obstack,
18369         permanent_obstack, temporary_firstobj): Don't declare.
18370         (tlink_execute, frob_extension, symbol_hash_lookup,
18371         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
18372         recompile_files, read_repo_files, demangle_new_symbols,
18373         scan_linker_output): Constify a char*.
18374         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
18375         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
18376
18377 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
18378
18379         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
18380         (relative) rather than jsr (absolute) subroutine call insns.
18381         * config/m68k/m68k-coff.h: Ditto.
18382
18383 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
18384
18385         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
18386         now rework these too.
18387         (arm_reorg): If an insn can't reach the end of the current pool,
18388         ensure that we emit that pool before the insn.
18389
18390 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
18391
18392         * tlink.c (scan_linker_output): Skip the initial underscore in
18393         a mangled name if appropriate.
18394
18395 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18396
18397         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
18398         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
18399         error_with_ivar, gen_declarator, create_builtin_decl,
18400         my_build_string, generate_descriptor_table, generate_ivars_list,
18401         generate_dispatch_table, check_protocols, TAG_GETCLASS,
18402         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
18403         dump_base_name, lang_decode_option, build_encode_expr,
18404         start_class, finish_class, encode_pointer, really_start_method,
18405         gen_declaration, dump_interface, handle_class_ref, handle_impent):
18406         Constify.
18407         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
18408         Add static prototypes.
18409         (build_objc_string_decl, build_selector_reference_decl,
18410         encode_bitfield, build_class_reference_decl): Remove unused
18411         parameter, all callers changed.
18412         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
18413         (objc_printable_name): Likewise.  Change second parameter to type int.
18414         (init_objc): Use memcpy, not bcopy, to avoid casts.
18415
18416 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
18417
18418         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
18419         reg notes on a deleted insn.
18420         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
18421
18422 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
18423
18424         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
18425
18426 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18427
18428         * stmt.c (expand_asm_operands): Fix index into inout_mode when
18429         reading it.
18430
18431 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
18432
18433         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
18434         * tm.texi (MD_ASM_CLOBBERS): Document it.
18435
18436 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
18437
18438         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
18439         * except.c (expand_rethrow): Remove unused variable.
18440         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
18441         * flow.c (replace_insns): Likewise.
18442         (create_edge_list, verify_edge_list): Likewise.
18443         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
18444
18445         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
18446         is special code to run.
18447         (main): Don't define operands to emit_operand.
18448         * genrecog.c (main): Don't emit an empty peephole2_insn function.
18449
18450         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
18451
18452         * alpha/alpha.h (normal_memory_operand): Declare.
18453         (reg_no_subreg_operand): Declare.
18454         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
18455
18456 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
18457
18458         * c-parse.in (compstmt_primary_start): New, broken out of first
18459         part of compstmt handling in primary.
18460         (primary): Use it.  Add an error clause.
18461         (compstmt_nostart): Renamed from compstmt; remove all
18462         initial invocations of compstmt_start.
18463         (compstmt): New.
18464
18465 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
18466
18467         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
18468         needed.
18469
18470 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
18471
18472         * combine.c (simplify_shift_const): Remove extra semicolon.
18473         * dwarf2out.c (remove_AT): Likewise.
18474         * expmed.c (expand_mult): Likewise.
18475         * gcov.c (create_program_flow_graph): Likewise.
18476         * reorg.c (mostly_true_jump): Likewise.
18477
18478 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
18479
18480         * fold-const.c (fold_range_test): Do not try to fold the range
18481         test if the rhs or lhs has side effects.
18482
18483         * combine.c (simplify_rtx): Recognize another case of a synthesized
18484         sign extension.
18485
18486         * varasm.c (mark_constant_pool): When marking indirect references,
18487         only look at SYMBOL_REFs.
18488
18489         * except.c (expand_fixup_region_end): Do not peek at
18490         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
18491
18492 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
18493
18494         * flags.h: New variables align_loops, align_loops_log,
18495         align_jumps, align_jumps_log, align_labels, align_labels_log,
18496         align_functions, align_functions_log.
18497         * toplev.c: Define them.
18498         (f_options): Handle -falign-* when they have no argument.
18499         (main): Add logic to set variables for -falign-functions,
18500         -falign-jumps, -falign-labels, -falign-loops.
18501         Make it -fsched-verbose=<n> and -finline-limit=<n>.
18502         (display_help): Change help to match options.
18503         * final.c (LABEL_ALIGN): Default to align_labels_log.
18504         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
18505         (LOOP_ALIGN): Default to align_loops_log.
18506         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
18507         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
18508         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
18509         * varasm.c (assemble_start_function): Handle align_functions.
18510
18511         * config/sparc/sparc.h: Don't declare sparc_align_*.
18512         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
18513         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
18514         sparc.c.
18515         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
18516         it's a promise.
18517         * config/sparc/sparc.c: Delete sparc_align_loops,
18518         sparc_align_jumps, sparc_align_funcs and the corresponding string
18519         variables.
18520         (sparc_override_options): Default align_functions on ultrasparc.
18521         Delete -malign-* handling.
18522
18523         * config/mips/mips.c (override_options):  On 64-bit targets,
18524         try to align code to 64-bit boundaries.
18525         (print_operand): New substitution, %~,
18526         which aligns labels to align_labels_log.
18527         * config/mips/mips.md (div_trap_normal): Use %~.
18528         (div_trap_mips16): Likewise.
18529         (abssi): Likewise.
18530         (absdi2): Likewise.
18531         (ffssi2): Likewise.
18532         (ffsdi2): Likewise.
18533         (ashldi3_internal): Likewise.
18534         (ashrdi3_internal): Likewise.
18535         (lshrdi3_internal): Likewise.
18536         (casesi_internal): Likewise.
18537
18538 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
18539
18540         Merge new ia32 backend from the branch!
18541
18542         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
18543         See ChangeLog.P2 on new_ia32_branch for details.
18544
18545         * rtl.h (stack_regs_mentioned_p): Delete prototype.
18546         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
18547         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
18548         * i386/gas.h (ASM_FILE_START): Define.
18549         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
18550         for name change of ix86_valid_decl_attribute_p.
18551         (i386_pe_valid_type_attribute_p): Similarly.
18552
18553 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
18554
18555         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
18556         to step through CC modes.
18557
18558 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18559
18560         * regmove.c (fixup_match_1): Don't move INSN in front of P if
18561         it would end up in the shadow of a live flags regsiter.
18562
18563 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18564
18565         * reload1.c: Fix many indentation problems.
18566         * reload.c: Likewise.
18567
18568 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
18569
18570         * alias.c (non_local_reference_p): Constify fmt.
18571
18572 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
18573
18574         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
18575
18576 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
18577
18578         * cse.c (delete_trivially_dead_insns): Do not delete stores to
18579         the internal_arg_pointer.
18580
18581 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
18582
18583         Merge peephole2 from new_ia32_branch:
18584         * Makefile.in (STAGESTUFF): Add *.peephole2.
18585         (mostlyclean): Likewise.
18586         (recog.o): Depend on resource.h.
18587
18588         * final.c (peephole): Conditionalize decl on HAVE_peephole.
18589         (final_scan_insn): Likewise for the invocation of peephole.
18590         * genconfig.c (main): Look for peephole and peephole2 patterns.
18591         Emit HAVE_peephole* accordingly.
18592         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
18593         * flags.h (flag_peephole2): Declare.
18594         * toplev.c: New pass peephole2.  New flag -fpeephole2.
18595
18596         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
18597         * gencodes.c (main): Likewise.
18598         * genextract.c (main): Likewise.
18599         * genoutput.c (main): Likewise.
18600         * genemit.c (max_operand_1): Look for the max scratch operand.
18601         (gen_rtx_scratch): New.
18602         (gen_exp): Use it, and pass on new arg subroutine_type.
18603         (gen_expand): Take max scratch into account.
18604         (gen_split): Emit peephole2 functions.
18605         (output_peephole2_scratch): New.
18606         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
18607         * genrecog.c (routine_type): Add PEEPHOLE2.
18608         (IS_SPLIT): New.
18609         (make_insn_sequence): Match outer parallel for peep2.  Discard
18610         top level scratches and dups.
18611         (add_to_sequence): New args insn_type and top.  Update all callers.
18612         Handle toplevel peep2 matching insns.
18613         (write_subroutine): Handle peep2.
18614         (write_tree_1): Likewise.
18615         (write_tree): Likewise.
18616         (main): Likewise.
18617         (change_state): New arg afterward.  Update all callers.
18618         Handle matching separate insns.
18619         * recog.c (recog_next_insn): New.
18620         (peephole2_optimize): New.
18621         * rtl.def (DEFINE_PEEPHOLE2): New.
18622         * resource.c (find_free_register): New argument last_insn.  Use it
18623         to find a register available through the entire span.
18624         * resource.h (find_free_register): Update prototype.
18625
18626 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
18627
18628         * i386.c (output_strlen_unroll): Don't write xops[7]
18629         label if it wasn't set.
18630
18631 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
18632
18633         * cpplib.c (struct directive): Const-ify name pointer and
18634         function pointer prototype.
18635         (validate_else, do_define, do_line, do_include, do_undef,
18636         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
18637         do_elif, do_endif, do_sccs, do_assert, do_unassert,
18638         do_warning): Const-ify second arg.
18639         (directive_table): Mark const.  Reorder entries by frequency
18640         of usage, record statistics.
18641
18642 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
18643
18644         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
18645         bounds- check RTL accesses if --enable-checking.
18646         (RTVEC_ELT): Bounds check if --enable-checking.
18647         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
18648         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
18649         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
18650         GET_NUM_ELEM.
18651         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
18652         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
18653
18654         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
18655         (NOTE_SOURCE_FILE): Use X0STR.
18656         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
18657         MEM_ALIAS_SET): Use X0INT.
18658         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
18659         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
18660         Use X0EXP.
18661         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
18662         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
18663         (rtl_check_failed_bounds, rtl_check_failed_type1,
18664         rtl_check_failed_type2, rtvec_check_failed_bounds): New
18665         functions.
18666         (fancy_abort): Fix comment.
18667
18668         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
18669         (cse_insn): Decrement LABEL_NUSES for jump target before
18670         deleting jump insn.
18671         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
18672         * final.c (alter_subreg): Compute regno before changing x to
18673         REG; set REGNO(x) after changing it.
18674         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
18675         notes containing CONST_INTs.
18676         (delete_eh_regions): Use NOTE_EH_HANDLER.
18677         * function.c (put_reg_into_stack): Make reg a MEM before
18678         initializing it.
18679         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
18680         delete insn.
18681         (gen_mem_addressof): Make reg a MEM before initializing it.
18682         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
18683         X0WINT.
18684         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
18685         deleting an insn, not after.
18686         (block_alloc): Only look at PATTERN(insn) if we have to, and
18687         only if it's format class 'i'.
18688         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
18689         CONST_INT before using its INTVAL.
18690         * print-rtl.c (print_rtx): Use X0STR.
18691         * regmove.c (fixup_match_1): Don't look at PATTERN of
18692         non-class-'i' insn chain elements.
18693         * reload.c (loc_mentioned_in_p): Take address of
18694         in->fld[1].rtx directly.
18695         * reload1.c (reload): Change reg to a MEM before initializing
18696         it.
18697         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
18698         have no names.
18699         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
18700
18701 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
18702
18703         * config/mips/mips.c (machine_dependent_reorg): Force a
18704         barrier to output the local constant pool if a barrier hasn't
18705         been found at a natural point in the instruction stream.
18706
18707 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18708
18709         * c-parse.in (language_string): Constify.
18710
18711         * dwarf2out.c (language_string): Remove declaration.
18712
18713         * dwarfout.c (language_string): Likewise.
18714
18715         * toplev.c (language_string, init_parse, finish_parse): Likewise.
18716
18717         * tree.h (language_string, init_parse, finish_parse): Declare.
18718
18719         * i386/sun386.h (language_string): Remove declaration.
18720
18721         * mips.h (language_string): Likewise.
18722
18723         * nextstep.h (language_string): Likewise.
18724
18725         * nextstep21.h (language_string): Likewise.
18726
18727         * rs6000.c (language_string): Likewise.
18728
18729 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18730
18731         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
18732         (getpwd.o): Remove target.
18733
18734         * getpwd.c: Delete file.  Its in libiberty now.
18735
18736         * dbxout.c (getpwd): Don't prototype.
18737         * dwarf2out.c (getpwd): Likewise
18738         * dwarfout.c (getpwd): Likewise
18739         * final.c (getpwd): Likewise.
18740         * protoize.c (getpwd): Likewise.
18741
18742 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18743
18744         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
18745
18746 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
18747
18748         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
18749         mark_set_resources.
18750
18751 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
18752
18753         * fixinc/Makefile.in (subdir): New.
18754         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
18755         (Makefile): New.
18756
18757 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
18758
18759         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
18760         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
18761         be shared.
18762
18763         * invoke.texi: Fix typo.
18764
18765         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
18766         changed.  Handle autoincrement addressing modes.
18767
18768         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
18769         just like we would the virtual incoming args register when
18770         integrating.
18771
18772 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
18773
18774         * rs6000.h (ASM_FILE_START): Specify complete filename, including
18775         path, in .file directive.
18776
18777 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
18778
18779         * gcc.texi (External Bugs): Remove obsolete note about Perl on
18780         SunOS.
18781
18782 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
18783
18784         * stdbool.h: Make the typedef name _Bool, with bool a #defined
18785         alias.
18786
18787 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18788
18789         * tree.c (tree_code_name): Constify a char*.
18790
18791         * tree.h (tree_code_name, decl_printable_name): Likewise.
18792
18793         * function.h (struct function): Likewise.
18794
18795         * toplev.c (decl_name, decl_printable_name): Likewise.
18796
18797         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
18798
18799         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
18800         (init_objc): Remove function pointer cast.
18801
18802 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
18803
18804         * pa.md (interspace_jump): New pattern.
18805         (builtin_longjmp): New expander.
18806
18807 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
18808
18809         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
18810         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
18811         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
18812
18813 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
18814
18815         * jump.c (delete_prior_computation): Also check calls
18816         to constant functions.  Don't bother checking for a
18817         REG_UNUSED note before adding it.
18818         (delete_computation): Handle multi-word hard registers
18819         when synthesizing missing REG_DEAD notes for a register
18820         which is both set and used by an insn.
18821
18822 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18823
18824         * loop.c (this_loop_info): New variable.
18825         (loop_has_call, loop_has_volatile, loop_has_tablejump,
18826         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
18827         All uses updated.
18828         (prescan_loop, strength_reduce): New argument loop_info.  All callers
18829         updated.
18830         (scan_loop): New variable loop_info, initialise to address of
18831         this_loop_info.
18832         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
18833         Delete variable loop_has_multiple_exit targets and replace with
18834         field in this_loop_info.
18835         (find_and_verify_loops): Rename this_loop to this_loop_num.
18836         (strength_reduce): Delete loop_iteration_info.  Replace variable
18837         loop_info with function argument of same name.
18838         (insert_bct): Rework test for loop being completely unrolled.
18839
18840         * loop.h (struct loop_info): New fields num, loops_enclosed,
18841         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
18842         has_indirect_jump, and cont.  Redefine use of unroll_number.
18843         (loop_unroll_number): Delete.
18844
18845         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
18846         field of loop_info.
18847         (loop_iterations): Delete variable vtop and instead use
18848         loop_info->vtop computed in prescan_loop.
18849
18850 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
18851
18852         * fix-header.c (main): Do not pass a null pointer to strcmp.
18853
18854 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
18855
18856         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
18857         filenames.
18858         * configure: Rebuilt.
18859
18860 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
18861
18862         * jump.c (jump_optimize_1): Do not delete assignments to
18863         internal_arg_pointer.
18864         * cse.c (delete_trivially_dead_insns): Always consider a set of
18865         the internal_arg_pointer live.
18866
18867 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
18868
18869         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
18870         (update_life_info) [REG_WAS_0]: Search the original insns rather
18871         than the new insns for the note.  Fix typos finding note_dest.
18872         If no dest found, discard the note rather than abort.
18873         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
18874         (replace_insns): Remove the old insn list after update_life_info
18875         not before.
18876
18877 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
18878
18879         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
18880         sched_analyze_insn.
18881         (sched_analyze_1): Let add_dependence care for not adding dups.
18882         (sched_analyze_2): Likewise.
18883         (add_branch_dependences): Likewise.
18884
18885 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18886
18887         * i386/winnt.c (export_list): New type.
18888         (exports_head): Rename to
18889         (export_head):  this.
18890         (i386_pe_record_exported_symbol): Add is_data flag.
18891         (i386_pe_asm_file_end): Emit directive for exported variables.
18892         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
18893         prototype.
18894         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
18895         (ASM_DECLARE_OBJECT_NAME): Likewise.
18896         (ASM_DECLARE_FUNCTION_NAME): Likewise.
18897         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
18898
18899 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
18900
18901         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
18902
18903         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
18904         operand.
18905
18906 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
18907
18908         * config/openbsd.h: Define SET_ASM_OP.
18909         * tm.texi: cross-reference SET_ASM_OP in the index.
18910
18911 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
18912
18913         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
18914         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
18915         and class_narrowest_mode at compile time.  Kill init_rtl.
18916         Mark rtx_length, mode_class, mode_size, mode_unit_size,
18917         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
18918         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
18919         EXTRA_CC_NAMES.
18920         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
18921         format.
18922         * rtl.h: Declare rtx_length and rtx_format as const.
18923         * machmode.def: Define CC().  Use CC() to define CCmode.  If
18924         EXTRA_CC_MODES is defined, expand it here.
18925         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
18926         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
18927         const.  Kill all references to EXTRA_CC_MODES.
18928
18929         * toplev.c: Don't prototype or call init_rtl.
18930         * optabs.c: Don't call init_mov_optab.
18931         * genemit.c: Don't generate init_mov_optab.  Don't call
18932         init_rtl.
18933         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
18934         here.
18935         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
18936         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
18937         genrecog.c: Don't call init_rtl.
18938
18939         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
18940         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
18941         definition of EXTRA_CC_MODES.
18942
18943         * md.texi: Kill ref to EXTRA_CC_NAMES.
18944         * tm.texi: Document new way to define EXTRA_CC_MODES.
18945
18946         * genrecog.c: Do not look up the name of a define_split.
18947         (Unrelated bugfix.)
18948
18949 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
18950
18951         * config/v850/v850.md: Fix typo introduced by previous delta.
18952
18953 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18954
18955         * gcc.c (fatal): Make definition static to match prototype.
18956
18957 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18958
18959         * combine.c (get_last_value): Don't look for earlier sets if the last
18960         known set is somewhere in between the insns being combined.
18961
18962 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
18963
18964         * configure.in: Don't use shell ! to negate exit codes
18965         * configure: Regenerate
18966
18967 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
18968
18969         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
18970         the fact that ALIGN is measured in bits, not bytes.
18971
18972 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
18973
18974         * errors.c: New file; defines functions error, warning, and
18975         fatal, variables have_error and progname.
18976         * errors.h: New file; prototypes and decls for stuff in errors.c.
18977
18978         * Makefile: Add rules to build errors.o and
18979         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
18980         genopinit, genrecog, genextract, genpeep, genattr, and
18981         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
18982         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
18983         genpeep.o, genattr.o, and genoutput.o.
18984
18985         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
18986         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
18987         define or prototype fatal.  Set progname at beginning of main.
18988         * genoutput.c:  Likewise, and don't define or prototype error
18989         either.
18990
18991         * c-typeck.c (c_expand_start_case): Return immediately if exp
18992         is an ERROR_MARK.
18993         * fold-const.c (operand_equal_p): Return immediately if arg1
18994         or arg0 are ERROR_MARKs.
18995         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
18996         fields of type ERROR_MARK when calculating if the record can
18997         go in a register.
18998
18999 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
19000         with much help from Jeffrey A Law and Richard Henderson
19001
19002         * i386.md: In the 6 insns which call output_fix_trunc,
19003         earlyclobber operands[0].
19004
19005 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
19006
19007         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
19008         creating new registers.
19009
19010 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
19011
19012         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
19013         i386_reg_alloc_order, i386_regparm_string,
19014         i386_align_loops_string, i386_align_jumps_string,
19015         i386_align_funcs_string, i386_preferred_stack_boundary_string,
19016         and i386_branch_cost_string as type "const char *".
19017         * i386.c: Define all above strings as type "const char *".
19018
19019 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
19020
19021         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
19022         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
19023
19024 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
19025
19026         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
19027         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
19028
19029 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
19030
19031         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
19032         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
19033         (dwarf2out_line, dwarf2out_finish): Likewise.
19034         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
19035
19036 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19037
19038         * tree.c (lang_unsave_expr_now) : Correct return type.
19039         * tree.h (lang_unsave_expr_now) : Same.
19040
19041 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
19042
19043         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
19044         instead of duplicating code.
19045
19046 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19047
19048         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
19049
19050 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
19051
19052         * tree.h: fancy_abort always takes three args.
19053         * resource.c: Move include of system.h before toplev.h.
19054
19055 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
19056
19057         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
19058         as SYMBOL_REFs.
19059
19060 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
19061
19062         * system.h: Don't redefine abort or trim_filename.
19063         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
19064         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
19065         whether or not __FUNCTION__ is available.
19066         * tree.h: Duplicate rtl.h's definition of abort, for files
19067         that don't include rtl.h.  Delete all code to perform type
19068         checking with a compiler other than GCC.
19069         * varray.h: Delete all code to perform type checking with a
19070         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
19071         its arguments exactly once, using a statement expression.
19072         Adjust the VARRAY_<type> accessor macros to match.
19073         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
19074         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
19075         caller's location.  Define fatal_insn and fatal_insn_not_found
19076         as macros that use _fatal_insn and _fatal_insn_not_found.
19077         (fancy_abort, trim_filename): Kill prototypes.
19078
19079         * rtl.c (trim_filename): Move here from toplev.c.
19080         (fancy_abort): New function.
19081         (DIR_SEPARATOR): Provide default definition.
19082         * tree.c (tree_check_failed, tree_class_check_failed): Go
19083         through fancy_abort.
19084         (tree_check, tree_class_check, cst_or_constructor_check,
19085         expr_check): Delete.
19086         * varray.c (varray_check_failed): New function.
19087         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
19088         _fatal_insn and _fatal_insn_not_found.  Go through
19089         fancy_abort.
19090         (trim_filename, fancy_abort): Delete.
19091
19092         * builtins.c (expand_builtin_args_info): Report ICE with abort.
19093         * except.c (start_catch_handler): Report ICE with error/abort
19094         combo.
19095         * final.c (output_operand_lossage): Likewise.
19096         * flow.c (verify_flow_info): Likewise.
19097
19098         * gcc.c: Prototype fatal.
19099         * gengenrtl.c: Undef abort after including rtl.h not system.h.
19100         * genattr.c, genattrtab.c, genemit.c, genextract.c,
19101         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
19102         Don't define fancy_abort.
19103
19104 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
19105
19106         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
19107         canonization.
19108
19109 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
19110
19111         * m88k.h (VERSION_INFO2): Kill.
19112         (VERSION_STRING): Kill.
19113         (TM_RCS_ID): Kill.
19114         (VERSION_INFO1): Tidy.
19115         (TARGET_VERSION): Update.
19116         * m88k/dgux.h (VERSION_INFO2): Kill.
19117         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
19118         * m88k/luna.h (VERSION_INFO1): Tidy.
19119         * m88k/sysv4.h (VERSION_INFO1): Likewise.
19120         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
19121         (output_file_start): Adjust for death of VERSION_STRING.
19122
19123 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
19124
19125         * cpplib.c (detect_if_not_defined): New function.
19126         (do_if): Use it to detect potential once-only headers.
19127
19128 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
19129
19130         * c-common.c (combine_strings): Always set TREE_CONSTANT.
19131
19132 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19133
19134         * combine.c (nonzero_bits) : Allow single-ly set registers to be
19135         anywere in the function only if they are pseudos and set before
19136         being used (not live at the start of the function).
19137         (num_sign_bit_copies) : Same.
19138         (get_last_value_validate) : Same.
19139         (get_last_value) : Same.
19140
19141 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
19142
19143         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
19144         where N and M are constant and N is an integer multiple of M.
19145
19146 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19147
19148         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
19149         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
19150         sbitmap_union_of_preds): Add prototypes.
19151         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
19152         the intersection of successors with the new flow graph structures.
19153         (sbitmap_intersection_of_preds): New function to compute the
19154         intersection of predecessors with the new flow graph structures.
19155         (sbitmap_union_of_succs): New function to compute the union of
19156         successors with the new flow graph structures.
19157         (sbitmap_union_of_preds): New function to compute the union of
19158         predecessors with the new flow graph structures.
19159         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
19160         (expr_reaches_here_p): Use edge and basic_block structures instead
19161         of s_preds and s_succs.
19162         (compute_cprop_avinout): Use new sbitmap routines.
19163         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
19164         of s_preds and s_succs.
19165         * flow.c (compute_flow_dominators): Compute dominators using
19166         edges and basic blocks instead of s_preds and s_succs.
19167
19168 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19169
19170         * lists.c (unused_insn_list, unused_expr_list): New file for
19171         maintaining various types of lists. New statics for maintaining a
19172         cache of available INSN_LIST and EXPR_LIST nodes.
19173         (free_list): Static function for freeing a list of INSN/EXPR nodes.
19174         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
19175         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
19176         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
19177         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
19178         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
19179         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
19180         (free_INSN_LIST_node): Free an individual INSN_LIST node.
19181         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
19182         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
19183         (remove_dependence, free_pending_lists): Use new global routines.
19184         (flush_pending_lists, sched_analyze_insn): Use new global routines.
19185         (sched_analyze, compute_block_backward_dependences): Use new routines.
19186         (sched_analyze_1, sched_analyze_2): Use new routines.
19187         (schedule_insns): Use new global routines.
19188         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
19189         prototypes.
19190         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
19191         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
19192         prototypes.
19193         * toplev.c (rest_of_compilation): Initialize node cache.
19194         * Makefile.in (OBJS): Add lists.o to list of object files.
19195         (lists.o): Add dependancies.
19196
19197 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
19198
19199         * config/v850/v850.md: Fix compile time warning messages.
19200         * config/v850/v850.c: Fix compile time warning messages.
19201         * config/v850/v850.h: Fix compile time warning messages.
19202
19203 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19204
19205         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
19206         Remove unused prototype for `init_lengths'.
19207
19208 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19209
19210         * calls.c (emit_call_1): Mark parameter `stack_size' with
19211         ATTRIBUTE_UNUSED.
19212         (expand_call): Initialize variable `insn'.
19213         (emit_library_call): Likewise for variable `high_to_save'.
19214         (emit_library_call_value): Likewise.
19215         (store_one_arg): Likewise for variables `lower_bound' and
19216         `upper_bound'.
19217
19218         * combine.c (try_combine): Likewise for variables `i2_code_number'
19219         and `other_code_number'.
19220         (find_split_point): Likewise for variables `pos', `unsignedp' and
19221         `inner'.
19222         (simplify_if_then_else): Likewise for variables `op' and `c1'.
19223         (simplify_and_const_int): Remove unused variable `width'.
19224         (merge_outer_ops): Likewise.
19225
19226         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
19227         HOST_WIDE_INT' when comparing against one.
19228         (simplify_relational_operation): Likewise.
19229         (cse_insn): Initialize variables `src_eqv_volatile',
19230         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
19231
19232         * final.c (init_final): Constify parameter `filename'.
19233         (final_start_function): Mark parameter `optimize' with
19234         ATTRIBUTE_UNUSED.
19235         (profile_function): Likewise for parameters `first' and `optimize'.
19236         (output_source_line): Likewise for parameter `file'.
19237
19238         * integrate.c (subst_constants): Cast a value to `size_t' when
19239         comparing against one.
19240         (mark_stores): Initialize variable `mode'.  Cast a value to
19241         `size_t' when comparing against one.
19242
19243         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
19244
19245         * loop.c (move_movables): Initialize variable `first'.
19246         (strength_reduce): Likewise for variable `increment'.
19247         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
19248         value to `size_t' when comparing against one.
19249         (load_mems): Initialize variable `end_label'.
19250
19251         * output.h (init_final): Constify parameter.
19252
19253         * reload.c (decompose): Initialize variable `base'.
19254
19255         * reload1.c (reload): Likewise for variable `is_scalar'.
19256         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
19257         (choose_reload_regs): Initialize variable `mode'.
19258         (emit_reload_insns): Likewise for variable `store_insn'.
19259         (reload_cse_noop_set_p): Mark parameter `insn' with
19260         ATTRIBUTE_UNUSED.
19261         (reload_combine): Initialize variable `set'.
19262
19263         * unroll.c (unroll_loop): Likewise for variable `local_label'.
19264         (copy_loop_body): Cast a value to `size_t' when comparing against
19265         one.
19266
19267         * varasm.c (assemble_variable): Initialize variable `size_tree'.
19268         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
19269         (remove_from_pending_weak_list): Mark parameter `name' with
19270         ATTRIBUTE_UNUSED.
19271
19272 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19273
19274         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
19275         gcse dump file.
19276
19277 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
19278
19279         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
19280         (ASM_DECLARE_FUNCTION_NAME): Define.
19281         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
19282         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
19283         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
19284         not already defined.
19285
19286 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
19287
19288         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
19289         of n_popped when call/call_value are not defined.
19290
19291 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
19292
19293         * tm.texi: GNU CC -> GCC conversion.
19294         (CC1_SPEC): Indicate it is used for all language front ends.
19295
19296 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
19297
19298         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
19299         NOTE_INSN_EH_REGION_END correctly.
19300
19301 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
19302                           Jeff Law <law@cygnus.com>
19303
19304         * loop.c (strength_reduce): Automatically unroll loops if the
19305         unrolled loop size is smaller than the rolled loop size.
19306
19307         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
19308         and delete comment that code should be rewritten.
19309
19310 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
19311
19312         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
19313         as reachable.
19314
19315         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
19316
19317 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19318
19319         * fixinc/mkfixinc.sh: Don't fix uwin headers.
19320         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
19321         (LINK_SPEC): Add -u _main when building executables.
19322         (ASM_DECLARE_FUNCTION): Update from Cygwin.
19323         (ASM_FILE_END): Use the default for ix86-pe.
19324         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
19325
19326 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
19327
19328         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
19329         and ASM_CLOSE_PAREN are empty strings.
19330
19331 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
19332                           Geoffrey Keating <geoffk@cygnus.com>
19333
19334         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
19335         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
19336         (unprotoize.o): Ditto.
19337         (test-protoize-simple): Don't define STD_PROTO_DIR.
19338         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
19339         changes to make 'test-protoize-simple' pass.
19340         (STD_PROTO_DIR): Remove define.
19341         (STANDARD_EXEC_PREFIX): Supply default define.
19342         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
19343         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
19344         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
19345         (GET_ENV_PATH_LIST): New macro.
19346         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
19347         (do_processing): Initialize default_syscalls_dir using new
19348         macros.  Use it to initialize syscalls_absolute_filename.
19349
19350 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
19351
19352         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
19353         B into a register before emit_conditional_move.
19354
19355 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
19356
19357         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
19358         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
19359         multiplicand out of (+ (* a b) (* c d)).
19360
19361 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
19362                           Richard Henderson  <rth@cygnus.com>
19363
19364         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
19365         (new_insn_dead_notes): Likewise.
19366         (update_n_sets): Likewise.
19367         (update_flow_info): Move to flow.c, renamed to update_life_info;
19368         extend to handle multiple source insns.
19369         * flow.c: Include resource.h
19370         (unlink_insn_chain): New.
19371         (split_hard_reg_notes): New.
19372         (maybe_add_dead_note): New.
19373         (maybe_add_dead_note_use): New.
19374         (find_insn_with_note): New.
19375         (new_insn_dead_notes): New.
19376         (update_n_sets): New.
19377         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
19378         (maybe_remove_dead_notes): New.
19379         (update_life_info): New.
19380         (prepend_reg_notes): New.
19381         (replace_insns): New.
19382         * output.h (update_life_info): Declare.
19383         * recog.c (split_block_insns): Use update_life_info.
19384         * resource.c (find_free_register): Use reg_alloc_order, don't use
19385         fixed regs, make sure the mode is supported, don't use new regs.
19386         (reg_dead_p): New.
19387         * rtl.h (replace_insns): Declare.
19388
19389 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
19390
19391         * expr.c (expand_expr): Cope with COND_EXPRs with one
19392         non-returning branch.
19393
19394 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
19395
19396         * expr.c (store_expr): Always pass down the target, even when not
19397         doing CSE.
19398
19399 1999-08-24  Nick Clifton  <nickc@cygnus.com>
19400
19401         * configure.in: Define target_cpu_default for v850 targets.
19402         * configure: Regenerate
19403
19404         * config/v850/v850.h (TARGET_CPU_generic): Define.
19405         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
19406         addresses are 4 byte aligned.
19407
19408         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
19409         addresses.
19410
19411 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19412
19413         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
19414         (main): Add prototypes.
19415
19416         * genattrtab.c (substitute_address, write_const_num_delay_slots,
19417         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
19418         (write_attr_get): Emit prototypes along with function definition.
19419         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
19420         (write_complex_function): Emit static prototype along with
19421         function definition.
19422
19423         * genemit.c (gen_split): Emit prototypes along with function
19424         definition.
19425
19426         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
19427         Likewise for predicates and `insn_operand_predicate'.
19428         (process_template): Emit static prototype along with function
19429         definition.
19430
19431         * genrecog.c (make_insn_sequence): Constify a char*.  Add
19432         prototypes for get_split_*().
19433         (write_subroutine): Emit prototypes along with function
19434         definition.
19435
19436 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19437
19438         * gcse.c (find_avail_set): Follow chains of register-register copies.
19439         Use oprs_not_set_p to guarantee that the returned value can be
19440         substituted.
19441         (cprop_insn): Don't verify the return value of find_avail_set with
19442         oprs_not_set_p.
19443
19444         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
19445         (cprop_cc0_jump): New function.
19446         (cprop_insn): Break out new function cprop_jump and use it.
19447         Also use cprop_cc0_jump for machines with CC0.
19448         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
19449
19450         * tree.h (current_function_calls_setjmp,
19451         current_function_calls_longjmp): Delete declarations.
19452         * dsp16xx.c: Include "function.h".
19453         * elxsi.c: Likewise.
19454         * gmicro.c: Likewise.
19455         * h8300.c: Likewise.
19456         * i370.c: Likewise.
19457         * m32r.c: Likewise.
19458         * mn10200.c: Likewise.
19459         * mn10300.c: Likewise.
19460         * ns32k.c: Likewise.
19461         * spur.c: Likewise.
19462         * v850.c: Likewise.
19463
19464         * rtl.h (rtx_equal_function_value_matters): Declare.
19465         * toplev.c (rtx_equal_function_value_matters): Don't declare.
19466         * cse.c: Likewise.
19467         * function.c: Likewise.
19468         * emit-rtl.c: Likewise.
19469
19470 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
19471
19472         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
19473         call.
19474
19475 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
19476
19477         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
19478         exactly.
19479
19480 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
19481
19482         * cpp.texi: Add a node documenting macro varargs (copied
19483         from extend.texi).
19484
19485 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
19486
19487         * cppspec.c: Put a null pointer at the end of the new argv.
19488
19489 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
19490
19491         * configure.in: Remove code to select/de-select the haifa
19492         scheduler.  Every scheduled port gets haifa now.
19493         * configure: Rebuilt.
19494         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
19495         * sched.c Deleted.
19496         * Makefile.in: Corresponding changes.
19497
19498 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19499
19500         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
19501         All callers changed.
19502         (prepare_float_lib_cmp): Likewise.
19503         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
19504         * expr.h (emit_float_lib_cmp): Delete declaration.
19505         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
19506         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
19507         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
19508         specially.
19509         (cmptf): Now conditional on TARGET_HARD_QUAD.
19510
19511 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
19512
19513         * resource.c (mark_target_live_regs): Use
19514         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
19515
19516 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19517
19518         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
19519
19520         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
19521
19522         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
19523
19524 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19525
19526         * rtl.h (rtx_format): Constify a char*.
19527
19528         * rtl.c (rtx_format): Likewise.
19529         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
19530         (init_rtl): Use accessor macro, not `rtx_format'.
19531
19532         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
19533         char*.
19534
19535         * caller-save.c (mark_referenced_regs): Likewise.
19536
19537         * combine.c (subst, make_compound_operation, known_cond,
19538         gen_rtx_combine, update_table_tick, get_last_value_validate,
19539         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
19540
19541         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
19542         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
19543         count_reg_usage): Likewise.
19544
19545         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
19546         Likewise.
19547
19548         * final.c (leaf_renumber_regs_insn): Likewise.
19549
19550         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
19551         dump_edge_info, count_reg_references): Likewise.
19552
19553         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
19554         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
19555         Likewise.
19556
19557         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
19558         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
19559         add_label_notes): Likewise.
19560
19561         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
19562         clear_struct_flag, count_sub_rtxs, count_alternatives,
19563         compares_alternatives_p, contained_in_p, walk_attr_value,
19564         write_expr_attr_cache): Likewise.
19565
19566         * genconfig.c (walk_insn_part): Likewise.
19567
19568         * genemit.c (max_operand_1, gen_exp): Likewise.
19569
19570         * genextract.c (walk_rtx): Likewise.
19571
19572         * genflags.c (num_operands): Likewise.
19573
19574         * genoutput.c (scan_operands): Likewise.
19575
19576         * genpeep.c (match_rtx): Likewise.
19577
19578         * genrecog.c (add_to_sequence): Likewise.
19579
19580         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
19581         Likewise.
19582
19583         * integrate.c (save_constants, copy_for_inline,
19584         copy_rtx_and_substitute, subst_constants, restore_constants):
19585         Likewise.
19586
19587         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
19588         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
19589
19590         * local-alloc.c (contains_replace_regs, memref_referenced_p):
19591         Likewise.
19592
19593         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
19594         add_label_notes, replace_call_address, count_nonfixed_reads,
19595         invariant_p, find_single_use_in_loop, find_mem_givs,
19596         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
19597         Likewise.
19598
19599         * print-rtl.c (reg_names, print_rtx): Likewise.
19600
19601         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
19602
19603         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
19604         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
19605         print_blocks): Likewise.
19606
19607         * regclass.c (fix_register, record_address_regs,
19608         reg_scan_mark_refs): Likewise.
19609
19610         * regmove.c (stable_but_for_p): Likewise.
19611
19612         * reload.c (loc_mentioned_in_p, operands_match_p,
19613         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
19614         copy_replacements, refers_to_regno_for_reload_p,
19615         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
19616         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
19617         Likewise.
19618
19619         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
19620         delete_address_reloads_1, count_occurrences,
19621         reload_cse_mem_conflict_p, reload_combine_note_use,
19622         add_auto_inc_notes): Likewise.
19623
19624         * resource.c (mark_referenced_resources, mark_set_resources):
19625         Likewise.
19626
19627         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
19628         reg_mentioned_p, regs_set_between_p, modified_between_p,
19629         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
19630         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
19631         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
19632         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
19633
19634         * sched.c (sched_analyze_2, attach_deaths): Likewise.
19635
19636         * stupid.c (stupid_mark_refs): Likewise.
19637
19638         * unroll.c (remap_split_bivs): Likewise.
19639
19640         * varasm.c (mark_constants): Likewise.
19641
19642         * a29k/a29k.c (uses_local_reg_p): Likewise.
19643
19644         * alpha/alpha.c (summarize_insn): Likewise.
19645
19646         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
19647         eliminate_lr2ip): Likewise.
19648
19649         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
19650
19651         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
19652         reg_mentioned_in_mem): Likewise.
19653
19654         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
19655         symbolic_reference_mentioned_p): Likewise.
19656
19657         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
19658
19659         * sh/sh.c (regs_used, mark_use): Likewise.
19660
19661         * vax/vax.c (vax_rtx_cost): Likewise.
19662
19663 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19664
19665         * machmode.h (mode_name): Constify a char*.
19666
19667         * rtl.c (mode_name): Likewise.
19668
19669         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
19670
19671         * optabs.c (init_libfuncs): Constify a char*.
19672
19673         * print-tree.c (mode_name): Remove redundant declaration.
19674         (print_node): Use accessor macro, not `mode_name'.
19675
19676         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
19677         not `mode_name'.
19678         (new_spill_reg): Constify a char*.
19679
19680         * tree.c (mode_name): Remove redundant declaration.
19681
19682 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19683
19684         * rtl.c (rtx_name): Constify a char*.
19685
19686         * rtl.h (rtx_name, fix_sched_param): Likewise.
19687
19688         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
19689         (mypr): Use accessor macro, not `rtx_name'.
19690
19691         * genemit.c (print_code): Constify a char*.
19692
19693         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
19694
19695         * genpeep.c (print_code): Constify a char*.
19696
19697         * genrecog.c (print_code): Likewise.
19698
19699         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
19700         end_bb): Add static prototype.
19701         (draw_edge): Constify a char*.
19702         (end_bb): Remove unused parameter.
19703
19704         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
19705         print_block_visualization): Constify a char*.
19706
19707 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
19708
19709         * c-common.c (c_get_alias_set): Update comment.
19710
19711 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
19712
19713         * linux.h (LIB_SPEC): Added.
19714
19715 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19716
19717         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
19718
19719 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
19720
19721         * tree.c (expr_check): Fix typo in last change.
19722
19723 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
19724
19725         * rtl.def (NOTE): Change format to "iuu0n".
19726         (ADDR_DIFF_VEC): Change format to "eEee0".
19727         (ADDRESSOF): Change format to "eit".
19728
19729         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
19730         (RTVEC_ELT): Change to match.
19731         (XVECEXP): Use XVEC and RTVEC_ELT.
19732         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
19733         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
19734         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
19735         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
19736         TRAP_CONDITION, TRAP_CODE): Use XEXP.
19737         (INTVAL): Use XWINT.
19738         (ADDRESSOF_DECL): Use XTREE.
19739         (SET_ADDRESSOF_DECL): Delete.
19740         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
19741         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
19742         ifdefed out since 2.6 at least.
19743         (gen_rtvec_vv): Delete prototype.
19744
19745         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
19746         not rtunion.
19747         (copy_most_rtx): Handle 't' format letter.
19748         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
19749         (gen_rtvec_vv): Delete function.  All callers changed to use
19750         gen_rtvec_v instead.
19751         * print-rtl.c (print_rtx): Move special casing of NOTEs to
19752         the '0' format letter.
19753
19754         * function.c (gen_mem_addressof): Don't use
19755         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
19756         instead.
19757         * integrate.c (copy_rtx_and_substitute): Likewise.
19758         Copy 't' slots with XTREE.
19759         (subst_constants): Treat 't' slots like '[swi]' slots.
19760         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
19761         * jump.c (rtx_equal_for_thread_p): Likewise.
19762         * rtlanal.c (rtx_equal_p): Likewise.
19763         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
19764         only four arguments.
19765         * gengenrtl.c (type_from_format): Provide correct types for
19766         'b' and 't' slots.
19767
19768
19769         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
19770         If a recent gcc is in use (always in stage2 and beyond), use
19771         statement expressions, so we don't make a function call unless
19772         the check fails.  Evaluate arguments exactly once.
19773         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
19774         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
19775         Delete.
19776         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
19777         they evaluate their arguments exactly once, irrespective of
19778         the compiler in use.
19779
19780         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
19781         is used by the currently-enabled check macros.  This is:
19782         (tree_check_failed, tree_class_check_failed): For gcc.
19783         (tree_check, tree_class_check, cst_or_constructor_check,
19784         expr_check): For other compilers.
19785
19786         * gencheck.c: Do not define any *_CHECK1 macros.
19787
19788 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
19789                           Mark Mitchell <mark@codesourcery.com>
19790
19791         * c-common.c (c_get_alias_set): Fix support for poitners and
19792         references.
19793
19794 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
19795
19796         * alias.c: Include tree.h.
19797         (nonlocal_reference_p, mark_constant_function): New functions.
19798         * flow.c (life_analysis): Call mark_constant_function.
19799         * rtl.h (mark_constant_function): Declare it.
19800
19801 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
19802
19803         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
19804         unrecognisable switches.
19805
19806 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19807
19808         * loop.c (recombine_givs): Set ix field after sorting.
19809         (recombine_givs): Remove bogus index / giv lockstep looping.
19810
19811 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19812
19813         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
19814         on CODE.
19815         (emit_store_flag_force): Use do_compare_rtx_and_jump.
19816         (do_cmp_and_jump): Formatting fixes.
19817         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
19818         do_compare_rtx_and_jump instead of compare_from_rtx.
19819         (do_compare_rtx_and_jump): New function; mostly copied from
19820         compare_from_rtx.
19821         (do_jump_for_compare): Delete.
19822         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
19823         MIN_EXPR.
19824         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
19825         of compare/do_jump_for_compare pairs.
19826         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
19827         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
19828         compare_from_rtx/do_jump_for_compare pairs.
19829         (do_jump_by_parts_equality): Likewise.
19830         (do_jump_by_parts_equality_rtx): Likewise.
19831         * expr.h (do_compare_rtx_and_jump): Declare.
19832         * optabs.c (prepare_cmp_insn): New function, contains most of the code
19833         that used to be in emit_cmp_insn.
19834         (cmp_available_p): New function.
19835         (prepare_operand): New function.
19836         (emit_cmp_and_jump_insn_1): New function, contains some code that used
19837         to be in emit_cmp_insn.
19838         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
19839         parameters to be pointers; don't emit final compare but modify some of
19840         the values pointed to by the args so the caller can perform the
19841         correct comparison.
19842         (expand_binop): Call emit_store_flag_force with signed forms of
19843         comparison code.
19844         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
19845         emit_jump_insn pair.
19846         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
19847         emit_cmp_and_jump_insn_1.  Call emit_queue.
19848         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
19849         arg.
19850         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
19851         jump sets cc0 before deleting it.
19852         * integrate.c (expand_inline_function): Likewise.
19853         * unroll.c (unroll_loop): Similar changes in several places.
19854         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
19855         before deleting it.
19856
19857 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19858
19859         * Makefile.in (insn-recog.o): Update dependencies.
19860         * genrecog.c (main): Make generated file include "function.h".
19861
19862 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
19863
19864         * cse.c (cse_insn): Call never_reached_warning when a jump is
19865         changed to be unconditional.
19866         * flags.h: Declare warn_notreached.
19867         * flow.c (delete_block): Call never_reached_warning when
19868         a block is deleted.
19869         * jump.c (delete_barrier_successors): Call never_reached_warning
19870         when we delete everything after a BARRIER.
19871         (never_reached_warning): New function.
19872         * rtl.h: Declare never_reached_warning.
19873         * toplev.c (warn_notreached): New variable.
19874         (lang_independent_options): Set warn_notreached
19875         when -Wunreachable-code.
19876         (compile_file): We need line numbers for -Wunreachable-code.
19877
19878 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
19879
19880         * haifa-sched.c (insn_unit): Fix typo on out of range test.
19881         * sched.c (insn_unit): Likewise.
19882
19883 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
19884
19885         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
19886
19887 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19888
19889         * flow.c (create_edge_list): Use xmalloc, not malloc.
19890
19891 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
19892
19893         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
19894         C-style comments.  Do not lose the character before double slash.
19895
19896 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19897
19898         * basic-block.h (struct edge_list): Stucture to maintain a vector
19899         of edges.
19900         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
19901          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
19902         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
19903         New function prototypes.
19904         * flow.c (create_edge_list): Function to create an edge list.
19905         (free_edge_list): Discards memory used by an edge list.
19906         (print_edge_list): Debug output showing an edge list.
19907         (verify_edge_list): Internal consistency check for an edge list.
19908         (find_edge_index): Function to find an edge index for a pred and succ.
19909
19910 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
19911
19912         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
19913         hashtable.
19914
19915 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
19916
19917         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
19918
19919 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
19920
19921         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
19922
19923 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
19924
19925         * toplev.c (rest_of_compilation): Allow machine dependent
19926         reorganisation pass to place information into the RTL dump
19927         file if it so wishes.
19928
19929 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
19930
19931         * explow.c (hard_function_value): Use VOIDmode instead of
19932         MAX_MACHINE_MODE.
19933         * stmt.c (expand_return): Likewise.
19934         * stor-layout.c (get_best_mode): Likewise.
19935
19936         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
19937         emit call instead of emit_insn call.
19938
19939 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19940
19941         * configure.in: Handle --disable/enable-win32-registry.
19942         * install.texi: Document --disable/enable-win32-registry.
19943         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
19944         (WIN32_REGISTRY_KEY): New macro.
19945         * prefix.c: Use to enable/disable win32-specific code.
19946         (lookup_key): Use versioned key.
19947         * configure: Regenerate.
19948         * config.in: Likewise.
19949
19950 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
19951
19952         * cpplib.c (read_line_number): New fn, split out of...
19953         (do_line): Here.
19954
19955 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19956
19957         tree.c (lang_unsave_expr_now) : New.
19958         (unsave_expr_now): Call lang_unsave_expr_now.
19959         tree.h (lang_unsave_expr_now) : New.
19960
19961 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
19962
19963         * toplev.c (flag_new_exceptions): On by default.
19964
19965 1999-08-13  Michael Meissner  <meissner@cygnus.com>
19966
19967         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
19968
19969 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
19970
19971         * dwarfout.c (fundamental_type_code): Return FT_boolean for
19972         INTEGER_TYPE with precision==1, it's __java_boolean.
19973
19974 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19975
19976         * global.c (prune_preferences): Move some invariants out of the
19977         inner loop.
19978
19979 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
19980
19981         * configure.in (alpha*-dec-osf*): Add osf5.
19982
19983 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
19984
19985         * configure.in: Rework handling of ARM GNU/Linux slightly.
19986         (arm*-*-linux-gnuoldld): New target.
19987         * configure: Regenerate.
19988         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
19989         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
19990         * config/arm/linux-oldld.h: New file.
19991         * config/arm/linux-elf26.h: Don't include linux-elf.h.
19992         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
19993         Don't define.
19994         * config/arm/linux-elf.h (ASM_SPEC): Define.
19995         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
19996         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
19997         for 26-bit APCS and old linker.
19998         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
19999         `arm_elf'.
20000         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
20001         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
20002         don't define `arm' or `arm_elf'.
20003         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
20004         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
20005
20006 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
20007
20008         * rtl.texi: Fix typo.
20009
20010 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
20011
20012         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
20013
20014 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
20015
20016         * extend.texi (C++ Signatures): Remove node.
20017         * invoke.texi: Remove discussion of -fhandle-signatures,
20018         signature, sigof, __signature__, and __sigof__.
20019
20020 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
20021
20022         * Makefile.in (JAVAGC): Removed.
20023
20024 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20025
20026         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
20027
20028 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
20029
20030         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
20031
20032 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
20033
20034         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
20035         a register that is already known to be a pointer.
20036
20037 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
20038
20039         * fixinc/inclhack.tpl: Only install assert.h conditionally.
20040         * fixinc/inclhack.sh: Regenerated.
20041         * fixinc/fixincl.sh: Regenerated.
20042
20043 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
20044
20045         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
20046         Fix documentation of -ansi flag to describe its C++ behavior.
20047         Remove bogus reference to GCC 2.9.
20048
20049 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
20050
20051         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
20052         note if it is non-NULL.
20053
20054 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20055
20056         * except.h (eh_nesting_info): Add new structure defintion.
20057         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
20058         (reachable_handlers, update_rethrow_references): Add function
20059         prototypes.
20060         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
20061         a rethrow symbol instead of an integer exception region number.
20062         * flow.c (Make_edges): Use new exception nesting routines to determine
20063         which handlers are reachable from a CALL or asynchronous insn.
20064         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
20065         goto receivers.
20066         (delete_eh_regions): Update rethrow labels, and don't delete
20067         regions which are the target of a rethrow.
20068         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
20069         avoid overloading the SYMBOL_REF_USED flag.
20070         (rethrow_symbol_map): Use new rethrow_ref field.
20071         (rethrow_used): Use new rethrow_ref field.
20072         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
20073         of an integer.  Fix formatting.
20074         (output_exception_table_entry): Use new rethrow_ref field.
20075         (can_throw): Check for EH_REGION_NOTE before deciding
20076         whether a CALL can throw or not.
20077         (scan_region): Call rethrow_used() instead of accessing data structure.
20078         (update_rethrow_references): New function to make sure only regions
20079         which are still targets of a rethrow are flagged as such.
20080         (process_nestinfo): New static function to initialize a handler
20081         list for a specific region.
20082         (init_eh_nesting_info): New function to allocate and initialize
20083         the list of all EH handlers reachable from all regions.
20084         (reachable_handlers): New function to retrieve the list of handlers
20085         reachable from a specific region and insn.
20086         (free_eh_nesting_info): New function to dispose of a list of
20087         reachable handlers.
20088
20089 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20090
20091         * flow.c (split_edge): Set JUMP_LABEL field.
20092         (commit_one_edge_insertion): Set head correctly for insert_before.
20093         When inserting insns, update insn block numbers if allocated.
20094
20095 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20096
20097         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
20098         retry_incomplete_types): Add static prototype.
20099         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
20100         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
20101         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
20102         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
20103         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
20104         Constify a char*.
20105
20106         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
20107         dwarf2out_start_source_file, dwarf2out_line): Likewise.
20108
20109 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20110
20111         * output.h (assemble_name): Constify a char*.
20112
20113         * varasm.c (UNIQUE_SECTION, assemble_start_function,
20114         assemble_variable, assemble_name): Likewise.
20115
20116         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
20117
20118         * arm/pe.c (arm_pe_unique_section): Likewise.
20119
20120         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
20121
20122         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
20123
20124         * i386/interix.c (i386_pe_unique_section): Likewise.
20125
20126         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
20127
20128         * i386/winnt.c (i386_pe_unique_section): Likewise.
20129
20130         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
20131
20132         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
20133
20134         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
20135
20136         * pa/pa.c (output_call): Likewise.
20137
20138         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
20139
20140         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
20141
20142         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
20143         Likewise.
20144
20145         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
20146         Likewise.
20147
20148         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
20149
20150         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
20151         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
20152
20153         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
20154
20155 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20156
20157         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
20158
20159 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20160
20161         * tree.h (lang_identify): Constify a char*.
20162         (print_error_function): Add extern prototype.  Constify a char*.
20163
20164         * c-lang.c (lang_identify): Constify a char*.
20165
20166         * objc/objc-act.c (lang_identify): Constify a char*.
20167
20168 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20169
20170         * genpeep.c (main): Make generated file include "function.h".
20171         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
20172
20173 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20174
20175         * Makefile.in: Update dependencies.
20176         * alias.c: Include "function.h"
20177         * c-decl.c: Likewise.
20178         * caller-save.c: Likewise.
20179         * calls.c: Likewise.
20180         * combine.c: Likewise.
20181         * cse.c: Likewise.
20182         * explow.c: Likewise.
20183         * final.c: Likewise.
20184         * global.c: Likewise.
20185         * graph.c: Likewise.
20186         * local-alloc.c: Likewise.
20187         * loop.c: Likewise.
20188         * optabs.c: Likewise.
20189         * profile.c: Likewise.
20190         * recog.c: Likewise.
20191         * regclass.c: Likewise.
20192         * regmove.c: Likewise.
20193         * reload.c: Likewise.
20194         * reorg.c: Likewise.
20195         * resource.c: Likewise.
20196         * sched.c: Likewise.
20197         * stupid.c: Likewise.
20198         * config/1750a/1750a.c: Likewise.
20199         * config/a29k/a29k.c: Likewise.
20200         * config/arc/arc.c: Likewise.
20201         * config/arm/arm.c: Likewise.
20202         * config/arm/thumb.c: Likewise.
20203         * config/c4x/c4x.c: Likewise.
20204         * config/clipper/clipper.c: Likewise.
20205         * config/convex/convex.c: Likewise.
20206         * config/fx80/fx80.c: Likewise.
20207         * config/i860/i860.c: Likewise.
20208         * config/m68k/m68k.c: Likewise.
20209         * config/m88k/m88k.c: Likewise.
20210         * config/mips/mips.c: Likewise.
20211         * config/pdp11/pdp11.c: Likewise.
20212         * config/pyr/pyr.c: Likewise.
20213         * config/romp/romp.c: Likewise.
20214         * config/sh/sh.c: Likewise.
20215         * config/tahoe/tahoe.c: Likewise.
20216         * config/vax/vax.c: Likewise.
20217         * config/we32k/we32k.c: Likewise.
20218         * config/sparc/sparc.c: Include "function.h".
20219         (mem_min_alignment): Test current_function rather than
20220         regno_pointer_align.
20221         * config/pa/pa.c: Likewise.
20222         (compute_frame_size): Delete declaration of
20223         current_function_outgoing_args_size.
20224         * config/arc/arc.h (current_function_varargs): Delete declaration.
20225         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
20226         declaration.
20227         * config/i370/i370.h (current_function_outgoing_args_size): Delete
20228         declaration.
20229         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
20230         current_function_uses_pic_offset_table.
20231         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
20232         of current_function_returns_pointer.
20233         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20234         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20235         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20236         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20237         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20238         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20239         * config/m88k/m88k.c: Include "function.h"
20240         (call_used_regs, current_function_pretend_args_size,
20241         current_function_outgoing_args_size, frame_pointer_needed): Delete
20242         declarations.
20243         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
20244         declaration.
20245         * config/mips/mips.h (current_function_calls_alloca): Delete
20246         declaration.
20247         * config/mn10200/mn10200.h (current_function_needs_context,
20248         rtx_equal_function_value_matters): Delete declarations.
20249         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
20250         flag_pic): Delete declarations.
20251         * config/pa/pa.h (current_function_pretend_args_size,
20252         current_function_decl): Delete declarations.
20253         * config/pa/som.h (current_function_varargs): Delete declaration.
20254         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
20255         declaration.
20256         * config/pyr/pyr.h (current_function_pretend_args_size,
20257         current_function_args_size, current_function_calls_alloca): Delete
20258         declarations.
20259         * config/sh/sh.h (current_function_varargs): Delete declaration.
20260         * config/sparc/sparc.h (current_function_outgoing_args_size,
20261         current_function_calls_alloca, current_function_decl): Delete
20262         declarations.
20263         * config/spur/spur.h (current_function_pretend_args_size,
20264         current_function_calls_alloca): Delete declarations.
20265         * config/v850/v850.c (current_function_outgoing_args_size): Delete
20266         declaration.
20267         * config/vax/vms.h (current_function_name): Delete declaration.
20268         * gcse.c: Include "function.h".
20269         (current_function_name, current_function_calls_setjmp): Delete
20270         declarations.
20271         * haifa-sched.c: Include "function.h".
20272         (forced_labels): Delete declaration.
20273         * jump.c: Likewise.
20274         * reg-stack.c: Likewise.
20275         * reload1.c: Likewise.
20276         * genemit.c (main): Make generated file include function.h.
20277         * genoutput.c (output_prologue): Likewise.
20278
20279         * builtins.c (saveregs_value, apply_args_value): Delete variables.
20280         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
20281         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
20282         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
20283         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
20284         macros for some of them.
20285         (emit_filename, emit_lineno): Delete declarations.
20286         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
20287         regno_pointer_* variables through current_function.
20288         (gen_inline_header_rtx): Delete function.
20289         (save_emit_status): Delete function.
20290         (set_new_last_label_num): New function.
20291         (clear_emit_caches): New function.
20292         (restore_emit_status): Just clear last_labelnum and call
20293         clear_emit_caches.
20294         (get_last_insn_anywhere): Variable sequence_stack is now accessed
20295         through macro seq_stack.
20296         (add_insn_after): Likewise.
20297         (add_insn_before): Likewise.
20298         (remove_insn): Likewise.
20299         (pop_topmost_sequence): Likewise.
20300         (in_sequence_p): Likewise.
20301         (start_sequence_for_rtl_expr): Likewise.
20302         (start_sequence): Likewise, and likewise for
20303         sequence_rtl_expr/seq_rtl_expr.
20304         (push_topmost_sequence): Likewise.
20305         (end_sequence): Likewise.
20306         (init_virtual_regs): Now takes a "struct emit_status *" argument.
20307         All callers changed.  Store into that pointer instead of globals.
20308         (init_emit): Allocate emit elt of current_function.
20309         Changes for sequence_rtl_expr/sequence_stack renaming.
20310         Call clear_emit_caches instead of doing it in-line.
20311         Access regno_pointer_* variables through current_function.
20312         (init_emit_once) Don't clear sequence_stack.
20313
20314         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
20315         Delete variables.
20316         (arg_pointer_save_area): Delete declaration.
20317         (finish_expr_for_function): Renamed from init_queue; no longer static.
20318         (init_expr): Don't call init_queue.
20319         (save_expr_status, restore_expr_status): Delete functions.
20320         (expand_expr): Changes to reflect new layout of struct function.
20321         Don't access current_function_check_memory_usage when current_function
20322         is 0.
20323         * expr.h (forced_labels, save_expr_regs, saveregs_value,
20324         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
20325         current_function_outgoing_args_size, current_function_arg_offset_rtx,
20326         current_function_uses_const_pool, function_call_count,
20327         current_function_uses_pic_offset_table, nonlocal_labels,
20328         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
20329         current_function_check_memory_usage, nonlocal_goto_handler_slots,
20330         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
20331         declarations.
20332         (finish_expr_for_function): Declare.
20333         * flags.h (current_function_has_nonlocal_label,
20334         current_function_has_nonlocal_goto, current_function_is_thunk,
20335         current_function_has_computed_jump): Delete declarations.
20336         * flow.c (forced_labels): Delete declaration.
20337         * function.c (current_function_pops_args,
20338         current_function_returns_struct, current_function_returns_pcc_struct,
20339         current_function_needs_context, current_function_calls_setjmp,
20340         current_function_calls_longjmp, current_function_has_nonlocal_label,
20341         current_function_has_nonlocal_goto, current_function_is_thunk,
20342         current_function_has_computed_jump, current_function_calls_alloca,
20343         current_function_contains_functions, current_function_returns_pointer,
20344         current_function_epilogue_delay_list, current_function_args_size,
20345         current_function_pretend_args_size, current_function_arg_offset_rtx,
20346         current_function_outgoing_args_size, current_function_varargs,
20347         current_function_stdarg, current_function_args_info, cleanup_label,
20348         current_function_name, current_function_uses_const_pool,
20349         current_function_instrument_entry_exit, current_function_return_rtx,
20350         current_function_uses_pic_offset_table, nonlocal_labels,
20351         current_function_internal_arg_pointer, current_function_cannot_inline,
20352         current_function_check_memory_usage, function_call_count,
20353         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
20354         nonlocal_goto_stack_level, return_label, save_expr_regs,
20355         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
20356         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
20357         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
20358         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
20359         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
20360         Delete variables.
20361         (push_function_context_to): Don't save them.  Don't call
20362         save_storage_status, save_emit_status or save_expr_status.
20363         (pop_function_context_from): Don't restore them.  Don't call
20364         restore_storage_status or restore_expr_status.
20365         (get_func_frame_size): New function.
20366         (get_frame_size): Use it.
20367         (assign_outer_stack_local): Reflect some member name changes in struct
20368         function.
20369         (put_reg_into_stack): Likewise.
20370         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
20371         seq_rtl_expr.
20372         (fixup_var_refs): Likewise.
20373         (fix_lexical_addr): Likewise.
20374         (trampoline_address): Likewise.
20375         (prepare_function_start): Clear field inlinable of current_function.
20376         (init_function_for_compilation): New function.
20377         (expand_dummy_function_end): New function.
20378         (expand_function_end): Call finish_expr_for_function.
20379         * function.h (struct emit_status): New; fields moved here from struct
20380         function and from global variables.  Add accessor macros for some of
20381         the fields.
20382         (struct expr_status): Likewise.
20383         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
20384         (struct function): Add fields expr and emit, inlinable, inl_emit,
20385         original_arg_vector, original_decl_initial, inl_last_parm_insn,
20386         inl_max_label_num.  Add many comments.
20387         Add accessor macros for all elts of struct function that no longer
20388         have a global variable.
20389         (cleanup_label, return_label, frame_offset, tail_recursion_label,
20390         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
20391         stack_slot_list): Delete declarations.
20392         (get_func_frame_size): Declare.
20393         (save_expr_status, restore_expr_status, save_emit_status,
20394         save_storage_status, restore_storage_status): Delete declarations.
20395         (init_virtual_regs): Declare.
20396         * output.h (current_function_pops_args,
20397         current_function_returns_struct, current_function_returns_pcc_struct,
20398         current_function_needs_context, current_function_calls_setjmp,
20399         current_function_calls_longjmp, current_function_calls_alloca,
20400         current_function_has_nonlocal_label, current_function_varargs,
20401         current_function_has_computed_jump, current_function_returns_pointer,
20402         current_function_contains_functions, current_function_args_size,
20403         current_function_pretend_args_size, current_function_stdarg,
20404         current_function_outgoing_args_size, current_function_args_info,
20405         current_function_name, current_function_return_rtx,
20406         current_function_epilogue_delay_list,
20407         current_function_uses_const_pool, current_function_cannot_inline):
20408         Delete declarations.
20409         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
20410         regno_reg_rtx): Delete declaration.
20411         (REGNO_POINTER_FLAG): Delete macro.
20412         * stmt.c (expand_goto): Changes to reflect that some fields in struct
20413         function were renamed.
20414         * stor-layout.c (save_storage_status, restore_storage_status): Delete
20415         functions.
20416         * toplev.c: Include "function.h".
20417         (current_function_decl): Delete declaration.
20418         (compile_file): Call init_dummy_function_start and
20419         expand_dummy_function_end around some initializations that need to
20420         emit rtl.
20421         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
20422         Call init_function_for_compilation.
20423         * unroll.c: Include "function.h"
20424         (unroll_loop): Access regno_pointer_* variables through
20425         current_function.
20426
20427         * tree.h (struct tree_decl): Add elt f to saved_insns member.
20428         (DECL_SAVED_INSNS): use it.
20429         (expand_dummy_function_end): Declare.
20430         (init_function_for_compilation): Declare.
20431         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
20432         that it's no longer an INLINE_HEADER.
20433         (expand_call): Likewise.
20434         * integrate.c (finish_inline): Delete function.
20435         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
20436         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
20437         args.  Don't generate an INLINE_HEADER rtx, just return the arg
20438         vector.  All callers changed.
20439         (save_for_inline_copying):  Create a duplicate struct emit_status to
20440         hold the emit state for compiling the current function.  Use this and
20441         the other new fields in struct function that are for integration
20442         instead of an INLINE_HEADER.
20443         Use memcpy instead of bcopy.
20444         Store the current struct function in DECL_SAVED_INSNS of fndecl.
20445         (save_for_inline_nocopy): Similar changes, except no new emit_status
20446         is needed here.
20447         (expand_inline_function): Get information from function structure,
20448         not from an inline header rtx.
20449         (output_inline_function): Lose code to extract the necessary
20450         information from an inline header; simply put back the function
20451         structure into current_function.  Clear its inlinable elt.
20452         * rtl.def (INLINE_HEADER): Delete.
20453         * rtl.h: Delete all accessors for an INLINE_HEADER.
20454         (gen_inline_header_rtx): Delete declaration.
20455         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
20456         Delete declarations.
20457         (REGNO_POINTER_ALIGN): Delete.
20458         (clear_emit_caches): Declare.
20459         (set_new_last_label_num): Declare.
20460
20461 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
20462
20463         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
20464
20465         * except.c (expand_eh_region_start_for_decl): Always start a new block.
20466         * stmt.c (is_eh_region): Make sure current_function is present, too.
20467
20468 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
20469
20470         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
20471         for 64bit PA targets.
20472
20473         * pa.h (SELECT_SECTION): Define.
20474         * som.h (SELECT_SECTION): Delete.
20475
20476 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20477
20478         * alias.c (init_alias_analysis): Wrap call to
20479         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
20480
20481 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
20482
20483         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
20484         <sys/asm.h> contains an asm comment with an apostrophe
20485         * fixinc/inclhack.sh:  regen
20486         * fixinc/fixincl.x:  regen
20487
20488 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
20489
20490         * function.c (init_function_start): Clear prologue & epilogue.
20491         (prologue_epilogue_contains): New function.
20492         * alias.c (init_alias_analysis): Use it.
20493         * rtl.h (prologue_epilogue_contains): Declare it.
20494
20495 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
20496
20497         * jump.c (onlyjump_p): New function.
20498         * rtl.h: Declare it.
20499         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
20500         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
20501
20502 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
20503
20504         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
20505         to invert loops.  Simplify block scanning.
20506
20507 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
20508
20509         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
20510         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
20511
20512 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
20513
20514         * config/sparc/liteelf.h: New file to support sparclite-elf target
20515         * config/sparc/t-sp86x: New file to support sparc86x targets
20516         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
20517         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
20518         * configure.in: Support above target triplets
20519         * configure: Regenerated
20520
20521 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
20522
20523         * fixinc/server.c (server_setup): Do not prefix function used as
20524         parameter with `&'.
20525
20526 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
20527
20528         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
20529         Remove fp reg alternatives.
20530
20531 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
20532
20533         * Makefiin (TAROUTOPTS): Kill.
20534         (install-headers-tar): Use "xpf" for tar headerfile extraction
20535         * i370/x-oe (TAROUTOPTS): Delete.
20536         * m68k/x-apollo68 (TAROUTOPTS): Delete.
20537         * m68k/x-hp320 (TAROUTOPTS): Delete.
20538         * m68k/x-hp320g (TAROUTOPTS): Delete.
20539         * gcc.texi: Update bug reporting text.
20540
20541 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
20542
20543         * reg-stack.c (change_stack) Fixed problem with negative array index.
20544
20545 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
20546
20547         * extend.texi, install.texi: Fix spelling mistakes.
20548
20549         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
20550         (s-attrtab); No longer try to use pre-made insn-attrtab file.
20551         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
20552         PREMADE_ATTRTAB_MD.
20553         * mips/t-ecoff: Likewise.
20554         * mips/t-elf: Likewise.
20555         * mips/t-mips: Likewise.
20556         * mips/t-osfrose: Likewise.
20557         * mips/t-r3900: Likewise.
20558         * mips/t-svr3: Likewise.
20559         * mips/t-svr4: Likewise.
20560         * mips/t-ultrix: Likewise.
20561
20562         * gcc.texi: Document recommend means to provide software floating
20563         point libraries in libgcc.a
20564
20565 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
20566
20567         * c-lex.c (yylex): We can have a number with no digits.
20568
20569 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
20570
20571         * jump.c (delete_prior_computation): New function, broken
20572         out of delete_computation.  Check for side effects with
20573         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
20574         multi-word hard registers.
20575         (delete_computation): Use it.  Check for side effects with
20576         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
20577         missing REG_DEAD note for a register which is both set and
20578         used by an insn.
20579
20580 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
20581
20582         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
20583         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
20584         (ASM_FILE_START): Import _mcount with the right type.
20585         (ASM_DECLARE_FUNCTION_NAME): Define.
20586         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
20587         * pa.c (output_function_prologue): Always emit the function's label
20588         here.
20589         * pa.h (TEXT_SPACE_P): Define.
20590         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
20591         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
20592         * som.h (TEXT_SPACE_P): Delete.
20593         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
20594         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
20595
20596 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
20597
20598         * expr.c (emit_group_load): Allow src to be a CONCAT.
20599
20600 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20601
20602         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
20603         (___mulsi3): Use '!' comment character.
20604
20605 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20606
20607         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
20608
20609 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
20610
20611         * gcc.c: Update URLs and mail addresses.
20612         * gcc.texi: Likewise.
20613
20614 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
20615
20616         * rs6000.c (current_file_function_operand): Return zero for
20617         weak functions.
20618         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
20619         weak symbols.
20620         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
20621         for weak symbols.
20622
20623 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
20624
20625         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
20626         allocate space in the stack frame for the PIC register.
20627
20628 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
20629
20630         * m68k.md (xordi3, anddi3): These patterns are not available on
20631         the coldfire.
20632
20633 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
20634
20635         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
20636         (PUT_REAL): Likewise.
20637
20638 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20639
20640         * final.c (shorten_branches): Don't add an alignment for loops
20641         that have no label inside.
20642
20643 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20644
20645         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
20646         prototypes in macro HAVE_cmpstrsi.
20647
20648         * cpplib.c (cpp_get_token): Remove unused label `op3'.
20649
20650         * emit-rtl.c (operand_subword): Remove unused variable
20651         `bits_per_word'.
20652
20653         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
20654
20655         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
20656
20657 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
20658
20659         * cpphash.c (macroexpand): Delete leading whitespace when arg
20660         is concatenated before.
20661         (unsafe_chars): Correct test for whether + and - can extend a
20662         token.
20663
20664         * cppinit.c (cpp_start_read): Do dependencies for
20665         -include/-imacros files also.
20666
20667         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
20668         tokenizing non-directive lines.
20669         (cpp_expand_to_buffer): Temporarily disable no-output mode.
20670         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
20671         the input file.
20672
20673 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
20674
20675         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
20676
20677         * c-lex.c: Sync with C++ frontend.
20678         (linemode): New variable.
20679         (parse_float): imag, conversion_errno, and type are output only.
20680         (yylex): Adjust.  Move initial '.' case into main switch.
20681         Use linemode.
20682         (handle_generic_pragma): Just deal with tokens.
20683         (readescape): Use ISXDIGIT and ISGRAPH.
20684         * c-parse.in: Add END_OF_LINE token.
20685
20686         * c-lex.c (lang_init): Generalize.
20687         (nextchar): Remove.  Replace uses with UNGETC.
20688         (skip_white_space): Handle linemode here.  Optimize for cpplib.
20689         (skip_white_space_on_line): Remove.
20690         (extend_token_buffer_to): New fn.
20691         (extend_token_buffer): Use it.
20692         (read_line_number, check_newline): Just deal with tokens.
20693         (token_getch, token_put_back): New fns.
20694         (yylex): Use them.  More cpplib optimizations.  Simplify.
20695
20696 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
20697                           Jason Merrill  <jason@yorick.cygnus.com>
20698
20699         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
20700         (consume_string): Make this smart about USE_CPPLIB.
20701         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
20702         (yylex): Rewrite to be intelligent about USE_CPPLIB.
20703         Also, clean up cases where we redundantly set token_buffer[0].
20704         (read_line_number): New fn.
20705         (ignore_escape_flag): New variable.
20706
20707 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
20708
20709         * a29k/t-a29kbare: Fix some comments.
20710         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
20711         (FPBIT, DPBIT): Define.
20712         * a29k/t-vx29k: Likewise.
20713         * arc/t-arc: Likewise.
20714         * arm/t-arm-elf: Likewise.
20715         * arm/t-bare: Likewise.
20716         * arm/t-pe: Likewise.
20717         * arm/t-pe-thumb: Likewise.
20718         * arm/t-semi: Likewise.
20719         * arm/t-thumb: Likewise.
20720         * arm/t-thumb-elf: Likewise.
20721         * arm/t-thumb-linux: Likewise.
20722         * h8300/t-h8300: Likewise.
20723         * i960/t-i960: Likewise.
20724         * i960/t-vxworks960: Likewise.
20725         * m32r/t-m32r: Likewise.
20726         * mips/t-ecoff: Likewise.
20727         * mips/t-elf: Likewise.
20728         * mips/t-r3900: Likewise.
20729         * pa/t-pro: Likewise.
20730         * rs6000/t-aix43: Likewise.
20731         * rs6000/t-beos: Likewise.
20732         * rs6000/t-newas: Likewise.
20733         * rs6000/t-ppccomm: Likewise.
20734         * rs6000/t-rs6000: Likewise.
20735         * rs6000/t-winnt: Likewise.
20736         * rs6000/t-xnewas: Likewise.
20737         * rs6000/t-xrs6000: Likewise.
20738         * sh/t-sh: Likewise.
20739         * sparc/t-elf: Likewise.
20740         * sparc/t-sparcbare: Likewise.
20741         * sparc/t-sparclite: Likewise.
20742         * sparc/t-splet: Likewise.
20743         * v850/t-v850: Likewise.
20744         * mn10200/t-mn10200: Fix comments.
20745         * mn10300/t-mn10300: Likewise.
20746
20747         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
20748         dummy operand.  Allocate a new pseudo for the dummy operand.
20749         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
20750
20751         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
20752
20753 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
20754
20755         * configure: Rebuilt.
20756         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
20757
20758 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
20759
20760         * recog.c (preproces_constraints): Zero recog_op_alt before
20761         processing the constraints.
20762
20763         * arm.c (typedef minipool_node): Renamed from pool_node.
20764         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
20765         (add_minipool_constant): New function.
20766         (dump_minipool): New function.
20767         (find_barrier): Remove special case for getting the insn size of
20768         an insn that references the constant pool.
20769         (minipool_fixup): New structure.
20770         (push_minipool_barrier): New function.
20771         (push_minipool_fix): New function.
20772         (note_invalid_constants): New function.
20773         (add_pool_constant, dump_table, fixit, broken_move): Delete.
20774         (arm_reorg): Rewrite code to fix up the constant pool into a
20775         series of mini-pools embedded in the insn stream.
20776         (arm_output_epilogue): New function, made mainly from the body
20777         of output_func_epilogue.
20778         (output_func_epilogue): Move insn generation part of epilogue code
20779         to arm_output_epilogue.
20780         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
20781         * arm.md (pool_range): New attribute.
20782         (zero_extendqidi2): Add attribute pool_range.
20783         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
20784         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
20785         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
20786         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
20787         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
20788         (epilogue): New expand.
20789         (epilogue_insn): New insn.  Call arm_output_epilogue.
20790
20791         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
20792         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
20793
20794 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
20795
20796         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
20797
20798 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
20799
20800         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
20801
20802 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
20803
20804         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
20805
20806 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
20807
20808         * global.c: Fix comment.
20809
20810 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
20811
20812         * gcc.c (access_check): New static function.
20813         (find_a_file): Use it when searching a directory list.
20814         * collect2.c (find_a_file): Don't accept directories found when
20815         searching a directory list.
20816
20817 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
20818
20819         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
20820         function parameters with `&'.
20821         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
20822
20823 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
20824
20825         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
20826         or tidy_fallthru_edge if the last insn in the block is not
20827         an unconditional jump or a simple conditional jump.
20828
20829 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20830
20831         * Makefile.in (c-decl.o): Depends on defaults.h.
20832
20833 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
20834
20835         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
20836         PA1.1 and above.
20837         (CLASS_MAX_NREGS): Likewise.
20838
20839 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
20840
20841         * cse.c (cse_insn): Fix dumb thinko in last change.
20842
20843 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20844
20845         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
20846         "const char *".
20847
20848 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
20849
20850         * dwarf2out.c (add_location_or_const_value_attribute): Correct
20851         test for sizes of passed and declared parameter types.
20852
20853 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20854
20855         * fixincludes: Fix the return type of bsearch, char* -> void*.
20856
20857         * fixinc/inclhack.def: Likewise.
20858
20859 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
20860
20861         * invoke.texi (-fdump-translation-unit): New option.
20862
20863 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
20864
20865         * expr.h (PROMOTE_PROTOTYPES): Move ...
20866         * defaults.h: ... to here.
20867         * c-decl.c: Include defaults.h instead of expr.h.
20868         * c-typeck.c: Include defaults.h.
20869
20870 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
20871
20872         * toplev.h (errorcount): Declare.
20873         (warningcount): Likewise.
20874         (sorrycount): Likewise.
20875         * c-lex.c (errorcount): Don't declare.
20876         * dwarf2out.c (errorcount): Don't declare.
20877
20878 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
20879
20880         * config/libgloss.h: Add a note discouraging use with ELF.
20881         * configure.in: Don't use libgloss.h for ELF targets.
20882         Always use_collect2 on a.out targets.
20883
20884 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
20885
20886         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
20887         (force_to_mode, case ASHIFTRT): Add shiftrt label.
20888
20889 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20890
20891         * loop.c (strength_reduce): When doing biv->giv conversion, update
20892         reg note of NEXT->insn.
20893
20894 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20895
20896         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
20897
20898 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20899
20900         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
20901         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
20902         Ensure expr.h is included.
20903         * c-typecheck.c (convert_arguments): Ditto.
20904
20905         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
20906
20907         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
20908         * config/convex/convex.h: Ditto.
20909         * config/dsp16xx/dsp16xx.h: Ditto.
20910         * config/fx80/fx80.h: Ditto.
20911         * config/gmicro/gmicro.h: Ditto.
20912         * config/i370/i370.h: Ditto.
20913         * config/i386/i386.h: Ditto.
20914         * config/m32r/m32r.h: Ditto.
20915         * config/m68k/m68k.h: Ditto.
20916         * config/m88k/m88k.h: Ditto.
20917         * config/mips/mips.h: Ditto.
20918         * config/pa/pa.h: Ditto.
20919         * config/pyr/pyr.h: Ditto.
20920         * config/tahoe/tahoe.h: Ditto.
20921         * config/we32k/we32k.h: Ditto.
20922
20923         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
20924         based on arch size.
20925
20926         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
20927
20928         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
20929         from comment.
20930
20931         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
20932
20933 1999-08-02  Richard Henderson  <rth@cygnus.com>
20934
20935         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
20936         for the register spill block.
20937         (m32r_va_arg): New.
20938         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
20939         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
20940
20941         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
20942         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
20943         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
20944
20945 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20946
20947         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
20948         MAX_WCHAR_TYPE defined in sparc.h.
20949         * config/sparc/linuxaout.h: Likewise.
20950         * config/sparc/linux64.h: Likewise.
20951         Also default to -mvis if CPU is UltraSPARC.
20952
20953 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20954
20955         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
20956         (RTX_OK_FOR_OLO10): Likewise.
20957         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
20958         %lo(), allow it in addresses...
20959         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
20960         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
20961         does not make sense.
20962         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
20963         (sparc_output_scratch_registers): New function.
20964         (output_function_prologue, sparc_flat_output_function_prologue): Use
20965         it.
20966         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
20967         defined.
20968         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
20969         * configure.in: Add check for .register pseudo-op support in as and
20970         check for offsetable %lo().
20971         * acconfig.h: Add templates for the above checks.
20972         * configure: Regenerate.
20973
20974 1999-08-02  Richard Henderson  <rth@cygnus.com>
20975
20976         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
20977         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
20978         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
20979
20980 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20981
20982         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
20983         reg_biv_class.
20984
20985 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20986
20987         * config/float-sparc.h: New file.
20988         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
20989         sparc-*-linux-gnu and sparc64-*-linux*.
20990
20991 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20992
20993         * rs6000.c (rs6000_va_list): Type is an array.
20994         (rs6000_va_start): Don't doubly adjust for varargs.
20995         (rs6000_va_arg): Evaluate long long GPR adjustment.
20996
20997 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
20998
20999         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
21000         -maix64 and -maix32.
21001         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
21002         LINK_SPEC): Change appropriately.
21003         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
21004         (u_short_cint_operand): Likewise.
21005         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
21006         for 64-bit hosts.
21007         * rs6000/t-aix43 (MULTILIB): Change to -m64.
21008
21009         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
21010
21011 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
21012
21013         * rs6000/rs6000.c (num_insns_constant_wide): Correct
21014         for type promotion.
21015         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
21016         (non_add_cint_operand): Likewise.
21017         (logical_operand): Likewise.
21018         (non_logical_cint_operand): Likewise.
21019         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
21020         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
21021         (rs6000_select_rtx_section): Suppress warning.
21022         (small_data_operand): Suppress warning.
21023         (rs6000_got_register): Suppress warning.
21024         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
21025         type, so `J' is generally the wrong constraint for a SImode value;
21026         use `L' instead.
21027         (andsi3_internal2): Likewise.
21028         (andsi3_internal3): Likewise.
21029         (iorsi3_internal1): Likewise.
21030         (xorsi3_internal1): Likewise.
21031         (movsi): Likewise.
21032         (movsf_softfloat): Likewise.
21033         (scc insns): Likewise.
21034         (movsi+2): Preserve sign bits of SImode constant.
21035         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
21036         (movdf+1): Sign-extend properly.
21037         (movdi_32+1): Sign-extend properly.
21038         (scc insns): Sign-extend properly.
21039
21040         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
21041         K, L, and T.
21042
21043 1999-08-02  Richard Henderson  <rth@cygnus.com>
21044
21045         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
21046         -mcpu parsing code.
21047         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
21048         * alpha.md (all fp insns): Likewise.
21049
21050 1999-08-02  Nick Clifton  <nickc@cygnus.com>
21051
21052         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
21053         already defined.
21054
21055 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
21056
21057         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
21058         pic_load_label generator directly.
21059         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
21060         No longer a named pattern.
21061
21062 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
21063
21064         * explow.c (force_reg): Call force_operand if X does not
21065         satisfy general_operand.
21066
21067 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
21068
21069         * fix-header.c (main): When testing for CONTINUED, use string
21070         equality, not pointer equality.
21071
21072 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
21073
21074         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
21075
21076 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
21077
21078         * cse.c (cse_insn): Fix loop which deletes insns after a jump
21079         that has become an unconditional jump.
21080
21081         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
21082         (output_function_epilogue): Similarly.
21083
21084 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21085
21086         * tree.h (init_dummy_function_start): Declare.
21087
21088 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21089
21090         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
21091         last_expr_type, last_expr_value, block_start_count, block_stack,
21092         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
21093         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
21094         dynamically in stmt elt of struct function for each function.
21095         (struct nesting): Rename function_call_count elt to n_function_calls,
21096         target_temp_slot_level to block_target_temp_slot_level.  All users
21097         changed.
21098         (struct stmt_status): New structure definition.
21099         Add many accessor macros for stmt_status elements which previously
21100         were global variables.
21101         (init_stmt_for_function): Allocate stmt elt for current_function.
21102         Reflect that block_start_count was renamed to
21103         current_block_start_count.
21104         (save_stmt_status, restore_stmt_status): Delete functions.
21105         (preserve_subexpressions_p): Don't access loop_stack when outside
21106         a function.
21107         (expand_start_bindings): Reflect that block_start_count was renamed to
21108         current_block_start_count.
21109         (expand_fixup): Likewise.
21110         (expand_decl): Don't access block_stack when outside a function.
21111         (expand_decl_cleanup): Likewise.
21112         (expand_dcc_cleanup): Likewise.
21113         (expand_dhc_cleanup): Likewise.
21114         (expand_anon_union_decl): Likewise.
21115         (set_file_and_line_for_stmt): New function.
21116         (in_control_zone_p): New function.
21117
21118         * function.h (struct function): Add new elt stmt.
21119         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
21120         case_stack, nesting_stack, nesting_depth, block_start_count,
21121         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
21122         emit_lineno, goto_fixup_chain.
21123         (save_eh_status, restore_eh_status, save_stmt_status,
21124         restore_stmt_status): Delete declarations.
21125         * function.c (push_function_context_to): Don't call save_stmt_status.
21126         (pop_function_context_to): Don't call restore_stmt_status.
21127         * tree.h (in_control_zone_p): Declare.
21128         * rtl.h (set_file_and_line_for_stmt): Declare.
21129
21130         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
21131         call set_file_and_line_for_stmt.
21132
21133 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
21134
21135         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
21136         Also update copyright.
21137
21138 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21139
21140         * c-pragma.c: Don't include "except.h".
21141         * emit-rtl.c: Likewise.
21142         * stor-layout.c: Likewise.
21143         * tree.c: Likewise.
21144         * varasm.c: Likewise.
21145
21146         * flow.c: Include "function.h".
21147         * tree.h (init_dummy_function_start): Declare new function.
21148
21149         * except.h (struct eh_status): New structure.
21150         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
21151         been included.
21152         (eh_return_stub_label, ehstack, catchstack, ehqueue,
21153         catch_clauses, false_label_stack, caught_return_label_stack,
21154         protect_list, current_function_ehc): Add accessor macros for the
21155         corresponding fields in current_function->eh; delete declarations
21156         for all items that used to be declared here.
21157         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
21158         catch_clauses, false_label_stack, caught_return_label_stack,
21159         protect_list, current_function_ehc): Delete variables.
21160         (init_eh_for_function): Allocate current_function->eh.
21161         (save_eh_status, restore_eh_status): Delete functions.
21162
21163         * function.h (struct function): Add fields next_global and eh.
21164         Delete all exception handling related fields.
21165         * function.c (current_function): New variable.
21166         (all_functions): New variable.
21167         (push_function_context_to): Don't allocate a struct function,
21168         use current_function instead.  Call init_dummy_function_start when
21169         outside a function.  Clear current_function before returning.
21170         (pop_function_context_from): Restore current_function.
21171         Don't free the restored struct function.
21172         (prepare_function_start): New function.
21173         (init_dummy_function_start): New function.
21174         (init_function_start): Break out some code into prepare_function_start
21175         and call it here.
21176
21177         * stmt.c (save_stmt_status): Don't call save_eh_status.
21178         (restore_stmt_status): Don't call restore_eh_status.
21179
21180         * Makefile.in: Update dependencies.
21181
21182 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
21183
21184         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
21185         of depending on a magic constant value.  Update comments.
21186         (hppa_expand_prologue): Similarly.
21187
21188         * pa.md (reload_indi, reload_outdi): Allow any register for the
21189         original reload register.
21190
21191 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
21192
21193         * cccp.c (print_help): Change marcos to macros.
21194
21195 1999-07-30  Richard Henderson  <rth@cygnus.com>
21196
21197         * c-typeck.c (initializer_constant_valid_p): Move ...
21198         * c-common.c (initializer_constant_valid_p): ... here.  Use
21199         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
21200         of label addresses.
21201         * c-common.h (initializer_constant_valid_p): Declare.
21202         * c-tree.h (initializer_constant_valid_p): Remove.
21203
21204 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
21205
21206         * config/i386/sol2-c1.asm: Align the stack.
21207         * config/i386/sol2-gc1.asm: Likewise.
21208
21209 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
21210
21211         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
21212         -Asparclite for sparc86x.
21213         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
21214         sparc86x.
21215         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
21216
21217 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
21218
21219         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
21220         the user if using the non-default arch size in BI_ARCH configuration.
21221         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
21222
21223         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
21224         Fix patterns so that they actually match.
21225         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
21226         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
21227         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
21228         TARGET_HARD_MUL32.
21229         (mulsidi3): Reflect this in the expand.
21230         (smulsi3_highpart): Only on TARGET_ARCH32.
21231         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
21232         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
21233         (umulsidi3): Reflect this in the expand.
21234         (umulsi3_highpart): Only on TARGET_ARCH32.
21235         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
21236         don't require g0 to be zero.
21237         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
21238         ({,u}divsi3): New expands.
21239         ({,u}divsi3_sp64): New patterns.
21240         (after lshrdi3_v8plus): Four new patterns to help combiner
21241         optimizing nested mixed mode shifts.
21242
21243         * config/sparc/sparc.c (sparc_override_options): Use deprecated
21244         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
21245         speed things up. Don't use them by default on plain v9 in 64bit
21246         mode, according to what SPAMv9 sais.
21247
21248         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
21249         top 32 bits of %[og][0-7] in signal handlers.
21250         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
21251
21252 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
21253
21254         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
21255         (ashlsi3): Corresponding changes.
21256
21257         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
21258
21259 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
21260
21261         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
21262
21263 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21264
21265         * arm.h (Hint): Delete macro.
21266         Substitute HOST_WIDE_INT for Hint in some prototypes.
21267         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
21268
21269 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
21270
21271         * builtins.c (expand_builtin_setjmp): Use force_operand to
21272         make sure that the buffer address is in a suitable form to be
21273         passed to force_reg.
21274
21275 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
21276
21277         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
21278         them here.
21279
21280 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
21281
21282         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
21283         proper mode in the condition string.
21284         (icacheflush, dcacheflush): Remove modes from match_operands.
21285
21286         * pa.c (emit_move_sequence): Always convert scratch_reg to the
21287         proper mode before using it.
21288
21289         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
21290         pair.
21291
21292         * pa.c (store_reg): Do not call add_high_const generator directly.
21293         (load_reg, set_reg_plus_d): Likewise.
21294         * pa.md (add_high_const): No longer a named pattern.
21295
21296         * pa.c (legitimize_address): Consistently use Pmode rather than
21297         SImode.  Do not call gen_pic2_highpart directly anymore.
21298         * pa.md (pic2_highpart): No longer a named pattern.
21299         (pic2_lo_sum): Similarly.  Reformat to make more readable.
21300
21301         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
21302         needed.
21303
21304         * README: Update.
21305
21306 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
21307
21308         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
21309
21310 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
21311
21312         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
21313         and tag the spill mems.
21314         (hppa_va_start): New.
21315         (hppa_va_arg): New.
21316         * pa.h (EXPAND_BUILTIN_VA_START): New.
21317         (EXPAND_BUILTIN_VA_ARG): New.
21318
21319 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
21320
21321         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
21322         and tag the spill mems.
21323         (mn10300_va_start): New.
21324         (mn10300_va_arg): New.
21325         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
21326         (EXPAND_BUILTIN_VA_ARG): New.
21327
21328 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
21329
21330         * mn10200.c (mn10200_va_arg): New.
21331         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
21332
21333 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
21334
21335         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
21336         rather than play with TREE_INT_CST_LOW.
21337
21338 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
21339
21340         * config/arm/telf.h: Include dbxelf.h.
21341         (CPP_PREDEFINES): Only define if not already defined.
21342         (ASM_IDENTIFY_GCC): Likewise.
21343         (SUBTARGET_EXTRA_SECTIONS): Likewise.
21344         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
21345         * config/arm/thumb.h (LINK_SPEC): Only define if not already
21346         defined.
21347         (DBX_DEBUGGING_INFO): Don't define.
21348         * config/arm/linux-telf.h: New file.
21349         * config/arm/linux-tgas.h: New file.
21350         * config/arm/t-thumb-linux: New file.
21351         * config/arm/uclinux-elf.h: New file.
21352         * config/arm/uclinux-telf.h: New file.
21353         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
21354         thumb-*-uclinux): New targets.
21355         * configure: Regenerate.
21356
21357 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
21358
21359         * pa.md (post_store, pre_load): New expanders.
21360         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
21361         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
21362         need to directly generate RTL for them.
21363         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
21364         changes.
21365
21366 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
21367
21368         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
21369         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
21370         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
21371         (secndary_reload_class): Make TARGET_ELF conditional compile.
21372         (print_operand_address): Similar.
21373         (output_toc): Print all values as hex.
21374         (get_issue_rate): Rearrange and add RS64A and PPC630.
21375         * rs6000.h (processor_type): Add RS64A and PPC630.
21376         (PROCESSOR_POWERPC64): New.
21377         (PROMOTE_MODE): Use word_mode.
21378         (RTX_COSTS): Add RS64A and PPC630.
21379         * rs6000.md (scheduling information): Add lmul and ldiv
21380         representing 64-bit integer multiply and divide.  Add rs64a and
21381         PPC630 information.
21382         (ashldi3): Add support for "rldic" instruction.
21383         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
21384
21385 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
21386
21387         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
21388         instead of V8 for sparclite86x in cpu_table.
21389
21390 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21391
21392         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
21393         output_file_directive.
21394
21395 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
21396
21397         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
21398         tree for op1, not the rtl.
21399
21400 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
21401
21402         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
21403         to m88k_va_start, leaving only the register spill.
21404         (m88k_build_va_list): New.
21405         (m88k_va_start): New.
21406         (m88k_va_arg): New.
21407         * m88k.h (BUILD_VA_LIST_TYPE): New.
21408         (EXPAND_BUILTIN_VA_START): New.
21409         (EXPAND_BUILTIN_VA_ARG): New.
21410
21411 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
21412
21413         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
21414         Rename from expand_builtin_saveregs.
21415         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
21416
21417 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
21418
21419         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
21420         for the register spill block.
21421         (i960_build_va_list): New.
21422         (i960_va_start): New.
21423         (i960_va_arg): New.
21424         * i960.h (BUILD_VA_LIST_TYPE): New.
21425         (EXPAND_BUILTIN_VA_START): New.
21426         (EXPAND_BUILTIN_VA_ARG): New.
21427         * i960.md (store_multiple): Use change_address on individul mems.
21428
21429 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
21430
21431         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
21432         an ARRAY_TYPE.
21433         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
21434         (expand_builtin_va_end): Evaluate arg for side effects.
21435         * c-common.c (c_common_nodes_and_builtins): Construct a
21436         va_list_arg_type_node to handle array decomposition to pointer.
21437
21438 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
21439
21440         * except.c (st_dynamic_cleanup): Use force_operand on the
21441         buffer's address.
21442
21443 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
21444
21445         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
21446         * c4x.c (c4x_va_arg): New.
21447
21448 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
21449
21450         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
21451         has manual_pop set.
21452
21453 1999-07-26  Nathan Sidwell  <nathan@acm.org>
21454
21455         * eh-common.h (__eh_matcher): Prototype correctly.
21456
21457 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
21458
21459         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
21460         (TARGET_SINGLE_PIC_BASE): Likewise.
21461         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
21462         definitions.
21463         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
21464         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
21465         (TARGET_OPTIONS): Add -mpic-register=N.
21466         (OUTPUT_INT_ADDR_CONST): New macro.
21467         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
21468         LEGITIMATE_PIC_OPERAND_P): Likewise.
21469         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
21470         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
21471         output_addr_const directly.
21472         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
21473         ARM port.
21474         (thumb_pic_register, thumb_pic_register_string): Declare.
21475
21476         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
21477         from arm.c.
21478         (label_mentioned_p): New function: Imported from arm.c.
21479         (legitimize_pic_address): New function: Imported from arm.c.
21480         (is_pic):New function: Imported from arm.c.
21481         (thumb_finalize_pic):New function: Imported from arm.c.
21482         (add_constant): Cope with PIC constants.
21483         (fixit): Cope with PIC constants.
21484         (output_return): Do not treat the PIC register as live if
21485         TARGET_SINGLE_PIC_BASE is true.
21486         (thumb_function_prologue): Do not treat the PIC register as live if
21487         TARGET_SINGLE_PIC_BASE is true.
21488         (thumb_expand_prologue): Do not treat the PIC register as live if
21489         TARGET_SINGLE_PIC_BASE is true.
21490         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
21491         TARGET_SINGLE_PIC_BASE is true.
21492         (thumb_print_operand): Accept '|'.
21493         (thumb_override_options): Process PIC options.
21494
21495         * config/arm/thumb.md (movsi): Support PIC.
21496         (call_insn): Change "i" constraint to "X".
21497         (call_value_insn): Likewise.
21498         (consttable_4, consttable_8, consttable_end): Set and clear
21499         "making_const_table" as appropriate.
21500         (pic_load_addr, pic_add_dot_plus_four): New insns.
21501
21502         * invoke.texi (Thumb Options): Fix spelling.  Document new
21503         options -msingle-pic-base and -mpic-register=.
21504
21505 1999-07-26  Andrew Haley  <aph@cygnus.com>
21506
21507         * config/m32r/initfini.c (__init): Use a full word immediate for
21508         __fini: this allows it to be placed in any memory region.
21509
21510         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
21511         -mmodel=medium.  This is OK for all memory models.
21512
21513 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
21514
21515         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
21516         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
21517
21518 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
21519
21520         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
21521         defined.
21522
21523         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
21524
21525 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
21526
21527         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
21528         (BUILD_VA_LIST_TYPE): New.
21529         (EXPAND_BUILTIN_VA_START): New.
21530         (EXPAND_BUILTIN_VA_ARG): New.
21531         * i860.c (output_delayed_branch): Disable.
21532         (output_delay_insn): Likewise.
21533         (i860_saveregs): New.
21534         (i860_build_va_list): New.
21535         (i860_va_start): New.
21536         (i860_va_arg): New.
21537         * i860.md: Disable all peepholes using output_delayed_branch.
21538         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
21539
21540 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
21541
21542         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
21543         (BUILD_VA_LIST_TYPE): New.
21544         (EXPAND_BUILTIN_VA_START): New.
21545         (EXPAND_BUILTIN_VA_ARG): New.
21546         * clipper.c (clipper_builtin_saveregs): Only dump registers.
21547         Return the address of the save area.
21548         (clipper_build_va_list): New.
21549         (clipper_va_start): New.
21550         (clipper_va_arg): New.
21551
21552 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
21553
21554         * arc.h (EXPAND_BUILTIN_VA_START): New.
21555         (EXPAND_BUILTIN_VA_ARG): New.
21556         * arc.c (arc_setup_incoming_varargs): Set alias set of
21557         varargs save area.
21558         (arc_va_start): New.
21559         (arc_va_arg): New.
21560
21561 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
21562
21563         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
21564         (BUILD_VA_LIST_TYPE): New.
21565         (EXPAND_BUILTIN_VA_START): New.
21566         (EXPAND_BUILTIN_VA_ARG): New.
21567         * alpha.c (alpha_builtin_saveregs): Delete.
21568         (alpha_build_va_list): New.
21569         (alpha_va_start): New.
21570         (alpha_va_arg): New.
21571
21572 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
21573
21574         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
21575         column zero.
21576         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
21577         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
21578
21579         * gcc.texi: More changes related to list conversion.
21580         * invoke.texi: Likewise.
21581
21582 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
21583
21584         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
21585         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
21586         (expand_builtin_next_arg): Accept ARGLIST not EXP.
21587         (stabilize_va_list): New function.
21588         (std_expand_builtin_va_start): New function.
21589         (expand_builtin_va_start): New function.
21590         (get_varargs_alias_set): New function.
21591         (std_expand_builtin_va_arg): New function.
21592         (expand_builtin_va_arg): New function.
21593         (expand_builtin_va_end): New function.
21594         (expand_builtin_va_copy): New function.
21595         (expand_builtin): Call them.
21596         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
21597         __builtin_{varargs_start,stdarg_start,end,copy}.
21598         (build_va_arg): New function.
21599         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
21600         (build_va_arg): Declare.
21601         * c-decl.c (ptr_type_node, va_list_type_node): New.
21602         * c-parse.gperf (__builtin_va_arg): New.
21603         * c-parse.in (VA_ARG): New token.
21604         (unary_expr): Recognize it.
21605         * expr.c (expand_expr): Expand VA_ARG_EXPR.
21606         * expr.h (std_expand_builtin_va_start): Declare.
21607         (std_expand_builtin_va_arg): Declare.
21608         (expand_builtin_va_arg): Declare.
21609         (get_varargs_alias_set): Declare.
21610         * tree.def (VA_ARG_EXPR): New.
21611         * tree.h (BUILT_IN_VARARGS_START): New.
21612         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
21613         (ptr_type_node, va_list_type_node): Declare.
21614         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
21615         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
21616         * m88k.h, m88k.c: Likewise.
21617         * mn10300.h, mn10300.c: Likewise.
21618         * pa.h, pa.c: Likewise.
21619         * rs6000.h, rs6000.c: Likewise.
21620         * sh.h, sh.c: Likewise.
21621         * sparc.h, sparc.c: Likewise.
21622
21623         * emit-rtl.c (operand_subword): Copy alias set.
21624         (change_address): Likewise.
21625
21626 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
21627
21628         * pa.c (compute_frame_size): Scan all the used callee saved registers,
21629         not just the first one.
21630
21631 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
21632
21633         * config/arm/arm.h (TARGET_SWITCHES): Add
21634         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
21635         (TARGET_OPTIONS): Add -mpic-register=.
21636         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
21637         (arm_pic_register_string): Declare.
21638         (NEED_PLT_GOT): Delete, replace with ...
21639         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
21640         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
21641         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
21642         * config/arm/arm.c (arm_override_options): Add new option
21643         -mpic-register=N.
21644         (arm_pic_register_string): New variable.
21645         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
21646         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
21647         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
21648         (output_return_instruction): Likewise.
21649         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
21650         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
21651         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
21652
21653         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
21654         mention of -msched-prolog.  Document new options -msingle-pic-base
21655         and -mpic-register=.
21656
21657 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
21658
21659         * haifa-sched.c (reemit_notes): Tidy.
21660         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
21661         haifa's routine.
21662
21663 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
21664
21665         * explow.c (trunc_int_for_mode): New function.
21666         (plus_constant_wide): Use it.
21667         * combine.c (simplify_and_const_int): Likewise.
21668         (merge_outer_ops): Likewise.
21669         (simplify_shift_const): Likewise.
21670         * cse.c (simplify_unary_operation): Likewise.
21671         (simplify_binary_operation): Likewise.
21672         * emit-rtl.c (operand_subword): Likewise.
21673         * rtl.h: Declare it.
21674
21675 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21676
21677         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
21678         (use NUM_REGS instead of NUM_INTS).
21679
21680 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21681
21682         * builtins.c: New file.
21683         * expr.c (saveregs_value, apply_args_value):  Delete definition,
21684         moved into builtins.c.
21685         (string_constant): No longer static.
21686         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
21687         apply_args_size, apply_result_size, result_vector,
21688         expand_builtin_apply_args, expand_builtin_apply,
21689         expand_builtin_return): Delete functions, moved into builtins.c.
21690         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
21691         * expr.h (saveregs_value, apply_args_value): Declare variables.
21692         (expand_builtin, string_constant): Declare functions.
21693         * Makefile.in: Update to build builtin.o.
21694
21695 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
21696
21697         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
21698         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
21699         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
21700         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
21701         false.
21702         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
21703         Define to zero.
21704
21705 1999-07-21  Michael Meissner  <meissner@cygnus.com>
21706
21707         * print-rtl.c (print_rtx): Print the names of the virtual
21708         registers.
21709
21710 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
21711
21712         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
21713         introduced in previous delta.
21714
21715 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21716
21717         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
21718         to avoid name clash.
21719
21720 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21721
21722         * c-lex.c (yylex) : Correct the test for overflow when lexing
21723         integer literals.
21724
21725 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
21726
21727         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
21728         (adjust_priority): Always call ADJUST_PRIORITY.
21729         (schedule_insn): Only put insns into the ready at cost 0.
21730         (schedule_block): Remove redundant initial sort.  Give clock_var
21731         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
21732         is not 0.
21733         * tm.texi (MD_SCHED_REORDER): Update docs.
21734
21735         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
21736         * sparc.c (ultra_reorder_called_this_block): Delete.
21737         (ultrasparc_sched_init): Don't set it.
21738         (ultrasparc_sched_reorder): Don't check it.
21739
21740 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
21741
21742         * rs6000.h (struct rs6000_args): Add sysv_gregno.
21743         * rs6000.c (init_cumulative_args): Init sysv_gregno.
21744         (function_arg_boundary): Align DFmode.
21745         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
21746         to get fp reg and stack overflow correct.
21747         (function_arg): Likewise.
21748         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
21749         (setup_incoming_varargs): Restructure for ABI_V4; use
21750         function_arg_advance to skip final named argument.
21751         (expand_builtin_saveregs): Properly unskip the last integer arg
21752         when doing varargs.  Adjust overflow location calculation.
21753
21754         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
21755         explicitly unsigned.
21756         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
21757         (__VA_GP_REGSAVE): Similarly.
21758         (__va_longlong_p): Delete.
21759         (__va_arg_type_violation): New declaration.
21760         (va_arg): Restructure.  Flag promotion errors.  Align double.
21761         TFmode passed by reference.
21762
21763         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
21764         in the HOST_BITS_PER_WIDE_INT > 32 case.
21765
21766 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
21767
21768         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
21769
21770 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
21771
21772         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
21773         * toplev.c (documented_lang_options): Add -fpreprocessed.
21774         * cpplib.h (struct cpp_buffer): Add preprocessed.
21775         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
21776         (cpp_start_read): Don't expand macros or emit an initial #line
21777         directive if -fpreprocessed.
21778
21779 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21780
21781         * cpplib.h (struct cpp_buffer): Added manual_pop for
21782         better C++ tokenization.
21783         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
21784         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
21785         * c-common.c (cpp_token): Make non-static.
21786
21787 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21788
21789         * c-common.h: New file.
21790         * c-common.c (permanent_obstack): Delete unused declaration.
21791         (c_global_trees): New array.
21792         (c_common_nodes_and_builtins): New function; split off common code
21793         from init_decl_processing in both c-decl.c and cp/decl.c.
21794         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
21795         c_global_trees and accessor macros defined in c-common.h.
21796         Include c-common.h.
21797         * c-decl.c: Delete definitions for tree nodes that were replaced by
21798         c_global_trees.
21799         (init_decl_processing): Build void_list_node.
21800         Call c_common_nodes_and_builtins; delete code to generate the common
21801         builtins here.
21802         * objc/objc-act.c (build_module_descriptor): Rename variable
21803         void_list_node to avoid clash with c-common.h.
21804
21805         * Makefile.in: Update dependencies.
21806         * objc/Make-lang.in: Likewise.
21807
21808 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
21809
21810         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
21811         (UNIQUE_SECTION_P): Likewise.
21812         (UNIQUE_SECTION): Likewise.
21813
21814 1999-07-19  Linas Vepstas  <linas@linas.org>
21815
21816         * config/i370/README: New file.
21817         * config/i370/linux.h: New file.
21818         * config/i370/mvs.h: New file.
21819         * config/i370/oe.h: New file.
21820         * config/i370/t-linux: New file.
21821         * config/i370/t-mvs: New file.
21822         * config/i370/t-oe: New file.
21823         * config/i370/x-oe: New file.
21824         * config/i370/xm-linux.h: New file.
21825         * config/i370/xm-mvs.h: New file.
21826         * config/i370/xm-oe.h: New file.
21827
21828         * i370.c (label_node_t): Add first_ref_page, label_addr,
21829         label_first_ref, label_last_ref members.
21830         (mvs_need_base_reload): Renamed from mvs_label_emitted.
21831         (MAX_MVS_LABEL_SIZE): Define.
21832         (MAX_LONG_LABEL_SIZE): Define.
21833         (alias_node_t, alias_anchor, alias_number): New.
21834         (mvs_function_table): Reorder for EBCDIC.
21835         (ascebc, ebcasc): Unconditionally define.
21836         (i370_branch_dest, i370_branch_length): New functions.
21837         (i370_short_branch, i370_label_scan): New functions.
21838         (mvs_get_label): Renamed from mvs_add_label.  Search for
21839         an existing label before creating a new one.
21840         (mvs_add_label): New function.
21841         (mvs_get_label_page): New function.
21842         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
21843         over the entire list.
21844         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
21845         (mvs_check_page) [TARGET_ELF_ABI]: New function.
21846         (mvs_add_alias, mvs_need_alias): New functions.
21847         (mvs_get_alias, mvs_check_alias): New functions.
21848         (handle_pragma): New function.
21849         (mvs_function_check): New function.
21850         (unsigned_jump_follows_p): Search harder.
21851         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
21852         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
21853         * i370.h (TARGET_VERSION): Delete.
21854         (CPP_SPEC, CPP_PREDEFINES): Delete.
21855         (mvs_label_emitted): Delete.
21856         (TARGET_EBCDIC): Delete.
21857         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
21858         (HANDLE_PRAGMA): Define.
21859         (HARD_REGNO_NREGS): Handle complex modes.
21860         (HARD_REGNO_MODE_OK): Likewise.
21861         (CLASS_MAX_NREGS): Likewise.
21862         (RET_REG): Likewise.
21863         (EXTRA_CONSTRAINT): Define.
21864         (RETURN_IN_MEMORY): True for DImode.
21865         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
21866         (FUNCTION_PROFILER): Delete.
21867         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
21868         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
21869         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
21870         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
21871         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
21872         (ASM_FILE_START): Add "RMODE ANY".
21873         (ASM_OUTPUT_EXTERNAL): Check for aliases.
21874         (ASM_GLOBALIZE_LABEL): Likewise.
21875         (ASM_OUTPUT_LABELREF): Likewise.
21876         (ASM_OUTPUT_COMMON): Likewise.
21877         (PRINT_OPERAND): Handle 'K', 'W', default.
21878         (PRINT_OPERAND_ADDRESS): New.
21879         (Lots of defines): Add support for TARGET_ELF_ABI.
21880         * i370.md (attr length): New.  Define for all patterns.
21881         (*): Lots of tweeks to assembly output and constraints.
21882
21883 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
21884
21885         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
21886         Disable patterns performing SImode comparisons with SImode values
21887         if TARGET_POWERPC64 and instruction does not sign-extend or does
21888         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
21889         differ for signed quantities.
21890         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
21891         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
21892         (decrement_and_branch_on_count): Add 64-bit variant.
21893
21894 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21895
21896         * final.c (output_asm_insn): When searching for the matching string
21897         for a given dialect, don't run past the end of the list of
21898         alternatives if there are fewer alternatives in the template than
21899         dialects.
21900
21901 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
21902
21903         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
21904         Removed paragraph about compression of files and size limitation,
21905         duplicated in the FAQ.  Use gcc-patches for posting patches.
21906         * gcc.c (main): Updated URL with bug reporting instructions to
21907         gcc.gnu.org.  Removed e-mail address.
21908         * system.h (abort): Likewise.
21909
21910 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21911
21912         * Makefile.in (stmp-multilib-sub): Make the files extracted
21913         from $(LIBGCC1) writable.
21914
21915 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
21916
21917         * config/arm/aout.h: Reformat for improved readability.
21918
21919         * config/arm/arm.h: Reformat for improved readability.
21920         Replace uses of fprintf with asm_fprintf where appropriate.
21921         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
21922         function declaration assembler actions.
21923         (NUM_INTS): New macro: Convert from bytes to words.
21924         (NUM_REGS): New macro: Compute number of registers required to
21925         hold a quanitity of tyep MODE.
21926         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
21927         types.
21928         (NUM_ARG_REGS): New macro: The number of argument registers
21929         available.
21930         (ARG_REGISTER): New macro: Compute the register number of the Nth
21931         argument register.
21932         (LAST_ARG_REGNUM): New macro: The number of the last argument
21933         register.
21934         (SP_REGNUM): New macro: Register number of the stack pointer.
21935         (FP_REGNUM): New macro: Register number of the frame pointer.
21936         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
21937         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
21938         CUMULATIVE_ARGS so that it counts registers not bytes.
21939
21940         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
21941         TARGET_INTERWORK.
21942         Replace uses of fprintf with asm_fprintf where appropriate.
21943         (output_ascii_pseudo_op): Replace with version from thumb.c
21944
21945         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
21946
21947         * config/arm/elf.h (CPP_PREDEFINES): Replace with
21948         SUBTARGET_CPP_SPEC.
21949         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
21950         (ASM_FILE_START): Emit ASM_APP_OFF.
21951
21952 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
21953
21954         * pa.c (compute_frame_size): Round frame according to
21955         STACK_BOUNDARY rather than a hardwired value.
21956
21957         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
21958
21959         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
21960         of "1".
21961         * configure: Rebuilt.
21962
21963         * configure.in (hppa*-*-linux*): New configuration.
21964         * configure: Rebuilt.
21965         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
21966         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
21967         * pa/pa-linux.h: New file.
21968         * pa/t-linux: New file.
21969         * pa/xm-linux.h: New file.
21970
21971         * pa.c (hppa_legitimize_address): Change references from SImode to
21972         either Pmode or word_mode as appropriate.
21973         (emit_move_sequence, store_reg, load_reg): Likewise.
21974         (set_reg_plus_d, hppa_expand_prologue): Likewise.
21975         (output_mul_insn): Likewise.
21976         * pa.h (PROMOTE_MODE): Likewise.
21977         (INITIALZE_TRAMPOLINE): Likewise.
21978         (Pmode): Define to word_mode.
21979
21980         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
21981         value of 4.  Allocate 8 bytes for each FP register save.
21982         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
21983         value of 4.
21984         (hppa_expand_prologue): Likewise.
21985         * pa.h (PROMOTE_MODE): Likewise.
21986         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
21987         (FUNCTION_ARG_BOUNDARY): Likewise.
21988
21989         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
21990
21991         * pa.c (out_of_line_prologue_epilogue): Delete.
21992         (override_options): Remove -mspace related code.
21993         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
21994         (compute_frame_size): Only allocate space for register that
21995         actually need to be saved.
21996         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
21997         (TARGET_SWITCHES): Remove -mspace, -mno-space
21998         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
21999         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
22000         * pa/ee.asm, pa/ee_fp.asm: Delete.
22001
22002         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
22003
22004         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
22005         directive in column zero.
22006
22007 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
22008
22009         * m68k.c (output_function_prologue): Fix computation of save mask
22010         when generating PIC code.
22011
22012 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
22013
22014         * tree.c (build_type_attribute_variant): Move current_obstack restore
22015         after build_qualified_type call.
22016
22017 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
22018
22019         * configure.in: Use t-iris6, even with GNU LD.
22020         * config/mips/iris6gld.h: Fix typo in linker spec.
22021         * config/mips/t-iris6gld: Remove.
22022
22023 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
22024
22025         * rs6000.md (insv, extzv): Remove SImode dependence in named
22026         patterns.  Explicitly generate DImode RTL if PowerPC64 and
22027         operand is DImode.
22028         (insvdi): Reverse start and size in instruction template.
22029
22030 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
22031
22032         * invoke.texi: Typo fixes.
22033
22034 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
22035
22036         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
22037         handle at this time instead of silently generating incorrect code.
22038         (gen_imagpart): Likewise.
22039
22040         * reload.c (find_reloads): Emit a USE for a pseudo register without
22041         a hard register if we could not create an optional reload for the
22042         pseudo.
22043
22044 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22045
22046         * c-typeck.c (output_init_element, process_init_element):
22047         When advancing constructor_unfilled_fields for a RECORD_TYPE,
22048         check for nameless bit fields.
22049
22050 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
22051
22052         * regclass.c (scan_one_insn): Notice subregs that change the
22053         size of their operand.
22054         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
22055
22056 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
22057
22058         * configure.in (alpha*-*-*): Include alpha/t-ieee.
22059         * configure: Rebuilt.
22060         * alpha/t-ieee: New file.
22061
22062 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
22063
22064         * rs6000.c (find_addr_reg): Do not select r0 as an address
22065         register.
22066
22067 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
22068
22069         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
22070
22071 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
22072
22073         * rs6000.md (movsf): Do not force easy FP constants into memory.
22074
22075         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
22076         immed_double_const to ensure they are properly truncated then
22077         sign extended.
22078
22079 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
22080
22081         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
22082         always unless NO_DEBUG is used.  Compile this code
22083         unconditionally.
22084         (replace_symbols_in_block): Compile it unconditionally.
22085
22086 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
22087
22088         * configure.in (i?86-*-elf*): New target.
22089         * configure: Rebuilt.
22090         * i386/i386elf.h, i386/t-i386elf: New files.
22091
22092 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
22093
22094         * toplev.c (main): Don't complain about saying -gdwarf.
22095         (rest_of_compilation): Remove redundant code.
22096
22097 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
22098
22099         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
22100
22101 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
22102
22103         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
22104         "Li960R:", to avoid name clash.
22105
22106 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22107
22108         * loop.c (check_dbra_loop): When reversing a loop, delete all
22109         REG_EQUAL notes referencing the reversed biv except those which are
22110         for a giv based on it.
22111
22112 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
22113
22114         * version.c: Drop "gcc-" prefix from version #.
22115
22116 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
22117
22118         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
22119         the label if we're being verbose.
22120
22121 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
22122
22123         * m68k.c (output_function_prologue): Add pic register to mask
22124         if live and flag_pic.
22125         (output_function_epilogue): Likewise.
22126
22127 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
22128
22129         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
22130         directives in column zero.
22131
22132         * pa/elf.h (ASM_FILE_START): Define.
22133         * pa/som.h (ASM_FILE_START): Include .level directives.
22134         * pa/hpux10.h (ASM_FILE_START): Delete.
22135         * pa/hpux11.h (ASM_FILE_START): Delete.
22136
22137         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
22138
22139 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22140
22141         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
22142         when reload_out equals reload_in.
22143
22144 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
22145
22146         * invoke.texi (Spec Files): New node: Describe the contents of
22147         spec files.
22148
22149 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
22150
22151         * invoke.texi (DEC Alpha Options): Put @end table at
22152         beginning of line, to avoid confusing texi2html.
22153
22154 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
22155
22156         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
22157         introduced in previous delta.
22158
22159 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22160
22161         * reload1.c (gen_reload): When synthesizing a 3 operand add
22162         sequence, improve test for when to reload OP1 into the reload
22163         register instead of OP0.
22164
22165 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
22166
22167         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
22168
22169 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
22170
22171         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
22172         string literal.
22173
22174 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
22175
22176         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
22177         (va_dcl): Use __builtin_va_alist_t.
22178
22179 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
22180
22181         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
22182         on the permanent_obstack.
22183         * dwarfout.c (output_type): Likewise.
22184
22185 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22186
22187         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
22188         Merged from c-typeck.c and cp/typeck.c.
22189         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
22190         Merged into c-common.
22191
22192 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
22193
22194         * c-lex.c (errorcount): Declare it.
22195         (finish_parse): Update errorcount when using CPPLIB.
22196
22197 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
22198
22199         * fixinc/inclhack.def(end_else_label): Double the backslash so
22200         sed gets a chance to see it.
22201         * fixinc/inclhack.sh: regen
22202         * fixinc/fixincl.x: regen
22203
22204 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
22205
22206         Add framework to support armv5 architecture when it becomes
22207         available:
22208
22209         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
22210         (arm_arch5): New variable.
22211         (all_architectures): Add armv5 line.
22212         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
22213         -march=armv5 is specified on the command line.
22214         (arm_arch5): Export this variable.
22215         * invoke.texi: Document new string accepted by -march= switch for
22216         ARM ports.
22217
22218         * config/arm/arm.h: Replace use of constant 12 as a register
22219         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
22220         * config/arm/arm.c: Replace use of constant 12 as a register
22221         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
22222
22223         * config/arm/elf.h: Tidy up.
22224         * config/arm/coff.h: Tidy up.
22225
22226 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
22227
22228         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
22229         * gcc/config/mips/t-iris6gld: New file.
22230         * gcc/config/mips/iris6gld.h: Likewise.
22231
22232 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22233
22234         * c-decl.c (widest_integer_literal_type_node,
22235         widest_unsigned_literal_type) : New.
22236         (init_decl_processing): Handle/use the two new types.
22237         * c-common.c (type_for_size,type_for_mode) : Same.
22238         * c-lex.c (yylex) : Same.
22239         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
22240         Same.
22241         * c-tree.h (widest_integer_literal_type_node,
22242         widest_unsigned_literal_type) : New.
22243
22244 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
22245
22246         * dwarfout.c (field_byte_offset): Correctly compute the object's
22247         byte offset for the first bit of a field which crosses an alignment
22248         boundary on a !BYTES_BIG_ENDIAN target.
22249
22250 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
22251
22252         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
22253         ntohs.
22254
22255 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
22256                           Jeff Law <law@cygnus.com>
22257
22258         * ginclude/varargs.h (va_dcl): Use word_mode for type of
22259         __builtin_va_list.
22260
22261         * except.c: Include intl.h.
22262         (expand_eh_return): Set current_function_cannot_inline.
22263         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
22264         * function.h (struct function): Add eh_return_stub_label.
22265         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
22266         * Makefile.in (except.o): Depend on intl.h.
22267
22268 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
22269
22270         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
22271         same as offsettable in cases 1 and 2.
22272
22273 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
22274
22275         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
22276         (extlh, extwh): Likewise.
22277
22278 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22279
22280         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
22281
22282 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
22283
22284         * configure.in: Add arm-pe and thumb-pe targets.
22285         * configure: Regenerate.
22286
22287         * thumb.c (arm_naked_function_p): New function: Determines if
22288         a function is naked (has no gcc generated prologue/epilogue).
22289         (is_called_in_ARM_mode): Return true if the func has the
22290         interfacearm attribute.
22291         (output_return): Do not generate a return for naked functions.
22292         (thumb_function_prologue): Do not generate a prologue for
22293         naked functions.
22294         (thumb_expand_prologue): Do not generate a prologue for naked
22295         functions.
22296         (thumb_expand_epilogue): Do not generate an epilogue for naked
22297         functions.
22298         (arm_valid_machine_decl_attribute): New function, copied from
22299         arm.c:  Permit naked and interfacearm attributes.
22300
22301         * config/arm/pe.c: New file: Support code for arm-pe target.
22302         * config/arm/pe.h: New file: Header file for arm-pe target.
22303         * config/arm/tpe.h: New file: Header file for thumb-pe target.
22304         * config/arm/t-thumb-pe: New file: Makefile fragment for
22305         thumb-pe target.
22306
22307 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
22308
22309         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
22310         -fPIC or -fpic is specified.
22311
22312 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
22313
22314         * expr.c (emit_block_move): Use copy_to_mode_reg for
22315         !TARGET_MEM_FUNCTIONS case too.
22316
22317         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
22318         appropriate.
22319         * configure: Rebuilt.
22320         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
22321         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
22322         definitions made redundant by dbxelf.h inclusion.  Delete
22323         lots of definitions related to assembly output that are
22324         specific to the SOM object format.
22325         * pa.c (output_function_prologue): Do not emit the function's
22326         name for OBJ_ELF.
22327         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
22328         * pa-pro.h: Deleted.
22329         * som.h: New file with SOM specific definitions.
22330         * elf.h: New file with ELF specific definitions.
22331
22332         * elfos.h (const_section): Output a tab before assembler directives.
22333         (ctors_section, dtors_section): Likewise.
22334         (ASM_OUTPUT_SECTION_NAME): Likewise.
22335
22336         * pa/pa1.h: Delete unused file.
22337
22338 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
22339
22340         * configure.in (hppa*-hp-hpux11*): New configuration.
22341         * configure: Rebuilt.
22342         * pa/pa-hpux11.h: New file.
22343         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
22344         command line.
22345
22346         * mips.md (leasi, leadi): New patterns.
22347
22348         * expr.c (emit_block_move): Properly handle case where one of the
22349         block move arguments has a queued increment or decrement.
22350         (clear_storage): Similarly.  Fix formatting goof.
22351
22352 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
22353
22354         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
22355         semicolon from the BSD VA_LIST replacement expression.
22356
22357         * fixinc/inclhack.sh: regen
22358         * fixinc/fixincl.x: regen
22359
22360         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
22361         now use the fixincl program.
22362
22363 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
22364
22365         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
22366         case.  Also make the PIC register call_used.
22367
22368         * m68k.h (FINALIZE_PIC): Delete.
22369         * m68k.c (finalize_pic): Delete.
22370
22371 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
22372
22373         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
22374         to memory.
22375
22376 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
22377
22378         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
22379
22380 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
22381
22382         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
22383
22384 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
22385
22386         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
22387
22388 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
22389
22390         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
22391
22392 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
22393
22394         * rs6000.c (output_toc): Always use hex values for floating-point
22395         constants.  Store single-precision values in upper-half of TOC
22396         entry in 64-bit mode.
22397         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
22398         to final constraints.
22399         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
22400         (fctiwz): Improve accuracy of RTL for pattern.
22401
22402 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22403
22404         * expr.c (expand_expr): Allow RTL_EXPR's through the
22405         MAX_INTEGER_COMPUTATION_MODE checks.
22406
22407 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
22408
22409         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
22410         such that MASK_SUPPORT_ARCH is not negative.
22411
22412 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
22413
22414         * loop.c (verify_dominator): Properly handle ADDR_VEC and
22415         ADDR_DIFF_VEC insns that appear inside loops.
22416
22417 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
22418                           Jeff Law <law@cygnus.com>
22419
22420         * rs6000.md (movdf_hardfloat32): Revert previous patch.
22421         Handle LO_SUM the same as offsettable in cases 1 and 2.
22422         * rs6000.c (find_addr_reg): Revert previous patch.
22423
22424 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
22425
22426         * system.h (strstr): New external function declaration.
22427         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
22428         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
22429         * config.in, configure: Rebuilt.
22430
22431 1999-06-24  Tom Tromey  <tromey@cygnus.com>
22432
22433         * gcc.c (main): Read user-specified specs files after computing
22434         additional startfile_prefixes.
22435
22436 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
22437
22438         Revert these two patches:
22439
22440         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22441         * loop.c (strength_reduce): When doing biv->giv conversion, update
22442         reg note of NEXT->insn.
22443
22444         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22445         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22446         reg_biv_class.
22447         (recombine_givs): Set ix field after sorting.
22448
22449 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22450
22451         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
22452         for the parts of an UNSPEC / UNSPEC_VOLATILE.
22453
22454 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
22455
22456         *fixinc/inclhack.def:  Add fix development commentary
22457         (read_ret_type): reactivate and add selection clause
22458         (zzz_*): tweak output file name to match what is used in hackshell.tpl
22459         *fixinc/{fixincl.x|inclhack.sh}: regen
22460
22461 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
22462
22463         * expr.c (expand_expr): STRIP_NOPS before checking against
22464         MAX_INTEGER_COMPUTATION_MODE
22465         (check_max_integer_computation_mode): Likewise.
22466
22467 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
22468
22469         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
22470
22471 1999-06-22  Jim Wilson  <wilson@cygnus.com>
22472
22473         * expr.c (store_expr): When target is a promoted subreg, return a
22474         promoted subreg as a result.
22475
22476 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
22477
22478         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
22479         coding standards.
22480         (dwarf2out_define): Mark unused parameters appropriately.
22481         (gen_unspecified_parameters_die): Ditto.
22482         (gen_subprogram_die): Fix signed/unsigned warnings.
22483         (gen_variable_die): Ditto.
22484
22485 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
22486
22487         * fixinc/inclhack.def(end_else_label): combined else_label
22488         and endif_label and fixed the sed expression.
22489         *fixinc/{fixincl.x|inclhack.sh}: regen
22490
22491 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
22492
22493         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
22494         'x' when handling non-offsettable addresses
22495
22496 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
22497
22498         * final.c (shorten_branches): Don't try to split an insn that has
22499         been deleted.
22500
22501 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
22502
22503         * config/mips/mips.c (symbolic_expression_p): New function.
22504         (mips_select_rtx_section): Put symbolic expressions in the
22505         data section, not the read-only data section.
22506
22507 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
22508
22509         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
22510
22511 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
22512
22513         * collect2.c (main): Log frame table count.
22514         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
22515         (scan_prog_file) [COFF]: Handle frame tables.
22516
22517         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
22518         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
22519         * alpha/elf.h: Undef them again.
22520         * alpha/vms.h: Remove their definitions.
22521
22522 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22523
22524         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
22525         remove the clobber of r0 and change the REG_UNUSED note to
22526         REG_INC.
22527
22528 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
22529
22530         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
22531         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
22532         fits in HOST_WIDE_INT and one uses union to access a long constant
22533         as double.
22534
22535 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
22536
22537         * sparc.c (sparc_override_options): Don't allow profiling for
22538         code models other than medlow.
22539         (sparc_function_profiler): New function from old FUNCTION_PROFILER
22540         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
22541         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
22542         (sparc_block_profiler): Likewise.
22543         (sparc_function_block_profiler_exit): Likewise.
22544         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
22545         (FUNCTION_BLOCK_PROFILER): Likewise.
22546         (BLOCK_PROFILER): Likewise.
22547         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
22548         (MCOUNT_FUNCTION): New.
22549         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
22550         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
22551         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
22552         (MCOUNT_FUNCTION): New.
22553         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
22554         (BLOCK_PROFILER): Delete.
22555         (MCOUNT_FUNCTION): New.
22556
22557 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
22558
22559         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
22560
22561 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
22562
22563         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22564         Add the macros.
22565
22566         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22567         Ditto.
22568
22569         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22570         Ditto.
22571
22572         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22573         Ditto.
22574
22575 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
22576
22577         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
22578         types.
22579
22580 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
22581
22582         * i386/djgpp.h (LIB_SPEC): New.
22583         (STARTFILE_SPEC): New.
22584
22585         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
22586
22587 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
22588
22589         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
22590         compiler flags.
22591
22592         * system.h (WSTOPSIG): New macro.
22593
22594 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22595
22596         * c-pragma.c (push_alignment): Don't ignore alignments greater than
22597         4 bytes.
22598         (insert_pack_attributes): Take into account member natural
22599         alignment.
22600
22601         * i386/winnt.c (exports_head): New static variable.
22602         (i386_pe_record_exported_symbol): New function.
22603         (i386_pe_asm_file_end): Use.
22604         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
22605         symbols to be emitted at end of assembly.
22606         (ASM_DECLARE_OBJECT_NAME): Likewise.
22607         (ASM_DECLARE_FUNCTION_NAME): Likewise.
22608
22609         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
22610         -iwithprefix.
22611
22612 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
22613
22614         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
22615         in last change.
22616
22617 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
22618
22619         * haifa-sched.c (sched_analyze_1): Use free_list instead of
22620         zapping reg_last_uses directly.
22621         (sched_analyze_2, sched_analyze_insn): Likewise.
22622         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
22623
22624 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
22625
22626         * rs6000.md (movdf_hardfloat32): Use worst case insn length
22627         attributes for cases 1 and 2.
22628
22629 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
22630
22631         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
22632         instead of set.
22633
22634 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
22635
22636         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
22637
22638 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
22639
22640         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
22641         PIC_OFFSET_TABLE_REGNUM for general alloaction.
22642         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
22643         must be stacked if it is used for PIC accesses.
22644         * arm.c (use_return_insn): Handle PIC register specially.
22645         (output_return_instruction): Likewise.
22646         (output_func_{prologue,epilogue}): Likewise.
22647         (output_expand_prologue): Likewise.
22648
22649         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
22650         (*strsi_predec): Renamed from *strqi_predec.
22651         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
22652         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
22653
22654         * arm.c (arm_override_options): Remove warning about PIC code
22655         not being supported.
22656
22657 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
22658
22659         * rs6000.c (find_addr_reg): New function.
22660         * rs6000.h (find_addr_reg): Declare.
22661         (offsettable_addr_operand): Delete.
22662         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
22663         from and stores to GPRs.
22664
22665 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
22666
22667         * alpha.c (alpha_expand_block_move): Use get_insns rather than
22668         gen_sequence as argument to emit_no_conflict_block.
22669
22670 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22671
22672         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
22673         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
22674         *fixinc/fixincl.x: regen
22675         *fixinc/inclhack.sh: regen
22676
22677 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
22678
22679         * added support for -mpcrel (PC relative addressing for m68k)
22680         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
22681         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
22682         * m68k.c (print_operand_address): Handle 32-bit PIC case.
22683         (comments for general_src_operand): Add some explanation
22684         about EXTRA_CONSTRAINTS.
22685         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
22686         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
22687         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
22688         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
22689         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
22690         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
22691         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
22692         if not already set.
22693         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
22694         * m68k.h (TARGET_PCREL): New target flag.
22695         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
22696         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
22697         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
22698         contains a SYMBOL_REF.  Relax this constraint during reload, since
22699         we want to use the predicates, not reload's built-in concept of a
22700         valid memory address, to control what insns need reloading.
22701         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
22702         operands (essentially 'g', 'm', and 's' under normal circumstances).
22703         * m68k.c (print_operand): Cause printing of pc-relative addresses
22704         to include pc register.
22705         (print_operand_address): Ditto.
22706         (general_src_operand): Accept operands that are not only
22707         general_operands, but are also valid when used as a pc-relative
22708         source.
22709         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
22710         (memory_src_operand): Similar, for memory_operands.
22711         (pcrel_address): New predicate to accept the special case of a
22712         pc-relative address.
22713         * m68k.md (many patterns): Rewrite common SImode, HImode, and
22714         QImode insns to accept *_src_operand instead of *_operand where
22715         pc-relative operands can fit.  For example, a pc-relative operand
22716         can be used as a memory source operand for addsi3, but not as a
22717         memory destination.
22718         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
22719
22720 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
22721
22722         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
22723         .thumb_set pseudo op to mark aliases of thumb functions.
22724
22725 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
22726
22727         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
22728         preference to ASM_OUTPUT_DEF, if it is defined.
22729
22730         * tm.texi: Document new, optional target macro
22731         ASM_OUTPUT_DEF_FROM_DECLS.
22732
22733 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22734
22735         * fixincludes: ISCNTL patch
22736         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
22737         (dgux_int_varargs): new for DG/UX
22738         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
22739
22740 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
22741
22742         * invoke.texi (ia32 options): Fix typo.
22743
22744 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22745
22746         * loop.c (strength_reduce): When doing biv->giv conversion, update
22747         reg note of NEXT->insn.
22748
22749 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
22750
22751         * loop.c (move_movables): Note issues with replacing REGs with
22752         SUBREGs.
22753         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
22754
22755 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
22756
22757         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
22758
22759         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
22760         the reference to `mcount' was not correct for the ELF on FreeBSD.
22761
22762 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22763
22764         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22765         reg_biv_class.
22766
22767         (recombine_givs): Set ix field after sorting.
22768
22769 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
22770
22771         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
22772         to safe to extract a subword out of a REG.
22773
22774 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22775
22776         * sh.md (mulsi3): Don't add a no-op move at the end.
22777
22778 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22779
22780         * cse.c (cse_insn): Don't put hard register source into tables for
22781         the last insn of a libcall.
22782
22783 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22784
22785         * loop.c (strength_reduce): Insert sets of derived givs at every
22786         biv increment, even if it's the only one.
22787
22788 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
22789
22790         * dwarfout.c (add_incomplete_type): New fn.
22791         (output_type): Call it.
22792         (retry_incomplete_types): New fn.
22793         (dwarfout_finish): Call it.
22794
22795         From Eric Raskin <ehr@listworks.com>:
22796         (output_type): Output types for bases.
22797
22798 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22799
22800         * mips.c (mips_output_conditional_branch): Add `break'
22801         between `default' label and `close braces'.
22802
22803 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
22804
22805         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
22806         specifications and make it realistic.
22807         (LIB_SPEC): Likewise.
22808
22809 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
22810
22811         * config/mips/mips.c (mips_secondary_reload_class): Check for
22812         (PLUS (SP) (REG)) and return appropriate register class.
22813         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
22814         Handle (PLUS (SP) (REG)).
22815         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
22816         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
22817         of emit_insn for tablejump.
22818
22819 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
22820
22821         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
22822         asm_fprintf format string by itself.
22823         (output_function_profiler): Likewise.
22824
22825 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
22826
22827         * combine.c (simplify_logical, case AND): Only call
22828         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
22829         or the constant is positive.
22830
22831 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
22832
22833         * configure.in: Fix typo in rs6000-ibm-aix4 case.
22834         * configure: Regenerate.
22835
22836 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
22837
22838         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
22839         require a sub-version #.
22840         * configure: Rebuilt.
22841
22842 1999-06-14  Robert Lipe  (robertlipe@usa.net)
22843
22844         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
22845
22846 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
22847
22848         * c-typeck.c (process_init_element): Detect excess elements in
22849         char array initializer.
22850
22851 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
22852
22853         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
22854
22855 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22856
22857         * invoke.texi (Option Summary): Add -fpermissive flag.
22858
22859 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
22860
22861         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
22862         that require PIC code sequences.
22863
22864 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
22865
22866         * configure.in: Add new target: thumb-elf.
22867         * configure: Regenerate.
22868         * config/arm/t-thumb-elf: New file: Makefile fragment for
22869         thumb-elf build.
22870         * config/arm/telf.h: New file: Header file for thumb-elf
22871         build.
22872
22873 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
22874
22875         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
22876         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
22877         initializers is some circumstances.
22878
22879         * fixinc/inclhack.def (endif_label): Add additional selector for
22880         more bogus stuff after #endif statements.
22881         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
22882
22883 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22884
22885         * i386/cygwin.h (SET_ASM_OP): Define.
22886
22887 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22888
22889         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
22890
22891 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22892
22893         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
22894         latter.
22895
22896         * sh.md (ic_invalidate_line_i): Remove second alternative.
22897
22898 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22899
22900         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
22901         test for the presence of valid prototypes.  Delete bypass expr.
22902         (ioctl_fix_ctrl): Correct the selection expression.
22903         (no_double_slash): Correct quoting rules
22904         *fixinc/fixincl.x: regen
22905         *fixinc/inclhack.sh: regen
22906
22907 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
22908
22909         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
22910
22911 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22912
22913         * rs6000.md (movsi_got_internal_mem): Delete.
22914         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
22915         (GOT_TOC_REGNUM): Delete.
22916         (PIC_OFFSET_TABLE_REGNUM): Define.
22917         (FINALIZE_PIC): Disable.
22918         * rs6000.c (rs6000_got_register): New code for fixed pic register.
22919         (rs6000_replace_regno): Delete.
22920         (rs6000_finalize_pic): Likewise.
22921         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
22922
22923 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22924
22925         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
22926         is a note; use <= for the compare; advance P while it is
22927         a NOTE.
22928
22929 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
22930
22931         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
22932         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
22933
22934         * varasm.c (remove_from_pending_weak_list): Verify t->name
22935         is non-NULL before passing it to strcmp.
22936
22937 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22938
22939         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
22940         the typed arguments are not part of a comment
22941         (ioctl_fix_ctrl): Added a purpose comment
22942         *fixinc/fixincl.x: regenerate
22943         *fixinc/inclhack.sh: regenerate
22944
22945 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22946
22947         * invoke.texi: Add C4x invocation docs.
22948
22949 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22950
22951         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
22952         Define new macros.
22953         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
22954         TARGET_EXPOSE_LDP.
22955         (c4x_legitimize_reload_address): New function.
22956         * config/c4x/c4x.md: Update docs.
22957
22958 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
22959
22960         * fixincludes: Avoid removing '.'.
22961         * fixinc/fixinc.svr4: Likewise.
22962         * fixinc/fixinc.winnt: Likewise.
22963         * fixinc/inclhack.tpl: Likewise.
22964         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
22965
22966 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22967
22968         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
22969         pattern.
22970         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
22971
22972 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22973
22974         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
22975         correctly.
22976
22977 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
22978
22979         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
22980         * configure: Regenerate.
22981
22982 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
22983
22984         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
22985         values.
22986
22987 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
22988
22989         * fixinc/inclhack.def (avoid_bool): Also catch
22990         "typedef [unsigned] int bool".
22991         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
22992
22993         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
22994         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
22995         * configure: Rebuilt.
22996
22997 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
22998
22999         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
23000         such that we can override its definitions if necessary.
23001         (CPP_SPEC): New define.  Support processor specific predefines via
23002         %(cpp_cpu).
23003         (CC1_SPEC): New define.  Support processor specific compiler
23004         options via %(cc1_cpu).
23005         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
23006         -static.
23007
23008 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23009
23010         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
23011         between sed's -e flag, and the open-quote following it.
23012         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
23013
23014 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
23015                           Jeffrey A Law  (law@cygnus.com)
23016
23017         * varasm.c (assemble_start_function): Remove the function
23018         from the pending weak decls list when we define a function.
23019         (assemble_variable): Similarly for variables.
23020         (weak_finish): Ignore items on the list with a NULL name.
23021         (remove_from_ending_weak_list); New function to "remove" an item
23022         from the pending weak declarations list.
23023
23024 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
23025
23026         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
23027
23028 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
23029
23030         * c-lex.c (GETC): Redefine to call getch.
23031         (UNGETC): Redefine to call put_back.
23032         (putback_buffer): New structure type.
23033         (putback): New static structure.
23034         (getch): New function.
23035         (put_back): New function.
23036         (yylex): Replace unused bytes from bad multibyte character.
23037
23038 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
23039
23040         * cpplib.c (do_define): Cast `alloca' return value.
23041         (do_include, do_undef, do_pragma): Likewise.
23042         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
23043         values.
23044         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
23045         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
23046
23047 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
23048
23049         * sparc.md (abstf2): This should be an expand.
23050         (split after abstf2_notv9): Fix mode.
23051         (abstf2_hq_v9): New pattern.
23052         (abstf2_v9): Only use when no hard quad.
23053         (absdf2_v9): Fix if target is not the same as source.
23054         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
23055         Add correct output constraints.
23056
23057 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
23058
23059         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
23060         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
23061
23062 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
23063
23064         * mips.h (mips_output_conditional_branch): New function.
23065         (mips_adjust_insn_length): Likewise.
23066         (ASSEMBLER_SCRATCH_REGNUM): New macro.
23067         (ADJUST_INSN_LENGTH): Likewise.
23068         * mips.c (print_operand): Add `F' and `W' for floating-point
23069         comparison opcodes.
23070         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
23071         are now in bytes.
23072         (mips_adjust_insn_length): New function.
23073         (mips_output_conditional_branch): New function.
23074         * mips.md (length): Adjust attribute definition to handle
23075         conditional branches.  Change lengths to bytes, rather than
23076         instructions throughout.  Remove length attribute from
23077         instructions whose length is four bytes, and rely on the default
23078         instead.
23079         (dslot): Fix typo in comment.
23080         Reword conditional branch patterns to use
23081         mips_output_conditional_branch.
23082
23083 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
23084
23085         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
23086         (LIB_SPEC): Likewise.
23087         Link with -lprof1_r for -g/-pg.
23088
23089 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
23090
23091         * loop.c (check_dbra_loop): Fix change of Jan 19.
23092
23093 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
23094
23095         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
23096         (STARTFILE_SPEC):  Define, override the svr4.h version.
23097         (ENDFILE_SPEC):  Likewise.
23098
23099 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
23100
23101         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
23102         * fixinc/fixincl.x: Regenerated.
23103         * fixinc/inclhack.sh: Regenerated.
23104
23105 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23106
23107         * sh.c (barrier_align): Don't return early for normal branch/barrier
23108         when optimizing for SH2.
23109
23110 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
23111
23112         * i386/udk.h (LINK_SPEC): Correct linker search path for
23113         system libraries.
23114
23115 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23116
23117         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
23118         (braf_label_ref_operand): Delete.
23119         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
23120         * sh.md (casesi_jump_2): Operand1 is now the inside of a
23121         label_ref, and has no predicate.
23122         The patten has a predicate to guard against invalid substitutions.
23123         (dummy_jump): Delete.
23124         (casesi): Update use of casesi_jump_2.
23125
23126 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23127
23128         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
23129         *fixinc/fixincl.x: regenerate
23130         *fixinc/inclhack.sh: regenerate
23131
23132 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
23133
23134         * dwarf2out.c (add_incomplete_type): New fn.
23135         (gen_struct_or_union_type_die): Call it.
23136         (retry_incomplete_types): New fn.
23137         (dwarf2out_finish): Call it.
23138
23139 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
23140
23141         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
23142         current block starts with a CODE_LABEL and ends with a CALL and
23143         we can not find all the argument setup instructions for the CALL.
23144
23145 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
23146
23147         Revert this change:
23148         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
23149         something is a candidate for optimize_bit_field_compare.
23150
23151 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23152
23153         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
23154
23155 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
23156
23157         * alpha.c (override_options): Thinko in last patch.
23158
23159         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
23160         (LIB_SPEC): Recognize -pthread.
23161
23162 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
23163
23164         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
23165         definition in config/arm/coff.h
23166         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
23167
23168 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23169
23170         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
23171         fixes that need "file=xxx\n" prepended before invocation
23172         (start_fixer - new): starting the fixer process is complex enough
23173         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
23174         (process): uses the new routine; omit usage of putenv()
23175         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
23176         * fixinc/fixincl.x: regenerate
23177
23178 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
23179
23180         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
23181         and version #s (1.1 -> 2.96) as needed.
23182         * README.g77: Kill way out of date file in the toplevel directory.
23183
23184 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
23185
23186         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
23187         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
23188         * configure: Rebuilt.
23189         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
23190         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
23191         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
23192         (SWITCH_TAKES_ARG): Likewise.
23193         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
23194         * config/t-freebsd: Moved from config/i386/ so it can used for all
23195         FreeBSD targets.
23196
23197 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
23198
23199         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
23200
23201 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
23202
23203         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
23204         * configure: Rebuilt.
23205
23206 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
23207
23208         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
23209         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
23210         * rs6000/rs6000.c (rs6000_file_start): Use putc.
23211         (rs6000_output_load_toc_table): Same.
23212         (output_prolog, output_mi_thunk): Same.
23213         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
23214         (ASM_GLOBALIZE_LABEL): Use putc.
23215
23216 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
23217
23218         * alpha.md (reload_*_help): New patterns and splitters.
23219         (reload_*): Use them.
23220         (mov[qh]i): Likewise.
23221
23222 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
23223
23224         * cccp.c (handle_directive): Handle backslash-newlines in quoted
23225         strings correctly.
23226
23227 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
23228
23229         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
23230
23231 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
23232
23233         * flow.c (mark_regs_live_at_end, insn_dead_p,
23234         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
23235         and HARD_FRAME_POINTER_REGNUM special treatment if reload
23236         hasn't run or the frame pointer is needed.
23237         * haifa-sched.c (attach_deaths): Likewise.
23238         * sched.c (attach_deaths): Likewise.
23239
23240 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
23241
23242         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
23243         calculate_can_reach_end returns nonzero.
23244
23245         * configure.in (native gas tests): Search for an assembler in the
23246         same manner that the installed compiler will.
23247         * configure: Rebuilt.
23248         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
23249
23250         * alias.c (find_base_term): Improve handling of addresses
23251         constructed from binary operations.
23252
23253 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
23254
23255         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
23256
23257 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
23258
23259         * function.h (cleanup_label, frame_offset): Declare.
23260         (tail_recursion_label, tail_recursion_reentry): Likewise.
23261         (arg_pointer_save_area, rtl_expr_chain): Likewise.
23262         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
23263         (tail_recursion_label, tail_recursion_reentry): Likewise.
23264         (arg_pointer_save_area, rtl_expr_chain): Likewise.
23265
23266 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
23267
23268         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
23269         defined.
23270         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
23271         (MAX_OFILE_ALIGNMENT): Define.
23272
23273 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
23274
23275         * fixincl.c: Replace local include scheme with #includes of
23276         gansidecl.h and system.h.
23277         * procopen.c:  Likewise.
23278         * server.c:  Likewise.
23279
23280 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
23281
23282         * i386/t-dgux (EXTRA_PARTS): Add crti.o
23283         (crti.o): Add build rule and dependencies.
23284         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
23285
23286 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23287
23288         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
23289         (LIB_LINUX_SPEC): Likewise.
23290         (LIB_LINUX_SPEC): Add support for -pthread
23291         (CPP_OS_LINUX_SPEC): Likewise.
23292         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
23293         specified.
23294
23295 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
23296
23297         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
23298         conditional move.
23299         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
23300         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
23301         for IEEE math and CC_FCOMI.
23302         (put_jump_code): No IEEE if CC_FCOMI is set.
23303
23304 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
23305
23306         * fold-const.c (fold_truthop): Make the field reference unsigned
23307         when converting a single bit compare.
23308
23309 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23310
23311         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
23312
23313 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
23314
23315         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
23316         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
23317         version did.
23318
23319         * reload.c (push_reload): Do not call remove_address_replacements
23320         when presented with identical optional reloads.
23321
23322 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
23323
23324         * alpha.h (MASK_FIX, TARGET_FIX): New.
23325         (MASK_*): Reorganize constants.
23326         (CPP_AM_FIX_SPEC): New.
23327         (TARGET_SWITCHES): Add FIX.
23328         (EXTRA_SPECS): Likewise.
23329         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
23330         (SECONDARY_MEMORY_NEEDED): Likewise.
23331         (REGISTER_MOVE_COST): Likewise.
23332         * alpha.c (override_options): Add FIX support.  Always use
23333         ALPHA_TP_PROG for ev6.
23334         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
23335         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
23336         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
23337
23338 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
23339
23340         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
23341         something is a candidate for optimize_bit_field_compare.
23342
23343 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
23344
23345         * gcc.texi (Passes): Document branch-shortening.
23346         * invoke.texi (Debugging Options): Document the fact that `-dp'
23347         outputs length information for instructions.
23348
23349 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
23350
23351         * flow.c: Revert previous delta.
23352
23353 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
23354
23355         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
23356         FRAME_POINTER_REGNUM.
23357         (mark_set_1): Ditto.
23358         (mark_used_regs): Ditto.
23359
23360 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
23361
23362         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
23363         (GOT_PCREL): New macro.  Define to 1 if not already defined.
23364         * arm/elf.h (GOT_PCREL): Define to 0.
23365         * arm.c (arm_finalize_pic): Take into account the setting of
23366         GOT_PCREL.
23367
23368 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
23369
23370         * output.h (STRIP_NAME_ENCODING): Provide default definition.
23371         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
23372
23373         * flow.c (mark_set_1): Do not record BLKmode stores as dead
23374         store elimination candidates.
23375
23376 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23377
23378         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
23379         TARGET_GAS.
23380
23381 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
23382
23383         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
23384         Add use of x-aix41-gld.
23385
23386 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
23387
23388         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
23389         (ASM_OUTPUT_DESTRUCTOR): Define.
23390
23391 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
23392
23393         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
23394         last CODE_LABEL in a loop if we have previously passed a jump
23395         to the top of the loop.
23396
23397 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
23398
23399         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
23400         applying Philip's patch.
23401
23402 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
23403
23404         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
23405         are not VAR_DECLs.
23406
23407 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
23408
23409         * loop.c (strength_reduce): Grow reg_single_usage as needed.
23410
23411 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
23412
23413         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
23414         Also remove a useless comment.
23415
23416 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
23417
23418         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
23419
23420 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
23421
23422         * collect2.c (main): Only generate import or export file and add
23423         to link arguments if non-empty.  Use xmalloc not alloca.
23424         (write_{export,import}_file): Delete.
23425         (write_aix_file): New function.
23426         (locatelib): Use xmalloc not malloc.
23427         (GCC_OK_SYMBOL): Do not check type if aix64.
23428
23429 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
23430
23431         Based on patch by Scott Bambrough and Pat Beirne:
23432         * config/arm/arm.c (making_const_table): New variable.
23433         * config/arm/arm.h (making_const_table): Declare.
23434         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
23435         appropriate.
23436         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
23437         Keep track of when we are building the constant table.
23438
23439 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
23440
23441         * config/arm/arm.c (arm_override_options): Fix erroneous warning
23442         message.
23443
23444 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
23445
23446         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
23447         defined.
23448
23449 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
23450
23451         * tm.texi (FUNCTION_ARG): Correct description of a stack element
23452         in a PARALLEL.
23453
23454 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
23455
23456         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
23457
23458 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23459
23460         * rs6000.c (output_mi_thunk): Enable full support again.
23461
23462 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23463
23464         * sh.h (BRANCH_COST): Define.
23465
23466 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
23467
23468         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
23469
23470 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
23471
23472         * function.c (assign_stack_local): Align stack slot propertly.
23473         (assign_outer_stack_local): Likewise.
23474
23475 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
23476
23477         * expr.h (lang_expand_constant): Declare.
23478         * toplev.c (lang_expand_constant): Define it.
23479         * varasm.c (output_constant): Use it.
23480
23481 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23482
23483         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
23484         Change function definitions to K&R style.
23485
23486 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23487
23488         * fixinc/fixincl.c: We must not ignore SIGCLD now.
23489
23490 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
23491
23492         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
23493         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
23494         (several places): omit static initialization
23495         (process): use single fd, since only the read fd is used
23496         * fixinc/gnu-regex.c: define 'const' away, if not supported
23497         * fixinc/procopen.c(several places): omit static initialization
23498         * fixinc/server.c: define 'volitile' away, if not supported
23499
23500 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
23501
23502         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
23503         asm_fprintf and %L to generate the label name.
23504         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
23505         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
23506
23507 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
23508
23509         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
23510         insn for a conditional jump can not be found.
23511
23512 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
23513
23514         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
23515         on variables in specific sections other than .sbss and .sdata.
23516
23517 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
23518
23519         * stmt.c (expand_return): Call start_cleanup_deferral and
23520         end_cleanup_deferral around conditional code.
23521
23522 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23523
23524         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
23525         filename lists.  Utilizes new "krstr" AutoGen function.
23526         * fixinc/fixincl.x: Rebuilt.
23527
23528 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
23529
23530         * i386.c (output_float_compare): Avoid GNU-C extensions.
23531
23532 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
23533
23534         * version.c: Bump to distinguish mainline tree from the
23535         gcc-2.95 branch.
23536
23537 See ChangeLog.1 for earlier changes.