OSDN Git Service

* invoke.texi (-fno-gnu-keywords): Remove classof, headof,
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2
3         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
4         __classof__, and __headof__ from the list of gnu keywords.
5
6 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
7
8         * cpphash.c (timestamp): Delete.
9         (del_HASHNODE): If type is T_MCONST, free value.cpval.
10         (special_symbol): Remove unnecessary braces.  Remove
11         T_VERSION.  Treat T_STDC like T_CONST unless
12         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
13         when one is encountered, then convert them into T_MCONST
14         nodes.
15         * cppinit.c (builtin_array): version_string is T_MCONST.
16         __STDC__ has a "1" in its cpval.  Don't have a terminator
17         entry.  Clean up which entries are dumped.
18         (initialize_builtins): Only __STDC__ gets the special
19         -traditional treatment.  Count the length of builtin_array.
20         Render version_string here.
21         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
22         * cpplib.h (struct cpp_reader): Remove timebuf. 
23
24 2000-04-09  Richard Henderson  <rth@cygnus.com>
25
26         * genrecog.c (pred): Update comparison_operator for the unordered
27         operators.
28
29         * config/i386/i386.c (no_comparison_operator): Disallow unordered
30         operators.
31         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
32         (uno_comparison_operator): New.
33         (put_condition_code): Handle UNORDERED/ORDERED.
34         (unsigned_comparison): Likewise.
35         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
36         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
37         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
38         update all callers.  Handle all 8 unordered operators.
39         (ix86_expand_setcc): Lose the unordered argument, update all callers.
40         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
41         * config/i386/i386.h (PREDICATE_CODES): Update.
42         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
43         (ix86_expand_branch, ix86_expand_setcc): Update.
44         * config/i386/i386.md (sunordered, sordered): New.
45         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
46         (bunordered, bordered): New.
47         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
48         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
49         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
50
51 2000-04-09  Philip Blundell  <philb@gnu.org>
52
53         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
54         
55 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
56
57         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
58         fix_truncxfhi2): New patterns.
59         * i386.c (output_fix_trunc): Handle converting to HImode.
60
61 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
62
63         * ssa.c (convert_to_ssa): Eliminate dead code when calling
64         life_analysis.  
65         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
66         (for_each_successor_phi): Change parameter to basic_block.
67         (coalesce_regs_in_successor_phi_nodes): Likewise.
68         (coalesce_regs_in_copies): Likewise.
69         (compute_coalesced_reg_partition): Use basic_block instead of index.
70         * rtl.h (convert_to_ssa): Delete.
71         (convert_from_ssa): Likewise.
72         (successor_phi_fn): Likewise.
73         (for_each_successor_phi): Likewise.
74         (in_ssa_form): Likewise.
75         * basic-block.h (convert_to_ssa): Moved from rtl.h.
76         (convert_from_ssa): Likewise.
77         (successor_phi_fn): Likewise.
78         (in_ssa_form): Likewise.
79         (for_each_successor_phi): Likewise.  Change parameter to basic_block. 
80         * flow.c (calculate_global_regs_live): Pass a basic_block to
81         for_each_successor_phi.
82
83 2000-04-08  Richard Henderson  <rth@cygnus.com>
84
85         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
86         was modified in the current insn.
87
88 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
89
90         * arm/thumb.md: Delete.
91         * arm/thumb-protos.h: Delete.
92
93 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
94
95         Merge changes from merged-arm-thumb-backend-branch onto trunk.
96
97         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
98
99         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
100         into branch.
101
102         * arm.md (nop): Use the standard RTL expression.  Don't code as a
103         define_expand.
104         (*arm_nop, *thumb_nop): Delete.
105
106         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
107         constants.  Use casts instead.
108         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
109         output_multi_immediate, arm_poke_function_name): Likewise.
110         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
111         MASK_RETURN_ADDDR): Likewise.
112
113         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
114
115         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325 
116         into branch.
117         
118         * arm.md (eh_epilogue): New function.
119         * arm.h (struct machine_function): Move to here ...
120         * arm.c: ... from here.
121         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
122         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
123         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
124
125         2000-03-30  Nick Clifton  <nickc@cygnus.com>
126
127         * config/arm/semi.h (ASM_SPEC): Restore definition.
128         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
129
130         * config/arm/elf.h (ASM_SPEC): Restore definition.
131         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
132
133         * config/arm/arm.h (ASM_SPEC): Remove definition.
134         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
135
136         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
137
138         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
139
140         2000-03-24  Nick Clifton  <nickc@cygnus.com>
141
142         Various formating tidyups, elimination of compile time
143         warnings and synchronisation with internal sources:
144         
145         * config/arm/arm-protos.h (assemble_align): Add prototype.
146         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
147         (gen_comapre_reg): Rename to arm_gen_compare_reg.
148         (arm_return_addr_rtx): Rename to arm_return_addr.
149
150         * config/arm/arm.c: Include except.h.
151         Define shorter typenames for strict minipool_node and struct
152         minipool_fix.
153         (arm_return_in_memory): For WinCE return all structures <= 32 bits
154         in memory.
155         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
156         (gen_comapre_reg): Rename to arm_gen_compare_reg.
157
158         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
159         already defined.
160         (ASM_SPEC): Define if not already defined.
161         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
162
163         * config/arm/arm.md: Rename references to gen_rotated_half_load to
164         arm_gen_rotated_half_load, and references to gen_comapre_reg to
165         arm_gen_compare_reg.
166         (indirect_jump):  Only accept register operands.
167         (load_indirect_jump): Keep this pattern since combine can generate
168         it.
169
170         * config/arm/coff.h: Include aout.h.
171         (MULTILIB_DEFAULTS): Only define if not already defined.
172
173         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
174         into arm.h (so that COFF ports can support thumb based aliases).
175         (ASM_SPEC): Move definition into arm.h
176         
177         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
178         redundant apcs spec.
179         (ASM_SPEC): Move definition to arm.h
180
181         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
182
183         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
184         for entries in the .bss section
185
186         2000-03-23  Nick Clifton  <nickc@cygnus.com>
187
188         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
189         to thumb_far_jump_used_p.
190
191         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
192         single integer parameter.
193
194         * config/arm/arm.c (struct machine_function): Add two new
195         fields, 'far_jump_used' and 'arg_pointer_live'.
196         (thumb_far_jump_used_p): Once the decision has been made that
197         far jumps might be used, always return true.
198         If being called from the initial elimination offset macro then
199         do not bother to perform the test if the arg pointer is not
200         being used.
201         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
202         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
203
204         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
205
206         * arm.c (output_return_instruction): Handle more cases where we can
207         return from a function with an ldr instruction.
208         (arm_output_epilogue): Likewise.
209
210         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
211         if we need to push a large stack frame and there are no callee-saved
212         registers.
213
214         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
215         in ARM code if the frame pointer has been eliminated.
216
217         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
218         unspec_volatile arguments to avoid duplicates.
219         (consttable_1, consttable_2): Fixes for big-endian mode.
220
221         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
222         as appropriate.
223
224         Re-write constant pool code.
225         * arm.c (minipool_node, minipool_fix): New types.
226         (minifix): Delete type.
227         (arm_add_minipool_constant): Delete.
228         (arm_compute_minipool_offsets, arm_find_barrier, 
229         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
230         (get_jump_table_size): Now returns HOST_WIDE_INT.
231         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
232         functions.
233         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
234         (assign_minipool_offsets, arm_print_value): Likewise.
235         (dump_minipool): Rewrite.
236         (arm_barrier_cost): New function.
237         (create_fix_barrier): New function.
238         (push_minipool_barrier): New function.
239         (push_minipool_fix): Record additional information about the fixup 
240         required.
241         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
242         check the mode of what needs fixing.
243         (arm_reorg): Rewrite.
244
245         2000-03-08  Nick Clifton  <nickc@cygnus.com>
246
247         * config/arm/arm.md (indirect_jump): Force constant addresses into
248         a register. 
249
250         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
251
252         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
253
254         2000-02-24  Nick Clifton  <nickc@cygnus.com>
255
256         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
257         adjust is word aligned.
258         (thumb_expand_epilogue): Make sure that stack adjust is word
259         aligned.
260
261         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
262         
263         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
264
265         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
266         pointer relative addresses.
267
268         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
269
270         * arm.c (find_barrier): Find the last barrier within the allowed 
271         range.
272
273         2000-02-09  Nick Clifton  <nickc@cygnus.com>
274
275         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
276
277         2000-02-09  Nick Clifton  <nickc@cygnus.com>
278
279         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
280         ARM_FUNCTION_PROFILER. 
281
282         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
283         ARM_FUNCTION_PROFILER. 
284
285         * config/arm/linux-oldld.h: Imported from mainline sources.
286
287         2000-02-07  Nick Clifton  <nickc@cygnus.com>
288
289         * config/arm/lib1funcs.asm: Merge in thumb functions from
290         lib1thumb.asm.
291         
292         * config/arm/lib1thumb.asm: Delete.
293
294         2000-02-04  Nick Clifton  <nickc@cygnus.com>
295
296         * config/arm/arm.c: Sychronised with current Red hat local
297         sources. 
298         * config/arm/arm.h: Ditto.
299         * config/arm/arm-protos.h: Ditto.
300
301         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
302
303         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
304
305         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
306         byte stores.
307
308         2000-02-02  Nick Clifton  <nickc@cygnus.com>
309
310         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
311
312         * config/arm/arm.md (epilogue): Fix rtl checking abort because
313         (return) was emited using an emit_insn() call. 
314         
315         2000-01-31  Nick Clifton  <nickc@cygnus.com>
316
317         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
318         thumb stack frame.
319         (thumb_exit): Move frame pointer back into hard frame pointer
320         register if backtracing is being used.
321
322         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
323
324         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113 
325         into branch.
326
327         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
328
329         * config/arm/arm.md (neg_pool_offset): Provide default for new
330         attribute.
331         (arm_movsi_insn): Add neg_pool_offset attribute.
332         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
333         rtx for the insn that starts the scan and an unsigned long for its
334         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
335         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
336         instructions in *PINSERTED.
337         (struct minipool_fixup): Add MIN_ADDRESS elt.
338         (sort_fixups): Compute it.
339         (arm_reorg): Changes to support inserting pools before the insn to be
340         fixed up.
341
342         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
343
344         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
345         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
346         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
347
348         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
349
350         * config/arm/semi.h (TARGET_VERSION): Do not define if already
351         defined.
352         (TARGET_DEFAULT): Do not define if already defined.
353
354         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
355
356         * config/arm/arm.md (anddi3): Allow disjoint source operands.
357         (iordi3): Allow disjoint source operands.
358         (xordi3): Allow disjoint source operands.
359         (negdi2): Permit construction for ARM and Thumb.
360         (arm_negdi2): Renamed version of old negdi2 pattern.
361         (thumb_negdi2): New pattern: Only permit non-overlapping
362         source and destination.
363
364         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
365
366         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
367         scratch low register so that it will not be deleted.
368
369         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
370
371         * config/arm/pe.h (ARM_PE): Define.
372         
373         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
374         interfacearm attribute if this is a PE toolchain.
375         (output_return_instruction): Do not emit anything if the function
376         has the naked attribute set.
377         (is_called_in_ARM_mode): If the function has the interfacearm
378         attribute then return true.
379         (thumb_expand_prologue): Do not generate a prologue for naked
380         functions.
381         (thumb_expand_epilogue): Do not generate an epilogie for a naked
382         function.
383         (output_thumb_prologue): Do not bother if the function is naked.
384         Strip PE encoding from function name before emitting.
385
386         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
387
388         * arm.md (pic_load_addr): Fix constraints.
389
390         * arm.md (casesi_insn): Fix mis-applied patch.
391
392         * arm.md ("core" function unit): Add rules for single- and
393         multi-cycle insns.
394         (All TARGET_THUMB patterns): Add "type" attribute information
395         where needed.
396         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
397         the following insn is a CALL.
398
399         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
400         pointer.
401         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the 
402         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
403         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
404         
405         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
406
407         * config/arm/linux-gas.h: oops - this file was missed out when the
408         branch was created...
409
410         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
411
412         * thumb.c: Deleted.  Move contents to ...
413         * arm.c: ... here.
414         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
415         rule for thumb.o
416         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
417         * configure: Regen.
418
419         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
420         declare a prototype for asm_output_align();
421
422         * arm.c (thumb_condition_code): Delete.
423         (arm_print_operand): Always use arm_condition_code array.
424
425         * arm.c (thumb_return_addr_rtx): Delete.
426         (arm_save_machine_status, arm_restore_machine_status): Delete.
427         (arm_init_machine_status, arm_mark_machine_status): New functions.
428         (arm_init_expanders): Update accordingly.
429         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
430         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
431         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
432         
433         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
434
435         * configure.in : Fix arm-*-aout target to use new t-arm-aout
436         script. 
437         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
438         targets.
439
440         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
441
442         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
443         stack backtrace structure.
444
445         * config/arm/arm-protos.h: Add prototypes for functions defined in
446         arm/pe.h.
447         
448         * config/arm/arm.c (arm_override_options): Fix selection of 
449         attributes of default processor.
450         
451         * config/arm/coff.h: Delete needless #include.
452         
453         * config/arm/pe.c: Delete unused code.
454         
455         * config/arm/pe.h (CPP_DEFINES): Delete
456         (SUBTARGET_CPP_SPEC): Define.
457         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
458         
459         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
460
461         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
462
463         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
464         updated.
465         (CAN_DEBUG_WITHOUT_FP): Define.
466         (FIXED_REGISTERS): Make r11 call-saved.
467         (CALL_USED_REGISTERS): Likewise.
468         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
469         (FRAME_POINTER_REQUIRED): Correct logic for determining when a 
470         frame-pointer is required.
471         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
472         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
473         if the target normally needs a stack frame in non-leaf functions.
474         (use_return_insn): Correct logic for determining when a return
475         instruction can be used.
476         (output_return_instruction): Handle the frame-pointer register as
477         a normal register when not TARGET_APCS_FRAME.
478         (arm_output_prologue): Likewise.
479         (arm_output_epilogue): Likewise.
480         (output_func_epilogue): Likewise.
481         (arm_expand_prologue): Likewise.
482         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
483
484         * arm.c (use_return_insn): No need to check floating point regs if
485         TARGET_SOFT_FLOAT.
486         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
487         the code of value stored in the minipool array.
488         (arm_add_minipool_constant): Likewise.
489
490 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
491
492         * basic-block.h (conflict_graph_enum_fn): K&R fix.
493
494 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
495
496         * tree.c (tree_expr_nonnegative_p): New function.
497
498         * tree.h (tree_expr_nonnegative_p): Declare.
499
500         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
501         elide some sign_compare warnings.
502         (build_conditional_expr): Likewise.
503
504 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
505
506         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
507
508         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
509         * i386.c (print_operand): Use the proper suffix for a 387 HImode
510         operand.  Abort if a 387 operand has an unsupported size.
511
512 2000-04-08  Neil Booth  <NeilB@earthling.net>
513
514         * cppexp.c (parse_charconst): Null does not end character
515         constants.
516         * cppinit.c (ISTABLE): Null character handled as whitespace.
517         * cpplex.c (null_warning):  new function.
518         (skip_string): Emit warning if nulls encountered.
519         (_cpp_skip_hspace): Emit warning if nulls encountered.
520         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
521         them.
522         * cpp.texi: Update.
523
524 2000-04-07  Richard Henderson  <rth@cygnus.com>
525
526         * flow.c (loop_depth): Remove.
527         (reg_next_use, cc0_live, mem_set_list): Replace with ...
528         (struct propagate_block_info): New.
529         (life_analysis): Don't allocate reg_next_use.
530         (propagate_block_delete_insn): Break out of propagate_block.
531         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
532         (propagate_block_delete_libcall): Likewise.
533         (propagate_block): Create a propagate_block_info struct to pass
534         to subroutines.  Allocate one not two temporary regsets.  Don't
535         clobber memory for const calls.  Look for clobbers in
536         CALL_INSN_FUNCTION_USAGE.
537         (mark_set_regs): Recognize COND_EXEC.
538         (mark_set_reg): Break out of mark_set_1.
539         (mark_used_reg): Break out of mark_used_regs.
540         (mark_used_regs): Recognize COND_EXEC.
541         (insn_dead_p): Use propagate_block_info struct.
542         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
543         (find_auto_inc, try_pre_increment_1): Likewise.
544         (print_rtl_with_bb): Dump regs live at end too.
545         (count_reg_sets_1): Pass in loop_depth.
546         (count_reg_sets, count_reg_references): Likewise.
547         (recompute_reg_usage): Provide it.
548
549 2000-04-07  Richard Henderson  <rth@cygnus.com>
550
551         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
552         not the raw files.
553
554 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
555
556         * cpplib.c (do_elif): Skip the rest of the line if we're
557         not going to bother evaluating it.
558         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
559         to avoid pointless calls to the lexer.
560
561 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
562
563         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
564
565 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
566
567         * calls.c (expand_call): emit_queue if we're trying a sibcall.
568
569 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
570
571         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
572
573 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
574
575         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
576         crtend so they can be multilibbed.
577         (STAGESTUFF): Remove s-crt and s-crtS.
578
579 2000-04-07  Richard Henderson  <rth@cygnus.com>
580
581         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
582         if we discover we need a pseudo and no_new_pseudos is true.
583         * config/alpha/alpha.md (ne:DI insn): New.
584         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
585
586 2000-04-07  Richard Henderson  <rth@cygnus.com>
587
588         * rtl.def (COND_EXEC): New.
589         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
590         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
591
592         * genconfig.c (have_cond_arith_flag): Remove.
593         (have_cond_exec_flag): New.
594         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
595         (main): Print HAVE_conditional_execution.
596
597         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
598         (sched_analyze_insn, print_pattern): Likewise.
599         * reload.c (find_equiv_reg): Likewise.
600         * rtlanal.c (reg_referenced_p): Likewise.
601         (note_stores, dead_or_set_regno_p): Likewise.
602         (reg_overlap_mentioned_p): Rewrite to use a switch.
603
604         * ggc.h (struct rtx_def): Forward declare.
605
606         * print-rtl.c (debug_rtx_range): New.
607         * rtl.h (debug_rtx_range): Declare.
608
609         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
610
611         * gcse.c (gcse_main): Don't rebuild the CFG here.
612         (delete_null_pointer_checks): Likewise.
613         * ssa.c (convert_to_ssa): Likewise.
614         * toplev.c (rest_of_compilation): Do it here instead.  Combine
615         sequential calls to TIMEVAR.  Consistently use `insns' instead of
616         `get_insns()'.  Always split insns after reload when optimizing.
617
618         * basic-block.h (merge_blocks_nomove): Declare.
619         (tidy_fallthru_edge): Declare.
620         * flow.c (merge_blocks_nomove): Document as merging into previous
621         blocks.  Remove cruft from between blocks; remove all edges out of A.
622         (tidy_fallthru_edge): Export.
623
624 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
625
626         * ssa.c (compute_conservative_reg_partition): Declare with
627         void arguments.
628         * toplev.c (clean_dump_file): Remove previously-deleted function
629         inadvertantly merged back in.
630         * conflict.c (conflict_graph_add): Use a single call to
631         htab_find_slot to look up and insert.
632
633 2000-04-06  Richard Henderson  <rth@cygnus.com>
634
635         * genrecog.c (*): Rename _last_insn to last_insn.
636         (make_insn_sequence): Set the position of the peephole2 C test
637         to be at the last insn.
638
639 2000-04-06  Richard Henderson  <rth@cygnus.com>
640
641         * flow.c (compute_flow_dominators): Free worklist.
642
643 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
644
645         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
646
647 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
648
649         * rtl.h (INSN_P): New macro.
650         (successor_phi_fn): New typedef.
651         (for_each_successor_phi): New prototype.
652         (in_ssa_form): New variable.
653         (PHI_NODE_P): Likewise.
654         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
655         phi nodes in successors.
656         (mark_used_regs): Add PHI case.
657         (set_phi_alternative_reg): New function.
658         (life_analysis): Assert that dead code elimination is not selected
659         when in SSA form.
660         * toplev.c (to_ssa_time): New variable.
661         (from_ssa_time): Likewise.
662         (compile_file): Zero to_ssa_time and from_ssa_time.
663         Print time to convert to and from SSA.
664         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
665         (print_time): Compute percent fraction as integer.
666         * ssa.c (PHI_NODE_P): Moved to rtl.h.
667         (convert_to_ssa): Check if we're already in SSA.  
668         Don't eliminate dead code in life_analysis.
669         Rerun flow and life analysis at bottom.
670         (eliminate_phi): Use canonical regnos when adding nodes.
671         (mark_reg_in_phi): New function.
672         (mark_phi_and_copy_regs): Likewise.
673         (convert_from_ssa): Rerun life analysis at top.  
674         Use coalesced partition.
675         Check for removing a phi node at the end of the block.
676         (compute_coalesced_reg_partition): New function.
677         (coalesce_regs_in_copies): Likewise.
678         (coalesce_reg_in_phi): Likewise.
679         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
680         (for_each_successor_phi): Likewise.
681         (rename_context): New struct.
682         (rename_block): Use a rename_context with rename_insn_1.  When
683         renaming sets of a subreg, emit a copy of the entire reg first.
684         (rename_insn_1): Treat data as a rename_context *.  Save current
685         insn in set_data.
686         (rename_set_data): Add field set_insn.
687         * Makefile.in (HASHTAB_H): Move up in file.
688         (OBSTACK_H): New macro.
689         (collect2.o): Use OBSTACK_H in dependencies.
690         (sdbout.o): Likewise.
691         (emit-rtl.o): Likewise.
692         (simplify-rtx.o): Likewise.
693         (fix-header.o): Likewise.
694         (OBJS): Add conflict.o.
695         (conflict.o): New rule.
696         * basic-block.h: Include partition.h.
697         (conflict_graph): New typedef.
698         (conflict_graph_enum_fn): Likewise.
699         (conflict_graph_new): New prototype.
700         (conflict_graph_delete): Likewise.
701         (conflict_graph_add): Likewise.
702         (conflict_graph_conflict_p): Likewise.
703         (conflict_graph_enum): Likewise.
704         (conflict_graph_merge_regs): Likewise.
705         (conflict_graph_print): Likewise.
706         (conflict_graph_compute): Likewise.
707         * conflict.c: New file.
708
709 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
710
711         * tlink.c (read_repo_files): Don't look for .rpo info for
712         linker flags.
713
714 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
715
716         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
717
718 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
719
720         * config/sh/lib1funcs.asm (___udivsi3_i4):
721         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
722         only depends on FMOVD_WORKS.
723
724 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
725
726         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
727         make double constant 8-byte aligned.
728
729 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
730
731         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
732         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
733         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
734         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
735         Accept storing GENERAL_REGS into offsetable memory.
736         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
737         building a TFmode constant other than 0.0L into GENERAL_REGS.
738
739 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
740
741         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
742         
743 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
744
745         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
746         (macro_cleanup): No need to cast pbuf->macro.
747         (collect_expansion): Use _cpp_get_define_token.  Goto done if
748         it returns VSPACE.  Remove check for trailing space after
749         CPP_COMMENT.
750         (_cpp_create_definition): Don't diddle flags here.  Return
751         directly on error.
752         (unsafe_chars): Handle c1 being EOF.
753         (push_macro_expansion): Use unsafe_chars for both accidental-paste
754         checks.  Don't push the buffer till after we're done with
755         them.
756         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
757         (PEEKN, FORWARD, GETC, PEEKC): Use them.
758         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
759         appropriately.
760         (_cpp_parse_assertion): Don't NUL terminate.
761         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
762         hspace before calling _cpp_parse_assertion.  Remove all sets
763         of only_seen_white. Treat '\f' as hspace.  Don't do anything
764         special with '\n' here.
765         (maybe_macroexpand): Handle T_EMPTY hash entries without
766         pushing a buffer at all.
767         (cpp_get_token): Handle clearing only_seen_white here.  Handle
768         incrementing the line number here.  Clear
769         potential_control_macro as well as only_seen_white, if
770         appropriate.
771         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
772         (_cpp_get_define_token): New function, basically like
773         _cpp_get_directive_token was but doesn't eat horizontal space.
774         Don't do anything with only_seen_white here.
775         (_cpp_get_directive_token): Just call _cpp_get_define_token
776         repeatedly till it returns non-hspace.
777
778         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
779         (conditional_skip, skip_if_group): Return int.
780         (DIRECTIVE_TABLE): Change origin of all conditional directives
781         to "COND".
782         (TRAD_DIRECT_P): New macro.
783         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
784         an error for a bogus directive, unless -lang-asm.  Use
785         TRAD_DIRECT_P. Loop calling handler functions till one returns
786         zero.
787         (get_macro_name): Don't diddle flags here.
788         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
789         Create T_EMPTY nodes for #define macro /* nothing */.
790         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
791         Use hp->name when calling pass_thru_directive.
792         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
793         Return the result of conditional_skip and/or skip_if_group.
794         Don't call _cpp_output_line_command.
795         (consider_directive_while_skipping): Use _cpp_get_directive_token.
796         Issue -Wtraditional warnings as appropriate.  Don't complain
797         about unrecognized directives.  If we are to stop skipping,
798         return the number of the directive that ended the skip.
799         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
800         expansion and line commands while skipping.  Return the result
801         of consider_directive_while_skipping, if nonzero.
802         (do_endif): Just set potential_control_macro here.
803         (validate_else): Use _cpp_get_directive_token.
804         (do_assert, do_unassert): Don't save pointers into the
805         token_buffer across calls to the lexer.  Use
806         _cpp_get_directive_token.  
807
808         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
809         pointer, not an offset.  Replace 'data', which was a generic
810         pointer, with 'macro', which points to a struct hashnode.
811         (cpp_reader): Add 'potential_control_macro' pointer.
812         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
813         (CPP_BUF_GET, CPP_FORWARD): Delete.
814         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
815         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
816         ACTIVE_MARK_P): Update.
817         (_cpp_get_define_token): New internal function.
818         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
819
820 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
821
822         * configure.in: And here.
823         * configure: Regenerate.
824         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
825         --enable-libstdcxx-v3 is passed at configure time.
826         * config.h.in: Regenerate.
827
828 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
829
830         * final.c (final): Use xcalloc to allocate line_note_exists.
831         * function.c (free_after_compilation): Free the temp_slots.
832         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
833         (combine_temp_slot): Free temp_slots when they get combined.
834         (purge_addressof): Fix typo in comment.
835         * stmt.c (mark_goto_fixup): Mark the fixup itself.
836         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
837
838         * ggc.h: Include varray.h.
839         (ggc_pending_trees): Declare.
840         (ggc_mark_tree_children): Remove declaration.
841         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
842         * ggc-common.c (ggc_pending_trees): New variable.
843         (ggc_mark_roots): Call ggc_mark_trees.
844         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
845         the ggc_pending_trees.
846         * Makefile.in (GGC_H): New variable.  Use it throughout in place
847         of ggc.h.
848         
849 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
850
851         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
852         GET_MODE_SIZE.
853
854 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
855
856         * sh.c (sh_insn_length_adjustment): New function.
857         * sh-protos.h (sh_insn_length_adjustment): Declare.
858         * sh.h (ADJUST_INSN_LENGTH): Use it.
859
860 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
861
862         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
863         from the insn where REG_RETVAL is added.
864         (emit_no_conflict_block): Ditto.
865
866         * md.texi (Standard Names): Clarify when movX is needed.
867
868         * combine.c (simplify_comparison) [MINUS]: Do not replace
869         all (op (minus A B) 0) with (op A B).
870
871 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
872                           J"orn Rennecke <amylaar@cygnus.co.uk>
873
874         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
875         (block_lump_real): Likewise.
876
877 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
878
879         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
880         remaining non-zero debugging masks.
881
882 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
883
884         * basic-block.h (verify_flow_info): Declare.
885         (flow_loop_outside_edge_p): Declare.
886         * flow.c (verify_flow_info): Remove declaration.
887         (clear_log_links, flow_loop_outside_edge_p): Likewise.
888
889 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
890
891         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
892         not C++ comments.
893
894 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
895
896         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
897         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
898         seqdi_zero_trunc+1): Allow splits only if registers are
899         different.
900
901 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
902
903         * acconfig.h: Add HAVE_GAS_HIDDEN.
904         * config.in: Regenerated.
905         * configure.in: Add test for .hidden pseudo-op in gas.
906         * configure: Regenerated.
907         * crtstuff.c: Include auto-host.h.
908         Emit additional .hidden pseudo-op for __dso_handle if the
909         assembler knows about it.
910
911 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
912
913         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
914         before freeing argnames.
915         * cpplib.c (do_ifndef): Cast return value of xstrdup.
916
917 2000-04-05  Michael Meissner  <meissner@redhat.com>
918
919         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
920         Walton <jonboy@gordian.com> to make memory references with update
921         work wtih -mregnames.
922
923 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
924
925         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
926         (regrename_optimize): Rename variables `def_uses' and
927         `ext_basic_blocks' to avoid conflicts with similarly named
928         typedefs in traditional C.
929
930         * calls.c (initialize_argument_information): Fix typo in previous
931         change.
932
933 2000-04-04  Richard Henderson  <rth@cygnus.com>
934
935         * regrename.c (consider_available): Test fixed_regs not
936         PIC_OFFSET_TABLE_REGNUM.
937
938 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
939
940         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
941         crtend.
942         (CRTSTUFF_T_CFLAGS_S): Delete definition.
943         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
944         (ENDFILE_LINUX_SPEC): Always use crtend.
945         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
946         (powerpc-*-linux-gnu): Likewise.
947         * configure: Regenerate.
948
949         * config/rs6000/eabi.h: Don't include sysv4.h.
950         (MULTILIB_DEFAULTS): Don't define.
951         * config/rs6000/eabiaix.h: Don't include eabi.h.
952         * config/rs6000/eabile.h: Delete.
953         * config/rs6000/eabilesim.h: Delete.
954         * config/rs6000/eabisim.h: Don't include eabi.h.
955         * config/rs6000/linux.h: Don't include sysv4.h.
956         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
957         (MULTILIB_DEFAULTS): Don't redefine.
958         * config/rs6000/rtems.h: Don't include eabi.h.
959         * config/rs6000/sol2.h: Don't include sysv4le.h.
960         * config/rs6000/sysv4le.h: Don't include sysv4.h.
961         * config/rs6000/t-ppc: Delete.
962         * config/rs6000/t-ppcgas: Correct comment.
963         * config/rs6000/t-ppcos: Correct comment.  Don't build 
964         multilibs for -fPIC, rather use -fPIC -mstrict-align 
965         as default.
966         * config/rs6000/t-ppc: Delete.
967         * config/rs6000/vxppc.h: Don't include sysv4.h.
968         * config/rs6000/vxppcle.h: Delete.
969         * configure.in: Use multiple header files for p2pc ELF targets
970         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
971         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
972         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
973         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
974         always available for these platforms.
975
976 2000-04-04  Richard Henderson  <rth@cygnus.com>
977
978         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
979
980 2000-04-04  Stan Cox  <scox@cygnus.com> 
981
982         * Makefile.in: Add rules for regrename.o
983         * regrename.c: New file.
984         * rtl.h (regrename_optimize): Add prototype.
985         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
986         (compile_file, decode_d_option): Add support for -frename-registers.
987         (rest_of_compilation): Call regrename_optimize.
988         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
989         New macros.     
990         
991 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
992
993         * Makefile (gccbug): New target.
994         (doc): Depend on it.
995         * gcc.texi (Bugs): Link subnodes.
996         (gccbug): New node.
997         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
998         Document severities, priorities, and classes in bug form.
999
1000 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
1001
1002         * cpplex.c (trigraph_map, speccase): Combine into single
1003         table, chartab.
1004         (NORMAL, NONTRI): New macros.
1005         (_cpp_read_and_prescan): Change to use unified table.  Use
1006         is_hspace to test for whitespace.
1007
1008         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
1009         definition that doesn't provoke the "empty body in an
1010         if-statement" warning.
1011
1012 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
1013
1014         * builtins.c (expand_builtin_strlen): Force the source to
1015         be a memory address.
1016
1017 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1018
1019         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
1020
1021 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1022
1023         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1024          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
1025         (ECF_IS_CONST): Rename to ECF_CONST.
1026         (special_function_p): Make static, change interface.
1027         (flags_from_decl_or_type, try_to_integrate): Break out from ...
1028         (expand_call) ... here; convert number of variables to flags.
1029         (emit_library_call_vlue_1): Likewise.
1030         (setjmp_call_p): New function.
1031         (initialize_argument_information): Accepts flags as argument;
1032         return flags.
1033         (precompute_arguments): Likewise.
1034         * tree.h (special_function_p): Remove.
1035         (setjmp_call_p): Add prototype.
1036
1037 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
1038
1039         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1040         so that addresses are offsetable by up to 16 bytes.
1041         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1042         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1043         offsetable.
1044
1045         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1046         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1047         (movsf): Don't force any constant to memory if target is integer
1048         hard register.
1049         Move fp_zero_operand check below the const0_rtx check.
1050         (movtf): Likewise. Also allow fp_zero_operand for stores into
1051         memory.
1052         (movdf): Likewise. Also allow fp_zero_operand for stores into
1053         memory and into integer hard registers.
1054         (clear_df, clear_dfp, movdf_const_intreg_sp32,
1055         movdf_const_intreg_sp64): Remove.
1056         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
1057         conditions.
1058         (movdf_no_e_insn_v9_sp32): New pattern.
1059         (movdf_insn_v9only): Remove.
1060         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
1061         (movdf_insn_sp64): Remove.
1062         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
1063         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
1064         (following splits): Rewrite conditions. Add two new splits
1065         for storing 0.0 into memory and registers.
1066         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
1067         (movtf_insn_sp32): Redo constraints and conditions.
1068         (movtf_insn_vis_sp32): New pattern.
1069         (movtf_no_e_insn_sp32): Redo constraints and conditions.
1070         (movtf_insn_hq_sp64): Likewise.
1071         (movtf_insn_hq_vis_sp64): New pattern.
1072         (movtf_insn_sp64): Redo constraints and conditions.
1073         (movtf_insn_vis_sp64): New pattern.
1074         (movtf_no_e_insn_sp64): Redo constraints and conditions.
1075         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
1076         or memory.
1077         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
1078         -mvis or -m64 to take down the number of various reload patterns.
1079
1080 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
1081
1082         * pa/pa-64.h: New file.
1083         * pa/pa64-regs.h: New file.
1084         * pa/pa64-start.h: New file.
1085         * pa/t-pa64: New file.
1086         * pa/xm-pa64hpux.h: New file.
1087
1088 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1089
1090         * sparc.c (output_restore_regs): Prototype.
1091         (sparc_emit_float_lib_cmp): Constification.
1092
1093         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
1094
1095         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
1096         Prototype.
1097
1098         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
1099         (get_value_hash, hash_rtx): Likewise.
1100
1101         * ssa.c (compute_conservative_reg_partition): Prototype.
1102
1103         * tree.c (mark_hash_entry): Prototype.
1104
1105 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
1106
1107         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
1108         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
1109         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
1110
1111         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
1112         * objc/lang-specs.h: Likewise.
1113
1114 2000-04-03  Neil Booth  <NeilB@earthling.net>
1115
1116         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
1117         and SYNTAX_ERROR2. Replace `' in messages with ''.
1118         (op_to_str): Make re-entrant.
1119         (_cpp_parse_expr): Implement new error macros. Use | rather
1120         than || to logically or 2 boolean integers.  Simply expression
1121         checking we have a left operand iff needed.
1122
1123 2000-04-03  Nick Clifton  <nickc@cygnus.com>
1124
1125         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
1126
1127 2000-04-03  Philip Blundell  <philb@gnu.org>
1128
1129         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
1130
1131 2000-04-03  Felix Lee  <flee@cygnus.com>
1132
1133         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
1134         (run_shell): Use it. 
1135
1136 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
1137
1138         * Makefile.in (stmp-int-hdrs): Make include subdir here...
1139         (stmp-fixproto): ...rather than here.
1140
1141 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
1142
1143         * pa.c (print_operand): Compute 'base' only inside the code paths
1144         that use it.
1145
1146 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
1147
1148         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
1149         CEIL_DIV_EXPR.
1150
1151 2000-04-03  Philipp Thomas  <pthomas@suse.de>
1152
1153         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
1154
1155 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
1156
1157         * Makefile.in (alias.o): Depend on $(TREE_H).
1158
1159 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
1160
1161         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
1162         processing C++.
1163         * cpplib.c (_cpp_handle_directive): Improve warnings for
1164         traditional C and indented directives.
1165
1166         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
1167         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
1168         fixinc/inclhack.def: Indent the # of #include_next one space.
1169         * cp/rtti.c: Un-indent #if and #endif.
1170
1171         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
1172         syntax error, but an error has already been printed.
1173         * cpplex.c (_cpp_parse_assertion): Give a more specific error
1174         message when called with nothing remaining on the line.
1175         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
1176         OTHER token, not an ASSERTION.
1177         * cpplib.c (do_assert): When we create a 'base' node, clear
1178         its aschain pointer.
1179
1180 2000-04-02  Neil Booth <NeilB@earthling.net>
1181
1182         * cppexp.c:  New typedef op_t.  struct operation and struct 
1183         token updated to use it.
1184         (op_to_str): New function.
1185         (_cpp_parse_expr): Error messages modified to use op_to_str.
1186
1187 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1188
1189         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
1190         before checking MUST_PASS_IN_STACK.
1191
1192 2000-04-02  Neil Booth <NeilB@earthling.net>
1193
1194         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
1195         flags and initial priority into a single constant.  New
1196         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
1197         (_parse_cpp_expr): Implement new constants.  Take left operand
1198         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
1199         parse indicated by reducing FINISHED token.  Remove new lines
1200         from cpp_error messages.
1201
1202 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
1203
1204         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
1205         permanent obstack.
1206
1207 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
1208
1209         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
1210         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
1211         the strings and function names on the fly.  Take the #sccs
1212         entry out of the table if SCCS_DIRECTIVE is not defined.
1213         (_cpp_handle_directive): Decide if the # was at the beginning
1214         of the line here.  Issue -pedantic warnings for extended
1215         directives here.  Warn about K+R directives with the #
1216         indented, and C89/extended directives with the # not indented,
1217         here.
1218         (do_import, do_include_next, do_warning, do_ident, do_sccs,
1219         do_assert, do_unassert): Don't issue pedantic warning here.
1220
1221         * cpphash.h: Add CPP_WTRADITIONAL macro.
1222         * cpplib.h (struct cpp_options): Rename warn_stringify to
1223         warn_traditional; update comments.
1224         * cppinit.c (handle_option): Set warn_traditional not
1225         warn_stringify.
1226         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
1227         CPP_WTRADITIONAL (pfile).
1228         * cpplex.c (_cpp_lex_token): Don't decide if directives should
1229         be ignored in -traditional mode here.
1230
1231         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
1232         to initialize speccase[] and trigraph_map[].  Delete all
1233         references to pfile->input_speccase.  Always treat '?' as a
1234         special character.  Remove table-initialization code from
1235         _cpp_init_input_buffer.
1236
1237         * cpplib.h (struct cpp_reader): Remove input_speccase field.
1238         * cppinit.c (cpp_cleanup): Don't free input_speccase.
1239
1240 2000-04-01  Richard Henderson  <rth@cygnus.com>
1241
1242         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
1243         (mostlyclean): Likewise.
1244
1245         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
1246         (struct dump_file_info, enum dump_file_index, dump_file): New.
1247         (open_dump_file): Take a dump_file_index not a suffix, and a decl
1248         not a string.  Clean out file if we havn't yet done so.  Do nothing
1249         if the dump isn't enabled.
1250         (close_dump_file): Do nothing if the dump isn't open.  Dump 
1251         graph data if requested.
1252         (dump_rtl, clean_dump_file): Remove.
1253         (compile_file): Don't clean the dump files.  Only finalize .bp dump
1254         if flag_test_coverage or flag_branch_probabilities.  Only finalize
1255         .combine dump if optimizing.  Iterate over dump_file to finalize the
1256         graph dumps.
1257         (rest_of_compilation): Update for open_dump_file/close_dump_file.
1258         Convert all uses of dump_rtl.
1259         (decode_d_option): Iterate over dump_file to implement 'a' and to
1260         locate pass-specific dumps.
1261
1262 2000-04-01  Neil Booth <NeilB@earthling.net>
1263
1264         * cppexp.c: Redefine priority constants.
1265         (_cpp_parse_expr): Replace left and right priority scheme with
1266         single priority logic.  Move LOGICAL to same place as COMPARE.
1267         Remove bogus check for multiple unary +/- operators.
1268
1269 2000-04-01  Neil Booth <NeilB@earthling.net>
1270
1271         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
1272         within the switch statement.  Binary operations break out of
1273         the switch naturally.  '(' tokens handled by forcing
1274         immediate shift.  ')' handled by forcing immediate reduce to
1275         the previous '('.  New error messages.
1276         
1277 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
1278
1279         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
1280         part', it's already in use.  Use %K instead.  Add a return at the
1281         end of what is now %K.
1282         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
1283
1284 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1285
1286         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
1287         allocate_dynamic_stack_space.
1288         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
1289         update stack_pointer_delta; do not update arg_size_so_far.
1290         (compute_argument_block_size): Use stack_delta instead of
1291         stack_pointer_pending and arg_size_so_far.
1292         (expand_call): Add sanity checking for stack_pointer_delta;
1293         save and restore stack_pointer_delta for SIB, use
1294         stack_pointer_delta for alignment; do not update arg_space_so_far.
1295         (emit_library_call_value): Use stack_pointer_delta for alignment.
1296         (store_one_arg): Do not update arg_space_so_far.
1297         * explow.c (adjust_stack, anti_adjust_stack): Update
1298         stack_pointer_delta.
1299         (allocate_dynamic_stack_space): Add sanity checking for
1300         stack_pointer_delta.
1301         * expr.c (init_expr, clear_pending_stack_adjust): Clear
1302         stack_pointer_delta.
1303         (emit_push_insn): Update stack_pointer_delta.
1304         * function.h (struct expr_status): Add x_stack_pointer_delta;
1305         remove x_arg_space_so_far.
1306         (arg_space_so_far): Remove.
1307         (stack_pointer_delta): New macro.
1308
1309 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
1310
1311         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
1312         Reorder struct cpp_options and struct cpp_reader for better 
1313         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
1314         takes two args.  Change all 'char' flags to 'unsigned char'.
1315         Move show_column flag into struct cpp_options.  Don't
1316         prototype cpp_options_init.
1317         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
1318         cppinit.c, cpplex.c, cpplib.c:
1319         Replace CPP_OPTIONS (pfile)->whatever with
1320         CPP_OPTION (pfile, whatever), and likewise for
1321         opts = CPP_OPTIONS (pfile); ... opts->whatever;
1322
1323         * cppinit.c (merge_include_chains): Take a cpp_reader *.
1324         Extract CPP_OPTION (pfile, pending) and work with that
1325         directly.
1326         (cpp_options_init): Delete.
1327         (cpp_reader_init): Turn on on-by-default options here.
1328         Allocate the pending structure here.              
1329         (cl_options, enum opt_code): Define these from the same table,
1330         kept in a large macro.  Add -fshow-column and -fno-show-column
1331         options.
1332
1333         * cpperror.c (v_message): If show_column is off, don't print
1334         the column number.
1335
1336         * cppmain.c: Update for new interface.
1337         * fix-header.c: Likewise.
1338
1339 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
1340
1341         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
1342         definition.
1343         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
1344         are passed to any invocation of AR_FOR_TARGET.
1345         (AR_CREATE_FOR_TARGET): New macro.
1346         (AR_EXTRACT_FOR_TARGET): New macro.
1347         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
1348         AR_EXTRACT_FOR_TARGET.
1349         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
1350         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
1351         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
1352         AR_EXTRACT_FOR_TARGET to sub-makes.
1353
1354 2000-03-31  Neil Booth <NeilB@earthling.net>
1355
1356         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
1357         PAREN_INNER_PRIO.
1358         (_cpp_parse_expr): Check for multiple unary +/- operators.
1359         Correct priorities of ':' and '?'.  Treat ')' as having a
1360         value.  Ensure conditional expression is not void.
1361         
1362 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
1363
1364         * alias.c (canon_rtx): Make it global.
1365         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
1366         equality.
1367         * cse.c (struct table_elt): Add canon_exp.
1368         (insert): Clear it.
1369         (invalidate): Canonicalize expressions only once.
1370         * rtl.h (canon_rtx): Declare.
1371
1372 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
1373
1374         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
1375         * alias.c (reg_known_value): Add comments.
1376         (init_alias_analysis): Likewise.
1377         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
1378         address.
1379         (cse_basic_block): Fix typo in comment.
1380         * emit-rtl.c: Include hashtab.h.
1381         (const_int_htab): New variable.
1382         (const_int_htab_hash): New function.
1383         (const_int_htab_eq): Likewise.
1384         (rtx_htab_mark_1): Likewise.
1385         (rtx_htab_mark): Likewise.
1386         (gen_rtx_CONST_INT): Cache all CONST_INTs.
1387         (unshare_all_rtx): Fix formatting.
1388         (init_emit_once): Initialize const_int_htab.
1389         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
1390         address.
1391         * rtl.texi: Document the fact that all CONST_INTs with the same
1392         value are shared.
1393
1394 2000-03-30  Richard Henderson  <rth@cygnus.com>
1395
1396         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
1397
1398 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
1399
1400         * configure.in: Comment out --enable-c-cpplib stanza.
1401         * configure: Regenerate.
1402
1403 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1404
1405         * expr.c (store_constructor): Properly compute displacement and
1406         alignment when offset is variable.
1407
1408         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
1409         cases of alignment in bytes.
1410
1411 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
1412
1413         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
1414         since it is used to generate c-parse.y.
1415         * objc-parse.c, objc-parse.y: Regenerated.
1416
1417         * function.c (expand_function_end): Pass alignment argument to
1418         emit_block_move in bits, not bytes.
1419
1420 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1421
1422         * expr.c (move_by_pieces_ninsns): Fix one more missing align
1423         correction.
1424
1425         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
1426
1427         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
1428         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
1429         * function.c (assign_parms): Likewise.
1430         * integrate.c (expand_inline_function): Likewise.
1431         * stmt.c (expand_decl): Likewise.
1432         (copy_rtx_and_substitute): Likewise.
1433         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
1434         (clear_by_pieces): Fix error in last change.
1435         * emit-rtl.c (init_emit): Set known registers alignment in bits.
1436         * function.h (regno_pointer_align): Now unsigned.
1437         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
1438         is in bits.
1439         * config/i386/i386.c (aligned_operand): Likewise.
1440         * config/sparc/sparc.c (mem_min_alignment): Likewise.
1441         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
1442         (unaligned_memory_operand): Likewise.
1443         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
1444         Also make alignments and sizes unsigned and some whitespace cleanup.
1445         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
1446
1447         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
1448         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
1449         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
1450         (expand_builtin_memset): Likewise, but to clear_storage.
1451         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
1452         (restore_fixed_argument_area): Likewise.
1453         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
1454         (load_register_parameters): Likewise, to emit_group_load.
1455         (expand_call): Likewise, to emit_group_store and emit_block_move.
1456         (emit_library_call_value_1): Likewise, to emit_block_move.
1457         (store_one_arg): Likewise, and to emit_push_insn.
1458         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
1459         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
1460         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
1461         (emit_block_move, emit_group_load, emit_group_store): Likewise.
1462         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
1463         (expand_assigment, store_expr, store_constructor_field): Likewise.
1464         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
1465         (store_constructor, store_field, get_inner_reference): Likewise.
1466         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
1467         (expand_expr, case COMPONENT_REF): Likewise.
1468         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
1469         and positions; reindent code.
1470         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
1471         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
1472         (assign_parms): Likewise to emit_group_store.
1473         * optabs.c (prepare_cmp_insn): Alignment is in bits.
1474         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
1475         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
1476         (expand_return): Likewise to {extract,store}_bit_field.
1477         * stor-layout.c (get_mode_alignment): Minor cleanup.
1478         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
1479         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
1480         
1481 2000-03-29  Nick Clifton  <nickc@cygnus.com>
1482
1483         * config/arm/arm.h: Undo effects of previous delta:
1484         (ASM_SPEC): Do not define.
1485         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
1486
1487         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
1488         typo. 
1489
1490 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1491
1492         * cppinit.c (cpp_start_read): Call initialize_dependency_output
1493         only after reading in the primary source file.
1494
1495 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
1496
1497         * c-common.c (c_common_nodes_and_builtins): The first parameter to
1498         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
1499         or a reference to a va_list.
1500         * builtins.c (stabilize_va_list): Simplify now we don't have to
1501         work around C array address decay.
1502         * c-typeck.c (convert_for_assignment): Handle assignment to
1503         a reference parameter by taking the address of the RHS.
1504         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
1505         (va_copy): Likewise.
1506         (__va_copy): Likewise.
1507         * ginclude/varargs.h (va_start): Likewise.
1508         (__va_copy): Likewise.
1509
1510 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
1511
1512         * i386/djgpp.h: Remove extraneous "+".
1513
1514         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
1515
1516         * calls.c (expand_call): Fix typo in last change.
1517
1518 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
1519
1520         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
1521         been expanded.
1522
1523 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1524
1525         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
1526         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
1527         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
1528         * tree.c (bit_position, byte_position): Likewise.
1529         * tree.h: Declare new functions.
1530
1531 2000-03-29  Nick Clifton  <nickc@cygnus.com>
1532
1533         * config/arm/arm.c: Minor formatting changes/
1534         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1535         already defined.
1536         (ASM_SPEC): Define if not already defined.
1537
1538 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1539
1540         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
1541         _cpp_calc_hash.
1542
1543 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
1544
1545         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
1546         value, don't output it as unsigned.
1547
1548 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
1549
1550         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
1551
1552 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1553
1554         * c-common.c (c_common_nodes_and_builtins): Don't special case
1555         cplus_mode when declaring builtin bzero/bcmp, always avoid
1556         prototype arguments.
1557
1558 2000-03-29  Bruce Korb  <bkorb@gnu.org>
1559
1560         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
1561         to a non-file
1562
1563 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1564
1565         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
1566         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
1567         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
1568         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
1569         (save_fixed_argument_area, restore_fixed_argument_area):
1570         conditionize by #ifdef REG_PARM_STACK_SPACE only.
1571         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
1572         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
1573         (precompute_register_parameters): Avoid #ifdefs on
1574         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
1575         (stire_one_args): Likewise.
1576         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
1577         (emit_library_call_value_1): Likewise.
1578         (compute_argument_block_size): Align to STACK_BOUNDARY only for
1579         ACCUMULATE_OUTGOING_ARGS.
1580         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
1581         value.
1582         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
1583         (use_crosses_set_p): Likewise.
1584         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
1585         #define ACCUMULATE_OUTGOING_ARGS 1.
1586         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
1587         frames.
1588         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
1589         constants.
1590         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
1591         (TARGET_SWITCHES): Add push-args, no-push-args,
1592         accumulate-outgoing-args and no-accumulate-outgoing-args.
1593         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
1594         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
1595         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
1596         and PUSH_ROUNDING.
1597         (emit_push_insn): Likewise.
1598         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1599         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
1600         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1601         (STACK_DYNAMIC_OFFSET): Define correctly for both
1602         ACCUMULATE_OUTGOING_ARGS and normal mode.
1603         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
1604         * tm.texi (PUSH_ARGS): Document.
1605         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
1606
1607 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1608
1609         * flags.h (flag_optimize_sibling_calls): Declare.
1610         * calls.c (expand_call): Fail sibcall when
1611         !flag_optimize_sibling_calls
1612         * invoke.texi (flag_optimize_sibling_calls): Document.
1613         * toplev.c (flag_optimize_sibling_calls): New global variable.
1614         (f_options): Add flag_optimize_sibling_calls.
1615         (rest_of_compilation): Conditionize
1616         optimize_sibling_and_tail_recursive_calls by
1617         flag_optimize_sibling_calls.
1618         (main): Set flag_optimize_sibling_calls for -O2.
1619         * stmt.c (expand_return): Conditionize tail recursion by
1620         flag_optimize_sibling_calls.
1621
1622 2000-03-29  Richard Henderson  <rth@cygnus.com>
1623
1624         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
1625         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
1626
1627 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
1628
1629         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
1630
1631 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1632
1633         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
1634         is given.
1635         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
1636         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
1637         * config/rs6000/aix.h: then modified likewise.
1638
1639 2000-03-28  Richard Henderson  <rth@cygnus.com>
1640
1641         * rtl.h: Redistribute enum reg_note documentation. 
1642         Kill trailing whitespace.
1643         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
1644         Kill trailing whitespace.
1645
1646 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
1647
1648         * cppfiles.c (hash_IHASH): Just return i->hash.
1649         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
1650         htab_find_with_hash.
1651         (cpp_read_file): Likewise.
1652         (find_include_file): Likewise.  Properly initialize
1653         ih->nshort.  Share ih->name and ih->nshort if possible.
1654         * cpphash.c (_cpp_calc_hash): New function.
1655         (hash_HASHNODE): Just return h->hash.
1656         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
1657         htab_find_with_hash.
1658         * cpphash.h: Prototype _cpp_calc_hash.
1659         * cppinit.c (initialize_builtins): Provide a valid hash
1660         to _cpp_make_hashnode, using _cpp_calc_hash.
1661
1662         * cpphash.c (collect_expansion): # is not a special character
1663         in object-like macros.  In -traditional mode, /**/ is not
1664         token paste at the beginning or end of the line.
1665         * cpplib.c (do_include, do_import, do_include_next): If
1666         parse_include fails, return immediately.
1667
1668 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
1669
1670         * config/arm/arm.md (return peepholes): Update to reflect the new
1671         call insn patterns.
1672         * config/arm/arm.c (arm_volatile_func): Also check
1673         current_function_nothrow.
1674         (output_return_instruction, output_func_prologue): Use it.
1675         (arm_output_epilogue, arm_expand_prologue): Likewise.
1676
1677 2000-03-27  Tom Tromey  <tromey@cygnus.com>
1678
1679         * gcc.c (handle_braces): In {x*...} case, break out of loop if
1680         switch is found.
1681
1682 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1683
1684         * expr.c (store_constructor): SIZE now signed.
1685         For EXPR_SIZE, don't evaluate size; just needed if constant.
1686         * fold-const.c (fold): Fix a number of cases when folded tree is
1687         wrong type.
1688         * function.c (flush_addressof): Reenable.
1689         * tree.h (flush_addressof): Likewise.
1690         * toplev.c (independent_decode_option): Look at strings_processed.
1691         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
1692
1693 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
1694
1695         * sibcall.c (indentify_call_return_value): Find last call in the chain;
1696         Allow stack adjustment after function call.
1697
1698         * regmove.c (struct csa_memlist): Make mem field rtx *.
1699         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
1700         (try_apply_stack_adjustment): Replace whole MEM rtx.
1701         (combine_stack_adjustments_for_block): Update calls
1702         to record_one_stack_ref.
1703
1704 2000-03-28  Neil Booth  <NeilB@earthling.net>
1705
1706         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
1707         '\\' rather than a null character, so nulls are not special.  Fix
1708         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
1709         speed trigraph conversion.
1710         (_cpp_init_input_buffer): Initialize trigraph map.
1711
1712 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1713
1714         * config/i386/i386.c (output_387_binary_op): Correct intel
1715         mode assembly output, and add spaces after commas in AT&T
1716         output.  Correct Unixware assembler comment.  Document input
1717         constraints.  Comment fp operations.  Reduce profligate buffer
1718         size.  Remove extraneous abort.  Localize temp var.
1719         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
1720         (output_fix_trunc): Add spaces after commas in assembly output.
1721
1722 2000-03-27  Richard Henderson  <rth@cygnus.com>
1723
1724         * i386-protos.h (ix86_match_ccmode): Declare.
1725         * i386.c (ix86_match_ccmode): New.
1726         (ix86_expand_fp_compare): Update for pattern renames.
1727         (ix86_expand_strlensi_unroll_1): Likewise.
1728         * i386.h (EXTRA_CC_MODES): Add CCZ.
1729         (SELECT_CC_MODE): Use it for EQ/NE zero.
1730         * i386.md (cmpsi_ccz_1): New.
1731         (cmpqi_ccz_1): New.
1732         (*testsi_ccz_1): New.
1733         (testqi_ccz_1): New.
1734         (cmpsi_ccno_1): Rename from cmpsi_0.
1735         (testsi_ccno_1): Rename from testsi_1.
1736         (testqi_ccno_1): Rename from testqi_1.
1737         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
1738         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
1739         (*cmphi_0): Use ix86_match_ccmode.
1740         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
1741         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
1742         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
1743         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
1744         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
1745         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
1746         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
1747         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
1748         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
1749         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
1750         (appropriate peepholes): Likewise.
1751         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
1752         (*subsi_3, *subhi_3, *subqi_3): Remove.
1753         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
1754         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
1755         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
1756         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
1757         (x86_shift_adj_1): Use CCZ.
1758         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
1759
1760 2000-03-27  Stan Cox  <scox@cygnus.com> 
1761
1762         * resource.h (mark_resource_type): New.
1763         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
1764         find_free_register): Use mark_resource_type.
1765         (mark_set_resources): Change include_delayed_effects
1766         to mark_resource_type.
1767         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
1768         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
1769         Use mark_resource_type.
1770         
1771 2000-03-27  Richard Henderson  <rth@cygnus.com>
1772
1773         * i386.md (call_pop_0, call_value_pop_0): New.
1774         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
1775         (call_value_pop_1): Likewise.
1776         (call_0, call_value_0): New.
1777         (call_1, call_value_1): Remove constraint from unused arg.
1778
1779 2000-03-27  Nick Clifton  <nickc@cygnus.com>
1780
1781         * invoke.texi (Spec Files): Document new spec % command created by
1782         Tom Tromey's recent patch.
1783
1784 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
1785
1786         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
1787         if not defined.
1788
1789 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1790
1791         * expr.c (expand_assignment): Fix typo in last change.
1792
1793         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
1794
1795 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1796
1797         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
1798         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
1799         and DECL_INLINE if FUNCTION_DECL.
1800         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
1801         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
1802         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
1803         (combine_parm_decls): Likewise.
1804         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
1805         * print-tree.c (print_node): Likewise.
1806         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
1807         DECL_TRANSPARENT_UNION on proper decl types.
1808         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
1809         * stor-layout.c (layout_decl): Only check DECL_PACKED and
1810         DECL_BIT_FIELD of FIELD_DECL.
1811         * tree.h (DECL_RESULT_FLD): New macro.
1812         
1813         * expr.c (expand_assignment): Add code to handle variable-sized
1814         BLKmode case.
1815
1816 2000-03-26  Richard Henderson  <rth@cygnus.com>
1817
1818         * calls.c (expand_call): Pass parms not original exp to
1819         optimize_tail_recursion.  Mind return value instead of looking
1820         for a barrier.
1821         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
1822         call_expr.  Move checks for call_expr and current_function_decl ...
1823         (expand_return): ... here.
1824
1825 2000-03-26  Tom Tromey  <tromey@cygnus.com>
1826
1827         * gcc.c (handle_braces): Recognize `%{<S}' construct.
1828         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
1829         defines.
1830         (process_command): Use them.
1831         (check_live_switch): Likewise.
1832         (give_switch): Skip ignored switches.
1833
1834 2000-03-26  Jan Hubicka  <jh@suse.cz>
1835
1836         * jump.c (jump_optimize_1): Fix typo in elide optimizations
1837         for minimal jump pass test.
1838
1839 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
1840
1841         * integrate.c (function_cannot_inline_p): Do inline functions that
1842         return `void'.
1843
1844 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1845
1846         * stor-layout.c (layout_type, set_sizetype): early_type_list is
1847         now a list of TREE_LIST entries, not types.
1848         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
1849
1850         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
1851         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
1852         int_bit_position.
1853         * config/mips/mips.c (function_arg): Likewise; also remove cast
1854         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
1855         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
1856         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
1857         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
1858         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
1859         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
1860         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
1861         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
1862         num_adjusts now unsigned.
1863         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
1864         * config/sparc/sparc.c (struct function_arg_record_value_parms):
1865         NREGS now unsigned.
1866         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
1867         as is BITPOS variable; use host_integerp and int_bit_position.
1868         (function_arg_record_value_2): Likewise.
1869         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
1870         Variable REGNO now unsigned.
1871         (function_arg_record_value): NREGS now unsigned.
1872
1873 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
1874
1875         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
1876
1877 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1878
1879         * Rework fields used to describe positions of bitfields and
1880         modify sizes to be unsigned and use HOST_WIDE_INT.
1881         * alias.c (reg_known_value_size): Now unsigned.
1882         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
1883         (really_start_incremental_init): Use bitsize_zero_node.
1884         (push_init_level, pop_init_level, output_init_element): Likewise.
1885         Use bitsize_unit_node and bitsize_one_node.
1886         (output_pending_init_elements, process_init_element): Likewise.
1887         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
1888         (make_extraction): Position and length HOST_WIDE_INT and unsigned
1889         HOST_WIDE_INT, respectively.
1890         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
1891         (num_sign_bit_copies): Returns unsigned.
1892         BITWIDTH now unsigned; rework arithmetic.
1893         Remove recursive call from arg to MAX.
1894         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
1895         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
1896         REGNO now unsigned.
1897         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
1898         (find_split_point, expand_compound_operation, make_extraction): LEN
1899         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
1900         (make_field_assignment): Likewise.
1901         (combine_simplify_rtx): Add cast.
1902         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
1903         (force_to_mode): WIDTH now unsigned; add cast.
1904         (if_then_else_cond): SIZE now unsigned.
1905         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
1906         (extended_count): Now returns unsigned.
1907         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
1908         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
1909         (simplify_comparison): MODE_WIDTH now unsigned.
1910         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
1911         (mark_used_regs_combine): Likewise; rework arithmetic.
1912         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
1913         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
1914         (record_promoted_value): REGNO now unsigned.
1915         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
1916         (get_last_value): REGNO now unsigned.
1917         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
1918         (reg_dead_regno, reg_dead_endregno): Now unsigned.
1919         (remove_death): Arg REGNO now unsigned.
1920         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
1921         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
1922         now unsigned.
1923         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
1924         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
1925         (struct cse_reg_info): REGNO now unsigned.
1926         (cached_regno): Now unsigned.
1927         (REGNO_QTY_VALID_P): Add cast.
1928         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
1929         (remove_invalid_regs): Likewise.
1930         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
1931         as are variables END and I.
1932         (get_cse_reg_info, insert): Likewise.
1933         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
1934         (canon_hash): Likewise.
1935         (insert_regs, lookup_for_remove): REGNO now unsigned.
1936         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
1937         New variable RN.
1938         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
1939         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
1940         * emit-rtl.c (subreg_realpart_p): Add cast.
1941         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
1942         (operand_subword_force): Arg I is now unsigned.
1943         * except.c (eh_regs): Variable I is now unsigned.
1944         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
1945         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
1946         length is unsigned HOST_WIDE_INT; likewise for internal variables.
1947         (store_split_bit_field, extract_fixed_bit_field): Likewise.
1948         (extract_split_bit_field, store_bit_field, extract_bit_field):
1949         Likewise.
1950         * expr.c (store_constructor_fields, store_constructor, store_field):
1951         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
1952         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
1953         (do_jump): Likewise.
1954         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
1955         MAX_SIZE is now unsigned.
1956         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
1957         (emit_group_store): Likewise.
1958         (emit_move_insn): I now unsigned.
1959         (store_constructor): Use host_integerp, tree_low_cst, and
1960         bitsize_unit_node.
1961         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
1962         Rework all calculations to use trees and new fields.
1963         * expr.h (promoted_input_arg): Regno now unsigned.
1964         (store_bit_field, extract_bit_field): Adjust types of pos and size.
1965         (mark_seen_cases): Arg is HOST_WIDE_INT.
1966         * flow.c (verify_wide_reg_1): REGNO now unsigned.
1967         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
1968         precisions and alignments are unsigned.
1969         (optimize_bit_field_compare, fold_truthop): Likewise.
1970         (int_const_binop): Adjust threshold for size_int_type_wide call.
1971         (fold_convert): Likewise.
1972         (size_int_type_wide): Make table larger and fix thinko that only
1973         had half of table used.
1974         (all_ones_mask_p, fold): Precisions are unsigned.
1975         * function.c (put_reg_info_stack): REGNO is unsigned.
1976         (instantiate_decl): Size is HOST_WIDE_INT.
1977         (instantiate_virtual_regs): I is unsigned.
1978         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
1979         (promoted_input_arg): REGNO is unsigned.
1980         * function.h (struct function): x_max_parm_reg is now unsigned.
1981         * gcse.c (max_gcse_regno): Now unsigned.
1982         (struct null_pointer_info): min_reg and max_reg now unsigned.
1983         (lookup_set, next_set): REGNO arg now unsigned.
1984         (compute_hash_table): REGNO and I now unsigned.
1985         (handle_avail_expr): regnum_for_replacing now unsigned.
1986         (cprop_insn): REGNO now unsigned.
1987         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
1988         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
1989         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
1990         * hard-reg-set.h (reg_class_size): Now unsigned.
1991         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
1992         * jump.c (mark_modified_reg): I now unsigned; add cast.
1993         (rtx_equal_for_thread_p): Add cast.
1994         * loop.c (max_reg_before_loop): Now unsigned.
1995         (struct_movable): REGNO now unsigned.
1996         (try_copy_prop): REGNO arg unsigned.
1997         (regs_match_p): XN and YN now unsigned.
1998         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
1999         (strength_reduce): Likewise; NREGS also unsigned.
2000         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
2001         * loop.h (struct iv_class): REGNO now unsigned.
2002         (max_reg_before_loop, first_increment_giv, last_increment_giv):
2003         Now unsigned.
2004         * machmode.h (mode_size, mode_unit_size): Now unsigned.
2005         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
2006         * optabs.c (expand_binop): I and NWORDS now unsigned.
2007         (expand_unop): I now unsigned.
2008         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
2009         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
2010         * real.c (significand_size): Now returns unsigned.
2011         * real.h (significand_size): Likewise.
2012         * regclass.c (reg_class_size): Now unsigned.
2013         (choose_hard_reg_mode): Both operands now unsigned.
2014         (record_reg_classes): REGNO and NR now unsigned.
2015         (reg_scan): NREGS now unsigned.
2016         (reg_scan_update): old_max_regno now unsigned.
2017         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
2018         * reload.c (find_valid_class): BEST_SIZE now unsigned.
2019         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
2020         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
2021         Likewise for variable R.
2022         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2023         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2024         (find_equiv_reg): Add casts.
2025         (regno_clobbered_p): Arg REGNO now unsigned.
2026         * reload.h (struct reload): NREGS now unsigned.
2027         (refers_to_regno_for_reload_p): Regno args are unsigned.
2028         (regno_clobbered_p): Likewise.
2029         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2030         (compute_use_by_pseudos): REGNO now unsigned.
2031         (find_reg): I and J now unsigned, new variable K, and change loop
2032         variables accordingly; THIS_NREGS now unsigned.
2033         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2034         (spill_hard_reg): REGNO arg now unsigned; add casts.
2035         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2036         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2037         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2038         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2039         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2040         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2041         (emit_reload_insns): REGNO now unsigned.
2042         (reload_cse_move2add): Add cast.
2043         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2044         and rework loop.
2045         * resource.c (mark_referenced_resources, mark_set_resources): New
2046         variable R; REGNO and LAST_REGNO now unsigned.
2047         (mark_target_live_regs): J and REGNO now unsigned.
2048         * rtl.c (mode_size, mode_unit_size): Now unsigned.
2049         * rtl.h (union rtunion_def): New field rtuint.
2050         (XCUINT): New macro.
2051         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2052         (operand_subword, operand_subword_force): Word number is unsigned.
2053         (choose_hard_reg_mode): Operands are unsigned.
2054         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2055         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2056         (regno_use_in, combine_instructions, remove_death): Likewise.
2057         (reg_scan, reg_scan_update): Likewise.
2058         (extended_count): Return is unsigned.
2059         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
2060         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
2061         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
2062         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
2063         (reg_reg_last_1): FIRS and LAST now unsigned.
2064         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
2065         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
2066         now unsigned.
2067         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
2068         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
2069         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
2070         (replace_regs): Arg NREGS now unsigned.
2071         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
2072         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
2073         (simplify_binary_operation): Likewise.
2074         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
2075         THIS_LAST now unsigned.
2076         (cselib_record_set): Add cast.
2077         * ssa.c (ssa_max_reg_num): Now unsigned.
2078         (rename_block): REGNO now unsigned.
2079         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
2080         sizes now unsigned.
2081         (all_cases_count): Just return -1 not -2.
2082         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
2083         Rework tests to use trees whenever possible.
2084         Use host_integerp and tree_low_cst.
2085         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
2086         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
2087         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
2088         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
2089         (smallest_mode_for_size): Likewise.
2090         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
2091         KNOWN_ALIGN is now an alignment, so simplify code.
2092         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
2093         (start_record_layout): Renamed from new_record_layout_info.
2094         Update to new fields.
2095         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
2096         New functions.
2097         (place_union_field): Renamed from layout_union_field.
2098         Update to use new fields in rli.
2099         (place_field): Renamed from layout_field.
2100         Major rewrite to use new fields in rli; pass alignment to layout_decl.
2101         (finalize_record_size): Rework to use new fields in rli and handle
2102         union.
2103         (compute_record_mode): Rework to simplify and to use new DECL fields.
2104         (finalize_type_size): Make rounding more consistent.
2105         (finish_union_layout): Deleted.
2106         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
2107         (layout_type, case RECORD_TYPE): Call new function names.
2108         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
2109         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
2110         (get_best_mode): UNIT is now unsigned; remove casts.
2111         * tree.c (bit_position): Compute from new fields.
2112         (byte_position, int_byte_position): New functions.
2113         (print_type_hash_statistics): Cast to remove warning.
2114         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
2115         (build_index_type): Likewise; make subtype of sizetype.
2116         (build_index_2_type): Pass sizetype to build_range_type.
2117         (build_common_tree_nodes): Use size_int and bitsize_int to
2118         initialize nodes; add bitsize_{zero,one,unit}_node.
2119         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
2120         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
2121         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
2122         (DECL_FIELD_BITPOS): Deleted.
2123         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
2124         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
2125         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
2126         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
2127         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
2128         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
2129         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
2130         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
2131         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
2132         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
2133         (DECL_ALIGN): Adjust to new field in union.
2134         (DECL_OFFSET_ALIGN): New field.
2135         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
2136         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
2137         (union tree_decl): Add struct for both aligns.
2138         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
2139         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
2140         (struct record_layout_info): Rework fields to have offset
2141         alignment and byte and bit position.
2142         (start_record_layout, place_field): Renamed from old names.
2143         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
2144         (byte_position, int_byte_position): Likewise.
2145         (get_inner_reference): Change types of position and length.
2146         * unroll.c (unroll_loop): New variable R; use for some loops.
2147         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
2148         (calculate_giv_inc): Arg REGNO now unsigned.
2149         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
2150         * varasm.c (assemble_variable): Clean up handling of size using
2151         host_integerp and tree_low_cst.
2152         (decode_addr_const): Use byte, not bit, position.
2153         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
2154         use tree_low_cst and int_bit_position.
2155         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
2156         
2157 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
2158
2159         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
2160         (reorder_block_def): New members eff_head and eff_end.
2161         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
2162         (verify_insn_chain): New function.
2163         (skip_insns_between_block): Add code to skip deleted insns.
2164         Check for note before using.
2165         (chain_reorder_blocks): Replace calls to skip_insns_between_block
2166         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
2167         Check for note before using.
2168         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
2169         (fixup_reorder_chain): Restructure, clean up, defect removal.
2170         (reorder_basic_blocks): Remove last_insn and references to it.
2171         Moved insn chain verification code into a new function (see above).
2172         Delete defective code that sets last insn.
2173         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
2174         all blocks.
2175
2176 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2177
2178         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
2179
2180 2000-03-24  Richard Henderson  <rth@cygnus.com>
2181
2182         * tree.c (lang_safe_for_unsave): Remove.
2183         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
2184         allowing for two levels of unsafeness.  Remove lang hook.
2185         * tree.h: Update declarations.
2186         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
2187         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
2188         Always fail sibcalls when there are pending cleanups.
2189
2190 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
2191
2192         * flow.c (propagate_block): When we delete an ADDR_VEC,
2193         also delete the BARRIER following it if there is one.
2194
2195 2000-03-24  Richard Henderson  <rth@cygnus.com>
2196
2197         * builtins.c (expand_builtin_bzero): Convert `length' argument
2198         to sizetype.
2199
2200 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
2201
2202         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
2203         comparison if regno's are equal.
2204         * calls.c (initialize_argument_informat): Add ecf_flags argument.
2205         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2206         (expand_call): Update caller.
2207         Avoid making a sibling call if argument size of the callee is larger
2208         than argument size of the caller.
2209         Call hard_function_value with outgoing set if in sibcall pass.
2210         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2211
2212         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
2213         Change LEAF_REGISTERS from an array initializer to actual array
2214         identifier. Move static global variable into the function.
2215         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
2216         sequences for leaf functions.
2217         * global.c (global_alloc): Likewise.
2218         * tm.texi (LEAF_REGISTERS): Update documentation.
2219
2220         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
2221         TARGET_FLAT leaf disabling hack.
2222         (LEAF_REGISTERS): Changed from an array initializer to actual array
2223         identifier to avoid duplication and remove the above hack.
2224         (FUNCTION_OK_FOR_SIBCALL): Define.
2225         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
2226         always like call attribute.
2227         (eligible_for_sibcall_delay): New attribute.
2228         (sibcall): New delay type.
2229         (sibcall, sibcall_value, sibcall_epilogue): New expands.
2230         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
2231         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
2232         * config/sparc/sparc.c (sparc_leaf_regs): New array.
2233         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
2234         New functions.
2235         (output_function_epilogue): Move part of the code into
2236         output_restore_regs.
2237         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
2238         TYPE_SIBCALL.
2239         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
2240         prototypes.
2241
2242         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
2243         until infrastructure is finished.
2244
2245 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
2246
2247         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
2248         (save_parm_insns): Not here.
2249
2250 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2251
2252         * builtins.c (expand_builtin_bzero): New function.
2253         (expand_builtin): Handle bzero.
2254
2255         * builtins.def: Add BUILT_IN_BZERO.
2256
2257         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2258         prototype & function for bzero.
2259
2260 2000-03-23  Michael Meissner  <meissner@redhat.com>
2261
2262         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
2263         change adding TARGET_FP to the TF floating point insns, except for
2264         trunctfsf2, which generates direct calls to truncdfsf2.
2265
2266 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
2267
2268         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
2269         try to protect against middle-end changes that break binary
2270         compatibility.
2271         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
2272
2273 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2274
2275         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
2276
2277 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2278
2279         * calls.c (expand_call): If TARGET is passed by reference and
2280         is readonly, write a CLOBBER.
2281
2282 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2283
2284         * builtins.c (expand_builtin): Handle bcmp.
2285
2286         * builtins.def: Add BUILT_IN_BCMP.
2287
2288         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2289         prototype & function for bcmp.
2290
2291 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
2292
2293         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
2294         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
2295         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
2296
2297 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
2298
2299         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
2300         alternative when using -fp64 -gp32.
2301
2302 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2303
2304         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
2305         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
2306         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
2307
2308         * frame.h (frame_state): Revert last change.
2309         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
2310         * libgcc2.c (throw_helper): Revert last change.
2311         
2312 2000-03-22  Richard Henderson  <rth@cygnus.com>
2313
2314         * stmt.c (expand_asm_operands): Don't promote the temporary.
2315
2316 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2317
2318         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
2319         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
2320           c_get_alias_set): Likewise.
2321         * c-decl.c (duplicate_decls): Likewise.
2322         * c-typeck.c (default_conversion,build_unary_op): Likewise.
2323         * calls.c (initialize_argument_information): Likewise.
2324         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
2325         Likewise.
2326         * dwarfout.c (decl_class_context,output_type): Likewise.
2327         * expr.c (get_inner_reference): Likewise.
2328         * fold-const.c (simple_operand_p,fold): Likewise.
2329         * function.c (aggregate_value_p): Likewise.
2330         * stmt.c (expand_asm_operands): Likewise.
2331         * varasm.c (named_section): Likewise.
2332
2333 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2334
2335         Implement dwarf2 exception handling for the ARM.
2336         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
2337         (DWARF_FRAME_RETURN_COLUMN): Define.
2338         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
2339         REG_FRAME_RELATED_EXPR note.
2340         (emit_sfm): Likewise.
2341         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
2342         * dwarf2out.c (reg_save): Handle saving a register to itself.
2343         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
2344         * except.c (eh_regs): Don't use the static chain reg if it's
2345         callee-saved.
2346         * frame.h (frame_state): Add cfa_saved field.
2347         * frame.c (execute_cfa_insn): Set it.
2348         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
2349         the epilogue.
2350         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
2351         Now takes a parm.
2352         (instantiate_virtual_regs): Adjust.
2353         * tm.texi: Adjust.
2354         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2355         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2356         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
2357
2358         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
2359         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
2360
2361 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2362
2363         * builtins.def: New file.
2364
2365         * Makefile.in (TREE_H): Depend on builtins.def.
2366
2367         * builtins.c (built_in_names): Use builtins.def.
2368
2369         * tree.h (built_in_function): Likewise.
2370
2371 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
2372
2373         * tree.c (size_in_bytes): Return size_zero_node, not
2374         integer_zero_node.
2375
2376 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
2377
2378         * config/fp-bit.c (pack_d): Correct the case when a denormal
2379         is rounded up and stops being denormal.
2380
2381 2000-03-21  Richard Henderson  <rth@cygnus.com>
2382
2383         * config/alpha/alpha.c (function_arg): Check for void_type_node
2384         before using MUST_PASS_IN_STACK.
2385
2386 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
2387
2388         * regmove.c (combine_stack_adjustments_for_block): Check that
2389         the stack pointer is a valid memory address.
2390
2391 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
2392
2393         * calls.c: re-install Mar 16 emit_library_call merge.
2394
2395 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
2396
2397         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
2398         we cannot be sure that if reload_completed base register will
2399         be properly aligned.
2400
2401 2000-03-21  Richard Henderson  <rth@cygnus.com>
2402
2403         * flow.c (delete_block): Fix typo last change.
2404
2405 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
2406
2407         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
2408         not COMPLETE_TYPE_P, to check the type of the expression.
2409
2410 2000-03-21  Michael Meissner  <meissner@redhat.com>
2411
2412         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
2413         all floating point insns that just tested the macro
2414         TARGET_HAS_XFLOATING_LIBS.
2415         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
2416         used to only use the gprs.
2417
2418 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
2419
2420         * tree.h (COMPLETE_TYPE_P): New macro.
2421         (COMPLETE_OR_VOID_TYPE_P): New macro.
2422         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
2423         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
2424         * c-aux-info.c (gen_type): Use them.
2425         * c-common.c (c_expand_expr_stmt): Likewise.
2426         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
2427         grokdeclarator, grokparms, finish_struct, start_function,
2428         store_parm_decls, combine_parm_decls): Likewise.
2429         * c-parse.y (cast_expr): Likewise.
2430         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
2431         c_size_in_bytes, c_alignof, build_component_ref,
2432         build_indirect_ref, build_array_ref, convert_arguments,
2433         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
2434         * calls.c (initialize_argument_information): Likewise.
2435         * convert.c (convert_to_integer): Likewise.
2436         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
2437         * dwarfout.c (location_or_const_value_attribute,
2438         output_enumeration_type_die, output_structure_type_die,
2439         output_union_type_die, output_type): Likewise.
2440         * expr.c (safe_from_p, expand_expr): Likewise.
2441         * function.c (assign_parms): Likewise.
2442         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
2443         * tree.c (build_array_type, build_function_type,
2444         build_method_type, build_offset_type, build_complex_type): Likewise.
2445         * c-parse.c, c-parse.h: Regenerated.
2446
2447 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2448
2449         * config/c4x/rtems.h: Include config/rtems.h.
2450
2451 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
2452
2453         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
2454         decl is a FUNCTION_DECL
2455
2456 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
2457
2458         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
2459         function uses output registers.  Don't save RP for leaf functions.
2460         Do save RP even if no epilogue.
2461         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
2462         (CALL_USED_REGISTERS): Unmark in registers.
2463         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
2464         to near the middle.
2465
2466 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
2467
2468         * config/rs6000/rs6000.md (bunordered): New expander.
2469         (bordered): New expander.
2470         (buneq): New expander.
2471         (bunge): New expander.
2472         (bungt): New expander.
2473         (bunle): New expander.
2474         (bunlt): New expander.
2475         (bltgt): New expander.
2476  
2477         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
2478         (ccr_bit_negated_p): New function.
2479         (print_operand): For %C, generate appropriate cror for UNEQ,
2480         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
2481
2482 2000-03-20  Andreas Jaeger  <aj@suse.de>
2483
2484         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
2485         warning.
2486
2487         * tree.h (safe_for_unsave): Prototype.
2488
2489 2000-03-20  Richard Henderson  <rth@cygnus.com>
2490
2491         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
2492         (combine_stack_adjustments_for_block): Don't allow sp references
2493         in the side of a set we're not fixing up.
2494         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
2495         after life_analysis.
2496
2497 2000-03-20  Richard Henderson  <rth@cygnus.com>
2498
2499         * calls.c (expand_call): Don't bother generating tail call
2500         sequences if there are pending cleanups.  Use
2501         expand_start_target_temps/expand_end_target_temps to elide
2502         cleanups created during sibcall expansion.
2503
2504 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
2505
2506         * configure.in: Set $IFS to a value if it doesn't already have one
2507         in the --enable-checking handling.
2508         * configure: Regenerate.
2509
2510 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2511
2512         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
2513         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2514         Regenerated.
2515
2516 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
2517
2518         * jump.c (delete_noop_moves): Remove code attempting to
2519         combine stack adjustments.
2520
2521 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2522
2523         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
2524         * except.c (emit_cleanup_handler): Use them.
2525         (expand_end_all_catch): Likewise.
2526         * function.c (fixup_var_refs): Likewise.
2527         (expand_function_end): Clear catch_clauses_last.
2528         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
2529         * except.h (struct eh_status): New field x_catch_clauses_last.
2530         (catch_clauses_last): New define.
2531
2532         * Makefile.in (tree.o): Depend on HASHTAB_H.
2533         * tree.c: Include hashtab.h.
2534         (struct type_hash): Remove next field.
2535         (TYPE_HASH_SIZE): Remove.
2536         (TYPE_HASH_INITIAL_SIZE): New define.
2537         (type_hash_table): Change type to htab_t.
2538         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
2539         mark_hash_entry): New functions.
2540         (init_obstacks): Allocate type hash.
2541         (type_hash_lookup): Use htab functions.
2542         (type_hash_add, mark_type_hash): Likewise.
2543         (dump_tree_statistics): Call print_type_hash_statistics.
2544
2545 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2546
2547         * rs6000/t-aix41: New file.
2548
2549         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
2550
2551 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
2552
2553         * tm.texi (Driver): Fix typos and tweak entry for
2554         INCLUDE_DEFAULTS.
2555         Move misplaced STRUCT_FORCE_BLK entry ...
2556         (Storage Layout): ... to here.
2557         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
2558
2559 2000-03-19  Richard Henderson  <rth@cygnus.com>
2560
2561         * flow.c (delete_block): Delete the addr_vec along with the block.
2562         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
2563         reference labels.
2564
2565         * fold-const.c (extract_muldiv): Apply type check for defined
2566         overflow to multiply as well as divide.
2567
2568         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
2569
2570 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
2571
2572         * emit-rtl.c (remove_unncessary_notes): Check that all
2573         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
2574         associated NOTE_BLOCK.
2575         * function.h (identify_blocks): Update comments.
2576         (reorder_blocks): Declare.
2577         * function.c (identify_blocks): Don't take paramters.
2578         (reorder_blocks): Don't take parameters.
2579         * loop.h (find_loop_tree_blocks): Remove.
2580         (unroll_block_trees): Likewise.
2581         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
2582         reorder_blocks instead of unroll_block_trees.h
2583         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
2584         * stmt.c (find_loop_tree_blocks): Remove.
2585         (unroll_block_trees): Likewise.
2586         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
2587         in whole-function mode.
2588         * tree.h (reorder_blocks): Remove declaration.
2589
2590         * expr.c: Include intl.h.
2591         * Makefile.in (expr.o): Depend on intl.h.
2592         
2593 2000-03-18  Richard Henderson  <rth@cygnus.com>
2594
2595         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
2596
2597 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
2598
2599         * tree.h (tree_index): Remove enumerals for integer types.
2600         (integer_type_kind): New type.
2601         (integer_types): New variable.
2602         (char_type_node): Adjust.
2603         (signed_char_type_node): Likewise.
2604         (unsigned_char_type_node): Likewise.
2605         (short_integer_type_node): Likewise.
2606         (short_unsigned_type_node): Likewise.
2607         (integer_type_node): Likewise.
2608         (unsigned_type_node): Likewise.
2609         (long_integer_type_node): Likewise.
2610         (long_unsigned_type_node): Likewise.
2611         (long_long_integer_type_node): Likewise.
2612         (long_long_unsigned_type_node): Likewise.
2613         * tree.c (integer_types): New variable.
2614         (init_obstacks): Register it as a root.
2615
2616 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
2617
2618         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
2619         NEXT_INSN. Update last insn in chain.
2620
2621 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
2622
2623         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
2624         with TYPE_DECL_SUPPRESS_DEBUG set.
2625
2626 2000-03-18  Richard Henderson  <rth@cygnus.com>
2627
2628         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
2629
2630 2000-03-18  Richard Henderson  <rth@cygnus.com>
2631
2632         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
2633         care for HALF_PIC_P.
2634         (expander_call_insn_operand): Remove.
2635         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
2636         * i386.h (PREDICATE_CODES): Update.
2637         * i386.md (all call expanders): Remove predicates, remove special
2638         handling for half-pic.
2639         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
2640         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
2641         (sibcall_epilogue): New.
2642
2643 2000-03-17  Richard Henderson  <rth@cygnus.com>
2644
2645         * rtlanal.c (single_set): Reject if the parallel has anything
2646         except SET or USE or CLOBBER.
2647
2648 2000-03-17  Jeff Law  <law@cygnus.com>
2649             Richard Henderson  <rth@cygnus.com>
2650
2651         * Makefile.in (OBJS): Add sibcall.o.
2652         (sibcall.o): New.
2653         * sibcall.c: New file.
2654         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
2655         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
2656         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
2657         Emit sibcall patterns when requested.  Update all callers.
2658         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
2659         elimination seems feasable.
2660         * final.c (leaf_function_p): Sibling calls don't discount being
2661         a leaf function.
2662         * flow.c (HAVE_sibcall_epilogue): Provide default.
2663         (find_basic_blocks_1): Sibling calls don't throw.
2664         (make_edges): Make edge from sibling call to EXIT.
2665         (propagate_block): Don't remove sibcall_epilogue insns.
2666         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
2667         (sibcall_epilogue): New.
2668         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
2669         (identify_blocks_1): Likewise.  Break out from ...
2670         (identify_blocks): ... here.
2671         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
2672         (reorder_blocks): ... here.
2673         (init_function_for_compilation): Zap prologue/epilogue as varrays.
2674         (record_insns): Extend a varray instead of mallocing new memory.
2675         (contains): Read a varray not array of ints.
2676         (sibcall_epilogue_contains): New.
2677         (thread_prologue_and_epilogue_insns): Emit and record
2678         sibcall_epilogue patterns.
2679         (init_function_once): Allocate prologue/epilogue varrays.
2680         * genflags.c (gen_insn): Treat sibcall patterns as calls.
2681         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
2682         Broken out from ...
2683         (save_for_inline_nocopy): ... here.
2684         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
2685         Broken out from ...
2686         (expand_inline_function): ... here.
2687         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
2688         (subst_constants): Handle 'n' formats.
2689         * jump.c (jump_optimize_minimal): New.
2690         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
2691         optimizations if it's set.
2692         * rtl.c (copy_rtx): Do copy jump & call for insns.
2693         * rtl.h (struct rtx_def): Document use of jump and call for insns.
2694         (SIBLING_CALL_P): New.
2695         (sibcall_use_t): New.
2696         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
2697         Invoke optimize_sibling_and_tail_recursive_calls.
2698         * tree.c (lang_safe_for_unsave): New.
2699         (safe_for_unsave): New.
2700         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
2701
2702         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
2703         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
2704         (*sibcall_osf_1, *sibcall_value_osf_1): New.
2705
2706 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
2707
2708         * objc/objc-act.c (encode_method_prototype): Pass types, not
2709         PARM_DECLs, to int_size_in_bytes.
2710
2711 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
2712
2713         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
2714
2715         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2716         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
2717
2718 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2719
2720         * Clean up usages of TREE_INT_CST_LOW.
2721         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
2722         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2723         Regenerated.
2724         * c-tree.h (min_precision): Move declaration to here.
2725         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
2726         (build_unary_op, add_pending_init): Use bit_position.
2727         (pending_init_member, process_init_element): Likewise.
2728         (really_start_incremental_init, push_init_level, pop_init_level):
2729         Don't make copies of nodes or modify them in place, use consistent
2730         types when tracking positions, and use tree routines computations.
2731         (set_init_index, output_init_element): Likewise.
2732         (output_pending_init_elements, process_init_element): Likewise.
2733         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
2734         tree_low_cst and int_bit_position; also minor cleanup.
2735         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
2736         (print_cst_octal): Precision is unsigned.
2737         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
2738         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
2739         (simple_type_align_in_bits): Result is unsigned int.
2740         Use tree_int_low_cst and host_integerp.
2741         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
2742         (field_byte_offset): Result is HOST_WIDE_INT.
2743         Change types of internal variables so alignments are unsigned int,
2744         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
2745         Use host_integerp, tree_low_cst, and int_bit_position.
2746         (add_bit_offset_attribute): Likewise.
2747         (add_data_member_location_attribute): Use tree_cst_low.
2748         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
2749         (add_bit_size_attribute): Use tree_low_cst.
2750         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
2751         * dwarfout.c: Similar changes to dwarf2out.c.
2752         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
2753         * genoutput.c (n_occurences): Return -1 for null string.
2754         (strip_whitespace): Accept null string and make into function.
2755         (scan_operands): Reflect above changes.
2756         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
2757         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
2758         * ssa.c (rename_registers): Add missing cast of arg to bzero.
2759         * tree.c (int_size_in_bytes): Check for too big to represent.
2760         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
2761         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
2762         New declarations.
2763         (min_precision): Delete from here.
2764         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
2765         and int_bit_position.
2766         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
2767         (encode_method_def): Likewise.
2768         (build_ivar_list_initializer): Use int_bit_position.
2769         (generate_shared_structures): Convert size.
2770         (encode_type, encode_complete_bitfield): Use integer_zerop.
2771         (encode_bitfield): Use tree_low_cst and int_bit_position.
2772         
2773 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2774
2775         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
2776
2777 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2778
2779         * call.c (special_function_p): It is only malloc if it returns
2780         Pmode.
2781
2782 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2783
2784         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
2785         (C33_FLAG, TARGET_C3X): Add macros.
2786         (TARGET_SWITCHES): Add -m33 option.
2787         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
2788         
2789 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2790         
2791         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
2792         (PARALLEL_PACK_FLAG): Delete.
2793         (TARGET_SWITCHES): Update.
2794         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
2795
2796 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2797
2798         * fold-const.c (fold): Fix a few cases when the returned result
2799         is not of the same type as the input.
2800
2801 2000-03-16  Nick Clifton  <nickc@cygnus.com>
2802
2803         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
2804         warning.
2805
2806 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2807
2808         * libgcc2.h: Move prototypes above macros with the same name.
2809         Wrap some function prototypes in the conditional which indicates
2810         whether they are supported, i.e. "BITS_PER_UNIT == 8".
2811
2812 2000-03-16  Richard Henderson  <rth@cygnus.com>
2813
2814         * calls.c: Revert last two changes.
2815
2816 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
2817
2818         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
2819         has exponent 0 is a zero.
2820
2821         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
2822         HASH may already be nonzero.  Add code/mode into hash value
2823         immediately after repeat label.
2824         (cselib_lookup): Don't leave the hash table in an inconsistent
2825         state before a hash lookup operation.
2826
2827 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
2828
2829         * i386.md (all HI and QI mode non-move patterns):  Conditionize
2830         by TARGET_[HQ]IMODE_MATH.
2831         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2832         x86_promote_qi_regs): Declare.
2833         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
2834         TARGET_PROMOTE_QI_REGS): New macros.
2835         (PROMOTE_MODE): New macro.
2836         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2837         x86_promote_qi_regs): New global variables.
2838
2839 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
2840
2841         * calls.c (emit_library_call_value_1): Break out from ...; handle
2842         VOIDmode function calls too.
2843         (emit_library_call_value): ... here.
2844         (emit_library_call): Implement by calling emit_library_call_value_1.
2845
2846 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
2847
2848         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
2849         Update arg_space_so_far on stack adjustments.
2850         (emit_library_call, emit_library_call_value): Likewise; take into
2851         account arg_space_so_far and pending_stack_adjust when calculcating
2852         the boundary.
2853
2854 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
2855
2856         * flow.c: Move all basic block reordering code into its own file.
2857         (create_basic_block): Externalize.
2858         * bb-reorder.c: New file. Copy all basic block reordering code from
2859         flow.c to this file.
2860         (reorder_basic_blocks): Fix fencepost error in for-loop.
2861         (reorder_basic_blocks): Remove braces from single statement for-loops.
2862         * basic-block.h: Add declaration for create_basic_block.
2863         * Makefile.in: Add rules for bb-reorder.o.
2864
2865 2000-03-16  Neil Booth  <NeilB@earthling.net>
2866
2867         * cppinit.c (handle_option):  Implement #unassert directive
2868         as -A- command line option.
2869         (print_help):  Update.
2870         * cpptexi.c:  Update.
2871
2872 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2873
2874         * md.texi (Standard Names): Document `jump'.
2875
2876 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
2877
2878         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
2879         gotos.
2880
2881 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
2882
2883         See the ChangeLog on the branch for more details.
2884         
2885         * configure.in: Merge in changes from newppc-branch.
2886         * configure: Regenerate.
2887         * config/rs6000/*: Merge in changes from newppc-branch.
2888         Also correct copyright notices.
2889
2890 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
2891
2892         * acconfig.h (HAVE_GAS_WEAK): New define.
2893         * configure.in (assembler weak support): Check for .weak support.
2894         * config.in, configure: Rebuilt.
2895         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
2896         HAVE_GAS_WEAK is defined.
2897
2898 2000-03-15  Nick Clifton  <nickc@cygnus.com>
2899
2900         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
2901         asm_fprintf().
2902
2903 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
2904
2905         * cppfiles.c (open_include_file): New function.
2906         (find_include_file, cpp_read_file): Use it.
2907
2908 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
2909
2910         * cpphash.c (dump_hash_helper): Take the slot, not the element.
2911
2912 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
2913
2914         * flow.c (verify_flow_info): Check for unconditional return.
2915
2916 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
2917
2918         * config/ia64/ia64.md (restore_stack_nonlocal): New.
2919         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
2920         (__ia64_restore_stack_nonlocal): New.
2921         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
2922
2923 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2924
2925         * cpphash.c (collect_formal_parameters): Do not complain about
2926         parameter names that just start with `__VA_ARGS__'.
2927
2928 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
2929
2930         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
2931         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
2932         * i386.c (pentiumpro_cost): Set mul cost to 4.
2933         (x86_use_movx): Set for PPro.
2934
2935 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
2936
2937         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
2938         STACK_BOUNDARY for empty frames now.
2939
2940 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
2941
2942         * stor-layout.c (layout_union): Remove.
2943         (layout_union_field): New function, split out from layout_union.
2944         (finish_union_layout): Likewise.
2945         (layout_field): Handle unions by calling layout_union_field.
2946         (finish_record_layout): Handle unions.
2947         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
2948         QUAL_UNION_TYPE handling.
2949
2950 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
2951
2952         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
2953         end of basic block is jump_insn, not barrier; use create_basic_block
2954         instead of creating basic block by hand.
2955
2956 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
2957
2958         * flow.c (reorder_basic_blocks): Account for barriers when writing
2959         over NEXT_INSN (last_bb->end).
2960         (verify_flow_info): Add check for missing barriers.
2961
2962 2000-03-14  Greg McGary  <gkm@gnu.org>
2963
2964         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
2965         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
2966         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
2967         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
2968         __unbounded, __unbounded__): New keywords.
2969         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
2970         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
2971         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
2972
2973 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
2974
2975         * cselib.h: New file.
2976         * alias.c: Include "cselib.h".
2977         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
2978         MEMs as two new arguments.
2979         (get_addr): New static function.
2980         (find_base_term): Handle VALUEs.
2981         (memrefs_conflict_p): Likewise.
2982         (true_dependence): Call get_addr on the addresses.
2983         Call fixed_scalar_and_varying_struct_p with addresses that have been
2984         passed through get_addr and canon_rtx.
2985         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
2986         with true_dependence.
2987         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
2988         * loop.c: Include "cselib.h".
2989         (load_mems): Process extended basic block that enters the loop with
2990         cselib.  Use that information to change initialization of the shadow
2991         register so that a constant equivalence is seen by later passes.
2992         * reload1.c: Include "cselib.h".
2993         (reload_cse_invalidate_regno): Delete function.
2994         (reload_cse_mem_conflict_p): Likewise.
2995         (reload_cse_invalidate_mem): Likewise.
2996         (reload_cse_invalidate_rtx): Likewise.
2997         (reload_cse_regno_equal_p): Likewise.
2998         (reload_cse_check_clobber): Likewise.
2999         (reload_cse_record_set): Likewise.
3000         (reg_values): Delete static variable.
3001         (invalidate_regno_rtx): Likewise.
3002         (reload_cse_delete_noop_set): New static function.
3003         (reload_cse_simplify): New static function, broken out of
3004         reload_cse_regs_1.
3005         (reload_cse_noop_set_p): Delete unused argument INSN.
3006         Just call rtx_equal_for_cselib_p on set source and destination.
3007         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
3008         reload_cse_delete_noop_set.  Delete code to keep track of values; use
3009         cselib functions instead.  Delete code to push/pop obstacks.
3010         (reload_cse_simplify_set): Use cselib to find equivalent values.
3011         Delete code to push/pop obstacks.
3012         (reload_cse_simplify_operands): Likewise.
3013         * rtl.def (VALUE): New rtx code.
3014         * rtl.h (union rtunion_def): New elt rt_cselib.
3015         (X0CSELIB, CSELIB_VAL_PTR): New macros.
3016         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
3017         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
3018         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
3019         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
3020         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
3021         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
3022         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
3023         cselib_record_set, cselib_record_sets): New static functions.
3024         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
3025         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
3026         references_value_p): New functions.
3027         (MAX_USELESS_VALUES, REG_VALUES): New macros.
3028         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
3029         n_useless_values, reg_values, callmem, cselib_obstack,
3030         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
3031         New static variables.
3032         * varray.h (union varray_data_tag): New elt te.
3033         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
3034         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
3035         dependencies.
3036
3037 2000-03-14  Nick Clifton  <nickc@cygnus.com>
3038
3039         * gcc.c (do_spec_1): Catch the case where %* is used in a
3040         substitution pattern, but it has not been initialised.
3041         Issue a meaningful error message if an unrecognised operator
3042         is encountered in a spec string.
3043
3044 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
3045
3046         * function.c (prepare_function_start): Correctly initialize
3047         cfun->stack_alignment_needed.
3048
3049 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
3050
3051         * cppfiles.c (find_include_file): Don't assume nshort is a
3052         substring of name.
3053
3054 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
3055
3056         * configure.in (hppa configurations): Add pa32-regs.h to the
3057         list of tm files as appropriate.
3058         * configure: Rebuilt.
3059         * pa.c (compute_frame_size): Remove explicit knowledge about FP
3060         register numbering.
3061         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
3062         (fmpyaddoperands, fmpysuboperands): Likewise.
3063         * pa.h: Remove various definitions which depend on knowing
3064         how registers are numbered.
3065         * pa32-regs.h: New file with PA32 register numbering specific
3066         definitions.
3067
3068 2000-03-14  Richard Henderson  <rth@cygnus.com>
3069
3070         * regmove.c (combine_stack_adjustments): New.
3071         (stack_memref_p, single_set_for_csa): New.
3072         (free_csa_memlist, record_one_stack_memref): New.
3073         (try_apply_stack_adjustment): New.
3074         (combine_stack_adjustments_for_block): New.
3075         * rtl.h (combine_stack_adjustments): Declare.
3076         * toplev.c (rest_of_compilation): Call it.
3077
3078         * i386.md: Revert 2000-01-16 change.
3079
3080 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3081
3082         * gccbug.in: Add web category, gcc specific classes.
3083
3084 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
3085
3086         * stor-layout.c (finalize_record_size): Fix typo.
3087
3088 2000-03-14  Stan Shebs  <shebs@apple.com>
3089
3090         * c-typeck.c (c_alignof): Error on incomplete types.
3091         * extend.texi (Alignment): Document this.
3092
3093 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
3094
3095         * cppfiles.c: Include mkdeps.h.
3096         (find_include_file, read_include_file): Remove _cpp_ prefix
3097         from name, make static.
3098         (_cpp_execute_include): New function, broken out of
3099         do_include.
3100
3101         * cpplib.c: Don't include mkdeps.h.
3102         (struct directive): Remove type field. Reorder entries.  The
3103         function takes only one argument.
3104         (struct if_stack): Make type field an int.
3105         (directive_table): Rename to dtable.  Generate it, the
3106         prototypes of the directive handlers, and the enum for the
3107         directive numbers, from a template macro.
3108         (do_ifndef, do_include_next, do_import): New functions.
3109         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
3110         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
3111         do_ident, do_assert, do_unassert, do_sccs): Take only one
3112         argument.
3113         (do_sccs): Define always, but alter behavior based on
3114         SCCS_DIRECTIVE.
3115         (_cpp_handle_directive, consider_directive_while_skipping):
3116         Restructure for new directive table layout.
3117
3118         (pass_thru_directive): Take a directive number, not a pointer
3119         to a struct directive.
3120         (parse_include): New function, broken out of do_include.
3121         (do_include, do_import, do_include_next): Use parse_include
3122         and _cpp_execute_include.
3123         (do_elif, do_else): Test for T_ELSE specifically when checking
3124         for #elif/#else after #else.
3125         (parse_ifdef): New function, broken out of do_ifdef.
3126         (validate_else): Expect a name arg without a leading #.
3127         (if_directive_name): Delete.
3128         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
3129         directive handlers with only one argument.
3130
3131         * cpphash.h: Update prototypes.
3132         (enum node_type): Remove entries for directives.
3133         * Makefile.in: Update dependencies.
3134
3135         * cpphash.c (dump_hash_helper): Only dump nodes of type
3136         T_MACRO.  Emit a newline after each definition.
3137
3138 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3139
3140         * gccbug.in: New file.
3141         * configure.in (all_outputs): Add gccbug.
3142         * Makefile.in (install-common): Install gccbug.
3143         (GCCBUG_INSTALL_NAME): New variable.
3144         * configure: Rebuilt.
3145         
3146 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
3147
3148         * function.c (put_var_into_stack): Use type_for_mode to calculate
3149         part_type.  Use MEM_SET_IN_STRUCT_P.
3150         * expr.c (store_field): Handle CONCAT.
3151         (store_constructor): Use fields_length.
3152         * tree.c (fields_length): New fn.
3153         * tree.h: Declare it.
3154
3155 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
3156
3157         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
3158         (cpplex.o): New target.
3159         * po/POTFILES.in: Add cpplex.c.
3160
3161         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
3162         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
3163         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
3164         skip_block_comment, skip_line_comment, skip_comment,
3165         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
3166         _cpp_parse_name, skip_string, parse_string,
3167         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
3168         _cpp_get_directive_token, find_position,
3169         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
3170         (maybe_macroexpand, _cpp_lex_token): New functions.
3171
3172         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
3173         parse_goto_mark): Delete.
3174         (_cpp_handle_eof): New function.
3175         (_cpp_handle_directive): Rename from handle_directive.
3176         (_cpp_output_line_command): Rename from output_line_command.
3177         (do_if, do_elif): Call _cpp_parse_expr directly.
3178         * cppfiles.c (_cpp_read_include_file): Don't call
3179         init_input_buffer here.
3180         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
3181         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
3182         here; pop the token_buffer and skip the rest of the line here.
3183         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
3184         here.
3185
3186         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
3187         Define here.
3188         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
3189         CPP_GOTO_MARK): New macros.
3190         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
3191         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
3192         _cpp_read_and_prescan, _cpp_init_input_buffer,
3193         _cpp_grow_token_buffer, _cpp_get_directive_token,
3194         _cpp_handle_directive, _cpp_handle_eof,
3195         _cpp_output_line_command): Prototype them here.
3196         * cpplib.h (enum cpp_token): Add CPP_MACRO.
3197         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
3198         quote_string, output_line_command): Remove.
3199
3200 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
3201
3202         * stmt.c (expand_end_case): RANGE may be signed, and when checking
3203         whether it is too large we must also verify that it isn't negative.
3204
3205 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
3206
3207         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
3208         (movsi_zero_liveg0): Remove.
3209         (movsf_insn_novis_liveg0): Remove.
3210         (negsi2): Remove.
3211         (negsi2_not_liveg0): Rename to negsi2.
3212         (one_cmplsi2): Remove.
3213         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
3214         (one_cmplsi2_liveg0): Remove.
3215         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
3216         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
3217         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
3218         (PREDICATE_CODES): Remove zero_operand.
3219         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
3220         TARGET_BROKEN_SAVERESTORE.
3221         (zero_operand): Remove.
3222         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
3223         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
3224         options.
3225         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
3226         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
3227         TARGET_BROKEN_SAVERESTORE): Remove.
3228         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
3229         Remove.
3230         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
3231         Remove.
3232         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
3233         Remove.
3234
3235         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
3236
3237 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
3238
3239         * cpplib.c (do_pragma_implementation): Fix off-by-one error
3240         truncating a string.  Don't assume tokens are nul terminated.
3241         Problem noted by Andreas Jaeger <aj@suse.de>
3242
3243 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
3244
3245         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
3246         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
3247         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
3248
3249 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
3250
3251         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
3252         STRUCTURE_SIZE_BOUNDARY.
3253
3254 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
3255
3256         * tree.h (record_layout_info_s): New structure.
3257         (record_layout_info): New type.
3258         (new_record_layout_info): New function.
3259         (layout_field): Likewise.
3260         (finish_record_layout): Likewise.
3261         * stor-layout.c (layout_record): Remove.
3262         (new_record_layout_info): New function.
3263         (layout_field): New function, broken out from layout_record.
3264         (finalize_record_size): Likewise.
3265         (compute_record_mode): Likewise.
3266         (finalize_type_size): New function, broken out from layout_type.
3267         (finish_record_layout): Likewise.
3268         (layout_type): Use them.
3269         
3270 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
3271
3272         * cpphash.c: Don't include version.h.
3273         (special_symbol) [case T_VERSION]: Look for the string in
3274         hp->value.cpval; don't use version_string.
3275         * cppinit.c (initialize_builtins): Set hp->value.cpval for
3276         __VERSION__ to version_string.
3277         * Makefile.in (cpphash.o): Update deps.
3278
3279 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
3280
3281         Convert cpplib to use libiberty/hashtab.c.
3282
3283         * cpplib.h (struct cpp_reader): Make hashtab and
3284         all_include_files of type 'struct htab *'.  Delete HASHSIZE
3285         and ALL_INCLUDE_HASHSIZE macros.
3286
3287         * cpphash.h: Update prototypes.
3288         (struct hashnode): Remove next, prev, and bucket_hdr members.
3289         Make length a size_t.  Add hash member.
3290         (struct ihash): Remove next member.  Add hash member.  Make
3291         name a flexible array member.
3292
3293         * cppfiles.c: Include hashtab.h.
3294         (include_hash): Delete.
3295         (IHASHSIZE): New macro.
3296         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
3297         (cpp_included): Do the hash lookup here.
3298         (_cpp_find_include_file): Rewrite.
3299         (cpp_read_file): Put the "fake" hash entry into the hash
3300         table.  Honor the control_macro, if it turns out we've seen
3301         the file before.  Don't push the buffer here.
3302         (_cpp_read_include_file): Push the buffer here.
3303         (OMODES): New macro.  Use it whenever we call open(2).
3304
3305         * cpphash.c: Include hashtab.h.
3306         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
3307         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
3308         _cpp_lookup_slot): New functions.
3309         (HASHSIZE): new macro.
3310         (hashf, _cpp_install, _cpp_delete_macro): Delete.
3311         (_cpp_lookup): Use hashtab.h routines.
3312
3313         * cppinit.c: Include hashtab.h.
3314         (cpp_reader_init): Call _cpp_init_macro_hash and
3315         _cpp_init_include_hash.  Don't allocate hashtab directly.
3316         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
3317         pfile->all_include_files.
3318         (initialize_builtins): Use _cpp_make_hashnode and
3319         htab_find_slot to add hash entries.
3320         (cpp_finish): Just call _cpp_dump_macro_hash.
3321         * cpplib.c: Include hashtab.h.
3322         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
3323         create hash entries.
3324         (do_pragma_poison, do_assert): Likewise.
3325         (do_include): Don't push the buffer here.  Don't increment
3326         system_include_depth unless _cpp_read_include_file succeeds.
3327         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
3328         or htab_remove_elt.
3329         (do_pragma_implementation): Use alloca to create copy.
3330
3331         * Makefile.in: Update dependencies.
3332
3333 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3334
3335         * cppinit.c (cl_directive_handler): More K&R fixing.
3336
3337 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
3338
3339         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
3340         STACK_BOUNDARY.
3341         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
3342
3343 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3344
3345         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
3346         Change from char[] to macros.
3347
3348 2000-03-12  Neil Booth  <NeilB@earthling.net>
3349
3350         * cppinit.c (cpp_start_read): Update indirect function
3351         call to K&R C.
3352
3353 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
3354
3355         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
3356         entry.
3357
3358         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3359         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
3360
3361 2000-03-11  Neil Booth  <NeilB@earthling.net>
3362
3363         * cppinit.c (struct pending option): Replace undef with a 
3364         pointer to a directive handling routine.
3365         (struct cpp_pending): Replace separate assert_ and define_ 
3366         lists with one directive_ list.
3367         (new_pending_define): Rename new_pending_directive. Extra
3368         argument is the directive's handling routine.
3369         (handle_option): Update to use new_pending_directive.
3370
3371 2000-03-11  Neil Booth  <NeilB@earthling.net>
3372
3373         * cppfiles.c (file_cleanup, _cpp_find_include_file,
3374         remap_filename, _cpp_read_include_file, actual_directory,
3375         hack_vms_include_specification): Replace bcopy(), index() etc
3376         calls.  Add casts to some allocations.  Make some variables
3377         pointers to const [unsigned] char.
3378         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
3379         collect_formal_parameters): Similarly.
3380         * cppinit.c (struct pending_option, append_include_chain,
3381         cpp_options_init, cpp_reader_init, initialize_standard_includes,
3382         cpp_start_read, new_pending_define, handle_option): Similarly.
3383         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
3384         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
3385         do_pragma_implementation, detect_if_not_defined,
3386         do_ifdef, skip_if_group, cpp_get_token, parse_string,
3387         do_assert, do_unassert): Similarly.
3388         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
3389         function prototypes.
3390         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
3391
3392 2000-03-10  Richard Henderson  <rth@cygnus.com>
3393
3394         * builtins.c (expand_builtin_strlen): Revert last change.
3395         Use emit_insn_before if we're at the beginning of a sequence.
3396
3397 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
3398
3399         * builtins.c (expand_builtin_strlen): Make sure that we have something
3400         at the beginning of the sequence.
3401
3402         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
3403         deferred inlines.
3404
3405         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
3406
3407 2000-03-10  Richard Henderson  <rth@cygnus.com>
3408
3409         * except.c (can_throw): Use INTVAL on a CONST_INT.
3410         (reachable_handlers): Likewise.
3411         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
3412
3413 2000-03-10  Andreas Jaeger  <aj@suse.de>
3414
3415         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
3416         MD_STARTFILE_PREFIX since those are not needed on linux.
3417         (ASM_FILE_START): New, from mips/gnu.h.
3418
3419 2000-03-09  Richard Henderson  <rth@cygnus.com>
3420             Alex Samuel  <samuel@codesourcery.com> and others
3421         
3422         * Makefile.in (ssa.o): New rule.
3423         (OBJS): Add ssa.o.
3424         (STAGESTUFF): Add *.ssa and *.ussa.
3425         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
3426         * rtl.def (PHI): New RTL expression.
3427         * rtl.h (clear_log_links): New declaration.
3428         (convert_to_ssa): Likewise.
3429         (convert_from_ssa): Likewise.
3430         * flow.c (split_edge): If the entry node falls through to the
3431         split edge's source block, split the entry edge.
3432         (clear_log_links): New function.
3433         * toplev.c (ssa_dump): New variable.
3434         (flag_ssa): Likewise.
3435         (f_options): Add "ssa".
3436         (compile_file): Create SSA dump files.
3437         (rest_of_compilation): Go to and from SSA if enabled.
3438         (decide_d_option): Handle -de for SSA dump files.
3439         * ssa.c: New file.
3440         
3441 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
3442
3443         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
3444         same as VAR_DECL.
3445
3446 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
3447
3448         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
3449
3450 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
3451
3452         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
3453         (MD_STARTFILE_PREFIX_1): New macro.
3454
3455 2000-03-09  Robert Lipe  <robertl@sco.com>
3456
3457         * config/ia64/ia64.c: Include system.h.
3458
3459 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
3460
3461         * except.c (nothrow_function_p): If -fno-exceptions, just return.
3462         (init_eh_nesting_info): Likewise.
3463
3464         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
3465         (TREE_NOTHROW): Rename from TREE_RAISES.
3466         * toplev.c (rest_of_compilation): Set it.
3467         * print-tree.c (print_node): Adjust.
3468         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
3469         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
3470         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
3471         REG_EH_REGION note as appropriate.
3472         (libfunc_nothrow): New fn.
3473         (emit_library_call, emit_library_call_value): Use it.
3474         (expand_call): Check TREE_NOTHROW.
3475
3476         * varasm.c (make_decl_rtl): Skip initial '*' when setting
3477         DECL_ASSEMBLER_NAME.
3478
3479 2000-03-09  Andreas Jaeger  <aj@suse.de>
3480
3481         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
3482         (TARGET_MEM_FUNCTIONS): Define.
3483
3484 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
3485
3486         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
3487
3488         * except.c (can_throw): See through a SEQUENCE.
3489         (nothrow_function_p): New fn.
3490         * except.h: Declare it.
3491         * function.c (current_function_nothrow): New var.
3492         (prepare_function_start): Initialize it.
3493         * output.h: Declare it.
3494         * toplev.c (rest_of_compilation): Set it.
3495         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
3496
3497 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
3498
3499         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
3500         match.  (cpp_compare_defs): Count the nul separator when
3501         advancing over argument names.
3502
3503 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
3504
3505         * recog.c (preprocess_constraints): Matching constraints affect
3506         same alternative/different operand, not same operand/different
3507         alternative.
3508         
3509         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
3510         register and a constant specially.
3511
3512 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3513
3514         * libgcc2.h: New file.
3515         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
3516
3517 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
3518
3519         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
3520         * configure: Regenerate.
3521         * config/ia64: New.
3522
3523 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
3524
3525         * Makefile.in (LIBCPP_DEPS): New macro.
3526         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
3527         it to declare deps.
3528         * cpperror.c: Include cpphash.h.
3529         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
3530         dingleberry.
3531         (lex): Don't use CPP_WARN_UNDEF.
3532         (_cpp_parse_expr): Return an int, the truth value.
3533         * cppfiles.c: Include cpphash.h.
3534         (_cpp_merge_include_chains): Move to cppinit.c and make static.
3535         * cppinit.c (include_defaults_array): Disentangle.
3536         (cpp_cleanup): Don't free the if stack here.
3537         (cpp_finish): Pop off all buffers, not just one.
3538         * cpplib.c (eval_if_expr): Return int.
3539         (do_xifdef): Rename do_ifdef.
3540         (handle_directive): Don't use CPP_PREPROCESSED. 
3541         (cpp_get_token): Don't use CPP_C89.
3542         * fix-header.c: Don't use CPP_OPTIONS.
3543
3544         * cpplib.h: Move U_CHAR, enum node_type, struct
3545         file_name_list, struct ihash, is_idchar, is_idstart,
3546         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
3547         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
3548         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
3549         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
3550         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
3551         of _cpp_simplify_pathname, _cpp_find_include_file,
3552         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
3553         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
3554         cppinit.c.
3555         Change all uses of U_CHAR to be unsigned char instead.
3556         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
3557
3558 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
3559
3560         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
3561         (dwarf2out_begin_prologue): Set it.
3562         (output_call_frame_info): Don't emit EH unwind info for leaves.
3563
3564         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
3565         can occur outside of an EH region.
3566         * except.c: Correct comments about rethrow behavior.
3567         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
3568
3569 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
3570
3571         * flow.c (make_edges): Always call make_eh_edge for calls.
3572
3573 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
3574
3575         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
3576         (struct cpp_buffer): Remove fname and underflow fields.
3577         (struct cpp_reader): Remove get_token field.
3578         (struct include_hash): Rename to struct ihash.  Add typedef to
3579         IHASH.
3580         (struct if_stack): Remove fname field.
3581         (IF_STACK_FRAME): Rename to IF_STACK.
3582
3583         * cpperror.c (print_containing_files): Trust that there are no
3584         macro buffers below the top file buffer.
3585         * cppfiles.c: Replace all references to 'struct include_hash'
3586         with 'IHASH'.  Rename initialize_input_buffer to
3587         init_input_buffer.  Don't set or reference cpp_buffer->fname,
3588         use buffer->ihash->name instead.
3589         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
3590         not CPP_NULL_BUFFER.
3591         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
3592         IF_STACK_FRAME, IHASH not struct include_hash.
3593         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
3594         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
3595         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
3596         references to cpp_buffer->fname (delete entirely, or use
3597         ->ihash->name instead) and IF_STACK->fname.
3598         (cpp_push_buffer): Don't set new->underflow.
3599         (do_include): Use cpp_file_buffer.
3600
3601         * cpphash.c (collect_formal_parameters): Remove duplicate
3602         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
3603         used as a macro argument name.  Don't append "..." to namebuf
3604         for varargs macros.  After we're done scanning, go through
3605         namebuf and make it NUL separated, not comma separated.
3606         (_cpp_compare_defs): Remove register tag from variables.
3607         Expect defn->argnames to be NUL separated.
3608         (_cpp_dump_definition): Expect defn->argnames to be NUL
3609         separated and in forward order.
3610         * cpphash.h: Update documentation of argnames field.
3611
3612 2000-03-08  Richard Henderson  <rth@cygnus.com>
3613
3614         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
3615         to fail.  Don't pre-expand the source operand.
3616
3617         * i386.md (strlensi): Initialize eoschar and align before use.
3618
3619 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
3620
3621         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
3622         CONSTRUCTOR element.
3623
3624 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
3625
3626         * mips.c (mips_expand_prologue): If the last 
3627         named argument is the vararg marker "va_list", treat it as
3628         an unnamed argument.
3629
3630 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
3631
3632         * dbxout.c (dbxout_parms): When correcting for promoted 
3633         big-endian parameters, use the mode of the DECL_RTL rather 
3634         than UNITS_PER_WORD.
3635
3636 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
3637
3638         * c-common.h (make_fname_decl): Declare.
3639         * c-common.c (make_fname_decl): Define.
3640         (declare_hidden_char_array): Remove.
3641         (declare_function_name): Use make_fname_decl.
3642         * c-decl.c (c_make_fname_decl): New function.
3643         (init_decl_processing): Set make_fname_decl.
3644
3645 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
3646
3647         * cccp.c (handle_directive): Initialize backslash_newlines_p.
3648
3649 2000-03-07  Philipp Thomas  <pthomas@suse.de>
3650
3651         * po/POTFILES.in: Remove cppalloc.c from file list.
3652
3653 2000-03-07  Steve Chamberlain  <sac@pobox.com>
3654
3655         * pj.c (pj_expand_prologue): current_function->args_info is
3656         now current_function_args_info.  
3657
3658         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
3659         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
3660         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
3661
3662 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3663
3664         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
3665         output as hexadecimal rather than the default octal.
3666
3667 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
3668
3669         * cpphash.c (special_symbol): Fix thinko in previous commit.
3670
3671 2000-03-07  Neil Booth  <NeilB@earthling.net>
3672
3673         * cppexp.c (struct operation, left_shift, right_shift,
3674         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
3675         "int"s to "unsigned int"s.
3676         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
3677         Similarly.
3678         * cpplib.h: Update for above.
3679         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
3680         returned from allocations.
3681
3682         * cppinit.c (opt_comp, parse_options): New functions.
3683         (handle_option): Use parse_option to parse a single command
3684         line option, that possibly takes an argument.
3685         (cpp_handle_options): Sort the array of command line options on
3686         first invocation (non-ASCII hosts only).
3687         (print_help): Update.
3688
3689 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
3690
3691         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
3692         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
3693         
3694         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
3695         initialized.
3696         * cppinit.c (cpp_cleanup): Free imp->nshort also.
3697
3698         * cpperror.c (cpp_print_containing_files,
3699         cpp_print_file_and_line, v_cpp_message): Rename to
3700         print_containing_files, print_file_and_line, and v_message.
3701         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
3702         to _cpp_parse_expr, parse_escape, and lex.
3703         (parse_charconst): Remove broken multibyte support.
3704         * cppfiles.c (include_hash): Make static.
3705         (cpp_included): New function.
3706         (merge_include_chains, find_include_file, finclude,
3707         simplify_pathname): Rename to _cpp_merge_include_chains,
3708         _cpp_find_include_file, _cpp_read_include_file, and
3709         _cpp_simplify_pathname.
3710         * cpphash.c (cpp_lookup, free_definition, delete_macro,
3711         cpp_install, create_definition, macroexpand, compare_defs,
3712         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
3713         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
3714         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
3715         * cppinit.c (cpp_handle_option): Rename to handle_option, make
3716         static.
3717         * cpplib.c: Remove extern prototype of cpp_parse_expr.
3718
3719         * cpphash.h: Update prototypes.
3720         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
3721
3722 2000-03-07  Andrew Haley  <aph@cygnus.com>
3723
3724         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
3725         PTRDIFF_TYPE should be based solely on Pmode.
3726         (SIZE_TYPE): ditto.
3727
3728 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3729
3730         * rtl.h (rtunion_def): Constify member `rtstr'.
3731         (emit_line_note_after, emit_line_note, emit_line_note_force,
3732         emit_note, decode_asm_operands): Constify.
3733         
3734         * cse.c (canon_hash): Likewise.
3735
3736         * dbxout.c (dbxout_block): Likewise.
3737
3738         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
3739         v_warning_for_asm): Likewise.
3740
3741         * dwarfout.c (function_start_label): Likewise.
3742
3743         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
3744         emit_line_note_force): Likewise.
3745
3746         * final.c (last_filename, asm_insn_count, final_scan_insn,
3747         output_source_line): Likewise.
3748
3749         * function.h (struct emit_status): Likewise.
3750
3751         * gcse.c (hash_expr_1): Likewise.
3752
3753         * genattr.c (gen_attr, main): Likewise.
3754
3755         * genattrtab.c (struct function_unit, current_alternative_string,
3756         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
3757         attr_numeral, check_attr_test, check_attr_value,
3758         convert_set_attr_alternative, convert_set_attr,
3759         compute_alternative_mask, simplify_by_exploding, gen_attr,
3760         gen_unit): Likewise.
3761
3762         * genflags.c (gen_insn): Likewise.
3763
3764         * gengenrtl.c (type_from_format): Likewise.
3765
3766         * genopinit.c (gen_insn): Likewise.
3767
3768         * genoutput.c (n_occurrences, process_template, process_template):
3769         Likewise.
3770
3771         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3772         Likewise.
3773
3774         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3775         Likewise.
3776
3777         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
3778         ggc_set_mark, ggc_get_size): Likewise.
3779
3780         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
3781
3782         * optabs.c (init_one_libfunc): Likewise.
3783
3784         * output.h (assemble_start_function): Likewise.
3785
3786         * recog.c (decode_asm_operands): Likewise.
3787
3788         * toplev.c (rest_of_compilation): Likewise.
3789
3790         * tree.h (emit_line_note_after, emit_line_note,
3791         emit_line_note_force): Likewise.
3792
3793         * varasm.c (asm_output_bss, asm_output_aligned_bss,
3794         asm_emit_uninitialised, assemble_start_function,
3795         assemble_variable, const_hash, compare_constant_1,
3796         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
3797
3798         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
3799
3800         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
3801
3802         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
3803
3804         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
3805
3806         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
3807         arm_dllimport_name_p): Likewise.
3808
3809         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
3810         Likewise.
3811
3812         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
3813
3814         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3815
3816         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
3817         arm_mark_dllexport, arm_mark_dllimport,
3818         arm_pe_encode_section_info): Likewise.
3819
3820         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
3821         ASM_FINISH_DECLARE_OBJECT): Likewise.
3822
3823         * arm/thumb.c (thumb_function_prologue): Likewise.
3824
3825         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
3826
3827         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3828
3829         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
3830
3831         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
3832
3833         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
3834
3835         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3836
3837         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
3838         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
3839
3840         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
3841
3842         * i386/i386.c (asm_output_function_prefix): Likewise.
3843
3844         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
3845
3846         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3847
3848         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
3849
3850         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
3851         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
3852         ASM_OUTPUT_SECTION_NAME): Likewise.
3853
3854         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
3855
3856         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
3857
3858         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
3859
3860         * m32r/m32r.c (m32r_encode_section_info): Likewise.
3861
3862         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3863
3864         * mcore/mcore.c (mcore_encode_section_info): Likewise.
3865
3866         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3867
3868         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3869
3870         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3871
3872         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
3873
3874         * mips/mips.md (movdi, movsi): Likewise.
3875
3876         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3877
3878         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3879
3880         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3881
3882         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
3883         ASM_OUTPUT_ASCII): Likewise.
3884
3885         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
3886         output_mi_thunk, output_toc): Likewise.
3887
3888         * rs6000/rs6000.md (movsi): Likewise.
3889
3890         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
3891
3892         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
3893
3894         * v850/v850.c (print_operand, print_operand_address,
3895         v850_encode_data_area): Likewise.
3896
3897 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
3898         
3899         * config/mips/mips.md (zero_extendsidi2): Always force operand
3900         one to memory for mips16.
3901
3902 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3903
3904         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
3905         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
3906         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
3907         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
3908         (min_precision): Result is unsigned.
3909         (add_double, neg_double, mul_double): Low word is unsigned.
3910         (lshift_double, rshift_double, lrotate_double): Likewise.
3911         (rrotate_double, div_and_round_double): Likewise.
3912         (tree_floor_log2, compare_tree_int): New functions.
3913         (preserve_rtl_expr_temps): New declaration.
3914         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
3915         (decl_attributes): Use tree_log2 to find alignment.
3916         Check for TREE_INT_CST_HIGH for format args.
3917         (min_precision): Now unsigned.
3918         Use tree_floor_log2.
3919         (truthvalue_conversion): Delete long-disabled code.
3920         * c-decl.c (finish_struct): Clean up tests on field width.
3921         (finish_function): Use compare_tree_int.
3922         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
3923         * c-typeck.c (comptypes): Use tree_int_cst_equal.
3924         (default_conversion, digest_init): Use compare_tree_int.
3925         (build_binary_op): Use integer_all_onesp and compare_tree_int.
3926         Fix type errors in forming masks.
3927         * calls.c (initialize_argument_information): Use compare_tree_int.
3928         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3929         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
3930         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
3931         (store_field): Use compare_tree_int.
3932         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
3933         (expand_expr, case ARRAY_REF): Use compare_tree_int.
3934         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
3935         (do_store_flag): Use compare_tree_int.
3936         * fold-const.c (encode, decode): Low part is always unsigned.
3937         (force_fit_type, add_double, neg_double, mul_double): Likewise.
3938         (lshift_double, rshift_double, lrotate_double): Likewise.
3939         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
3940         (fold_convert): Use compare_tree_int.
3941         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
3942         (invert_truthvalue, case INTEGER_CST): Likewise.
3943         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
3944         * mkdeps.c (deps_dummy_targets): Make I unsigned.
3945         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
3946         (lshift_double, rshift_double, lrotate_double, rrotate_double):
3947         Likewise.
3948         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
3949         (expand_end_case): Use compare_tree_int.
3950         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3951         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
3952         (layout_decl): Likewise.
3953         (layout_record, layout_union): Make sizes unsigned.
3954         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
3955         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
3956         * tree.c (struct type_hash): hashcode is unsigned.
3957         (build_type_attribute_variant, type_hash_list): Likewise.
3958         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
3959         (attribute_hash_list, build_array_type, build_method_type): Likewise.
3960         (build_complex_type): Likewise.
3961         (real_value_from_int_cst): Remove unneeded casts.
3962         (integer_all_onesp): Add casts.
3963         (tree_floor_log2, compare_tree_int): New functions.
3964         (build_index_type): Use tree_int_cst_sgn.
3965         * varasm.c (assemble_variable): Use compare_tree_int.
3966
3967 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
3968
3969         * cpphash.c (collect_expansion): Also catch ## at start of macro.
3970
3971         * varasm.c (make_decl_rtl): Don't add a number to members of
3972         local classes.
3973         (make_function_rtl): Likewise.
3974
3975 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3976
3977         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
3978         patch from 2000-01-28.
3979
3980 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
3981
3982         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
3983         filled with an insn from the jump target.
3984
3985 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3986
3987         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
3988         (c4x_external_ref): Likewise.
3989         * config/c4x/c4x.c (struct name_list): Likewise.
3990
3991 1999-12-16  Ben Collins  <bcollins@debian.org>
3992
3993         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
3994         argument to genmultilib.
3995         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
3996         the contents into the multilib.h header.
3997         * gcc.c: Declare multilib_exclusions for the specs file.
3998         (set_multilib_dir): Use it.
3999         (print_multilib_info): Likewise.
4000         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
4001         to pass to genmultilib.
4002
4003 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4004
4005         * builtins.c (built_in_class_names, built_in_names): Constify a
4006         char*.
4007
4008         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
4009         int.
4010         (_mcleanup): Ensure value matches format specifier in sprintf.
4011
4012         * cpphash.c (special_symbol): Don't needlessly cast away
4013         const-ness.
4014
4015         * cppinit.c (base_name): Delete unused prototype.
4016
4017         * mkdeps.c (deps_init): Make definition K&R safe.
4018
4019         * tree.h (built_in_class_names, built_in_names): Constify a
4020         char*.
4021
4022 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
4023
4024         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
4025         floating point instructions for epilogue delay.
4026
4027         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
4028         to gas if it supports .register pseudo.
4029
4030         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
4031         LONG_DOUBLE_TYPE_SIZE if not defined.
4032         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
4033         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
4034         * real.c: Likewise.
4035         * gengenrtl.c: Likewise.
4036         * print-rtl.c: Likewise.
4037         * rtl.c: Likewise.
4038         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
4039         MASK_LONG_DOUBLE_128.
4040         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
4041         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
4042         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
4043         (SUBTARGET_SWITCHES): Define.
4044         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
4045         with -mlong-double-128.
4046         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
4047         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
4048         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
4049         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
4050         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
4051         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
4052         with -mlong-double-128.
4053         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
4054         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
4055         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
4056         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
4057         TARGET_LONG_DOUBLE_128): Define.
4058         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
4059         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
4060         long double on TARGET_ARCH64.
4061
4062 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
4063
4064         * function.c (free_temps_for_rtl_expr): Don't free slots
4065         that have been pushed into a higher level.
4066         
4067         Revert this patch:
4068         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
4069
4070 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
4071
4072         * basic-block.h (ALLOCA_REG_SET): Remove.
4073         (INITIALIZE_REG_SET): New macro.
4074         * flow.c (update_life_info): Use it.
4075         (calculate_global_regs_live): Likewise.
4076         (propagate_block): Likewise.
4077         * global.c (build_insn_chain): Likewise.
4078         * haifa-sched.c (schedule_region): Likewise.
4079
4080 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
4081
4082         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
4083         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
4084         (DWARF_ARANGES_PAD_SIZE): New define.
4085         (output_aranges): Use it to pad the address range header.
4086         (DWARF_ROUND): Fix for non power of 2 rounding.
4087
4088 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
4089
4090         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
4091
4092 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
4093
4094         * tree.def (RTL_EXPR): Update documentation.
4095         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
4096         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
4097         * function.c (preserve_rtl_expr_temp): New function.
4098         (preserve_rtl_expr_temps): Likewise.
4099         (preserve_rtl_expr_result): Use it.
4100
4101         Revert this patch:
4102         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
4103
4104 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
4105
4106         * regmove.c (copy_src_to_dest)  Do not create src->dest move
4107         for unchanging destination.
4108
4109 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
4110
4111         * function.h (struct sequence_stack): Remove rtl_expr.
4112         (struct emit_staus): Likewise.
4113         (seq_rtl_expr): Remove.
4114         * tree.h (free_temps_for_rtl_expr): Don't declare.
4115         (start_sequence_for_rtl_expr): Likewise.
4116         * rtl.h (preserve_rtl_expr_result): Likewise.
4117         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
4118         (start_sequence_for_rtl_expr): Remove.
4119         (push_topmost_sequence): Don't save sequence_rtl_expr.
4120         (pop_topmost_sequence): Remove comment about not restoring it.
4121         (end_sequence): Don't set seq_rtl_expr.
4122         (init_emit): Don't initialize it.
4123         (mark_sequence_stack): Don't mark it.
4124         (mark_emit_status): Likewise.
4125         * except.c (protect_with_terminate): Use
4126         start_sequence_for_rtl_expr, not start_sequence.
4127         * expr.c (expand_expr, case RTL_EXPR): Don't call
4128         preserve_rtl_expr_result or free_temps_for_rtl_expr.
4129         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
4130         (preserve_rtl_expr_result): Remove.
4131         (free_temps_for_rtl_expr): Likewise.
4132         (pop_temp_slots): Likewise.
4133         (mark_temp_slot): Don't mark the rtl_expr.
4134         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
4135         start_sequence_for_rtl_expr.
4136         
4137 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
4138
4139         * mkdeps.c, mkdeps.h: New files.
4140         * po/POTFILES.in: Add them.
4141         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
4142         (cpplib.o, cppinit.o): Depend on mkdeps.h.
4143         (mkdeps.o): New target.
4144
4145         * cppfiles.c: Delete deps_output.
4146         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
4147         OBJECT_SUFFIX, and base_name.
4148         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
4149         the include hash.
4150         (initialize_dependency_output): Use deps_init,
4151         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
4152         all the unnecessary string bashing.
4153         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
4154         level.
4155         * cpplib.c (do_include): Use deps_add_dep.
4156         * cpplib.h (struct cpp_reader): Replace deps_buffer,
4157         deps_allocated_size, deps_size, deps_column members with
4158         single pointer to a struct deps.  Delete prototype of
4159         deps_output.
4160
4161         * cppinit.c: Fix thinko in previous patch.
4162
4163 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4164
4165         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
4166         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
4167         (mode_for_size_tree): New function.
4168         (layout_decl, layout_type): Call it and clean up BLKmode checks.
4169         * tree.h (mode_for_size_tree): New declaration.
4170         
4171         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
4172
4173 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
4174
4175         * stmt.c (is_body_block): Move...
4176         * dwarfout.c, dwarf2out.c: ...from here.
4177         * tree.h: Declare it.
4178         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
4179         * final.c (final_start_function): Do call remove_unnecessary_notes
4180         when scheduling.
4181
4182 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
4183
4184         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
4185         
4186         * cpplib.h (_dollar_ok): New macro.
4187         (is_idchar, is_idstart): Use it.
4188         (IStable): Rename to _cpp_IStable.  Declare it const if
4189         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
4190         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
4191         is_space): Update for renamed IStable.
4192
4193         * cppinit.c: Delete all references to FAKE_CONST and CAT
4194         macros. Define init_IStable as empty macro if gcc >=2.7 or
4195         C99. Change TABLE() to ISTABLE and hardcode name of table.
4196         (cpp_start_read): Don't change the IStable based on
4197         dollars_in_ident.
4198
4199         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
4200         changed.  Handle '$' for char1 correctly.
4201         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
4202
4203         * cppexp.c (tokentab2): Make const.
4204         (cpp_lex): Make toktab const.
4205         * cppinit.c (include_defaults_array): Make const.
4206         (initialize_standard_includes): Make default_include const.
4207
4208 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
4209
4210         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
4211         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
4212         (gen_decl_die): Likewise.
4213         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
4214         (output_decl): Likewise.
4215
4216         * varasm.c (make_function_rtl): If we change the name used in the
4217         rtl, update DECL_ASSEMBLER_NAME accordingly.
4218         (make_decl_rtl): Likewise.
4219
4220         * toplev.c (rest_of_compilation): Tweak formatting.
4221
4222         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
4223         remove_unnecessary_notes.
4224         (debug_ignore_block): New fn.
4225         * toplev.h: Declare it.
4226         * emit-rtl.c (remove_unncessary_notes): Call it.
4227         * dwarf2out.c (dwarf2out_ignore_block): New fn.
4228         * dwarf2out.h: Declare it.
4229         * final.c (final_start_function): Don't call remove_unnecessary_notes
4230         if we did insn scheduling.
4231
4232 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
4233
4234         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
4235         * cpplib.h: Delete SET_CPP_PEDANTIC.
4236
4237 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4238
4239         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
4240         result is a RECORD_TYPE.
4241
4242 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
4243
4244         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
4245
4246 2000-03-03  Richard Henderson  <rth@cygnus.com>
4247
4248         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
4249         addition over compliments over shifts.
4250
4251 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4252
4253         * reload1.c (reload_combine_note_use): Handle return register USEs.
4254         REG case: Handle multi-hard-register hard regs.
4255
4256 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4257
4258         * md.texi: Document use of '*' in insn pattern name.
4259
4260 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
4261
4262         * calls.c (special_function_p): operator new may not be malloc-like.
4263
4264         * gcse.c (dump_hash_table): Really fix error in last change.
4265
4266 2000-03-02  Denis Chertykov  <denisc@overta.ru>
4267
4268         * avr.c (print_operand): Use print_operand_address instead of
4269         output_addr_const.
4270         * avr/libgcc.S: Cleanup code.
4271
4272 2000-03-02  Richard Henderson  <rth@cygnus.com>
4273
4274         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
4275
4276 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
4277
4278         * tree.h (TYPE_ALIGN_UNIT): New macro.
4279
4280 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
4281
4282         * i386.c: (constant_call_address_operand): Reject CONST_INT.
4283
4284 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
4285
4286         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
4287         for the buffer.
4288         (SET_CPP_PEDANTIC): New macro.
4289         * cpplib.c (do_include): Don't bother checking system_header_p.
4290         (do_warning, do_ident, do_assert, do_unassert): Likewise.
4291         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
4292
4293         * function.h (struct expr_status): Add x_arg_space_so_far.
4294         (arg_space_so_far): New macro.
4295         * expr.c (init_expr): Initialize it.
4296         * calls.c (emit_call_1): Reset it.
4297         (compute_argument_block_size, expand_call): Use it.
4298         (expand_call, store_one_arg): Increment it.
4299
4300 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4301
4302         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
4303         a UNION_TYPE.
4304
4305 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
4306
4307         * cppfiles.c (cpp_read_file): New function.
4308
4309         * cpphash.c (collect_expansion): Make sure to reset last_token
4310         to NORM when we hit a string.  Handle trailing whitespace
4311         properly when the expansion is empty.
4312         (create_definition): Disable line commands while parsing the
4313         directive line.
4314         (dump_definition): If pfile->lineno == 0, output a line
4315         command ahead of the dump, and add a trailing newline.
4316
4317         * cppinit.c (append_include_chain): Add fifth argument, which
4318         indicates whether or not system headers are C++ aware.
4319         (initialize_standard_includes): New function,
4320         broken out of read_and_prescan.  Pass 'cxx_aware' value from
4321         the include_defaults_array on to append_include_chain.
4322         (dump_special_to_buffer): Const-ify char array.
4323         (builtin_array): Don't dump __BASE_FILE__.
4324         (cpp_start_read): Use cpp_read_file.  Reorder code for
4325         clarity.  Don't output line commands here for -D/-A/-U
4326         switches.  Don't call deps_output for files included with
4327         -include or -imacros.
4328
4329         * cpplib.c (do_define): Don't pay any attention to the second
4330         argument.
4331         (cpp_expand_to_buffer): Disable line commands while scanning.
4332         (output_line_command): Work in the file buffer.
4333         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
4334         Fix formatting of comments.  Prototype cpp_read_file.
4335
4336 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4337
4338         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
4339         reference the language-equivalent of sizetype.
4340         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
4341         * fold-const.c (size_binop, size_diffop): Put back checks.
4342         * gcse.c (dump_hash_table): Fix minor error in last change.
4343         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
4344         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
4345         all sizetypes.
4346
4347 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
4348
4349         * calls.c (expand_call)  Do not attempt to combine stack adjustments
4350         with inhibit_defer_pop set.
4351
4352 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
4353
4354         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
4355         the DECL_SIZE for a FIELD_DECL.
4356
4357 2000-03-01  Bruce Korb  <bkorb@gnu.org>
4358
4359         * fixinc/inclhack.tpl: remove unused symlinks
4360         * fixinc/README: GCC Maintainer info
4361         * fixinc/inclhack.sh: regen
4362         * fixinc/fixincl.sh: regen
4363
4364 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
4365
4366         * cpphash.c (collect_expansion): Trim trailing white space
4367         from macro definitions, but don't go past the last insertion
4368         point.
4369
4370 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
4371
4372         * i386.md (mulqi3): New pattern.
4373
4374 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
4375
4376         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
4377         token types.
4378         (struct cpp_reader): Add parsing_if_directive and
4379         parsing_define_directive flags.               
4380         (struct cpp_options): Remove output_conditionals flag.
4381         (check_macro_name): Delete prototype.
4382
4383         * cpphash.h (struct macrodef): Delete.
4384         (struct reflist): Separate from struct definition.
4385         (struct definition): Remove unused fields.  Add column number.
4386         (create_definition): Returns a DEFINITION *.  Takes a
4387         cpp_reader * and an int.
4388
4389         * cpphash.c (SKIP_WHITE_SPACE): Delete.
4390         (PEEKC): Copy defn from cpplib.c.
4391         (rest_extension, REST_EXTENSION_LENGTH): Delete.
4392         (struct arg): New.
4393         (struct arglist): Simplify.
4394         (collect_expansion): Rewrite.  Get tokens by calling
4395         cpp_get_token.  Add more error checking.
4396         (collect_formal_parameters): New function, broken out of
4397         create_definition and reworked to use get_directive_token.
4398         (create_definition): All real work is now in collect_expansion
4399         and collect_formal_parameters.  do_define handles finding the
4400         macro name.  Return a DEFINITION, not a MACRODEF.
4401         (macroexpand): Replace bcopy with memcpy throughout.  Replace
4402         character-at-a-time copy loop with memcpy and pointer increments.
4403         (compare-defs): d1->argnames / d2->argnames might be null.
4404
4405         * cpplib.c (copy_rest_of_line): Delete function.
4406         (skip_rest_of_line): Do all the work ourselves.
4407         (skip_string): New function.
4408         (parse_string): Use skip_string.
4409         (get_macro_name): New function.
4410         (check_macro_name): Delete.
4411         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
4412         (cpp_skip_hspace): Use CPP_BUMP_LINE.
4413         (handle_directive): ICE if we're called on a macro buffer.
4414         (do_define): Determine macro name and type (funlike/objlike)
4415         here.  Expunge all uses of MACRODEF.
4416         (cpp_push_buffer): Set line_base to NULL.
4417         (do_undef, read_line_number): Don't worry about getting a POP token.
4418         (eval_if_expression): Set/reset parsing_if_directive around
4419         cpp_parse_expr. Don't clear only_seen_white.
4420         (skip_if_group): Remove output_conditionals logic.  Use
4421         skip_rest_of_line.
4422         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
4423         tokens under appropriate conditions.
4424         (cpp_unassert): Call do_unassert not do_assert.  Oops.
4425
4426         * cppexp.c (parse_defined): New function, break out of
4427         cpp_lex.
4428         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
4429         ourselves, with cpp_defined.
4430         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
4431
4432         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
4433         * gcc.dg/strpaste-2.c: New.
4434
4435 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
4436
4437         * fold-const.c (size_binop): Don't asert inputs are the same and
4438         have TYPE_IS_SIZETYPE set.
4439         (size_diffop): Likewise.
4440
4441 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
4442
4443         * dwarfout.c (output_block): Output abstract blocks even if they
4444         don't have TREE_ASM_WRITTEN set.
4445
4446         * calls.c (emit_library_call): Check for null REG.
4447
4448 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
4449
4450         * c-decl.c (current_function_decl): Move to toplev.c.
4451         (init_decl_processing): Don't add current_function_decl as a ggc
4452         root here.
4453         * dbxout.c (dbxout_symbol): Change return type to int.
4454         (dbxout_symbol_location, dbxout_syms): Likewise.
4455         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
4456         any locals. Use current_function_func_begin_label if set.
4457         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
4458         * dwarf2out.c (dwarf2out_begin_prologue): Set
4459         current_function_func_begin_label.
4460         * final.c (final_start_function): Reset it.
4461         * toplev.c (current_function_decl): Define it here.
4462         (current_function_func_begin_label): New variable.
4463         (main): Add both as ggc roots.
4464         * tree.h (current_function_func_begin_label): Declare.
4465
4466 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4467
4468         * gcse.c: Cleanups throughout: mostly white-space, but also
4469         some minor rearrangement of code.
4470
4471 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
4472
4473         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
4474         returns a PARALLEL.  Use emit_group_load and use_group_regs
4475         as needed.  
4476         (emit_library_call_value): Similarly.
4477
4478         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
4479         * pa/quadlib.asm: Remove.
4480         * pa/quadlib.c: New file.
4481
4482         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
4483         * configure: Rebuilt.
4484
4485 2000-02-29  Philip Blundell  <pb@futuretv.com>
4486
4487         * config/arm/conix-elf.h: New file.
4488         * configure.in (arm*-*-conix*): New configuration.
4489         * configure: Regenerate.
4490
4491 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
4492
4493         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
4494         don't have TREE_ASM_WRITTEN set.
4495
4496 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4497
4498         * Eliminate DECL_FIELD_SIZE.
4499         * builtins.c (built_in_class_names, built_in_names): New variables.
4500         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
4501         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
4502         DECL_SIZE, not DECL_FIELD_SIZE.
4503         * print-tree.c (print_node): Remove code that prints extra blank
4504         lines in some cases.
4505         Properly handle inline and builtin function cases.
4506         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
4507         * tree.h (built_in_class_named, built_in_names): New declarations.
4508         (union tree_decl): Rename internal unions to u1 and u2 and change
4509         some of their components.
4510         Add new field built_in_class.
4511         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
4512         Reflect above changes.
4513         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
4514         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
4515         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
4516         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
4517
4518 2000-02-28  Dmitri Makarov  <dim@windriver.com>
4519
4520         * extend.texi: Document ARM's support for long/short calls.
4521
4522         * invoke.texi: Document ARM's -mlong-calls command line switch.
4523         
4524         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
4525         (arm_encode_call_attribute): Add prototype.
4526         (arm_set_default_type_attribute): Add prototype.
4527         (arm_strip_name_encoding): Add prototype.
4528
4529         * config/arm/arm.c (arm_init_cumulative_args): replace
4530         initialisation og 'long_calls' field with initialisation of
4531         'call_cookie' field.
4532         (enum arm_pragma_enum): New enum.
4533         (arm_pragma_long_calls): New static variable.
4534         (arm_process_pragma): Also process "#pragma long_calls_off".
4535         (arm_valid_type_attribute_p): Accept short_call attribute.
4536         (arm_comp_type_attributes): Check long/short call attributes.
4537         (arm_encode_call_attribute):  New function:  Encode long_call
4538         or short_call attribute in function name.
4539         (arm_set_default_type_attributes): New function: Assign
4540         default attributes to newly defined type.
4541         (current_file_function_operand): New function: Return true if
4542         the symbol is a function which has already been compiled.
4543         (arm_is_longcall_p): New function: Return true if the
4544         indicated function should be called via a long call.
4545         (arm_get_strip_length): New function.  Returns number of
4546         prefix characters to be stripped from a function's name.
4547         (arm_strip_name_encoding): New function.  Strip prefix characters
4548         from a function's name.
4549
4550         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
4551         with 'call_cookie'.
4552         (SHORT_CALL_FAG_CHAR): Define.
4553         (LONG_CALL_FAG_CHAR): Define.
4554         (ENCODED_SHORT_CALL_ATTR_P): Define.
4555         (ENCODED_LONG_CALL_ATTR_P): Define.
4556         (ARM_NAME_ENCODING_LENGTHS): Define.
4557         (STRIP_NAME_ENCODING): Define.
4558         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
4559         (ARM_ENCODE_CALL_TYPE): Define.
4560         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
4561         (ARM_DECLARE_FUNCTION_SIZE): Define.
4562         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
4563
4564         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
4565         if a long call is needed.
4566         (call_value): Ditto.
4567         (call_symbol): Ditto.
4568
4569         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
4570         ARM_DECLARE_FUNCTION_SIZE.
4571
4572         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
4573         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
4574         (ARM_STRIP_NAME_ENCODING): Undefine.
4575         (STRIP_NAME_ENCODING): Undefine.
4576         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
4577         (ASM_DECLARE_FUNCTION_NAME): Ditto.
4578         (ASM_OUTPUT_COMMON): Ditto.
4579         (ASM_DECLARE_OBJECT_NAME): Ditto.
4580
4581         * config/arm/pe.c (arm_dllexport_name_p): Check for
4582         ARM_PE_FLAG_CHAR.
4583         (arm_dllimport_name_p): Ditto.
4584         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
4585         (arm_mark_dllimport): Ditto.
4586         
4587 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4588
4589         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
4590
4591 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
4592
4593         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
4594
4595 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
4596
4597         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
4598         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
4599         NO_BUILTIN_WCHAR_TYPE is not defined.
4600         (CPP_WCHAR_TYPE): Delete.
4601         * cccp.c (main): Don't change wchar_type if cplusplus.
4602         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
4603
4604 2000-02-28  Nick Clifton  <nickc@cygnus.com>
4605
4606         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
4607
4608 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
4609
4610         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
4611         (ASM_WEAKEN_LABEL): Define.
4612  
4613 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
4614
4615         * expr.c (store_constructor): Do not emit USE.
4616         * rtl.h (stupid_life_analysis): Remove.
4617
4618 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4619
4620         * function.c (number_blocks): Reset next_block_index based on
4621         what debugging format is used, not what is defined.
4622         
4623         * lcm.c: Minor reformatting throughout.
4624         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
4625         
4626         * toplev.c (rest_of_compilation): Account for time in
4627         optimize_mode_switching.
4628
4629         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
4630         if only marking labels.
4631
4632 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
4633
4634         * calls.c (expand_call): Attempt to combine stack adjustments with
4635         pending stack adjustments.
4636
4637 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4638
4639         * loop.c (reg_in_basic_block_p): Don't abort when falling through
4640         to the end of the function.
4641
4642 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
4643
4644         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
4645         blocks.
4646         * final.c (next_block_index): Remove.
4647         (max_block_depth): Likewise.
4648         (pending_blocks): Likewise.
4649         (init_final): Don't initialize them.
4650         (final_start_function): Don't set next_block_index.  Set up
4651         BLOCK_NUMBER.
4652         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
4653         * function.h (number_blocks): New function.
4654         * function.c (get_block_vector): New function.
4655         (identify_blocks): Use it.
4656         (reorder_blocks): Set NOTE_BLOCK.
4657         (number_blocks): New function.
4658         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
4659         * tree.h (BLOCK_NUMBER): New macro.
4660         (tree_block): Add block_num field.
4661         * dbxout.c (next_block_number): Remove.
4662         (dbxout_init): Don't set it.
4663         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
4664         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
4665         block numbers.
4666         * toplev.c (rest_of_compilation): Always call
4667         find_loop_tree_blocks.  Fix indentation.
4668         * dwarf2out.c (next_block_number): Remove.
4669         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4670         to determine block numbers.
4671         (gen_inlined_subroutine_die): Likewise.
4672         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
4673         (decls_for_scope): Don't increment next_block_number.
4674         * dwarfout.c (next_block_number): Remove.
4675         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4676         to determine block numbers. 
4677         (output_inlined_subroutine_die): Likewise.
4678         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
4679         (output_decls_for_scope): Don't increment next_block_number.
4680         * sdbout.c (next_block_number): Remove.
4681         (sdbout_block): Use BLOCK_NUMBER.
4682         (sdbout_begin_block): Simplify.
4683         * xcoffout.c (next_block_number): Remove.
4684         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
4685         (xcoffout_begin_block): Don't set next_block_number.
4686         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
4687         next_block_number.
4688         
4689 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4690
4691         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
4692         (expand_builtin_strcpy): Pass correct type to size_binop.
4693         (expand_builtin_strcmp): Likewise.
4694         Clean up conditional structure.
4695         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
4696         (complete_array_type): Don't use size_binop for MAXINDEX.
4697         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
4698         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
4699         (c_alignof): Use size_one_node.
4700         (build_unary_op): Pass arg of proper type to size_binop.
4701         (really_start_incremental_init, push_init_level): Use sizetype for
4702         constructor{,_bit,_unfilled}_index.
4703         (pop_init_label, output_init_element): Likewise.
4704         (output_pending_init_elements, process_init_element): Likewise.
4705         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
4706         * expr.c (store_expr): Use size_int.
4707         (store_constructor): Use proper types for size_binop args.
4708         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
4709         (expand_expr_unaligned): Likewise.
4710         (string_contant): Return object of sizetype.
4711         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
4712         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
4713         (ARGS_SIZE_TREE): Pass proper types to size_binop.
4714         * fold-const.c (int_const_binop): Refine when size_int is called.
4715         (fold_convert): Likewise.
4716         (size_int_wide): Rework to take KIND as arg, only take low order
4717         bits, handle new sizetype_tab datatype, and chain entries in
4718         size_table.
4719         (size_int_type_wide): New function.
4720         (size_binop): Validate types of arguments.
4721         (ssize_binop): Deleted.
4722         (size_diffop): New function.
4723         (extract_muldiv): Only fold division into multiplication for sizetypes.
4724         * function.c (assign_parms): Use size_diffop and make sure
4725         VAR field is of ssizetype; also pass proper type to size_binop.
4726         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
4727         (round_down): Deleted from here.
4728         * store-layout.c (sizetype_tab): Now an array.
4729         (sizetype_set, early_root_list): New variables.
4730         (variable_size): Use size_one_node.
4731         (round_up): Pass proper type to size_binop.
4732         (round_down): Moved to here and corrected as above.
4733         (layout_record): Pass proper arg types to size_binop.
4734         (layout_type): Likewise.
4735         If sizetype_set is zero, record the type just laid out.
4736         (make_unsigned_type): Don't call set_sizetype;
4737         (make_signed_type): Likewise; also, call fixup_signed_type.
4738         (initialize_sizetypes): New function.
4739         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
4740         set name of bitsizetype to "bit_size_type".
4741         Fix up type of sizes of all types made before call.
4742         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
4743         * tree.c (fix_sizetype): Deleted.
4744         (build_common_tree_nodes): Call initialize_sizetypes.
4745         (build_common_tree_nodes_2): Don't call fix_sizetype.
4746         * tree.h (TYPE_IS_SIZETYPE): New macro.
4747         (initialize_sizetype): New declaration.
4748         (enum size_type_kind): New type.
4749         (struct sizetype_tab): Deleted.
4750         (sizetype_tab): Now array; adjust sizetype macros.
4751         (size_diffop, size_int_type_wide): New functions.
4752         (size_int_wide): Change number of args and type; access macros changed.
4753         (ssize_int, sbitsize_int): New macros.
4754         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
4755         (ROUND_TYPE_SIZE_UNIT): New macro.
4756
4757 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
4758
4759         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
4760
4761 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4762
4763         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
4764         Mark as possibly unused.
4765
4766         * cse.c (cse_insn): Delete dead code involving tablejump.
4767         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
4768
4769         * Makefile.in (libcpp.a): Start by deleting it.
4770
4771 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4772
4773         * cpplib.h (enum file_change_code): Added rename_file.
4774         * cpplib.c (do_line): If a filename is given, set file_change to
4775         rename_file.
4776         (output_line_command): If file_change is rename_file, always
4777         output a # directive with the file name.
4778
4779         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
4780
4781 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
4782
4783         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
4784         when copying a PARM_DECL or RESULT_DECL.
4785
4786 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4787
4788         * fix-header.c (recognized_function): Also fix prototypes for
4789         functions taking "void".
4790
4791 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
4792
4793         * reload1.c (do_output_reload): Check reg_reloaded_valid before
4794         looking at reg_reloaded_contents.
4795
4796 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
4797
4798         * Makefile.in (STMP_FIXINC): New toggle.
4799         (LIBGCC2_DEPS): Delete all references.
4800         (stmp-headers): Delete target.  All references either deleted
4801         or changed to stmp-int-headers.
4802         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
4803         (LIBCPP_OBJS): Take out cppalloc.o.
4804         (cppalloc.o): Delete target.
4805         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
4806         (gen-protos, fix-header): Link with libiberty.a.
4807         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
4808         to empty.
4809
4810         * configure.in: Remove refs to strerror.
4811         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
4812         * system.h: Take out strerror stanza.
4813
4814         * cpperror.c (my_strerror): Delete function.
4815         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
4816         * cppmain.c (main): Call xmalloc_set_program_name first thing.
4817         * cppalloc.c: Delete file.
4818         * gen-protos.c: Don't provide xrealloc.
4819
4820         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
4821         xstrerror throughout.
4822
4823 2000-02-26  Bruce Korb  <bkorb@gnu.org>
4824
4825         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
4826         match for DOS headers, too.
4827         * fixinc/inclhack.sh,fixincl.x: Regenerate.
4828
4829 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
4830
4831         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
4832         is right for most ELF targets.
4833         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
4834         Let the default file use %U properly.
4835         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
4836         default.
4837
4838         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
4839         numbers.
4840
4841 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4842
4843         * toplev.c (documented_lang_options): Correct spelling error.
4844         (decode_d_option, decode_f_option, main): Likewise.
4845
4846         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
4847
4848         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
4849         to tell assembler it is permitted to expand large constants.
4850
4851 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
4852
4853         * protoize.c: (AUX_INFO_SUFFIX): New macro.
4854         (aux_info_suffix): Use.
4855         (SAVE_SUFFIX): New macro.
4856         (save_suffix): Use.
4857         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
4858         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
4859         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
4860
4861         * invoke.texi (Running Protoize): Update documentation.
4862
4863 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
4864
4865         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
4866
4867 2000-02-25  John Wehle  (john@feith.com)
4868
4869         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
4870
4871 2000-02-25  Anthony Green  <green@cygnus.com>
4872
4873         * toplev.c (rest_of_compilation): Rebuild jump labels if
4874         combine_instructions has created a new direct jump.
4875         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
4876         when appropriate.
4877         (combine_instructions): Call try_combine with new argument.
4878         Return non-null value when new direct jump instruction is created.
4879         * rtl.h: combine_instructions returns an int.
4880
4881 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
4882
4883         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
4884         jump when changing a computed jump into a jump to a known
4885         target.
4886
4887 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
4888
4889         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
4890         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
4891
4892         * i386.md (define_expand "clrstrsi"): Fix typo.
4893
4894 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
4895
4896         * rtl.texi: Fix typo.
4897
4898 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4899
4900         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
4901         UNITS_PER_WORD.  Change caller initial_elimination_offset.
4902         (rounded_frame_size): Take into account that argument pushed has
4903         changed.  Fix TARGET_ALIGN_DOUBLE problem.
4904
4905 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
4906
4907         * haifa-sched.c (schedule_block): Explain the real reason
4908         we delete REG_SAVE_NOTEs on the first insn of a block.
4909         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
4910
4911 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
4912
4913         * input.h (push_srcloc): New function.
4914         (pop_srcloc): Likewise.
4915         * toplev.c (push_srcloc): Define it.
4916         (pop_srcloc): Likewise.
4917
4918 2000-02-24  Richard Henderson  <rth@cygnus.com>
4919
4920         * flow.c (life_analysis): When collecting reg info, clear
4921         regs_ever_live.
4922
4923 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4924
4925         Fix bug exposed by reload.c no longer rounding the frame
4926         size to BIGGEST_ALIGNMENT:
4927         * sh.c (rounded_frame_size): New function.
4928         (sh_expand_prologue, sh_expand_epilogue): Use it.
4929         (initial_elimination_offset): Likewise.
4930
4931 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4932
4933         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
4934         * sh-protos.h (sh_need_epilogue): Declare.
4935         * sh.c (sh_need_epilogue_known): New static variable.
4936         (sh_need_epilogue): New function.
4937         (function_epilogue): Clear need_epilogue_known.
4938         * sh.md (return): Split into expander / insn pattern.
4939         Make the expander conditional on ! sh_need_epilogue ().
4940
4941 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
4942
4943         * machmode.h (get_mode_alignment): Declare.
4944         (GET_MODE_ALIGNMENT): Call it.
4945         * stor-layout.c (get_mode_alignment): New function. Make
4946         sure alignment is always power of 2.
4947
4948 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4949
4950         * i386.h: Remove useless definition of "I386" and misleading
4951         comment above it.
4952
4953 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4954
4955         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
4956         under which TREE_PERMANENT will be set.
4957         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
4958         build1): Use TREE_SET_PERMANENT.
4959         * print-tree.c (print_node): Don't report value of
4960         TREE_PERMANENT if ggc_p is true.
4961
4962         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
4963         decide whether to give a type a new alias set.
4964         * objc/objc-act.c (build_objc_string_object): Never copy the string.
4965         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
4966         of value of 'obstack'.
4967
4968
4969 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4970
4971         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
4972
4973 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4974
4975         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
4976         * cpplib.c (cpp_get_token): Produce them.
4977         * cppexp.c (cpp_lex): Handle them.
4978
4979 2000-02-23  Nick Clifton  <nickc@cygnus.com>
4980
4981         * config/arm/arm.c (arm_comp_type_attributes): Simply and
4982         comment tests on type attributes.
4983
4984 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4985
4986         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
4987         conform to documentation.
4988         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
4989         to check for special cases.
4990         * sh-protos.h (sh_loop_align): Declare.
4991         * sh.c (sh_loop_align): Define.
4992
4993 2000-02-22  Andrew Haley  <aph@cygnus.com>
4994
4995         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
4996         (SIZE_TYPE): Is 32 bits when using -mgp32.
4997         (PTRDIFF_TYPE): Ditto.
4998
4999 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5000
5001         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
5002
5003 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
5004
5005         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
5006         BIGGEST_FIELD_ALIGNMENT a constant.
5007
5008 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
5009
5010         * dwarf2out.c (output_line_info): Put the marker for the end of
5011         the line number info at the actual end.
5012         (gen_struct_or_union_type_die): Use decl_function_context 
5013         to check for local classes.
5014         * dwarfout.c (output_type): Likewise.
5015
5016 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
5017
5018         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
5019         for arguments with a mode, but no type.
5020         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
5021         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
5022         * pa/long_double.h: New file.
5023         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
5024         both have 128bit wide long doubles.
5025         * configure: Rebuilt.
5026
5027 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5028
5029         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
5030
5031         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
5032         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
5033         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
5034
5035         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
5036
5037         * integrate.c (compare_blocks, find_block): Likewise.
5038
5039         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
5040
5041         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
5042
5043         * stmt.c (stmt_status, set_file_and_line_for_stmt,
5044         expand_asm_operands): Likewise.
5045
5046 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
5047
5048         * predict.c (estimate_probability): Added the pointer heuristic to
5049         the collection of static branch predictors.
5050
5051 2000-02-21  Catherine Moore  <clm@cygnus.com>
5052
5053         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
5054         * invoke.texi (-mfix7000): Document.
5055
5056 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
5057
5058         * diagnostic.c (init_output_buffer): Make it possible to output at
5059         least 32 characters if we're given a too long prefix.
5060
5061 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
5062
5063         * varasm.c (initializer_constant_valid_p): Call
5064         lang_expand_constant to simplify the constant.
5065
5066 2000-02-20  Bruce Korb  <bkorb@gnu.org>
5067
5068         * fixinc/inclhack.def(stdio_va_list):
5069         typedef needs to be disabled.
5070         * fixinc/inclhack.sh: regen
5071         * fixinc/fixincl.x: regen
5072
5073 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
5074
5075         * print-rtl.c (print_rtx): Don't print addresses when
5076         flag_dump_unnumbered.
5077
5078 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5079
5080         * sparc.c (sparc_output_scratch_registers): Mark parameter with
5081         ATTRIBUTE_UNUSED.
5082         (sparc_va_arg, sparc_flat_output_function_prologue,
5083         sparc_flat_output_function_epilogue): Cast value to unsigned in
5084         comparison.
5085         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
5086         
5087         * sparc.md: Add default case in switch.
5088
5089 2000-02-19  Richard Henderson  <rth@cygnus.com>
5090
5091         * c-typeck.c (add_pending_init): Don't abort for multiple
5092         fields at the same offset.
5093         (pending_init_member): Test the correct member.
5094
5095 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5096
5097         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
5098         instead of SImode.
5099         (start_catch_handler) : Same.
5100
5101 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
5102
5103         * Makefile.in: Have flow.o depend on $(EXPR_H)
5104
5105 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5106
5107         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
5108         * c-decl.c (duplicate_decls, finish_enum): Likewise.
5109         (finish_decl): Remove -Wlarger-than code from here.
5110         * flags.h (id_clash_len): Now int.
5111         (larger_than_size): Now HOST_WIDE_INT.
5112         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
5113         Clean up checking to see if in table.
5114         (make_bit_field_ref): Remove extra parm to bitsize_int.
5115         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
5116         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
5117         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
5118         and for computing size of decl.
5119         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
5120         Move -Wlarger-than code to here.
5121         (layout_record): Remove extra arg to bitsize_int.
5122         Set TYPE_BINFO_SIZE_UNIT.
5123         (layout_union): Remove extra arg to bitsize_int.
5124         Use proper type for size of QUAL_UNION.
5125         (layout_type): Remove extra arg to bitsize_int.
5126         * toplev.c (id_clash_len): Now int.
5127         (larger_than_size): Now HOST_WIDE_INT.
5128         (decode_W_option): Clean up id-clash and larger-than- cases.
5129         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
5130         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
5131         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
5132         (struct tree_decl): New field size_unit.
5133         (size_int_wide): No HIGH operand; NUMBER is now signed.
5134         (size_int_2): Deleted.
5135         (size_int, bitsize_int): Don't use it and rework args.
5136         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
5137
5138 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
5139
5140         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
5141
5142 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
5143
5144         * invoke.texi (Warning Options): Add an explanation of why
5145         you might want the -Wfloat-equal flag.
5146
5147 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5148
5149         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
5150         * cppinit.c (new_pending_define): Add cast to avoid warning.
5151         * expmed.c (extract_bit_field): Likewise.
5152         * flow.c (enum reorder_skip_type): New type.
5153         (skip_insns_between_blcok): New it.
5154         Rework to avoid warning about possibly undefined variable.
5155         * function.c (assign_parms): Make thisparm_boundary unsigned.
5156         * genrecog.c (write_switch): Cast XWINT result to int.
5157         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
5158         * mips-tfile.c (init_file): Make two versions of FDR intializer:
5159         one for MIPS and one for Alpha.
5160         (get_tag, copy_object): Add casts to avoid warnings.
5161         * optabs.c (init_one_libfunc): Cast NAME to (char *).
5162         * reload.c (find_reloads): Make TYPE enum reload_type.
5163         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
5164         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
5165         * varasm.c (compare_constant_1): Add cast to avoid warning.
5166         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
5167         to (char *).
5168         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
5169         Cast switch operand of size to int.
5170         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
5171         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
5172         in unhandled case.
5173
5174 2000-02-18  Nick Clifton  <nickc@cygnus.com>
5175
5176         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
5177         anything for an alignment of zero.
5178
5179         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
5180         anything for an alignment of zero.
5181
5182 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
5183
5184         * gcc.texi (Bug Reporting): Refer to bugs.html.
5185         (Bug Lists): Likewise.
5186         * system.h (GCCBUGURL): New preprocessor define.
5187         * rtl.c (fancy_abort): Use it.
5188         * gcc.c (main): Likewise.
5189
5190 2000-02-18  Richard Henderson  <rth@cygnus.com>
5191
5192         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
5193         (life_analysis_1): Subsume into ...
5194         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
5195         Use update_life_info for the relaxation.
5196         (update_life_info): Update REG_BASIC_BLOCK for registers live on
5197         entry and regs_live_at_setjmp.
5198         (set_noop_p): Simplify.
5199         (notice_stack_pointer_modification_1): Renamed from s/_1//.
5200         (record_volatile_insns): Split into ...
5201         (delete_noop_moves): ... here,
5202         (notice_stack_pointer_modification): ... here,
5203         (insn_dead_p): ... and here.
5204         (propagate_block): Don't query INSN_VOLATILE.
5205         (mark_used_regs): Mind !PROP_REG_INFO.
5206         * toplev.c (rest_of_compilation): Call mark_constant_function here,
5207         not in life_analysis.
5208
5209 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
5210
5211         * loop.c (canonicalize_condition): New function,
5212         broken out of get_condition.
5213         (get_condition): Use it.
5214         * expr.h (canonicalize_condition): Prototype it.
5215
5216         * tree.h (tree_int_cst_msb): Declare.
5217         * tree.c (tree_int_cst_msb): New function.
5218
5219 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
5220
5221         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
5222         isn't set.
5223
5224         * invoke.texi (-fmessage-length=n): Document.
5225
5226 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
5227
5228         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
5229
5230 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
5231
5232         * function.c (thread_prologue_and_epilogue_insns): Put a line note
5233         after the prologue.
5234
5235 2000-02-17  Nick Clifton  <nickc@cygnus.com>
5236
5237         * config/arm/thumb.c: Replace includes of system headers with
5238         #include "system.h".
5239
5240 2000-02-16  Richard Henderson  <rth@cygnus.com>
5241
5242         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
5243         Add crtbeginS.o and crtendS.o.
5244         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
5245         (ENDFILE_SPEC): Use crtendS.o.
5246         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
5247
5248         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
5249         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
5250         shared and present.
5251         (__dso_handle): New variable.
5252         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
5253         bias to __CTOR_END__.
5254         
5255 2000-02-16  Richard Henderson  <rth@cygnus.com>
5256
5257         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
5258
5259 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5260
5261         * longlong.h (__clz_tab): Declare as static to match definition.
5262
5263 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
5264         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
5265         (XREF_FILE_NAME): Define.
5266
5267         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
5268         (EH_FRAME_SECTION_ASM_OP): Define.
5269         (IDENT_ASM_OP): Define.
5270         (TEXT_SECTION_ASM_OP): Define.
5271         (CPP_SPEC): Define.
5272         (CTORS_SECTION_ASM_OP): Define.
5273         (CTOR_SECTION_FUNCTION): Use it.
5274         (DTORS_SECTION_ASM_OP): Define.
5275         (DTOR_SECTION_FUNCTION): Use it.
5276
5277 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
5278
5279         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
5280         NOTE_BASIC_BLOCK.
5281
5282         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
5283         debug_bb_n): New functions.
5284         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
5285         * basic-block.h: Prototype new functions.
5286
5287 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
5288
5289         * configure.in: Add support for avr target.
5290         * configure: Rebuilt.
5291
5292         * invoke.texi: Add AVR invocation docs.
5293         * install.texi: Add information about AVR.
5294         * md.texi: Add AVR constraint letters description.
5295         * extend.texi: Add description for AVR specific attributes.
5296
5297 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
5298
5299         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
5300
5301 2000-02-16  Nick Clifton  <nickc@cygnus.com>
5302
5303         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
5304         (make_insn_raw): Move RTL check here.
5305
5306 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5307
5308         * version.c: Include gansidecl.h and version.h.
5309
5310         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
5311         
5312         * configure.in (gcc_version): When setting, narrow search to
5313         lines containing `version_string'.
5314
5315         * Makefile.in (mainversion): Likewise. 
5316         (GCC_H): New variable.
5317         (gcc.h): Delete target.
5318         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
5319         (version.o): Depend on version.h.
5320         (dbxout.o): Don't depend on gcc.h.
5321
5322 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5323                           Michael Meissner  <meissner@cygnus.com>
5324
5325         * md.texi (Simple Constraints): Add item about whitespace.
5326         * genoutput.c (strip_whitespace): New.
5327         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
5328         strip_whitespace for constraints.
5329         Test pointer using NULL, not 0.
5330
5331 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5332
5333         * cpplib.c (do_line): Pedwarn for #line > 32767.
5334
5335         * c-lex.c (readescape): Warn about '\x', but do not reject it.
5336
5337 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
5338
5339         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
5340         to default cpp spec.
5341         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
5342         * cpp.texi: Document __GNUC_PATCHLEVEL__.
5343         * cpp.1: Likewise.
5344
5345         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
5346         default spec.
5347
5348 2000-02-15  Denis Chertykov  <denisc@overta.ru>
5349
5350         * configure.in: Add support for avr target.
5351
5352 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5353
5354         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
5355         (sh_addr_diff_vec_mode): Don't declare.
5356         * sh.c (sh_addr_diff_vec_mode): Delete.
5357
5358 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5359
5360         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
5361
5362 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5363
5364         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
5365         (smulsi3_highpart_i): Name.
5366         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
5367         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
5368         (smulsi3_highpart, umulsi3_highpart): Likewise.
5369
5370         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
5371         correctly independent of endianness.
5372         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
5373         confuse the optimizers.
5374         (mulsidi3+1, umulsidi3+1): New define_split.
5375
5376 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
5377
5378         * config/sh/sh.md: Guard insn splits against illegal registers.
5379         * config/sh/sh.h: Correct comment about macros.
5380
5381 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5382                           Andrew MacLeod  <amacleod@cygnus.com>
5383
5384         * Makefile.in (lcm.o): Depend on insn-attr.h.
5385         * basic-block.h (optimize_mode_switching): Declare.
5386         * lcm.c (tm_p.h, insn-attr.h): #include.
5387         (seginfo, bb_info): New structs.
5388         (antic, transp, comp, delete, insert) : New file-scope static variables.
5389         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
5390         (reg_becomes_live, optimize_mode_switching): Likewise.
5391         * tm.texi: Add description of mode switching macros.
5392         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
5393
5394         * sh-protos.h (remove_dead_before_cse): Remove prototype.
5395         (fldi_ok, fpscr_set_from_mem): New prototypes.
5396         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
5397         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
5398         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
5399         (sh_flag_remove_dead_before_cse): Remove declaration.
5400         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
5401         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
5402         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
5403         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
5404         (barrier_align): Allow for JUMP_INSNS containing a parallel.
5405         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
5406         (fldi_ok): New function.
5407         (get_fpscr_rtx): Add fpscr_rtx as GC root.
5408         (emit_sf_insn): Only generate fpu switches when optimize < 1.
5409         (emit_df_insn): Likewise.
5410         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
5411         (sh_flag_remove_dead_before_cse): Delete.
5412         (get_free_reg, fpscr_set_from_mem): New functions.
5413         * sh.md (movdf, movsf): Remove no_new_pseudos code.
5414         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
5415
5416 2000-02-15  Loren Rittle  <ljrittle@acm.org>
5417
5418         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
5419
5420 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5421
5422         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
5423         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
5424
5425         * cccp.c: Include version.h and/or don't declare `version_string'.
5426         * collect2.c: Likewise.
5427         * alpha.c: Likewise.
5428         * arm/aof.h: Likewise.
5429         * arm/coff.h: Likewise.
5430         * arm/elf.h: Likewise.
5431         * arm/pe.h: Likewise.
5432         * arm/tcoff.h: Likewise.
5433         * arm/telf.h: Likewise.
5434         * arm/tpe.h: Likewise.
5435         * arm/vxarm.h: Likewise.
5436         * convex/convex.c: Likewise.
5437         * i386/dgux.c: Likewise.
5438         * i386/sun386.h: Likewise.
5439         * m88k/m88k.c: Likewise.
5440         * mcore/mcore-pe.h: Likewise.
5441         * mips/mips.h: Likewise.
5442         * romp/romp.h: Likewise.
5443         * sh/sh.c: Likewise.
5444         * cpphash.c: Likewise.
5445         * cppinit.c: Likewise.
5446         * dwarf2out.c: Likewise.
5447         * dwarfout.c: Likewise.
5448         * gcc.c: Likewise.
5449         * gcc.h: Likewise.
5450         * mips-tfile.c: Likewise.
5451         * protoize.c: Likewise.
5452         * toplev.c: Likewise.
5453         * tree.h: Likewise.
5454         
5455         * version.c (version_string): Constify a char*.
5456
5457         * version.h: New file.
5458
5459 2000-02-14  Nick Clifton  <nickc@cygnus.com>
5460
5461         * configure.in: Add mcore-elf and mcore-pe targets.
5462         * configure: Regenerate.
5463
5464         * NEWS: Add note that MCore port has been contributed.
5465
5466         * invoke.texi: Document command line switches for MCore port.
5467         * install.texi: Add MCore to list of supported targets.
5468
5469 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
5470
5471         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
5472         then we will need to import the frame handling functions.
5473         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
5474         to import the frames themselves.
5475
5476 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
5477                           Jason Eckhardt  <jle@cygnus.com>
5478
5479         * basic_block.h: Added prototype for reorder_basic_blocks.
5480         * toplev.c: Changes to add -freorder-blocks and graph dump after
5481         block reordering is done.
5482         * flow.c (reorder_block_def): New structure for use during block
5483         reordering.
5484         (REORDER_BLOCK_*): New macros to access members of above structure.
5485         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
5486         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
5487         functions for block reordering.
5488
5489 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5490
5491         * gcc.texi (Passes): Fix typo.
5492         * md.texi (Standard Names): Ditto.
5493         * tm.texi (Storage Layout): Ditto.
5494
5495 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
5496
5497         * cpplib.c (do_define): Only free the old definition if it
5498         actually had one.
5499
5500 2000-02-13   Neil Booth  <NeilB@earthling.net>
5501
5502         * cppfiles.c (read_and_prescan): When emitting deferred
5503         newlines, test speccase[] again instead of checking each
5504         possible whitespace character in turn.  When we encounter \r,
5505         look behind for \n first, then ahead.
5506
5507 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
5508
5509         * cse.c (cse_altered): New internal flag.
5510         (cse_insn): Set it if we changed an insn.
5511         (cse_main): Clear cse_altered before each basic block.
5512         Only garbage collect if cse_altered is true afterward.
5513
5514 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5515
5516         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
5517
5518 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
5519
5520         * combine.c (simplify_comparison): Fix typo.
5521
5522 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
5523
5524         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
5525         consistently.
5526
5527 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5528
5529         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
5530         previously inserted node instead of root node.  Caller changed.
5531
5532 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5533
5534         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
5535
5536 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5537
5538         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
5539         __dereg_frame_dtor): Add prototype argument.
5540
5541         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
5542
5543         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
5544
5545         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
5546
5547         * gthr-vxworks.h (__gthread_once): Likewise.
5548
5549         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
5550
5551 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
5552
5553         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
5554         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
5555         stack pointer in functions w/o saved registers, output LEAVE more often
5556         on TARGET_USE_LEAVE machines.
5557
5558 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
5559
5560         * config/arm/arm.c (arm_init_cumulative_args); New function:
5561         Initlaise the CUMULATIE_ARGS strcuture for a function
5562         defintion. 
5563         (arm_function_arg): New function: Determine where to place a
5564         function's argument.  Also handles deciding the function's
5565         call cookie.
5566         (current_file_function_operand): New function: Return true if
5567         the symbol is a function which has already been compiled.
5568         (arm_is_long_call_p): New function: Return true if the
5569         indicated function should be called via a long call.
5570         (arm_valid_type_attribute_p): New function: Return true if the
5571         attribute is a valid, arm specific, attribute.
5572         (arm_comp_type_attribute): New function: Return true if the
5573         two types have compatable, arm specific, attributes.
5574
5575         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
5576         structure.
5577         (FUNCTION_ARG): Redefine to call arm_function_arg.
5578         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
5579         structure field.
5580         (INIT_CUMULATIVE_ARGS): Redefine to call
5581         arm_init_cumulative_args.
5582         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
5583         field. 
5584         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
5585         field. 
5586         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
5587         functions.
5588         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
5589         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
5590         (COMP_TYPE_ATTRIBUTES): Define.
5591
5592         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
5593         if a long call is needed.
5594         (call_value): Call arm_is_long_call_p to decide if a long call
5595         is needed.
5596         (call_symbol): Call arm_is_long_call_p to decide if a long call
5597         is needed.
5598
5599         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
5600
5601 2000-02-11  Denis Chertykov  <denisc@overta.ru>
5602
5603         * README.AVR: New file with information about the avr ports.
5604         * config/avr: New directory with avr port files.
5605
5606 2000-02-11  Andreas Jaeger  <aj@suse.de>
5607
5608         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
5609
5610 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
5611
5612         * cpphash.c: Fix formatting, update commentary.
5613         (dump_definition): Take three separate arguments instead of a
5614         MACRODEF structure argument.
5615         * cpphash.h: Update prototype of dump_definition.
5616         * cppinit.c (cpp_finish): Update call of dump_definition.
5617
5618         * cpplib.c (do_define): Always create new hash entry with
5619         T_MACRO type.  Remove redundant check for redefinition of
5620         poisoned identifier.  Update call of dump_definition.
5621         (do_undef): Don't call check_macro_name.  Rename sym_length to
5622         len.
5623         (do_error, do_warning): Don't use copy_rest_of_line or
5624         SKIP_WHITE_SPACE.
5625         (do_warning): Don't use pedwarn for the actual warning,
5626         only the notice about its not being in the standard.  (Fixes
5627         bug with #warning in system headers.)
5628         (do_ident): Stricter argument checking - accept only a single
5629         string after #ident.  Also, macro-expand the line.
5630         (do_xifdef): Use cpp_defined.  De-obfuscate.
5631
5632         (do_pragma): Split out specific pragma handling to separate
5633         functions.  Use get_directive_token.  Update commentary.  Do
5634         not pass on #pragma once or #pragma poison to the front end.
5635         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
5636         do_pragma_default): New.
5637
5638 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
5639
5640         * jump.c (jump_optimize_1): The first operand in a relational
5641         can be a CONST_INT.
5642         * optabs.c (emit_conditional_move): Handle relationals which
5643         have a known true/false result.
5644
5645 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5646
5647         * function.c (thread_prologue_and_epilogue_insns): Don't insert
5648         a RETURN insn into a block which already ends with a jump.
5649
5650 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5651
5652         * haifa-sched.c (BUF_LEN): Increase a lot.
5653
5654 2000-02-11  Nick Clifton  <nickc@cygnus.com>
5655
5656         * configure.in: Add tm_p_file specification for thumb targets.
5657         * configure: Regenerate.
5658
5659         * config/arm/thumb-protos.h: New file: Prototypes for exported
5660         functions defined in thumb.c.
5661
5662 2000-02-11  Robert Lipe  <robertl@sco.com>
5663
5664         * Makefile.in (bootstrap-lean): Remove additional files.
5665         (bootstrap2-lean): Likewise.
5666         (VOL_FILES): List of files for above.
5667
5668 2000-02-11  Nathan Sidwell  <nathan@acm.org>
5669
5670         * cpphash.c (special_symbol): Remove spurious argument to
5671         cpp_lookup.
5672
5673 2000-02-11  Joel Sherrill (joel@OARcorp.com>
5674
5675         * configure.in: (i*86-*-rtems*): Swapped elf and coff
5676         stanzas.
5677         * configure: Rebuilt.
5678
5679 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
5680         
5681         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
5682
5683 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
5684
5685         * pa.c, pa.h: Remove trigraph sequences within comments.
5686
5687 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
5688
5689         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
5690
5691 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
5692
5693         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
5694
5695 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5696         
5697         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
5698
5699 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5700
5701         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
5702         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
5703         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
5704         (ASM_FILE_END): Use c4x_file_end.
5705         * config/c4x/c4x.c (c4x_global_label): New function.
5706         (c4x_external_ref, c4x_file_end): Likewise.
5707
5708         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
5709         (c4x_external_ref, c4x_end_file): Likewise.
5710
5711 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
5712
5713         * cppexp.c: Don't include cpphash.h.
5714         (parse_charconst, cpp_lex): Use cpp_defined.
5715         (cpp_lex): Use get_directive_token throughout.  Remove
5716         unnecessary cases from switch.  Move assertion-handling code
5717         down to OTHER case.
5718         (cpp_parse_expr): If we see '+' or '-', check the context to
5719         determine if they are unary or binary operators.  Streamline
5720         the jumps a bit.  Do not call skip_rest_of_line.
5721
5722         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
5723         static.  Export get_directive_token.  Update commentary.
5724         (cpp_defined): New function.
5725         (do_define): Remove reference to T_PCSTRING.  Call
5726         free_definition to release memory for old definition, when
5727         redefining a macro.
5728         (eval_if_expression): Set only_seen_white to 0 before calling
5729         cpp_parse_expr.  Call skip_rest_of_line after it returns.
5730         (cpp_read_check_assertion): Don't preserve a pointer into the
5731         token buffer across a call to cpp_get_token.
5732
5733         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
5734         * cppfiles.c (redundant_include_p): Use cpp_defined.
5735         * cpphash.c (free_definition): New function.
5736         (delete_macro): Use it.  Update commentary.
5737         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
5738         free_definition.
5739         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
5740         from enum node_type.  Prototype cpp_defined and get_directive_token.
5741         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
5742
5743         * fix-header.c (check_macro_names): Use cpp_defined.
5744         (read_scan_file): Set inhibit_warnings and inhibit_errors in
5745         the options structure.
5746
5747 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5748
5749         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
5750
5751 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
5752
5753         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
5754         rather than die->die_tag.
5755
5756 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5757
5758         * combine.c (make_extraction, force_to_mode): Avoid warning on
5759         mixed-signedness conditionals.
5760         (make_field_assignment, nonzero_bits): Likewise.
5761         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
5762         (store_split_bit_field, extract_split_bit_field): Likewise.
5763         (extract_fixed_bit_field, store_bit_field, 
5764         * expr.c: Change alignment to be unsigned everywhere.
5765         (move_by_pieces, store_constructor_field, store_constructor): 
5766         Alignment parm is unsigned.
5767         (emit_block_move, emit_group_load, emit_group_store): Likewise.
5768         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5769         (do_compare_rtx_and_jump): Likewise.
5770         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
5771         Compare align with GET_MODE_ALIGNMENT.
5772         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
5773         (get_inner_reference): Likewise.
5774         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
5775         (expand_assignment): Local vars for alignment now unsigned.
5776         (store_constructor, store_field, expand_expr, do_jump): Likewise.
5777         (do_compare_and_jump): Likewise.
5778         (store_field): Call new function expr_align.
5779         * expr.h (emit_block_move, emit_group_load, emit_group_store):
5780         Alignment arg now unsigned.
5781         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5782         (do_compare_rtx_and_jump, store_bit_field): Likewise.
5783         (extract_bit_field): Likewise.
5784         * fold-const.c (add_double): Add cast to eliminate signedness warning.
5785         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
5786         (get_best_mode): Alignment arg is unsigned.
5787         * rtl.h (move_by_pieces): Likewise.
5788         * store-layout.c (maximum_field_alignment, set_alignment):
5789         Now unsigned.
5790         (layout_decl): Alignment arg is now unsigned.
5791         Remove unneeded casts.
5792         (layout_record, layout_union, layout_type): Remove unneeded casts.
5793         Local alignment variables now unsigned.
5794         (get_best_mode): Alignment arg now unsigned.
5795         * tree.c (expr_align): New function.
5796         * tree.h (expr_align): Likewise.
5797         (maximum_field_alignment, set_alignment): Now unsigned.
5798         (get_inner_reference): Alignment argument is now pointer to unsigned.
5799         * varasm.c (assemble_variable): Add cast to eliminate warning.
5800
5801 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
5802
5803         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
5804         then store directly into op0.
5805
5806         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
5807         the CALL_INSN, and emit the note immediately after it.
5808
5809 2000-02-10  Nick Clifton  <nickc@cygnus.com>
5810
5811         * config/arm/thumb.md (epilogue): Include a (return) in the
5812         generated insn, and emit it using emit_jump_insn not
5813         emit_insn. 
5814
5815 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
5816
5817         * function.c (assign_temp): Change zero-sized arrays to size 1.
5818         * integrate.c (expand_inline_function): Do not update
5819         stack_alignment_needed
5820         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
5821         add some sanity checking, remove optimization for function with
5822         zero frame size.
5823
5824 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5825
5826         * flow.c (mark_regs_live_at_end): Delete unused variables.
5827
5828         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
5829
5830         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
5831         in macro FRAME_GROWS_DOWNWARD.
5832
5833         * stmt.c (expand_end_bindings): Delete unused variable.
5834
5835         * unroll.c (iteration_info): Mark parameter `loop' with
5836         ATTRIBUTE_UNUSED.
5837
5838 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5839
5840         * fixinc/server.c (load_data): Return NULL if the marker line is
5841         not found.
5842         (run_shell): If load_data returns NULL, retry the command once, in
5843         a new shell.
5844
5845         * configure: Rebuilt.
5846
5847 2000-02-09  Bruce Korb  <bkorb@gnu.org>
5848
5849         * gcc/fixincludes:  ** DELETED **
5850         * gcc/fixcpp:  ** DELETED **
5851         * gcc/fixinc-nt.sed:  ** DELETED **
5852         * gcc/just-fixinc:  ** DELETED **
5853         * gcc/Makefile.in:  Removed out-dated commentary
5854         * gcc/configure.in: Removed fast-fixincludes disablement.
5855         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
5856
5857 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5858         * function.c (thread_prologue_and_epilogue_insns): Uncomment
5859         last change.
5860
5861 2000-02-09  Richard Henderson  <rth@cygnus.com>
5862
5863         * jump.c (delete_insn): Don't delete user labels at -O0.
5864
5865 2000-02-09  Robert Lipe  <robertl@sco.com>
5866
5867         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
5868         Don't link with HOST_LIBS. 
5869
5870 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5871
5872         * configure.in: Correct --help text for --with-dwarf2.
5873         Put tm-dwarf2.h after other tm files, if it's requested.
5874         * configure: Regenerate.
5875         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
5876         defining it.
5877
5878 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5879
5880         * cpplib.h: Provide HASHNODE typedef and forward decl of
5881         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
5882         DEFINITION, struct hashnode, struct macrodef, struct
5883         definition, scan_decls prototype, default defn of
5884         INCLUDE_LEN_FUDGE moved elsewhere.
5885
5886         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
5887         definition, and struct hashnode moved here. Remove the unused
5888         'predefined' field from struct definition.  Replace the 'args'
5889         union with its sole member.  All users updated (cpphash.c).
5890         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
5891         multiple include guard.
5892
5893         * cpphash.c (hashf): Make static; use better algorithm; drop
5894         HASHSIZE parameter; return an unsigned int.
5895         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
5896         used. Calculate HASHSIZE modulus here.
5897         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
5898         here.
5899         (create_definition): Drop PREDEFINITION parameter.
5900         * cpplib.c (do_define): Don't calculate a hash value here.
5901         Don't pass (keyword == NULL) to create_definition.
5902
5903         * scan.h: Prototype scan_decls here.
5904         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
5905         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
5906         callers of cpp_lookup and cpp_install updated.
5907         
5908         * cpphash.c (macarg): Hoist all the flag diddling out of the
5909         function...
5910         (macroexpand): ... and out of the loop that calls macarg.
5911         Skip over the initial paren before macro arguments with
5912         cpp_get_non_space_token; point may be some distance before
5913         that paren.  Abort if it's not there.
5914
5915         * cpplib.c (parse_clear_mark): Delete function.
5916         (parse_set_mark, parse_goto_mark): Make static.
5917         (ACTIVE_MARK_P): New macro.
5918         (skip_block_comment, skip_line_comment): Do not bump the line
5919         if ACTIVE_MARK_P is true.
5920         (cpp_pop_buffer): The buffer to be popped may not have an
5921         active mark.
5922         (cpp_get_token): When looking for the initial paren before
5923         macro arguments, only set a mark in a file buffer, Always
5924         return to that mark before proceeding to call macroexpand or
5925         return a NAME token.
5926
5927         * cpplib.h: Remove prototypes of parse_set_mark,
5928         parse_clear_mark, parse_goto_mark.
5929         (struct cpp_options): Rename 'put_out_comments' to
5930         'discard_comments' and invert its sense.
5931         * cppinit.c, cpphash.c, cpplib.c: All users of
5932         put_out_comments changed to use discard_comments, with
5933         opposite sense.
5934
5935 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5936
5937         * function.c (thread_prologue_and_epilogue_insns): Don't delete
5938         the edge from a block that both jumps and falls through to the
5939         fallthru block.
5940
5941 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
5942
5943         * config/arm/arm.md (movsi): In PIC mode, make sure that a
5944         constant source address is legitimate.
5945
5946 2000-02-09  Philip Blundell  <pb@futuretv.com>
5947
5948         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
5949         correctly.
5950
5951         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
5952         generating PIC.
5953         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
5954
5955 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5956
5957         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
5958         ends with a newline and a NUL.  Don't be so clever manipulating
5959         strings.
5960
5961 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
5962
5963         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
5964         not to BIGGEST_ALIGNMENT.
5965
5966 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
5967
5968         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
5969         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
5970         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
5971         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
5972         * frame.c (execute_cfa_insn): Handle 
5973         DW_CFA_GNU_negative_offset_extended.
5974
5975 2000-02-08  Richard Henderson  <rth@cygnus.com>
5976
5977         * flow.c (tidy_fallthru_edges): Split out from ...
5978         (delete_unreachable_blocks): ... here.
5979         (find_basic_blocks): Use it.
5980
5981 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5982
5983         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
5984
5985 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
5986
5987         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
5988         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
5989         (fix-header.o): Don't depend on cpphash.h.
5990
5991         * scan.c (hashstr): New function. 
5992         * scan.h: Prototype it.
5993         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
5994         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
5995         hashstr.  Report hash table statistics.  Add private     
5996         definition of xrealloc.
5997
5998 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5999
6000         * i386.h (TARGET_SWITCHES): Fix typo in option name.
6001
6002 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
6003
6004         * function.c (thread_prologue_and_epilogue_insns): Don't replace
6005         jumps with returns unless they are jumps to the fallthru block.
6006
6007 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
6008
6009         * i386.md (addqi3_cc): Fix contraints.
6010
6011 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6012
6013         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
6014
6015 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
6016
6017         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
6018         carriage return after a macro name.
6019
6020 2000-02-07  Fred Fish  <fnf@be.com>
6021
6022         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
6023         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
6024
6025 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
6026
6027         * cppfiles.c (deps_output): Count spacers in deps_column.
6028
6029 2000-02-07  Neil Booth  <NeilB@earthling.net>
6030
6031         * cppinit.c (initialize_dependency_output): If there is no
6032         suffix, don't try to look for known suffixes.  Use strrchr.
6033         (cpp_start_read): Remove duplicate initialization.
6034
6035 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
6036
6037         * calls.c (compute_argument_block_size): New argument
6038         preferred_stack_boundary.
6039         (expand_call): update cfun->preferred_stack_boundary, update call of
6040         compute_argument_block_size
6041         (emit_library_call): Increate cfun->preferred_stack_boundary
6042         to PREFERRED_STACK_BOUNDARY
6043         (emit_library_call_value): Likewise.
6044         * explow.c (allocate_dynamic_stack_spave): Likewise.
6045         * function.c (prepare_function_start): Set
6046         cfun->preferred_stack_boundary
6047         * function.h (struct function): Add preferred_stack_boundary field.
6048         * integrate.c (expand_inline_function): Update
6049         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
6050         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
6051         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
6052
6053 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
6054
6055         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
6056         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
6057         cpp_pedwarn, cpp_pedwarn_with_line,
6058         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
6059         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
6060         v_cpp_error_with_line, v_cpp_warning_with_line,
6061         cpp_message_from_errno, cpp_perror_with_name): Delete.
6062
6063         * cpperror.c (cpp_print_containing_files): Take starting
6064         buffer as argument.
6065         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
6066         (v_cpp_message): Now called directly by all entry points.
6067         Remove -1 case.
6068         (cpp_pfatal_with_name, cpp_message): Delete.
6069         (cpp_notice_from_errno, cpp_ice): New functions.
6070         (cpp_notice): Is now for reporting error conditions, just
6071         without an associated file.
6072         (cpp_error, cpp_error_with_line): Don't do anything if
6073         opts->inhibit_errors is on.
6074         (cpp_pedwarn_with_file_and_line): Take column argument also.
6075
6076         * cpplib.h: Update prototypes of exported functions.
6077         (struct cpp_options): Add inhibit_errors.
6078
6079         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
6080         non-error messages.  Include intl.h.
6081
6082         * cppinit.c, cppmain.c: Likewise.  Also, use
6083         cpp_notice_from_errno instead of cpp_perror_with_name or
6084         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
6085
6086         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
6087         report internal errors.
6088
6089         * cpplib.c (do_define): Switch bcopy to memcpy.
6090         Give cpp_pedwarn_with_file_and_line a dummy column argument.
6091
6092         * cpplib.c (copy_rest_of_line): Revert previous change: don't
6093         bail out early if we hit a line comment.
6094
6095 2000-02-06  Richard Henderson  <rth@cygnus.com>
6096
6097         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
6098         * basic-block.h: Declare them.
6099         * emit-rtl.h (active_insn_p): New.
6100         (next_active_insn, prev_active_insn): Use it.
6101         * rtl.h: Declare it.
6102         * function.c (emit_return_into_block): New.
6103         (thread_prologue_and_epilogue_insns): Insert return insns instead
6104         of epilogues when possible.
6105         * jump.c (jump_optimize_1): Remove code to insert a return insn
6106         on the fallthru to the exit block.
6107
6108         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
6109         and for non-empty stack frames.
6110         * i386.md (return): Expand to return-pop as needed.
6111
6112 2000-02-06  Richard Henderson  <rth@cygnus.com>
6113
6114         * simplify-rtx.c (simplify_relational_operation): Canonicalize
6115         constant to op1 for testing.
6116
6117 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6118
6119         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
6120         (fixuns_truncqfqi2): Use it.
6121
6122 2000-02-06  Richard Henderson  <rth@cygnus.com>
6123
6124         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
6125         as a TYPE_LEA insn.
6126
6127         * i386.md (widening and peepholes): Mask the constant instead of
6128         using gen_lowpart.
6129
6130 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
6131
6132         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
6133         input pointer before possibly branching off to the backslash
6134         code.
6135         * cpphash.c (macroexpand): Correctly delete \r escapes when
6136         stringifying parameters.
6137         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
6138         if we can; bail out early if we hit a line comment.
6139         (handle_directive): Treat '# 123' in an .S file just like
6140         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
6141         Return 1 for '# not_a_directive'.
6142         (get_directive_token): Pop macro buffers here, so that
6143         cpp_get_token can't sneakily move past a newline.
6144         Add sanity checks. 
6145         (cpp_get_token): goto randomchar if handle_directive returns 0.
6146
6147         * cppalloc.c: Update copyright.
6148         * cpplib.c: Merge all the static function prototypes into one
6149         block.
6150         * cpplib.h: Remove #if 0 block.
6151
6152         * cpperror.c: Remove #ifdef EMACS block.
6153         * cppmain.c: Likewise.
6154         * cpphash.c: Remove #if 0 blocks.
6155         * cppinit.c: Remove #if 0 blocks, and the -lint option.
6156         * cpplib.c: Remove #if 0 blocks and code referencing
6157         pcp_inside_if or for_lint.  Remove duplicate error message.
6158         Fix error messages for #else after #else or #elif.  Reformat.
6159         Remove archaic TODO list.
6160         * cpplib.h: Remove pcp_inside_if and for_lint flags.
6161
6162 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
6163
6164         * i386/osf1elf.h: Add missing backslash to multiline string.
6165
6166 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6167
6168         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
6169
6170 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6171
6172         * Makefile.in (c-common.o): Depend on $(EXPR_H).
6173
6174         * c-common.c: Include expr.h.
6175
6176         * c-pragma.c (mark_align_stack): Add prototype.
6177
6178         * caller-save.c (add_stored_regs): Likewise.
6179
6180         * combine.c (record_promoted_value): Likewise.
6181
6182         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
6183         Likewise.
6184
6185         * cppinit.c (new_pending_define): Likewise.
6186
6187         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
6188
6189         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
6190         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
6191         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
6192         class_scope_p): Likewise.
6193
6194         * dwarf2out.h (dwarf2out_set_demangle_name_func,
6195         dwarf2out_add_library_unit_info): Likewise.
6196
6197         * ggc.h (ggc_page_print_statistics): Likewise.
6198
6199         * haifa-sched.c (propagate_deps): Likewise.
6200
6201         * reg-stack.c (next_flags_user, record_label_references): Likewise.
6202
6203         * rtl.h (set_stack_check_libfunc): Likewise.
6204
6205         * toplev.h (set_fatal_function): Likewise.
6206
6207         * toplev.c (set_fatal_function): Delete prototype.
6208         
6209         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
6210         
6211 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
6212
6213         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
6214         (FUNC_END): Likewise.
6215
6216 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6217
6218         * caller-save.c: Include tm_p.h.
6219
6220 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6221
6222         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
6223
6224 2000-02-04  Neil Booth  <NeilB@earthling.net>
6225
6226         * cccp.c (main): Check 'dir' for a NULL pointer before passing
6227         it to strcmp.
6228
6229 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
6230
6231         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
6232         * genflags.c: Use the max_operand_1 logic from genemit.c to
6233         calculate how many arguments gen_insn prototypes have.  Remove
6234         NO_MD_PROTOTYPES ifdefs from the generated file.
6235         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
6236         file.  Cast gen_insn initializers to insn_gen_fn.
6237         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
6238         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
6239
6240 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6241
6242         * fixinc/Makefile.in (HDR): Add machname.h.
6243         (clean): Likewise.
6244
6245 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6246
6247         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
6248         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
6249         (c4x_cpu_version): Ditto.
6250         * config/c4x/c4x-protos.h: ... here.
6251
6252 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
6253
6254         * dwarf2out.c (add_abstract_origin_attribute): Don't call
6255         gen_abstract_function on our context if we're a nested function.
6256
6257 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6258
6259         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
6260         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
6261
6262 2000-02-04  Bruce Korb  <bkorb@gnu.org>
6263
6264         * fixinc/genfixes(machname.h):
6265         Move the functionality from gen-machine.h into this file.
6266         UNdef MN_NAME_PAT if there are no names to change.
6267         Also, be a little kinder when AutoGen is not present.
6268
6269         * fixinc/Makefile.in(machname.h):
6270         Change the generation rule to use genfixes.
6271
6272         * fixinc/fixfixes.c(machine_name):
6273         machine_name_fix's functionality now dependent upon whether
6274         MN_NAME_PAT is defined.
6275
6276         * fixinc/fixtests.c(machine_name):
6277         ditto.
6278
6279         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
6280         of MN_NAME_PAT.
6281
6282         * fixinc/fixlib.h(mn_get_regexps):
6283         ditto
6284
6285         * fixinc/gen-machine.h: DELETED
6286
6287 2000-02-04  Jan Hubicka  <jh@suse.cz>
6288             Richard Henderson  <rth@cygnus.com>
6289
6290         * i386.c (SAVE_REGS_FIRST): Remove.
6291         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
6292         (ix86_compute_frame_size): Likewise.
6293         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
6294         (ix86_emit_restore_regs): Remove.
6295         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
6296         when a frame pointer is in use.
6297         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
6298         instead of pop to restore a register when profitable; emit leave
6299         when profitable.
6300         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
6301         as a TYPE_LEA insn.
6302         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
6303         * i386.md (prologue_allocate_stack): Remove.
6304         (epilogue_deallocate_stack): Remove.
6305         (pro_epilogue_adjust_stack): New.
6306
6307 2000-02-04  Richard Henderson  <rth@cygnus.com>
6308
6309         * function.c (diddle_return_value): Rework to use a callback function.
6310         Use current_function_return_rtx if it's been set up.
6311         (do_clobber_return_reg, clobber_return_register): New.
6312         (do_use_return_reg, use_return_register): New.
6313         (expand_function_end): Use them.
6314         * stmt.c (expand_null_return): Likewise.
6315         * function.h: Declare them.
6316         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
6317         (mark_reg): Change arguments as appropriate for callback.
6318         * integrate.c (expand_inline_function): Revert 19 Jan change.
6319
6320 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6321
6322         * tm.texi (Values in Registers): Fix typo: "fo" "for".
6323         (Misc): Say the scheduler, not the Haifa scheduler.
6324
6325 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
6326
6327         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
6328         when in_mem is set.  Update all callers.
6329
6330 2000-02-04  Richard Henderson  <rth@cygnus.com>
6331
6332         * i386/openbsd.h (INT_ASM_OP): Define.
6333
6334 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6335
6336         * tm.texi: Fix various typos.
6337
6338 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
6339
6340         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
6341         (MD_STARTFILE_PREFIX_1): New macro.
6342
6343 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
6344
6345         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
6346         destination when needed.
6347         (strmovsi, strsetsi): New expander.
6348         (strmovsi_1, strsetsi_1): New pattern.
6349         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
6350         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
6351         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
6352         * invoke.texi (align-stringops, inline-all-stringops): Document.
6353
6354 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
6355
6356         * i386/netbsd.h (INT_ASM_OP): Define.
6357
6358 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
6359
6360         * cpplib.h (cpp_reader): Add new flag, no_directives.
6361         * cpphash.c (macarg): Set it.
6362         * cpplib.c (handle_directive): If no_directives is on and we
6363         find a directive, issue an error and discard the line.
6364
6365 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
6366
6367         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
6368         FP constants.  Add ! TARGET_FPU check for FP constants.
6369
6370 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
6371         
6372         * flow.c (find_basic_blocks): Don't kill label_value_list
6373         here.
6374         (cleanup_cfg): Kill it here.
6375
6376 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6377
6378         * expr.c (store_field): Ensure ALIGN is no stricter than the
6379         alignment of EXP.
6380
6381 2000-02-02  Richard Henderson  <rth@cygnus.com>
6382
6383         * jump.c (delete_insn): Partially revert 19 Jan change; 
6384         don't convert unused code labels to notes at -O0.
6385
6386 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6387
6388         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
6389         split_all_insns to recreate REG_LABEL notes for flow2 pass.
6390
6391 2000-02-01  Richard Henderson  <rth@cygnus.com>
6392
6393         * i386.c (general_no_elim_operand): New.
6394         (nonmemory_no_elim_operand): New.
6395         (ix86_expand_move): Copy eliminable operands before a push.
6396         * i386-protos.h: Declare new functions.
6397         * i386.h (CAN_ELIMINATE): Simplify.
6398         (PREDICATE_CODES): Update.
6399         * i386.md (push insns): Don't allow eliminable register operands.
6400
6401 2000-02-01  Richard Henderson  <rth@cygnus.com>
6402
6403         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
6404         replace BLKmode with DECL_RTL's mode.
6405
6406 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
6407
6408         * frame.c (find_fde): Convert for loop to do-while so compiler
6409         sees it's always executed at least once.
6410         * libgcc2.c (BBINBUFSIZE): Kill.
6411         (__bb_init_prg): Use fgets.
6412         (__bb_exit_trace_func): Don't paste strings.
6413         * unroll.c (unroll_loop): Initialize unroll_type, not
6414         unroll_number, and tweak logic to match.
6415
6416         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
6417         all failure paths.
6418         (ix86_flags_dependant): Likewise.  Disentangle control flow.
6419         (ix86_sched_reorder): Break guts out to
6420         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
6421         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
6422         any possible use.
6423
6424         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
6425         use string concatenation.  Don't save and restore esi.
6426
6427         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
6428         (machname.h): Remove script to separate file.  Use two-step
6429         sequence so target is not created if script fails.
6430         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
6431         identifiers are defined.
6432         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
6433         an empty string, machine_name doesn't need to do anything at
6434         all.
6435         (is_cxx_header): Add more cases to regexp.
6436         * fixinc/fixlib.h: Update prototype.
6437         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
6438         mn_get_regexps.
6439         * fixinc/fixincl.c: Define NO_BOGOSITY.
6440
6441         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
6442         (hp_sysfile): Add missing comma.
6443         (math_exception): Put the wrapper ifdefs at the beginning and
6444         the end of the file.
6445         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
6446
6447 2000-02-01  Richard Henderson  <rth@cygnus.com>
6448
6449         * sparc.c (fp_zero_operand): Turn into a normal predicate.
6450         Use CONST0_RTX.  Update all callers.
6451         * sparc.h, sparc-protos.h: Update accordingly.
6452         * sparc.md (fp mov insns): Use fp_zero_operand directly
6453         where applicable.
6454
6455 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6456
6457         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
6458         example.
6459
6460 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6461
6462         * Makefile.in (specs.ready): New target.
6463         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
6464
6465 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6466
6467         * fixinc.irix: Use unique filenames for writing into /tmp,
6468         * fixinc.ptx: Likewise.
6469         * fixinc.sco: Likewise.
6470         * fixinc.svr4: Likewise.
6471         * fixinc.winnt: Likewise.
6472
6473 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6474
6475         * tsystem.h: New file.
6476
6477         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
6478         s-crtS): Depend on tsystem.h.
6479
6480         * crtstuff.c: Include tsystem.h.
6481         * frame.c: Likewise.
6482         * libgcc2.c: Likewise.
6483
6484 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
6485
6486         * builtins.c (expand_builtin_memset): Expand for variable sized
6487         lengths too.
6488
6489 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
6490
6491         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
6492         on ABI.
6493
6494 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6495
6496         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
6497
6498         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
6499
6500 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
6501
6502         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
6503         case 3->2 combining (combining with splitting) in which 2 is CC0
6504         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
6505         checked at the begining of the function with the aid of calling 
6506         function 'can_combine_p'. 
6507
6508 2000-01-31  Dave Brolley  <brolley@redhat.com>
6509
6510         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
6511
6512 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
6513
6514         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
6515         new label.
6516
6517 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6518
6519         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
6520         
6521         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
6522         PROTO -> PARAMS.
6523
6524 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
6525
6526         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
6527         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
6528         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
6529         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
6530         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
6531         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
6532         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
6533         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
6534         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
6535         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
6536         
6537         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
6538         Add %(cpp_cpu) to CPP_SPEC.
6539
6540         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
6541         Add %(cc1_cpu) to CC1_SPEC.
6542
6543 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
6544
6545         * c-decl.c (c_decode_option): Accept optional numeric argument to
6546         -Wformat and set warn_format.
6547         * c-common.c: Don't emit warning about non-constant printf format
6548         string unless warn_format > 1.
6549
6550 2000-01-30  Richard Henderson  <rth@cygnus.com>
6551
6552         * alpha.md (return_internal): Allow after reload only.
6553
6554 2000-01-30  Richard Henderson  <rth@cygnus.com>
6555
6556         * i386.c (ix86_compute_frame_size): Omit padding1 if the
6557         local frame size is zero.
6558
6559 2000-01-30  Richard Henderson  <rth@cygnus.com>
6560
6561         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
6562         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
6563         * alpha.md (return): Turn into an expander.
6564         (return_internal): Don't use $26.
6565         (epilogue): Emit the return insn.
6566
6567 2000-01-30  Richard Henderson  <rth@cygnus.com>
6568
6569         * alpha.md (negtf2, abstf2): Fix word order thinko.
6570         (extendsftf2): New.
6571         (trunctfsf2): Avoid intermediate rounding errors.
6572
6573 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
6574
6575         * cppfiles.c (find_position): Drop 'colp' argument, return the
6576         new line base.
6577         (read_and_prescan): Adjust to match.  Don't ever manipulate
6578         line or line_base except via find_position.
6579
6580 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
6581
6582         * c-parse.in: Apply Ulrich's changes from c-parse.y.
6583         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
6584         Regenerate.
6585
6586 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
6587
6588         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
6589         just print "<command line>".  If 'filename' is null or an
6590         empty string, print "<stdin>" for the filename.
6591         * cpplib.c (do_define): Don't print the 'location of the
6592         previous definition' message if we're still parsing the
6593         command line.
6594         (cpp_pedwarn_with_file_and_line): Always call
6595         cpp_file_line_for_message.
6596
6597 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
6598
6599         * flow.c (mark_regs_live_at_end): Fix typo.
6600
6601 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
6602
6603         * c-common.c: Adjust variable names, comments, help strings to c99.
6604         * c-lex.c: Likewise.
6605         * c-parse.y: Likewise.
6606         * c-tree.h: Likewise.
6607         * cccp.c: Likewise.
6608         * cpplib.h: Likewise.
6609         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
6610         * cppinit.c: Likewise.
6611
6612 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6613
6614         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
6615         * c4x.c: Define the optab rtx values.
6616         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
6617         (c4x_emit_libcall): Use new optab rtx values.
6618         (c4x_emit_libcall3): Likewise.
6619         (c4x_emit_libcall_mulhi): Likewise.
6620         * c4x-protos.h: Add prototypes for optab rtx values and change
6621         prototypes for above c4x_emit_libcall functions.
6622
6623 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6624
6625         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
6626         syntax is used.
6627         (c4x_function_prologue): Use regnames intead of float_reg_names when
6628         TI syntax is used.
6629         (c4x_function_epilogue): Likewise.
6630         (c4x_print_operand): Likewise.
6631         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
6632         * c4x.md (set_high): Disable for TARGET_TI.
6633
6634 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6635
6636         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
6637         of framepointer + constant to ADDR_REGS class.
6638         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
6639         * c4x.c (std_or_reg_operand): New function.
6640         * c4x-protos.h (std_or_reg_operand): Prototype it.
6641
6642 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6643
6644         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
6645                 object names as libgcc2.c.
6646         * libgcc.S: Use newly defined names.
6647
6648 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
6649         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
6650         function.
6651         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
6652         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
6653         (FLOW_LOOP_LAST_BLOCK): Likewise.
6654
6655 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6656
6657         * basic-block.h (struct loop): New fields 'first' and 'last'.
6658         * flow.c (flow_loops_find): Compute loop->first and loop->last.
6659         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
6660         and loop->last to check for NOTE_INSN_LOOP_END.
6661
6662 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
6663
6664         * predict.c (estimate_probability): Use the new FIRST and LAST fields
6665         of the loop descriptor rather than HEADER and LATCH. Also added
6666         missing break statements as well making some coding style modifications
6667         as suggested by Michael Hayes.
6668
6669 2000-01-28  Richard Henderson  <rth@cygnus.com>
6670
6671         * flow.c (find_basic_blocks): Remove do_cleanup argument.
6672         Break out that code ...
6673         (cleanup_cfg): ... here.
6674         (commit_one_edge_insertion): Detect a return instruction being
6675         emitted to an edge.  Emit a barrier following; clear fallthru.
6676         (commit_edge_insertions): Verify CFG consistency.
6677         * function.c (expand_function_start): Kill unused variable.
6678         (expand_function_end): Likewise.
6679         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
6680         to insert the epilogue.
6681
6682         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
6683         (delete_null_pointer_checks): Likewise.
6684         * output.h: Likewise.
6685         * reg-stack.c (reg_to_stack): Likewise.
6686         * toplev.c (rest_of_compilation): Likewise.  Run
6687         thread_prologue_and_epilogue_insns after rebuilding the CFG.
6688
6689 2000-01-28  Richard Henderson  <rth@cygnus.com>
6690
6691         * Makefile.in (flow.o): Revert 24 Jan change.
6692         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
6693         FUNCTION_VALUE result to DECL_RESULT's mode.
6694
6695         * haifa-sched.c (schedule_insns): Don't recompute reg info
6696         after reload.
6697
6698 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
6699
6700         * configure.in: Make --enable-cpplib the default.
6701         * configure: Regenerate.
6702         * gcc.dg/990119-1.c: No longer expected to fail.
6703
6704 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
6705
6706         * jump.c (jump_optimize_1): Delete an optimization that is also done
6707         by merge_blocks in flow.
6708
6709 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6710
6711         * diagnostic.c (build_message_string, output_printf,
6712         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
6713         (build_location_prefix): Fix non-literal format string.
6714
6715 2000-01-27  Richard Henderson  <rth@cygnus.com>
6716
6717         * alpha.md (trunctfsf2): New.
6718
6719 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
6720
6721         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
6722
6723 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
6724
6725         * cppinit.c (cpp_handle_option): Recognize C++ comments under
6726         -std=gnu89.
6727         * cpplib.c (skip_block_comment, skip_line_comment): Split code
6728         out of...
6729         (skip_comment) ... here.  Permit C++ comments in system
6730         headers always.  Warn about C++ comments in user code under
6731         -std=gnu89 -pedantic.
6732         (copy_comment): Use skip_comment.
6733         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
6734         return EOF.
6735         (consider_directive_while_skipping, do_else, do_endif): Call
6736         validate_else unconditionally.
6737         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
6738         text after the conditional in a system header.
6739         * cpplib.h (struct cpp_buffer): Add flag
6740         warned_cplusplus_comments.
6741
6742 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
6743
6744         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
6745         Use unshare_all_rtl_1.
6746         (unshare_all_rtl_again): New function.
6747         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
6748
6749         * function.c (purge_addressof_1): Use unshare_all_rtl_again
6750         rather than resetting the 'used' flags ourself.
6751
6752         * toplev.c (rest_of_compilation): Add current_function_decl
6753         to the unshare_all_rtl call.
6754         * tree.h: Prototype unshare_all_rtl.
6755         * rtl.h: Prototype unshare_all_rtl_again here.
6756
6757 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
6758
6759         * genoutput.c (output_prologue): Include ggc.h in generated
6760         files.
6761         * Makefile.in (insn-output.o): Depends on ggc.h.
6762
6763 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
6764             Hans-Peter Nilsson  <hp@bitrange.com>
6765
6766         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
6767         Remove redundant include of xm-ns32k.h.
6768         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
6769         Remove redundant include of xm-ns32k.h.
6770         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
6771         Remove redundant include of xm-ns32k.h.
6772         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
6773
6774         * ns32k/ns32k.h: Update comment on multiply-add instructions.
6775         (TARGET_SWITCHES): Add documentation strings.
6776         (DWARF_FRAME_REGNUM): Override default definition.
6777         (REG_CLASS_CONTENTS): Add comments.
6778         (SUBSET_P): Format to reduce line length.
6779         (SMALL_REGISTER_CLASSES): Make a run time option.
6780         (GO_IF_NONINDEXED_ADDRESS): Reformat.
6781         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
6782         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
6783         (regclass_map): fix typo in comment.
6784         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
6785         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
6786         (trace, reg_or_mem_operand): Delete, unused function.
6787         (calc_address_cost): Small offsets are cheaper than large ones.
6788         (expand_block_move): Generate more efficient code when bytes is a
6789         known at compile time.
6790         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
6791         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
6792         instead of reg_or_mem_operand.
6793
6794         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
6795         not general_operand.  Similarly use "=rm" or stricter, not "=g".
6796         For input operands, use stricter constraints than "g" if not
6797         general_operand.  Similarly use stricter predicate than
6798         "general_operand" when stricter constraints than "g" are present,
6799         except for matching constraints.
6800         (movstrsi): Use "memory_operand" for operands 0 and 1.
6801         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
6802         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
6803         not reg_or_mem_operand.
6804         (udivmoddisi4): Ditto.
6805         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
6806         Use nonimmediate_operand for operand 3, not register_operand.
6807         (udivmoddiqi4_internal): Use register_operand for operand 1, not
6808         reg_or_mem_operand.
6809
6810 2000-01-27  Fred Fish  <fnf@be.com>
6811
6812         * gthr-posix.h: Fix typo; compatibily -> compatibility.
6813         * gthr-single.h: Likewise.
6814         * gthr-solaris.h: Likewise.
6815         * gthr-vxworks.h: Likewise.
6816         * gthr-win32.h: Likewise.
6817         * gthr.h: Likewise.
6818
6819 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
6820
6821         * cppinit.c: Add " (cpplib)" to end of string printed by
6822         -v / --version.
6823
6824 2000-01-27  Richard Henderson  <rth@cygnus.com>
6825
6826         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
6827         testing for a signed comparison.
6828         (alpha_emit_floatuns): New.
6829         * alpha-protos.h: Declare it.
6830         * alpha.md (floatunsdisf2, floatunsdidf2): New.
6831         (extendsfdf2): Tidy.
6832
6833 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
6834
6835         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
6836         no -g option specifying debugging format, default to -gstabs+.
6837
6838 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
6839
6840         * calls.c (special_function_p): New argument fork_or_exec.
6841         (expand_call): When profile_arc_flag is set and the function
6842         is in the fork_or_exec group, call __bb_fork_func first.
6843         * libgcc2.c, _bb module (__bb_fork_func): New function.
6844         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
6845         output file.
6846         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
6847         * tree.h (special_function_p): Update prototype.
6848
6849 2000-01-26  Richard Henderson  <rth@cygnus.com>
6850
6851         * alpha.c (alpha_split_tfmode_pair): New.
6852         * alpha-protos.h: Declare it.
6853         * alpha.md (abstf2, negtf2): New.
6854         (movtf insn): Add input G constraint.
6855         (movtf splitter): Use alpha_split_tfmode_pair.
6856
6857 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6858
6859         * i386/cygwin.h: PROTO -> PARAMS.
6860
6861 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
6862
6863         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
6864         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
6865         using _Qp_cmp/_Q_cmp and testing the return value.
6866         (print_operand): Call reverse_condition_maybe_unordered if
6867         we are handling CCFPmode or CCFPEmode.
6868         Handle ORDERED, UN* and LTGT comparisons.
6869         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
6870         if not TARGET_HARD_QUAD.
6871         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
6872         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
6873         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
6874         Adjust gen_b* calls so that they reflect return comparison of
6875         sparc_emit_float_lib_cmp.
6876
6877 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6878
6879         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
6880         incoming operands array is large enough for one more operand.
6881         (alpha_emit_xfloating_arith): Likewise.
6882
6883 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6884
6885         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
6886         file with one line and no trailing newline.
6887         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
6888         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
6889         checking if the match is on the line.
6890         * fixinc/gnu-regex.c: Provide regerror not __regerror.
6891
6892 2000-01-25  Richard Henderson  <rth@cygnus.com>
6893
6894         * sparc.c (output_cbranch): Fix accidental squashing of the
6895         fp branch pre-delay nop.
6896
6897 2000-01-25  Richard Henderson  <rth@cygnus.com>
6898
6899         * tree.def (UNNE_EXPR): Remove.
6900         * c-typeck.c (build_binary_op): Don't handle it.
6901         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
6902
6903         * rtl.def (UNNE): Remove.
6904         (LTGT): Add.
6905         * jump.c (reverse_condition): Update accordingly.
6906         (swap_condition): Likewise.
6907         (comparison_dominates_p): Handle unordered comparisons.
6908         (reverse_condition_maybe_unordered): New.
6909         * rtl.h (reverse_condition_maybe_unordered): Declare.
6910
6911         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
6912         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
6913         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
6914         * sparc.md (bltgt): New.
6915
6916 2000-01-25  Nick Clifton  <nickc@redhat.com>
6917
6918         * emit-rtl.c (emit_insn): Only check machine class insns for
6919         improper emission of a RETURN.
6920
6921 2000-01-25  Richard Henderson  <rth@cygnus.com>
6922
6923         * Makefile.in (flow.o): Depend on $(EXPR_H).
6924         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
6925         duplicate the structure of diddle_return_value for keeping regs live.
6926
6927 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6928
6929         * loop.c (current_loop_info): Delete.
6930         (consec_sets_invariant_p): Add loop argument, update callers.
6931         (get_condition_for_loop): Likewise.
6932         (count_nonfixed_reads, update_giv_derive): Likewise.
6933         (simplify_giv_expr, general_induction_var): Likewise.
6934         (consec_sets_giv, recombine_givs): Likewise.
6935         (move_movables): Delete loop_start and loop_end arguments,
6936         add loop argument, and update callers.
6937         (find_mem_givs, check_final_value): Likewise.
6938         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
6939         (loop_invariant_p): Rename from invariant_p, add loop argument, and
6940         update callers.
6941         (basic_induction_var): Add loop argument, delete loop_level argument,
6942         and update callers.
6943         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
6944         add loop argument, and update callers.
6945         (find_splittable_regs, find_splittable_givs): Likewise.
6946         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
6947         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
6948         (biv_total_increment): Delete loop_start and loop_end arguments;
6949         update callers.
6950         (precondition_loop_p): Delete loop_start and loop_info arguments;
6951         update callers.
6952         * loop.h (get_condition_for_loop): Add loop argument.
6953         (biv_total_increment): Delete loop_start and loop_end arguments.
6954         (precondition_loop_p): Delete loop_start and loop_info arguments;
6955         add loop argument.
6956         (final_biv_value): Delete loop_start and loop_end arguments;
6957         add loop argument.
6958         (final_giv_value, back_branch_in_range_p): Likewise.
6959
6960 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
6961
6962         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
6963
6964 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
6965
6966         * Makefile.in (c-gperf.h) : Change the "See" pointer to
6967         point to the new "generated_files" doc.
6968
6969 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
6970
6971         * config/fp-bit.c (_unord_f2): Fix typo.
6972
6973 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6974
6975         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
6976         c-typeck.c, objc/objc-act.c: Remove all references to obstack
6977         functions obsoleted by GC, such as push_obstacks_nochange,
6978         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
6979         and code which existed only to decide whether or not to call
6980         them.  Remove now-unused NESTED argument from start_function;
6981         all callers changed.  Do not change behavior based on ggc_p.
6982         The use of the ixp_obstack in c-iterate.c and the util_obstack
6983         in objc/objc-act.c remain; these are not obsoleted by garbage
6984         collection.
6985         * c-tree.h: Update prototype for start_function.
6986
6987         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
6988
6989 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
6990
6991         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
6992         mips16.
6993
6994 2000-01-25  Richard Henderson  <rth@cygnus.com>
6995
6996         * sparc-protos.h (select_cc_mode): Declare.
6997         * sparc.c (select_cc_mode): New.  Handle unordered compares.
6998         (output_cbranch): Always reverse via code change.  Handle
6999         unordered compares.  Factor tests and string updates.
7000         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
7001         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
7002         * sparc.md (bunordered, bordered): New.
7003         (bungt, bunlt, buneq, bunge, bunle): New.
7004
7005 2000-01-25  Richard Henderson  <rth@cygnus.com>
7006
7007         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
7008         * ggc-common.c (ggc_add_rtx_varray_root): New.
7009         (ggc_mark_rtx_varray): New.
7010         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
7011         functions down below ggc_mark_foo.
7012         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
7013
7014 2000-01-25  Richard Henderson  <rth@cygnus.com>
7015
7016         * alpha.c (secondary_reload_class): Don't allocate a secondary
7017         for integral mode memories into FLOAT_REGS.  Rearrange the more
7018         complicated memory expression inward.
7019
7020 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
7021
7022         * inclhack.def: Fixes to play nicer with FreeBSD, and
7023         corrections to comments.
7024         (cxx_unready): Add select expression.
7025         (irix_sockaddr): Add bypass expression.
7026         (machine_ansi_h_va_list): New fix.
7027         (stdio_va_list): No need to edit _BSD_VA_LIST_.
7028         Split out addition of "#include <stdarg.h>" to...
7029         (stdio_stdarg_h): ... here.
7030         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
7031         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
7032         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
7033         size_t.
7034         (ultrix_ifdef): Tighten up select expression.
7035
7036         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
7037         re_ct and max_mach to avoid use of shell.  Make printed names
7038         match names in inclhack.def.  Use static copyright date.
7039         Don't count c_test and test expressions as requiring regex_t
7040         slots.  Add some commentary.
7041         * inclhack.tpl: Do not include the 'This script contains N
7042         fixup scripts' line if PROGRAM is defined.  Use static
7043         copyright date.
7044
7045 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
7046
7047         * dwarf2out.c: include "varray.h", not dyn-string.h.
7048         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
7049         (addr_const_to_string, addr_to_string): Lose.
7050         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
7051         (struct dw_val_struct): val_addr is now an rtx.
7052         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
7053         (used_rtx_varray): New varray.
7054         (dwarf2out_init): Initialize it.
7055         (save_rtx): New fn.
7056         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
7057         addr_to_string.
7058         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
7059         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
7060         * Makefile.in (dwarf2out.o): Update dependencies.
7061
7062 2000-01-24  Richard Henderson  <rth@cygnus.com>
7063
7064         * i386.c (i386_dwarf_output_addr_const): New.
7065         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
7066
7067         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
7068         if defined.
7069         * dwarfout.c (output_mem_loc_descriptor): Likewise.
7070         * i386.c (i386_simplify_dwarf_addr): New.
7071         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
7072
7073 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
7074
7075         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
7076         TYPE_STUB_DECL is NULL.
7077
7078 2000-01-24  Richard Henderson  <rth@cygnus.com>
7079
7080         * builtins.c (expand_tree_builtin): Move ...
7081         * c-common.c (expand_tree_builtin): ... here.
7082
7083 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7084
7085         * loop.h (LOOP_INFO): New accessor macro.
7086         * basic-block.h (struct loop): Rename field `info' to `aux'.
7087         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
7088         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
7089         * unroll.c (loop_iterations, unroll_loop): Likewise.
7090
7091 2000-01-24  Christopher Faylor <cgf@cygnus.com>
7092
7093         * config/i386/t-cygwin: Accomodate new winsup directory layout
7094         when searching for include files.
7095
7096 2000-01-24  Richard Henderson  <rth@cygnus.com>
7097
7098         * rtl.def: Add unordered fp comparisions.
7099         * tree.def: Likewise.
7100         * tree.h: Add ISO C 9x unordered fp comparision builtins.
7101
7102         * builtins.c (expand_tree_builtin): New function.
7103         * c-typeck.c (build_function_call): Use it.
7104         (build_binary_op): Support unordered compares.
7105         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
7106
7107         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
7108         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
7109         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
7110         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
7111         * jump.c (reverse_condition): Don't abort for UNLE etc, but
7112         return UNKNOWN.
7113         (swap_condition): Handle unordered compares.
7114         (thread_jumps): Check can_reverse before reversing.
7115         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
7116         reversed for FP.
7117
7118         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
7119         setcc is present before acking for cmp_optab.  Update all callers.
7120         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
7121         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
7122         * expr.c (expand_expr): Likewise.  Support unordered compares.
7123         (do_jump, do_store_flag): Likewise.
7124         * expr.h (enum libfunc_index): Add unordered compares.
7125
7126         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
7127         (DPBIT_FUNCS): Add _unord_df.
7128         * config/fp-bit.c (_unord_f2): New.
7129         * fp-test.c (main): Try unordered compare builtins.
7130
7131         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
7132         * alpha.c (alpha_comparison_operator): Check mode properly.
7133         (alpha_swapped_comparison_operator): Likewise.
7134         (signed_comparison_operator): Likewise.
7135         (alpha_fp_comparison_operator): New.
7136         (alpha_emit_conditional_branch): Handle unordered compares.
7137         * alpha.h (PREDICATE_CODES): Update.
7138         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
7139         (bunordered, bordered): New.
7140
7141 2000-01-24  Richard Henderson  <rth@cygnus.com>
7142
7143         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
7144         * alpha.md (movtf): New expander, insn, and splitter.
7145
7146 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
7147
7148         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
7149         dead registers.
7150
7151 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
7152
7153         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
7154         (FIXED_REGISTERS, CALL_USED_REGISTERS,
7155          REG_ALLOC_ORDER): Add frame pointer
7156         (FRAME_POINTER_REGNUM): Set to 20
7157         (HARD_FRAME_POINTER_REGNUM): New macro.
7158         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
7159         to HARD_FRAME_POINTER.
7160         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
7161         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
7162         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
7163         (HI_REGISTER_NAMES): Add "frame".
7164         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
7165         (debug_reg): Handle FRAME_POINTER_REGNUM.
7166         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
7167         GENERAL_REGS and INDEX_REGS.
7168         * i386.c (SAVED_REGS_FIRST): new macro.
7169         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
7170         (ix86_decompose_address, memory_address_length): Likewise.
7171         (regclass_map): Add frame pointer.
7172         (call_insn_operand): Handle frame_pointer_rtx.
7173         (reg_no_sp_operand): Likewise.
7174         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
7175         (print_operand, legitimize_pic_address): Fix formating.
7176         (ix86_compute_frame_size): Make static, update prototype, new
7177         parameters padding1, padding2, use ix86_nsaved_regs, use
7178         stack_alignment_needed.
7179         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
7180         to HARD_FRAME_POINTER_REGNUM conversions.
7181         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
7182         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
7183         (print_reg): Abort on FRAME_POINTER_REGNUM
7184
7185 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
7186
7187         * i386.h (PREDICATE_CODES): Add aligned_operand.
7188         * i386.c (aligned_operand): New function.
7189         (ix86_aligned_p): Kill.
7190         * i386.md (movhi_1): Emit mov for aligned operands.
7191         (promoting peep2s): Use aligned_operand.
7192
7193 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
7194
7195         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
7196         expression to allow underscores in macro names.
7197         (fix_char_macro_defines): Increment scanning pointer.
7198
7199 2000-01-23  Richard Henderson  <rth@cygnus.com>
7200
7201         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
7202         * alpha/osf5.h: New file.
7203         * configure.in (alpha-*-osf5): Add it to tm_file.
7204
7205         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
7206
7207         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
7208         (alpha_emit_xfloating_cvt, function_arg): Declare.
7209         * alpha.c (alpha_emit_conditional_branch): Call
7210         alpha_emit_xfloating_compare for TFmode compares.
7211         (alpha_lookup_xfloating_lib_func): New.
7212         (alpha_compute_xfloating_mode_arg): New.
7213         (alpha_emit_xfloating_libcall): New.
7214         (alpha_emit_xfloating_arith): New.
7215         (alpha_emit_xfloating_compare): New.
7216         (alpha_emit_xfloating_cvt): New.
7217         (print_operand): Add default abort case.
7218         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
7219         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
7220         (BIGGEST_ALIGNMENT): Increase to 128 bits.
7221         (RETURN_IN_MEMORY): True for TF/TCmode.
7222         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
7223         (FUNCTION_ARG): Move to function_arg.
7224         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
7225         (ASM_OUTPUT_LONG_DOUBLE): New.
7226         (ASM_OUTPUT_DOUBLE): Always output bits.
7227         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
7228         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
7229         (extenddftf2, trunctfdf2): New.
7230
7231 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7232
7233         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
7234         * config/sparc/sol2.h: ... here.
7235
7236 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7237
7238         * basic-block.h (struct loops): New field `levels'.
7239         * flow.c (flow_loops_level_compute): Traverse all outer loops.
7240         (flow_loop_level_compute): Initialise level to 1.
7241         (flow_loops_find): Set loops->levels.
7242         (flow_loops_dump): Print loops->levels.
7243
7244 2000-01-23  Richard Henderson  <rth@cygnus.com>
7245
7246         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
7247         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
7248
7249 2000-01-23  Richard Henderson  <rth@cygnus.com>
7250
7251         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
7252         * i386.h (DBX_REGISTER_NUMBER): Use them.
7253         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
7254         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
7255         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
7256         * i386/sequent.h: Kill incorrect comment.
7257
7258 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
7259
7260         * ggc-page.c (struct page_entry): Make `context_depth' an
7261         `unsigned short'.
7262         (struct globals): Likewise.
7263
7264 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
7265
7266         * loop.c (check_dbra_loop): When checking a loop for
7267         reversability, check the source of any stores to ensure
7268         they don't depend on an initial value.
7269
7270 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7271
7272         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
7273
7274 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
7275
7276         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
7277         'pz_scan' into scope of entire function.  Only affects
7278         compiles with -DDEBUG.
7279
7280 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
7281
7282         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
7283         section naming to that prior to 2000-01-07 patch.
7284         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
7285         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
7286         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
7287         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
7288         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
7289
7290 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
7291
7292         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
7293         constant.
7294
7295 2000-01-21  Jim Wilson  <wilson@cygnus.com>
7296
7297         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
7298         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
7299
7300 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
7301
7302         * cpphash.c (change_newlines): Delete function.
7303         (struct argdata): Delete 'newlines' and 'use_count' fields.
7304         (macroexpand): Remove code referencing those fields.
7305
7306 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7307
7308         * loop.c (loops_info): New variable.
7309         (loop_optimize): Allocate loops->array and free it on exit.
7310         Allocate memory for loops_info and assign to each loop,
7311         replacing alloca.
7312         (find_and_verify_loops): Do not allocate loops->array.
7313
7314 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
7315
7316         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
7317
7318 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
7319
7320         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
7321         pseudos if expanded after first flow.
7322         (movdi_pic_label_ref): Likewise.
7323
7324 2000-01-20  Richard Henderson  <rth@cygnus.com>
7325
7326         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
7327
7328 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
7329
7330         * Makefile.in (fixinc.sh): Depend on specs.
7331         * fixinc/Makefile.in: Add rule to create machname.h.
7332         (fixlib.o): Depend on machname.h.
7333         * fixinc/fixtests.c (machine_name): New test.
7334         * fixinc/fixfixes.c (machine_name): New fix.
7335         * fixinc/fixlib.c (mn_get_regexps): New helper function for
7336         the machine_name test and fix.
7337         * fixinc/fixlib.h: Prototype it.
7338         * fixinc/inclhack.def (machine_name): Use the C test and fix.
7339         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
7340
7341         * gcc.c (do_spec_1) [case P]: Take care not to create
7342         identifiers with three leading or trailing underscores.
7343
7344         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
7345         (fixincl): Don't specify libraries twice on link line.
7346         (gnu-regex.o): Remove special rule.
7347         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
7348         defined by config.h.  Do not define _REGEX_RE_COMP.
7349         (regcomp): Allocate and initialize a fastmap.
7350         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
7351
7352 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
7353
7354         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
7355
7356 2000-01-19  Richard Henderson  <rth@cygnus.com>
7357
7358         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
7359         arguments with BB.  Update all callers.  Tidy line wrapping.
7360
7361 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
7362
7363         * emit-rtl.c (try_split): Return last_insn if we split the
7364         last_insn.
7365
7366 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
7367
7368         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
7369         (ix86_initial_elimination_offset): Declare.
7370         * i386.c (ix86_nsaved_regs): Break out from ...
7371         (ix86_can_use_return_insn_p): ... here.
7372         (ix86_emit_save_regs): Break out from ...
7373         (ix86_expand_prologue): ... here.
7374         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
7375         out from ...
7376         (ix86_expand_epilogue): ... here.
7377         (ix86_compute_frame_size): Make static, add prototype.
7378         (ix86_initial_elimination_offset): Break out from ...
7379         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
7380
7381 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7382
7383         * recog.h (OUT_FCN): Delete.
7384
7385         * vax.md: Call `get_insn_template' instead of OUT_FCN.
7386
7387 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7388
7389         * cppalloc.c: PROTO -> PARAMS.
7390         * cpperror.c: Likewise.
7391         * cppfiles.c: Likewise.
7392         * cpplib.c: Likewise.
7393         * cpplib.h: Likewise.
7394
7395         * config/arm/arm-protos.h: PROTO -> PARAMS.
7396         * config/arm/arm.c: Likewise.
7397         * config/c4x/c4x.c: Likewise.
7398         * config/fr30/fr30-protos.h: Likewise.
7399         * config/nextstep.c: Likewise.
7400         * config/pa/pa.c: Likewise.
7401         * config/pj/pj.c: Likewise.
7402         * config/rs6000/rs6000.c: Likewise.
7403         * config/v850/v850-protos.h: Likewise.
7404         * config/v850/v850.c: Likewise.
7405
7406 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7407
7408         * i370-protos.h: New file.
7409
7410         * i370.c: Include tm_p.h.  Fix compile time warnings.
7411
7412         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
7413         warnings.
7414
7415         * i370.md: Likewise.
7416
7417 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7418
7419         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
7420         (target_isinf, target_isnan, eisnan): Mark parameter with
7421         ATTRIBUTE_UNUSED.
7422         (eiisinf): Wrap in INFINITY.
7423         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
7424         (ibmtoe): Remove unused variable `rndsav'.
7425
7426 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7427
7428         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
7429         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
7430
7431 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
7432
7433         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
7434         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
7435         (fix_char_macro_defines, fix_char_macro_uses): New functions.
7436
7437         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
7438         Recognize Emacs mode markers also.
7439         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
7440         C++ comments in C++ headers.  Call is_cxx_header only if
7441         necessary.
7442
7443         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
7444         bypass for ncurses.
7445         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
7446         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
7447         ... these, which use the new C fixes.
7448         (math_exception): Escape literal '+' in bypass expression.
7449
7450         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
7451         Regenerate.
7452
7453 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7454
7455         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
7456         inside the MEM.
7457
7458 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7459
7460         * loop.c (loop_optimize): Allocate loop_info structure for each loop
7461         prior to calling scan_loop.
7462
7463 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7464
7465         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
7466         (split_branches, calc_live_regs): Likewise.
7467
7468 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7469
7470         * sh.md (fpu_single, fp_mode): New attributes.
7471
7472 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7473
7474         * loop.c (current_loop_info): Renamed from loop_info_data
7475         and changed to a pointer.
7476         (loop_optimize): Allocate loop_info structure for each loop
7477         and initialise to zero.
7478         (scan_loop): Set current_loop_info.
7479
7480         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
7481         on iteration_var.
7482
7483 2000-01-19  Richard Henderson  <rth@cygnus.com>
7484
7485         * stupid.c: Die die die.
7486         * Makefile.in (OBJS): Remove stupid.o.
7487         (stupid.o): Likewise.
7488
7489         * except.c (emit_eh_context): Don't emit USEs for stupid.
7490         * explow.c (probe_stack_range): Likewise.
7491         * flags.h (obey_regdecls): Remove.
7492         * flow.c (find_basic_blocks): Don't run try_merge_blocks
7493         when not optimizing.
7494         (life_analysis): Limit data collection when not optimizing.
7495         (mark_regs_live_at_end): Always mark the return value registers.
7496         (mark_used_regs): Remove dummy RETURN case.
7497         (print_rtl_with_bb): Don't consult obey_regdecls.
7498         * function.c (use_variable, use_variable_after): Remove.
7499         (assign_parms): Consult optimize not obey_regdecls.
7500         (expand_function_start): Don't emit USEs for stupid.
7501         (expand_function_end): Likewise.
7502         * global.c (build_insn_chain): Export.
7503         * integrate.c (expand_inline_function): Kill return-value USE
7504         handling code.
7505         * jump.c (jump_optimize_1): Do simple jump optimizations and
7506         dead code elimination.
7507         (calculate_can_reach_end): Remove check_deleted argument.
7508         (delete_insn): Patch out insns even when not optimizing.
7509         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
7510         * rtl.h (use_variable, use_variable_after): Remove declarations.
7511         (build_insn_chain): Declare.
7512         * stmt.c (expand_value_return): Don't emit USEs for stupid.
7513         (expand_end_bindings): Likewise.
7514         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
7515         * toplev.c (obey_regdecls): Remove.
7516         (rest_of_compilation): Don't set it.  Kill stupid in favour of
7517         flow1, local-alloc, and reload.
7518         (main): Don't set obey_regdecls.
7519
7520         * config/nextstep.c (handle_pragma): Likewise.
7521
7522         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
7523
7524         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
7525
7526 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7527
7528         * alpha-protos.h: PROTO -> PARAMS.
7529         * alpha.c: Likewise.
7530         * elf.h: Likewise.
7531         * h8300.c: Likewise.
7532         * i386-protos.h: Likewise.
7533         * i386.c: Likewise.
7534         * m32r-protos.h: Likewise.
7535         * m32r.c: Likewise.
7536         * mips.c: Likewise.
7537         * mips.md: Likewise.
7538         * gmon-sol2.c: Likewise.
7539         * sparc.c: Likewise.
7540
7541 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7542
7543         * ns32k-protos.h: New file.
7544
7545         * ns32k.c: Fix compile time warnings.
7546
7547         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
7548         warnings.
7549
7550         * ns32k.md: Likewise.
7551
7552 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7553
7554         * vax-protos.h: New file.
7555
7556         * vax.c: Fix compile time warnings.
7557
7558         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
7559         warnings.
7560
7561         * vax.md: Likewise.
7562
7563         * vaxv.md: Likewise.
7564
7565 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7566
7567         * romp-protos.h: New file.
7568
7569         * romp.c: Fix compile time warnings.
7570
7571         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
7572         warnings.
7573
7574         * romp.md: Likewise.
7575
7576 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7577
7578         * we32k-protos.h: New file.
7579
7580         * we32k.c: Fix compile time warnings.
7581
7582         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
7583         warnings.
7584
7585 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7586
7587         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
7588
7589         * except.c (eh_regs): Likewise.
7590
7591         * final.c (output_operand): Likewise.
7592
7593         * fold-const.c (target_isinf, target_isnan): Likewise.
7594
7595 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
7596
7597         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
7598         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
7599
7600         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
7601         when optimize_size.
7602         (clrstrsi): Rewrite.
7603         (strsethi, strsetqi): New expanders.
7604         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
7605         (cmpstrsi): Emit compare insn before cmpstrsi_1
7606         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
7607         (strlensi_1): Likewise.
7608         (cmpstrsi_1): Likewise; do not output compare.
7609         (strlen expander): Do not unroll when optimizing for size.
7610         (*subsi3_carry): Rename to subsi3_carry
7611         (addqi3_cc): New pattern.
7612         * i386.h (processor_costs): Add move_ratio field.
7613         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
7614         * i386.c (*_cost): Set move_ratio.
7615         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
7616         (x86_expand_strlensi_1): Rewrite the main loop.
7617
7618 2000-01-17  Richard Henderson  <rth@cygnus.com>
7619
7620         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
7621         * cse.c (find_comparison_args, fold_rtx): Likewise.
7622         * integrate.c (subst_constants): Likewise.
7623         * loop.c (get_condition): Likewise.
7624
7625         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
7626
7627         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
7628
7629 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7630
7631         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
7632         (RESTORE_WARN_FLAGS): Unpack it.
7633         Change semantic type of extension to ttype.
7634         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
7635         * c-parse.y, c-parse.c, objc/objc-parse.y,
7636         objc/objc-parse.c: Regenerate.
7637
7638 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
7639
7640         * fixinc/fixlib.c: Add copyright notice.
7641         (compile_re): New function.
7642         * fixinc/fixlib.h: Prototype compile_re.
7643
7644         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
7645         Use compile_re to compile regular expressions.
7646
7647         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
7648         where the pattern matched.
7649
7650         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
7651         use 'replace'.
7652         (ultrix_ansi_compat): Likewise.
7653         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
7654         add egrep test.
7655         (interactv_add2, interactv_add3): Delete.
7656         (x11_sprintf): Don't use filename glob.
7657         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
7658         Regenerate.
7659
7660 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7661
7662         * print-rtl.c: PROTO -> PARAMS.
7663         * real.c: Likewise.
7664         * reg-stack.c: Likewise.
7665         * resource.c: Likewise.
7666         * sdbout.h: Likewise.
7667         * simplify-rtx.c: Likewise.
7668         * stor-layout.c: Likewise.
7669         * stupid.c: Likewise.
7670         * xcoffout.c: Likewise.
7671         * xcoffout.h: Likewise.
7672
7673 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7674
7675         * toplev.c: PROTO -> PARAMS.
7676         * toplev.h: Likewise.
7677         * tree.c: Likewise.
7678         * tree.h: Likewise.
7679         * unroll.c: Likewise.
7680         * varasm.c: Likewise.
7681         * varray.c: Likewise.
7682         * varray.h: Likewise.
7683
7684 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7685
7686         * reload.c: PROTO -> PARAMS.
7687         * reload.h: Likewise.
7688         * reload1.c: Likewise.
7689         * reorg.c: Likewise.
7690         * resource.h: Likewise.
7691         * rtl.c: Likewise.
7692         * rtl.h: Likewise.
7693         * rtlanal.c: Likewise.
7694         * sbitmap.h: Likewise.
7695         * sdbout.c: Likewise.
7696         * stack.h: Likewise.
7697         * stmt.c: Likewise.
7698         * system.h: Likewise.
7699
7700 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7701
7702         * machmode.h: PROTO -> PARAMS.
7703         * mbchar.h: Likewise.
7704         * mips-tdump.c: Likewise.
7705         * mips-tfile.c: Likewise.
7706         * optabs.c: Likewise.
7707         * output.h: Likewise.
7708         * prefix.c: Likewise.
7709         * profile.c: Likewise.
7710         * protoize.c: Likewise.
7711         * real.h: Likewise.
7712         * recog.c: Likewise.
7713         * recog.h: Likewise.
7714         * regclass.c: Likewise.
7715         * regmove.c: Likewise.
7716         * regs.h: Likewise.
7717
7718 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7719
7720         * ggc-common.c: PROTO -> PARAMS.
7721         * ggc-page.c: Likewise.
7722         * ggc-simple.c: Likewise.
7723         * ggc.h: Likewise.
7724         * global.c: Likewise.
7725         * graph.c: Likewise.
7726         * gthr-win32.h: Likewise.
7727         * haifa-sched.c: Likewise.
7728         * halfpic.h: Likewise.
7729         * integrate.c: Likewise.
7730         * integrate.h: Likewise.
7731         * jump.c: Likewise.
7732         * lcm.c: Likewise.
7733         * local-alloc.c: Likewise.
7734         * loop.c: Likewise.
7735         * loop.h: Likewise.
7736
7737 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7738
7739         * genattr.c: PROTO -> PARAMS.
7740         * genattrtab.c: Likewise.
7741         * gencheck.c: Likewise.
7742         * gencodes.c: Likewise.
7743         * genconfig.c: Likewise.
7744         * genemit.c: Likewise.
7745         * genextract.c: Likewise.
7746         * genflags.c: Likewise.
7747         * gengenrtl.c: Likewise.
7748         * genopinit.c: Likewise.
7749         * genoutput.c: Likewise.
7750         * genpeep.c: Likewise.
7751         * genrecog.c: Likewise.
7752
7753 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
7754
7755         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
7756
7757 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7758
7759         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
7760         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
7761         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
7762         * configure, config.in: Rebuilt.
7763
7764 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
7765
7766         * config/i386/i386.md: Add peephole to merge successive stack
7767         adjusts.
7768
7769 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
7770
7771         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
7772         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
7773         when walking backwards to find all the parameter loads when
7774         the basic block ends in a call.
7775
7776 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7777
7778         * loop.c (this_loop_info): Delete.
7779         (uid_loop): Add in place of uid_loop_num.  All uses updated.
7780         (loop_number_exit_count): Delete and replace with entry in loop
7781         structure.  All uses updated.
7782         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7783         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7784         (loop_outer_loop): Likewise.
7785         (loop_invalid, loop_number_exit_labels): Likewise.
7786         (loop_used_count_register): Delete and replace with entry in
7787         loop_info structure.
7788         (find_and_verify_loops): Add loops argument.
7789         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
7790         loop_end, etc. arguments with loop structure pointer.  All callers
7791         changed.
7792         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
7793         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
7794         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
7795         (insert_bct): Likewise.
7796         (basic_induction_var): New argument level.
7797         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
7798         vtop, and cont.  Add used_count_register.
7799         (uid_loop): Delete declaration.
7800         (loop_number_exit_count): Likewise.
7801         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7802         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7803         (loop_outer_loop, loop_used_count_register): Likewise.
7804         (loop_invalid, loop_number_exit_labels): Likewise.
7805         (unroll_loop): Replace loop_start and loop_end arguments
7806         with loop structure pointer.
7807         (loop_precondition_p, loop_iterations): Likewise.
7808         Include basic-block.h.
7809         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
7810         with loop structure pointer.
7811         (loop_precondition_p, loop_iterations): Likewise.
7812         * basic-block.h (struct loop): New entries vtop, cont,
7813         cont_dominator, start, end, top, scan_start, exit_labels,
7814         exit_count.
7815         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
7816
7817 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7818
7819         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
7820
7821 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
7822
7823         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
7824
7825 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7826
7827         * pdp11-protos.h: New file.
7828
7829         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
7830         time warnings.
7831
7832         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
7833         warnings.
7834
7835         * pdp11.md: Likewise.
7836
7837         * 2bsd.h: Likewise.
7838
7839 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7840
7841         * mn10300-protos.h: New file.
7842
7843         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
7844         time warnings.
7845
7846         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
7847         warnings.
7848
7849         * mn10300.md: Likewise.
7850
7851 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7852
7853         * mn10200-protos.h: New file.
7854
7855         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
7856         time warnings.
7857
7858         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
7859         warnings.
7860
7861         * mn10200.md: Likewise.
7862
7863 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7864
7865         * h8300-protos.h: New file.
7866
7867         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
7868         time warnings.
7869
7870         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
7871         warnings.
7872
7873         * h8300.md: Likewise.
7874
7875 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7876
7877         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
7878         (asm_emit_uninitialised): Likewise.
7879
7880 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
7881
7882         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
7883         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
7884
7885 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7886
7887         * config/mips/mips.c (override_options): Don't turn on extra
7888         alignment for mips16.
7889
7890 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7891
7892         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
7893         eabi, and make sure queued POSTINCREMENT rtl is emitted at
7894         the right point.
7895
7896 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7897
7898         * builtins.c (PAD_VARARGS_DOWN): Define.
7899         (std_expand_builtin_va_arg): Use the above macro.
7900         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
7901         * tm.texi (Register Arguments): Document the above macro.
7902
7903 2000-01-14  Nick Clifton  <nickc@cygnus.com>
7904
7905         * emit-rtl.c (emit_insn): If checking is enabled, make sure
7906         that this function has not been used to emit a jump
7907         instruction.
7908
7909         * jump.c (return_jump_1): Cope with being passed a null rtx.
7910
7911 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7912
7913         * eh-common.h: PROTO -> PARAMS.
7914         * emit-rtl.c: Likewise.
7915         * errors.c: Likewise.
7916         * errors.h: Likewise.
7917         * except.c: Likewise.
7918         * except.h: Likewise.
7919         * explow.c: Likewise.
7920         * expmed.c: Likewise.
7921         * expr.c: Likewise.
7922         * expr.h: Likewise.
7923         * final.c: Likewise.
7924         * fix-header.c: Likewise.
7925         * flow.c: Likewise.
7926         * fold-const.c: Likewise.
7927         * function.c: Likewise.
7928         * function.h: Likewise.
7929         * gcc.c: Likewise.
7930         * gcov-io.h: Likewise.
7931         * gcov.c: Likewise.
7932         * gcse.c: Likewise.
7933
7934 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7935
7936         * sh-protos.h: New file.
7937
7938         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
7939         Add static prototypes.  Fix compile time warnings.
7940
7941         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
7942         * sh.md: Likewise.
7943         * elf.h: Likewise.
7944
7945 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7946
7947         * arc-protos.h: New file.
7948
7949         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
7950         time warnings.
7951
7952         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
7953         warnings.
7954
7955         * arc.md: Likewise.
7956
7957 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7958
7959         * dsp16xx-protos.h: New file.
7960
7961         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
7962         time warnings.
7963
7964         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
7965         warnings.
7966
7967         * dsp16xx.md: Likewise.
7968
7969 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7970
7971         * convex-protos.h: New file.
7972
7973         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
7974         time warnings.
7975
7976         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
7977         warnings.
7978
7979 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7980
7981         * elxsi-protos.h: New file.
7982
7983         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
7984         time warnings.
7985
7986         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
7987         warnings.
7988
7989         * elxsi.md: Likewise.
7990
7991 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7992
7993         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
7994         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
7995         match the comment for MIPS16.
7996
7997 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
7998
7999         * flow.c (split_edge): Do not call set_block_for_insn if we
8000         do not have a basic_block_for_insn structure.
8001
8002         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
8003         and destination functions are 32bit aligned within the trampoline.
8004         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
8005         (TRAMPOLINE_ALIGNMENT): Define.
8006
8007         * cse.c (cse_insn): When changing (set (pc) (reg)) to
8008         (set (pc) (label_ref)), verify the change creates a valid insn.
8009
8010         * fr30.c (call_operand): Tighten and rework to match rules for
8011         call RTL expressions.
8012         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
8013         * fr30.md (call patterns): Improve constraints.
8014
8015 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
8016
8017         * fr30.c (fr30_expand_epilogue): Revert last change.
8018         Use emit_jump_insn for the return insn.
8019
8020 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
8021                           Stan Cox  <scox@cygnus.com>
8022
8023         * predict.c: New file. Preliminary infrastructure work for static
8024         branch prediction and basic block reordering.
8025         * basic-block.h: Add prototype for estimate_probability.
8026         * Makefile.in: Add rules for predict.o.
8027
8028 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
8029
8030         * fixincludes (va_list): Use __not_va_list__ for the dummy.
8031         * fixinc/*: Likewise.
8032
8033 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8034
8035         * cccp.c: PROTO -> PARAMS.
8036         * cexp.y: Likewise.
8037         * collect2.c: Likewise.
8038         * combine.c: Likewise.
8039         * convert.h: Likewise.
8040         * cse.c: Likewise.
8041         * dbxout.c: Likewise.
8042         * dbxout.h: Likewise.
8043         * diagnostic.c: Likewise.
8044         * doprint.c: Likewise.
8045         * dwarf2out.c: Likewise.
8046         * dwarf2out.h: Likewise.
8047         * dwarfout.c: Likewise.
8048         * dwarfout.h: Likewise.
8049         * dyn-string.h: Likewise.
8050
8051 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8052
8053         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
8054         macro conditionals guarding use.
8055
8056         * dwarf2out.c: Include "tm_p.h".
8057
8058         * function.c (locate_and_pad_parm): Mark parameter with
8059         ATTRIBUTE_UNUSED.
8060         (expand_function_end): Likewise for variable `context'.
8061
8062         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
8063
8064 2000-01-13  Nick Clifton  <nickc@cygnus.com>
8065
8066         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
8067         register to prevent compile time warnings.
8068
8069 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
8070
8071         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
8072         to avoid -Wtraditional warning.
8073
8074 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8075
8076         * 1750a-protos.h: New file.
8077
8078         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
8079         time warnings.
8080
8081         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
8082         warnings.
8083
8084         * 1750a.md: Likewise.
8085
8086 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8087
8088         * a29k-protos.h: New file.
8089
8090         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
8091         time warnings.
8092
8093         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
8094         warnings.
8095
8096 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8097
8098         * clipper-protos.h: New file.
8099
8100         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
8101         time warnings.
8102
8103         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
8104         warnings.
8105
8106 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8107
8108         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
8109
8110 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
8111
8112         * configure.in (--enable-new-gxx-abi): New option.
8113         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
8114         * Makefile.in (GXX_ABI_FLAG): New variable.
8115         * configure: Regenerate.
8116
8117 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8118
8119         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
8120         * tm.texi (FORCE_STRUCT_BLK): Document.
8121         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
8122
8123 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
8124
8125         * config/ns32k/ns32k.md: Revert Jan 9 change.
8126
8127         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
8128         to a mode-test, if the predicate is address_operand.
8129
8130 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
8131
8132         * combine.c (if_then_else_cond): Be careful about what kinds
8133         of RTL expressions are passed to operand_subword.
8134
8135         * flow.c (split_edge): If we have to insert a new jump, make
8136         sure to associate it with a basic block.
8137
8138         * flow.c (commit_one_edge_insertion): A block with one successor
8139         can end in a JUMP_INSN that is not a simplejump.
8140
8141 2000-01-12  Robert Lipe  <robertl@sco.com>
8142
8143         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
8144         (BUILD_VA_LIST_TYPE): Define.
8145         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
8146         with crtstuff.c.
8147
8148 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
8149
8150         * cccp.c (do_pragma): Add cast to (char *).
8151
8152 2000-01-12  Richard Henderson  <rth@cygnus.com>
8153             Fred Fish  <fnf@be.com>
8154             Jason Merrill  <jason@cygnus.com>
8155
8156         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
8157         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
8158         * i386/beos-elf.h, i386/beos-pe.h: New files.
8159
8160         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
8161         * cross-make (SYSTEM_HEADER_DIR): Define using
8162         CROSS_SYSTEM_HEADER_DIR.
8163
8164         * gcc.c (LIBRARY_PATH_ENV): Provide default.
8165         (process_command): Use it.
8166         (main): Likewise.  Kill trailing = from env vars.
8167         (build_search_list): Put it back.
8168         * collect2.c (main): Use LIBRARY_PATH_ENV.
8169
8170         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
8171         * toplev.c: Use NEED_DECLARATION_ENVIRON.
8172
8173         * tm.texi (Frame Layout): Document SMALL_STACK.
8174         * c-common.c (c_common_nodes_and_builtins): Check it.
8175
8176         * system.h: Undef alloca after including glibc's <stdlib.h>,
8177         if USE_C_ALLOCA is defined.
8178
8179         * gcc.c (set_input): New fn.
8180         (main): After all input files are compiled, reset the input file
8181         info to the first.
8182
8183         * aclocal.m4 (rindex, index): If already defined, don't attempt
8184         to redefine.
8185
8186         * ginclude/varargs.h: (__va_list__): Define ifndef.
8187         * ginclude/stdarg.h: Likewise.
8188
8189         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
8190         instead of unsigned char.
8191
8192         * hash.h (true, false, boolean): Undef before enum.
8193
8194         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
8195         proper type of "HOST_WIDE_INT *", rather than their natural type of
8196         "unsigned HOST_WIDE_INT *".
8197
8198 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8199
8200         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
8201
8202         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
8203
8204         * regclass.c (choose_hard_reg_mode): Likewise.
8205
8206         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
8207
8208         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
8209
8210 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8211
8212         * c-common.c: PROTO -> PARAMS.
8213         * c-common.h: Likewise.
8214         * c-decl.c: Likewise.
8215         * c-iterate.c: Likewise.
8216         * c-lang.c: Likewise.
8217         * c-lex.c: Likewise.
8218         * c-lex.h: Likewise.
8219         * c-parse.in: Likewise.
8220         * c-pragma.c: Likewise.
8221         * c-pragma.h: Likewise.
8222         * c-tree.h: Likewise.
8223         * c-typeck.c: Likewise.
8224         * objc/objc-act.c: Likewise.
8225         * objc/objc-act.h: Likewise.
8226
8227 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8228
8229         * m88k-protos.h: New file.
8230
8231         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
8232         time warnings.
8233
8234         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
8235
8236         * m88k.md: Likewise.
8237
8238         * tekXD88.h: Likewise.
8239
8240 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8241
8242         * m68k-protos.h: New file.
8243
8244         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
8245         time warnings.
8246
8247         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
8248
8249         * mot3300.h: Likewise.
8250
8251 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
8252
8253         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
8254         extract_bitlst.
8255         (extract_bitlist): Declare bitlen.
8256
8257 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
8258
8259         * cccp.c: Accept and ignore -lang-fortran.
8260
8261         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
8262         qualifiers don't match at any level of pointerness.
8263
8264 2000-01-12  Robert Lipe  <robertl@sco.com>
8265
8266         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
8267
8268 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
8269
8270         * reload1.c (reload_reg_unavailable): New static variable.
8271         (reload_reg_free_p): Test it.
8272         (reload_reg_free_for_value_p): Test it instead of
8273         reload_reg_used.
8274         (choose_reload_regs_init): Compute it.
8275
8276 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
8277
8278         * reorg.c (fill_slots_from_thread): Check modified_in_p
8279         before replacing.
8280
8281 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
8282
8283         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
8284         these nodes even if INTERNALS is not set.
8285
8286 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
8287
8288         * gcse.c (delete_null_pointer_checks_1): Cope when
8289         get_condition cannot determine the condition.
8290
8291 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
8292
8293         * toplev.h (set_message_length): Declare.
8294
8295         * diagnostic.c (obstack_chunk_alloc): Define macro.
8296         (obstack_chunk_free): Likewise.
8297         (struct output_buffer): New data structure.
8298         (vmessage): Remove.
8299         (output_maximum_width): New variable.
8300         (doing_line_wrapping, set_message_length, init_output_buffer,
8301         get_output_prefix, output_space_left, emit_output_prefix,
8302         output_newline, output_append, output_puts, dump_output,
8303         vbuild_message_string, build_message_string, build_location_prefix,
8304         voutput_notice, output_printf, line_wrapper_printf,
8305         vline_wrapper_message_with_location):  New functions. Implement
8306         automatic line wrapping.
8307         (v_message_with_decl): Make it handle automatic line wrapping.
8308         (v_error_with_file_and_line): Likewise.
8309         (v_warning_with_file_and_line): Likewise.
8310         (announce_function): Likewise.
8311         (default_print_error_function): Likewise.
8312
8313 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
8314
8315         * cpplib.h (struct cpp_options): Change lang_asm to char.
8316         Add lang_fortran.
8317         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
8318         done in cpp_handle_option now.
8319         (initialize_builtins): Take out special case code used only by
8320         __STDC_VERSION__.
8321         (cpp_handle_option): Turn off trigraphs and trigraph warnings
8322         if -traditional.  Recognize -lang-fortran and set
8323         lang_fortran, also turn off cplusplus_comments.
8324         (print_help): Document -lang-fortran.
8325         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
8326         lang_asm. Ignore all directives other than `# 123 "file"' if
8327         CPP_PREPROCESSED.
8328         (cpp_get_token): If -traditional, don't recognize directives
8329         unless the # is in column 1.
8330         (parse_string): If lang_fortran or lang_asm, silently
8331         terminate strings ('' or "") at end of line.
8332         Remove unnecessary braces.
8333
8334 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8335             Richard Henderson  <rth@cygnus.com>
8336
8337         * resource.c (mark_referenced_resources): Mark a set strict_low_part
8338         as used.
8339         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
8340         strict_low_part when possible.
8341
8342 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8343
8344         * alias.c: PROTO -> PARAMS.
8345         * basic-block.h: Likewise.
8346         * bitmap.c: Likewise.
8347         * bitmap.h: Likewise.
8348         * builtins.c: Likewise.
8349         * c-aux-info.c: Likewise.
8350         * caller-save.c: Likewise.
8351         * calls.c: Likewise.
8352
8353 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8354
8355         * Makefile.in (toplev.o): Depend on regs.h.
8356
8357         * output.h (tdesc_section): Prototype.
8358
8359         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
8360
8361         * sdbout.c: Include "tm_p.h".
8362
8363         * toplev.c: Include "regs.h".
8364
8365 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
8366
8367         * unroll.c (unroll_loop): Add EH support.
8368
8369 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8370
8371         * pa-protos.h: New file.
8372
8373         * pa.c: Include recog.h and tm_p.h.
8374         (compute_zdepwi_operands, compute_movstrsi_length,
8375         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
8376         find_addr_reg, import_milli): Add static prototypes.
8377         (pa_cpu_string, pa_arch_string): Constify a char*.
8378         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
8379         (read_only_operand): Add argument `mode'.
8380         (singlemove_string, output_move_double, output_fp_move_double,
8381         output_block_move, output_and, output_ior, output_ascii,
8382         remove_useless_addtr_insns, milli_names, output_mul_insn,
8383         output_div_insn, output_mod_insn, output_arg_descriptor,
8384         output_cbranch, output_bb, output_bvb, output_dbra, ,
8385         output_millicode_call, output_call, hppa_encode_label,
8386         output_parallel_movb, output_parallel_addb): Constify a char*.
8387         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
8388         (output_parallel_addb): Remove extra arg to `constrain_operands'
8389
8390         * pa.h:  Move all prototypes to pa-protos.h.
8391         (pa_cpu_string, pa_arch_string): Constify a char*.
8392         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
8393
8394         * pa.md: Call `function_label_operand' with mode argument.
8395         Likewise for `read_only_operand'.
8396         Fix nesting of parens in call to `symbolic_operand'.
8397
8398 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8399
8400         * i860-protos.h: New file.
8401
8402         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
8403         time warnings.
8404
8405         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
8406
8407         * i860.md: Likewise.
8408
8409 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
8410
8411         * i386.md (movstrsi expander): Rewrite.
8412         (movstrsi_1 insn): Deleted.
8413         (strmovhi, strmovqi expander): New expanders.
8414         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
8415         * i386.c (x86_single_stringop): New global variable.
8416         * i386.h (x86_single_stringop): Declare.
8417         (TARGET_SINGLE_STRINGOP): New macro.
8418
8419 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
8420
8421         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
8422         integer vararg POSTINCREMENT before the destination of the jump
8423         for the hard fp case.
8424         (function_arg_pass_by_reference): Pass a copy of CUM to
8425         FUNCTION_ARG.
8426
8427         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
8428         for CONSTANT_ADDRESS_P above while loop for subreg.
8429
8430 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
8431
8432         * flow.c (propagate_block): When a prologue/epilogue insn
8433         is marked dead, unconditionally clear libcall_is_dead and
8434         insn_is_dead, and only dump rtl if warnings aren't being
8435         suppressed.
8436
8437 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
8438
8439         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
8440         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
8441         (FIXED_REGISTERS): Set dirflag as fixed.
8442         (CALL_USED_REGISTERS): Set dirflag as used.
8443         (REG_ALLOC_ORDER): Set dirflag as last one.
8444         (DIRFLAG_REG): New macro.
8445         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
8446         (HI_REGISTER_NAMES): Add dirflag.
8447         (DEBUF_PRINT_REG): Handle dirflag.
8448         * i386.md (type attribute): New cld and str types.
8449         (length_opcode attribute): Set cld and str to 1.
8450         (memory attribute): Set str to unknown - it is not clear from the
8451         patterns.
8452         (pent_np function unit): Prefixed string operations takes 12 cycles
8453         minimally; cld takes 2 cycles.
8454         (ppro_uops attribute): Str is "many" and cld is "few".
8455         (ppro_p0 unit): Handle cld here.
8456         (k6_alux unit): Handle cld and str types.
8457         (k6_load unit): It is ocupied by str opcodes.
8458         (k6_store unit): It is ocupied by str opcodes.
8459         (athlon_decode): Str is vector decoded.
8460         (athlon_ieu): Handle str and cld.
8461         (cld pattern): New.
8462         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
8463         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
8464         cmpstrsi_nz_1 insn): Do not output cld instruction
8465
8466 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
8467
8468         * gcc.texi (G++ and GCC): Add Java and Chill.
8469         (Bug Critera): Don't list languages.
8470
8471         * gcc.texi (Incompatibilities): No longer claim most C compilers
8472         are K&R.
8473
8474         * gcc.texi (G++ and GCC): Update other front-ends list.
8475
8476 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
8477
8478         * i386.c (ix86_expand_setcc): Fix typo.
8479         (ix86_expand_movcc): Similarly.
8480
8481         * Band-aid until haifa's bitset implementation is nuked.
8482         * haifa-sched.c (extract_bitlst): New parameter for size of the
8483         bitset in bits.  All callers changed.  Avoid looking at undefined
8484         bits in the bitset.
8485         (edgeset_bitsize): New variable.
8486         (schedule_region): Initialize edgeset_bitsize.
8487
8488 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8489
8490         * Makefile.in (optabs.o): Depend on real.h
8491         (resource.o): Depend on insn-attr.h
8492
8493         * builtins.c (result_vector): Wrap prototype in macro conditions
8494         governing definition and use.
8495
8496         * c-common.c: Include tm_p.h.
8497
8498         * c-lex.c: Likewise.
8499
8500         * elfos.h: Constify a char*.
8501
8502         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
8503         (get_attr_length, shorten_branches, profile_after_prologue): Mark
8504         parameter with ATTRIBUTE_UNUSED.
8505
8506         * fold-const.c (exact_real_inverse): Wrap variable `i' in
8507         CHECK_FLOAT_VALUE.
8508
8509         * haifa-sched.c (schedule_insns): Mark parameter with
8510         ATTRIBUTE_UNUSED.
8511
8512         * optabs.c: Include real.h.
8513
8514         * real.h (ereal_atof): Add prototype arguments.
8515
8516         * resource.c: Include insn-attr.h.
8517
8518         * sdbout.c (sdbout_queue_anonymous_type,
8519         sdbout_dequeue_anonymous_types): Wrap in macro
8520         SDB_ALLOW_FORWARD_REFERENCES.
8521         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
8522         ATTRIBUTE_UNUSED.
8523
8524         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
8525
8526         * stupid.c: Include tm_p.h.
8527
8528         * tree.c (real_value_from_int_cst): Mark parameter with
8529         ATTRIBUTE_UNUSED.
8530
8531 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8532
8533         * i960-protos.h: New file.
8534
8535         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
8536         time warnings.
8537
8538         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
8539
8540 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8541
8542         * combine.c (expand_field_assignment): Do not discard SUBREGs
8543         while computing nonzero_bits.
8544
8545 2000-01-09  Nick Clifton  <nickc@cygnus.com>
8546
8547         * config/arm/arm.c: Fix compile time warnings about signed vs
8548         unsigned constants.
8549         * config/arm/arm.h: Fix compile time warnings about signed vs
8550         unsigned constants.
8551
8552 2000-01-09  Philip Blundell  <philb@gnu.org>
8553
8554         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
8555         than `ldm' with only one register.
8556         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
8557         only one register.
8558
8559         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
8560         clobbered.
8561
8562 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
8563
8564         * config/ns32k/ns32k.md (load or push effective address): Operand 1
8565         must have SImode.
8566
8567 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8568
8569         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
8570         assignment used as truth value.
8571
8572         * function.c (assign_temp): Mark parameter `dont_promote' with
8573         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
8574         PROMOTE_FOR_CALL_ONLY.
8575
8576         * genrecog.c (write_subroutine): Mark variable `operands' with
8577         ATTRIBUTE_UNUSED.
8578
8579         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
8580         ATTRIBUTE_UNUSED.
8581
8582         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
8583         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
8584
8585         * toplev.c (note_deferral_of_defined_inline_function): Likewise
8586         for `decl'.
8587
8588 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8589
8590         * config/c4x.h: Tidy up comments.
8591         * config/c4x.c: Likewise.
8592
8593 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
8594
8595         * fold-const.c (lshift_double, rshift_double): Handle
8596         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
8597
8598 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8599
8600         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
8601         in prepare_function_start().
8602
8603 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
8604
8605         * config/v850/v850.c (expand_epilogue): Interrupt functions no
8606         longer allocate extra stack for function calls.
8607
8608 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8609
8610         * config/c4x/c4x.md (*subqf3_set): Fix typo.
8611
8612 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8613
8614         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
8615
8616 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
8617
8618         * rs6000.c (processor_target_table): Add power3 as alias for 630.
8619         * aix43.h: Revert Aug 2 change.
8620         (HAS_INIT_SECTION): Define, not visible yet.
8621         (LD_INIT_SWITCH): Define, not visible yet.
8622         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
8623
8624         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
8625
8626         * collect2.c (main): Expand ld2 size further.
8627         (export_object_lst): Cast assignment to avoid warning.
8628         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
8629         (scan_prog_file, COFF): Do not collect initialization or
8630         finalization functions generated for entire shared object if
8631         init/fini support present.
8632
8633 2000-01-07  Nick Clifton  <nickc@cygnus.com>
8634
8635         * config/elfos.h: Tidy up formatting of marcos.  Make sure
8636         that .section directives are always prefixed by a tab.
8637
8638         * config/svr4.h: Add #include "elfos.h" and remove duplicate
8639         definitions.
8640
8641 2000-01-07  Matt Austern  <austern@sgi.com>
8642
8643         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
8644         expon.
8645
8646 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
8647
8648         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
8649         crtstuff.c.
8650         (crtbegin.o, s-crtS): Likewise.
8651
8652 2000-01-06  Richard Henderson  <rth@cygnus.com>
8653
8654         * alpha.md (adddi_2+1): Limit offset such that it will be
8655         loadable with a single ldah+lda pair.
8656         (adddi_2+2): Explicitly fail split if we can't make it work.
8657
8658 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
8659
8660         * protoize.c: Conditionally include unistd.h.
8661         (IS_SAME_PATH_CHAR): New macro.
8662         (IS_SAME_PATH): New macro.
8663         (CPLUS_FILE_SUFFIX): New macro.
8664         (cplus_suffix): New static variable.
8665         (is_abspath): New static function.
8666         (in_system_include_dir): Handle DOS style pathnames.
8667         (file_could_be_converted): Likewise.
8668         (file_normally_convertible): Likewise.
8669         (directory_specified_p): Likewise.
8670         (file_excluded_p): Likewise.
8671         (abspath): Likewise.
8672         (shortpath): Likewise.
8673         (referenced_file_is_newer): Likewise.
8674         (save_def_or_dec): Likewise.
8675         (do_processing): Likewise.
8676         (main): Likewise.
8677         (edit_file): Likewise. Use rename instead of link.
8678         (rename_c_file): Likewise. Don't rename syscalls file.
8679         (munge_compile_params): Define null device for DOS based systems.
8680         (process_aux_info_file): Use binary mode if appliable.
8681         (edit_file): Likewise.
8682         * invoke.texi (Running Protoize): Document C++ suffixes used.
8683
8684         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
8685         IS_DIR_SEPARATOR macros.
8686         * collect2.c: Likewise.
8687         * cppinit.c: Likewise.
8688         * dwarf2out.c: Likewise.
8689         * gcc.c: Likewise.
8690         * gcov.c: Likewise.
8691         * prefix.c: Likewise.
8692         * rtl.c: Likewise.
8693         * toplev.c: Likewise.
8694         * system.h: And move to here.
8695
8696         * prefix.c (update_path): Fix typo in variable name.
8697
8698 2000-01-06  Richard Henderson  <rth@cygnus.com>
8699
8700         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
8701         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
8702         (count_reg_sets_1, count_reg_references): Likewise.
8703         (flow_loops_level_compute): Start counting actual loop depth at 1.
8704         (flow_loops_find): Likewise.
8705         * local-alloc.c (update_equiv_regs): Likewise.
8706         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
8707
8708 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
8709
8710         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
8711         FIRST_PSEUDO_REGISTER
8712         * dwarf2out.c: Don't include frame.h
8713         * dwarfout.c: Likewise
8714         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
8715         frame.h
8716
8717 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
8718
8719         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8720         dead registers.
8721
8722         * i386.c (movsf splitter): Fix typo in my last checkin.
8723
8724 2000-01-05  Nick Clifton  <nickc@cygnus.com>
8725
8726         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
8727         own definition of this macro.
8728         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
8729         flag_data_sections or UNIQUE_SECTION_P are true.
8730
8731         * tm.texi (UNIQUE_SECTION): Document that it can be called for
8732         unitialised data decls.
8733
8734         * config/i386/winnt.c (i386_pe_unique_section): Cope with
8735         being called for uninitialised data.
8736
8737         * config/i386/interix.c (i386_pe_unique_section): Cope with
8738         being called for uninitialised data.
8739
8740         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
8741         for uninitialised data.
8742
8743         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
8744         for uninitialised data.
8745
8746         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
8747         for uninitialised data.
8748
8749         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
8750         (UNIQUE_SECTION_P): Always generate a unique section if
8751         flag_data_sections is true.
8752         (UNIQUE_SECTION): Also generate unique sections for
8753         uninitialised data.
8754         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
8755         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
8756         named_section().
8757
8758 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8759
8760         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
8761         SI, or DI.
8762
8763 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8764
8765         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
8766         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
8767         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
8768         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
8769         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
8770
8771         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
8772
8773 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
8774
8775         * c-decl.c (finish_enum): Simplify code to determine minimum and
8776         maximum values of the enum, and calculate the type.  Remove check
8777         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
8778         the DECL_INITIAL of each enumeration constant with a copy converted
8779         to the enumeration type.  When updating variant types, don't bother
8780         updating the type itself.
8781
8782         * c-typeck.c (build_binary_op): Simplify conditional expressions
8783         when weeding out spurious signed-unsigned warnings.  Add new
8784         spurious warning category: if the unsigned quantity is an enum
8785         and its maximum value fits in signed_type(result_type).  Update
8786         commentary.
8787         (build_conditional_expr): Warn here if one alternative is signed
8788         and the other is unsigned.
8789
8790 2000-01-05  Nick Clifton  <nickc@cygnus.com>
8791
8792         * config/fr30/fr30.h: Remove extraneous comments.
8793
8794 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
8795
8796         * reload1.c (choose_reload_regs): When disabling a reload, also
8797         set reload_spill_index to -1.
8798
8799 2000-01-04  Joel Sherrill (joel@OARcorp.com>
8800
8801         * configure.in (m68*-*-rtemscoff*): New target, formal name for
8802         old m68*-*-rtems*.
8803         (m68*-*-rtemself*): New target.
8804         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
8805         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
8806         (sparc*-*-rtemself*): New target.
8807         (sparc*-*-rtems*): Now elf not a.out.
8808         * config/i386/rtems.h: Include config/rtems.h.
8809         * config/i386/rtemself.h: Include config/rtems.h.
8810         * config/i960/rtems.h: Include config/rtems.h.
8811         * config/m68k/rtems.h: Include config/rtems.h.
8812         * config/m68k/rtemself.h: Include config/rtems.h.
8813         * config/mips/rtems64.h: Include config/rtems.h.
8814         * config/pa/rtems.h: Include config/rtems.h.
8815         * config/rs6000/rtems.h: Include config/rtems.h.
8816         * config/sh/rtems.h: Include config/rtems.h.
8817         * config/sh/rtemself.h: Include config/rtems.h.
8818         * config/sparc/rtems.h: Include config/rtems.h.
8819         * config/sparc/rtemself.h: Include config/rtems.h
8820
8821 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
8822
8823         * final.c (shorten_branches): Correctly compute length of
8824         asms without operands.
8825
8826 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
8827
8828         * configure.in: Add pj target.
8829         * configure: Regenerate.
8830         * config/pj: New directory.
8831         * config/pj/lib1funcs.S: New file.
8832         * config/pj/linux.h: New file.
8833         * config/pj/pj.c: New file.
8834         * config/pj/pj.md: New file.
8835         * config/pj/pjl.h: New file.
8836         * config/pj/t-pj: New file.
8837         * config/pj/xm-pj.h: New file
8838
8839 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
8840
8841         * toplev.c (rest_of_compilation): Run shorten-branches before
8842         reg-stack for now.
8843
8844 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8845
8846         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
8847         macros so that they're consistent with their names.
8848         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8849         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8850
8851 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8852
8853         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
8854         modified inadvertently.
8855
8856 2000-01-04  Joel Sherrill <joel@OARcorp.com>
8857
8858         * configure.in (v850*-*-rtems*): New target.
8859         * configure: Regenerate.
8860         * config/v850/rtems.h: New file.
8861
8862 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
8863
8864         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
8865         (__gthread_key_create): Likewise.
8866         (__gthread_key_dtor):  Likewise.
8867         (__gthread_once): Fix logic.
8868         (__gthread_key_delete): Cast away constness.
8869
8870         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
8871         * invoke.texi: Document.
8872         * i386/mingw32.h (CPP_SPEC): Use.
8873         (LIBGCC_SPEC): Likewise.
8874         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
8875
8876 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
8877
8878         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
8879         (HANDLE_PRAGMA_PACK): Undefine.
8880         (SLOW_UNALIGNED_ACCESS): Define.
8881
8882 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
8883
8884         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8885         to default definition.
8886         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
8887         (store_fixed_bit_field): Call macro with word_mode and alignment.
8888         (extract_bit_field): Call macro with relevant mode and alignment.
8889         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8890         to default definition.
8891         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
8892         and alignment.
8893         (move_by_pieces_ninsns): Likewise.
8894         (clear_by_pieces): Likewise.
8895         (emit_push_insn): Likewise.
8896         (store_field): Call macro with relevant mode and alignment.
8897         (expand_expr): Likewise.
8898         (expand_expr_unaligned): Likewise.
8899
8900         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
8901         (SLOW_UNALIGNED_ACCESS): Define.
8902         (CASE_VECTOR_MODE): Always use 32-bit offsets.
8903         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
8904         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
8905         (toc_section): Likewise and .toc pseudo-op.
8906         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
8907         64-bit mode.
8908         (TEXT_SECTION_ASM_OP): Likewise.
8909         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
8910         32-bit offsets.
8911
8912         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
8913         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
8914         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
8915         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
8916         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
8917
8918 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
8919
8920         * regclass.c: Revert my Jan 4 change to loop cost computation.
8921
8922 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8923
8924         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
8925         compilation.
8926
8927 2000-01-04  Stan Cox  <scox@cygnus.com>
8928
8929         * haifa-sched.c (build_control_flow): Change unreachable simple
8930         loop test to check if current block has only one predecessor.
8931         (find_rgns): Initialize degree.  Use dest as degree index, not src.
8932
8933 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8934
8935         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
8936
8937         * calls.c (expand_call): Likewise for
8938         `old_stack_arg_under_construction'.
8939
8940         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
8941
8942         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
8943         `save_constant'.
8944
8945         * gcc.c (execute): Likewise for `ut' and `st'.
8946
8947         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
8948
8949         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
8950
8951         * jump.c (jump_optimize_1): Likewise for `temp2'.
8952
8953         * local-alloc.c (block_alloc): Likewise for `r1'.
8954
8955         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
8956
8957         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
8958         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
8959
8960         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
8961         and `set2'.
8962
8963         * reload.c (find_reloads): Likewise for `goal_alternative_number'
8964         and `goal_earlyclobber'.
8965
8966         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
8967
8968         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
8969
8970         * stupid.c (stupid_life_analysis): Likewise for `chain'.
8971
8972         * unroll.c (copy_loop_body): Likewise for `copy'.
8973
8974         * varasm.c (output_constructor): Likewise for `byte'.
8975
8976 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8977
8978         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
8979         all FP constants for constant->reg moves.
8980         (ix86_split_to_parts): Try to convert memory address into immediate
8981         when available in the constant pool.
8982         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
8983         moves.
8984         (LEGITIMATE_CONSTANT_P): Return 1.
8985         * i386.md (pushsf): New splitter to convert constant pool memory
8986         reference to immediate.
8987         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
8988         reload.
8989
8990 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
8991
8992         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
8993         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
8994         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
8995         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
8996         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
8997
8998 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
8999
9000         * ginclude/stdbool.h:  Support compilation as C++.
9001
9002 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9003
9004         * fold-const.c (make_range): Don't try to reverse an unbounded range.
9005
9006 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
9007
9008         * regclass.c (regclass): Properly compute loop_cost.  Adjust
9009         comments.
9010
9011         * regclass.c: Fix minor whitespace problems.
9012
9013 2000-01-03  Anthony Green  <green@cygnus.com>
9014
9015         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
9016         Restore the pic register if required.
9017
9018 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
9019
9020         * c-common.c (format_char_info): Update comment.
9021         (check_format_info): Recognize 'z' modifier in the same way 'Z'
9022         was recognized.  Emit warning for formats new in ISO C99 only
9023         if flag_isoc9x is not set.
9024
9025 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
9026
9027         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
9028
9029 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
9030
9031         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
9032         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
9033         (make_compound_operation): Choose cheaper alternative between
9034         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
9035
9036         * regclass.c (op_costs): Remove global variable.
9037         (record_reg_classes): New parameter "op_costs" and "reg_pref".
9038         (record_operand_costs): Break out from ...
9039         (scan_one_insn): ... here.
9040         (dump_regclass): Make dumps nicer.
9041         (regclass): Dump preferrences choosed and changes done during passes.
9042
9043 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
9044
9045         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
9046
9047 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
9048
9049         * config/sparc/sparc.c (gen_df_reg): New function.
9050         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
9051         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
9052         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
9053         movtf_cc_reg_sp64+1): Use it.
9054
9055 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
9056
9057         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
9058         copied LABEL_DECLs.
9059
9060 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9061
9062         * config/i386/i386.c (ix86_expand_unary_operator): Function
9063         definition made void.
9064         (ix86_expand_binary_operator): Update outdated preceding comment.
9065         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
9066         prototype.
9067
9068         * config/i386/i386.c (override_options): Fix option-name typo.
9069
9070 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
9071
9072         * system.h (CEIL): Define.
9073         * builtins.c (CEIL): Remove.
9074         * expmed.c (CEIL): Likewise.
9075         * expr.c (CEIL): Likewise.
9076         * stor-layout.c (CEIL): Likewise.
9077
9078 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9079
9080         * expr.c (store_constructor_field): Fix typo introduced with last
9081         gcc2 merge.
9082
9083 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
9084
9085         * tree.h (BINFO_N_BASETYPES): New macro.
9086
9087 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
9088
9089         * expmed.c (emit_store_flag): Prevent losing a pending stack
9090         adjust the same way we prevent losing queued increments.
9091
9092 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9093
9094         * function.c (update_temp_slot_address): Handle case where sum of
9095         temporary address plus offset in register is a valid address.
9096
9097 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
9098
9099         * genrecog.c (change_state) Corrected typo.
9100
9101 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9102
9103         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
9104         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
9105         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
9106
9107 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
9108
9109         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
9110         case, expand GT comparisons correctly.  Fix a comment before this
9111         part of the code.
9112
9113 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
9114
9115         * dwarfout.c: Include "frame.h"
9116         * dwarf2out.c: Likewise.
9117         * Makefile.in (dwarfout.o): Depend on frame.h
9118         (dwarf2out.o): Likewise.
9119
9120 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
9121
9122         Restore i386 binary compatibility in Dwarf EH info.
9123         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
9124         value of FIRST_PSEUDO_REGISTER.
9125         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
9126         (struct frame_state): Use DWARF_FRAME_REGISTERS.
9127         * dwarfout.c (output_reg_number): Ditto.
9128         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
9129         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
9130
9131 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
9132
9133         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
9134         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
9135         (<hack>_RE_CT): not needed
9136         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
9137         rewritten to scan the file text once only
9138         "template<..." test added
9139         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
9140         (is_cxx_header): declaration added
9141         * fixinc/fixtests.c(is_cxx_header): removed
9142         (apply_fix_p_t): removed
9143         (double_slash_test): is_cxx_header is only called once now
9144         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
9145         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
9146         within the templates.
9147         The borken spelling of "broken" was fixed.
9148         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
9149         The default level depends on FIXINC_DEBUG.
9150
9151 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9152
9153         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
9154         Otherwise provide a declaration for atexit.
9155         (init_dummy): Make sure dummy call to atexit is nevertheless
9156         called with correct number of args.
9157
9158         * frame.c: Update comments referring to other files.
9159
9160         * libgcc2.c: Likewise.
9161
9162 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9163
9164         * cse.c (free_element, get_element): Remove unused prototypes.
9165
9166         * fold-const.c (extract_muldiv): Initialize variables `op0' and
9167         `op1'.
9168
9169         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
9170         `else' clauses.
9171
9172 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
9173
9174         * configure.in,configure: case arm for mn10200-*-* now sets
9175         float_format=i32 so that float.h will correctly claim "double"
9176         to be 32 bits. Ran autoconf to generate configure from .in file.
9177
9178 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
9179
9180         * pa.md (conditional zero): If op1 is a register, force it into
9181         the same register as op0.
9182
9183 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
9184
9185         * tree.h (BINFO_BASETYPES): Improve documentation.
9186
9187 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9188
9189         * configure.in (--enable-checking): Use a more portable `for'
9190         loop syntax.
9191
9192 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9193
9194         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
9195         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
9196
9197         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
9198         Delete files.
9199
9200         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
9201         Delete descriptions.
9202
9203         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
9204         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
9205         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
9206         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
9207         xm-svr4.h: Remove all instances of sys_siglist handling.
9208
9209 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
9210
9211         * config/sparc/sparc.md (cmp_zero_qi,
9212         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
9213         cmp_zero_extendqidi2_andcc_set): New patterns.
9214
9215 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
9216
9217         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
9218         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
9219         (fpgnulib.c, xfgnulib.c): Add rules.
9220         * m68k/t-mot3300-gas: Likewise.
9221
9222 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
9223
9224         * configure.in: Avoid [[ by using test and changequote.  Add
9225         changequote required by 1999-12-14 change.
9226         * configure: Rebuild.
9227
9228 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
9229
9230         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
9231
9232 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
9233
9234         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
9235         * flow.c (find_use_as_address): Likewise.
9236         * function.c (fixup_var_refs_1): Likewise.
9237         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
9238         * jump.c (invert_exp, redirect_exp): Likewise.
9239         * loop.c (replace_call_address): Likewise.
9240         (count_nonfixed_reads): Likewise.
9241         * rtlanal.c (modified_between_p): Likewise.
9242         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
9243         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
9244         * unroll.c (remap_split_bivs): Likewise.
9245
9246 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9247
9248         * diagnostic.c (v_message_with_decl): Use .* format specifier
9249         instead of building the format specifier width manually.
9250
9251         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
9252         determining whether to provide a prototype.  Remove the
9253         sys_siglist clause in the conditional.
9254
9255 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9256
9257         * fold-const.c (operand_equal_p): Use memcmp to compare string
9258         constants.
9259         Suggested by D. J. Bernstein
9260
9261 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
9262
9263         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
9264         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
9265         compiling libgcc2.
9266         * config/mips/mips.h (TARGET_64BIT): Likewise.
9267         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
9268         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
9269         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
9270         dsps.  Give routines proper names if SI/DI modes are not used.
9271         * longlong.h: Use DWunion instead of DIunion.
9272
9273 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
9274
9275         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
9276         GC_CHECKING, GC_ALWAYS_COLLECT.
9277         * configure.in: Allow --enable-checking with an argument
9278         listing check modes to enable.
9279         * config.in, configure: Rebuilt.
9280         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
9281         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
9282         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
9283         ENABLE_GC_ALWAYS_COLLECT.
9284         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
9285         throughout.
9286         * tree.h, tree.c: Change ENABLE_CHECKING to
9287         ENABLE_TREE_CHECKING throughout.
9288
9289 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9290
9291         * fold-const.c (fold_truthop): Properly check for FP RHS.
9292
9293 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
9294
9295         * toplev.h (note_deferall_of_defined_inline_function): Declare.
9296         * toplev.c (note_deferral_of_defined_inline_function): New
9297         function, split out from ...
9298         (rest_of_compilation): ... here.  Use it.
9299
9300 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9301
9302         * expr.c (store_constructor): Don't call clear_storage if size is
9303         variable.
9304
9305 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9306
9307         * Makefile.in (toplev.o): Depend on loop.h.
9308
9309         * dwarfout.c: Include tm_p.h.
9310
9311         * emit-rtl.c (restore_emit_status): Mark parameter with
9312         ATTRIBUTE_UNUSED.
9313
9314         * final.c (final_scan_insn): Likewise.
9315
9316         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
9317         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
9318         flow_depth_first_order_compute, flow_loop_pre_header_find,
9319         flow_loop_tree_node_add, flow_loops_tree_build,
9320         flow_loop_level_compute, flow_loops_level_compute,
9321         flow_loop_outside_edge_p): Add prototypes.
9322         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
9323
9324         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
9325         Mark with ATTRIBUTE_NORETURN.
9326
9327         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
9328
9329         * local-alloc.c (no_conflict_p): Likewise.
9330
9331         * loop.c (insert_bct): Hide definitions of variables with hidden
9332         usage.
9333         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
9334
9335         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
9336         with ATTRIBUTE_UNUSED.
9337         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
9338         (reg_scan): Likewise.
9339
9340         * reload.c (find_reloads): Remove unused variables `changed'.
9341
9342         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
9343         away const-ness.
9344         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
9345         Remove unused variable `insn'.
9346
9347         * toplev.c: Include loop.h.
9348         (report_file_and_line): Remove unnecessary prototype.
9349
9350         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
9351
9352         * unroll.c (biv_total_increment): Likewise.
9353
9354 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9355
9356         * reload1.c (emit_input_reload_insns): Restore old behaviour
9357         wrt. 'special' reloads.
9358
9359 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
9360
9361         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
9362         hash.h.  (cse.c): Don't depend on hashtab.h.
9363
9364         * cse.c: Don't include hashtab.h.
9365         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
9366         of dead functions.
9367         * ggc-simple.c: Don't include hash.h.
9368
9369 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
9370
9371         * dwarf2out.c (add_abstract_origin_attribute): Call
9372         gen_abstract_function on our function context.
9373
9374 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
9375
9376         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
9377
9378 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9379
9380         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
9381         case in switch.
9382
9383 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9384
9385         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
9386         constraints to "a!r".
9387
9388 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
9389
9390         * Makefile.in (calls.o): Depend on function.h.
9391         (alias.o): Likewise.
9392
9393 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
9394
9395         * reload1.c (emit_reload_insns): Break out code and variables into...
9396         (input_reload_insns, other_input_address_reload_insns,
9397         other_input_reload_insns, input_address_reload_insns,
9398         inpaddr_address_reload_insns, output_reload_insns,
9399         output_address_reload_insns, outaddr_address_reload_insns,
9400         operand_reload_insns, other_operand_reload_insns,
9401         other_output_reload_insns): ... new static variables, and...
9402         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
9403         do_output_reload): ... new functions.
9404
9405 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9406
9407         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
9408
9409 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9410
9411         * md.texi: Add c4x constraints documentation.
9412
9413 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9414
9415         * config/i386/dgux.c (struct option): Rename to
9416         lang_independent_option.
9417         (struct m_options): Add description field.
9418         (output_options): Rename option type, add sep declaration, output
9419         ix86_cpu_string and ix86_arch_string only if set.
9420         (output_file_start): Rename option type.
9421
9422 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
9423
9424         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
9425         stmp-int-hdrs.
9426         (libgcc2.a): Similarly.
9427
9428 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
9429
9430         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
9431         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
9432         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
9433
9434 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
9435
9436         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
9437         Remove redundant initialization of "frexpon" and "expon".
9438
9439 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9440
9441         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
9442
9443         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
9444         (store_constructor_field, expand_expr): Pass new arg.
9445
9446 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
9447
9448         * Makefile.in (explow.o): Depend on function.h.
9449
9450         * stor-layout.c (set_sizetype): Fix typo.
9451
9452 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
9453
9454         * function.c (cfun): Renamed from current_function.  All users
9455         changed.
9456         * function.h (cfun): Rename declaration as well.
9457
9458         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
9459         to be of type regset_head, not regset.  All users changed by adding
9460         address operator.
9461         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
9462
9463 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9464
9465         * config/c4x/rtems.h: New file.
9466
9467 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
9468
9469         * reload1.c (spill_failure): Take class of failed reload as argument
9470         and print it.  Caller changed.
9471
9472 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9473
9474         * rs6000.h (SUBTARGET_DEFAULT): New macro.
9475         (TARGET_SWITCHES): Allow subtargets to default switches.
9476         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
9477
9478 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
9479
9480         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
9481         in a main program.
9482
9483 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
9484
9485         * cccp.c (main): Define __STDC_VERSION__ as necessary.
9486         * cppinit.c (cpp_handle_option): Likewise.
9487
9488         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
9489         determine when to define.
9490
9491 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
9492
9493         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
9494         cmove with mismatched test and data modes.
9495
9496 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
9497
9498         * c-typeck.c (c_expand_start_case): Don't warn for long switch
9499         in system headers.
9500
9501 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9502
9503         * alias.c: Minor reformatting.
9504         * flow.c: Likewise.
9505         * regs.h: Likewise.
9506         * stor-layout.c: Likewise.
9507         * fold-const.c: Likewise.
9508         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
9509         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
9510         not arg itself.
9511         (size_int_wide): Cache nodes even if garbage collecting.
9512         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
9513         of SAVE_EXPR has no side effects.
9514         * cse.c: Move a comment.
9515         * tree.c: Minor reformatting.
9516         (int_size_in_bytes): Return -1 if constant overflows.
9517
9518 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9519
9520         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
9521
9522 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
9523
9524         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
9525         after any change to c-parse.in, even if objc-parse.y didn't
9526         change.  Oops.
9527
9528 1999-12-18  David S. Miller  <davem@redhat.com>
9529
9530         * toplev.c (rest_of_compilation): Restore BLOCK tree
9531         reconstruction and branch shortening changes lost in
9532         December 18th change.
9533
9534 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
9535
9536         * config/arm/linux-elf.h: Change all instances of
9537         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
9538         * config/arm/uclinux-elf.h: Likewise.
9539
9540 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
9541
9542         * toplev.c (notice, vmessage, v_message_with_file_and_line,
9543         v_message_with_decl, file_and_line_for_asm,
9544         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
9545         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
9546         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
9547         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
9548         pfatal_with_name, fatal_io_error, need_error_newline,
9549         last_error_function, last_error_tick, announce_function,
9550         default_print_error_function, print_error_function,
9551         report_error_function, fnotice, error_with_file_and_line,
9552         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
9553         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
9554         warning_with_decl, warning_for_asm, warning, pedwarn,
9555         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
9556         diagnostic.c
9557         (compile_file): Use fnotice instead of notice.  Adjust call.
9558
9559         * diagnostic.c: New file.
9560
9561         * Makefile.in (OBJS): Include diagnostic.o
9562         (diagnostic.o): Define dependence.
9563
9564 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9565
9566         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
9567         Tweak formatting.
9568
9569 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9570
9571         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
9572
9573 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
9574
9575         * fixtests.c (is_cxx_header): New fn, split out of
9576         double_slash_test.
9577         (else_endif_label): Allow "#endif // comment" in C++ headers,
9578         as determined by is_cxx_header.
9579         * fixfixes.c (else_endif_label_fix): Update comment.
9580         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
9581         a tty.
9582         * genfixes: Correct double thinko in commandline parsing.
9583         * hackshell.tpl: Generate correct sh syntax for bypass
9584         entries.
9585
9586         * inclhack.def (all): Whenever an inserted preprocessor
9587         conditional is split over multiple lines, use double
9588         backslashes in this file so the fixed header will be readable.
9589
9590         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
9591         and add bypass entry for correct version of this header.
9592         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
9593         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
9594
9595         (hpux8_bogus_inlines): New fix, split from...
9596         (ultrix_atof_param) ... here.
9597         (math_expression): Add bypass entry keyed to glibc comment
9598         indicating the problem has been dealt with; disable
9599         unnecessary sed operations; update commentary.
9600         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
9601         add select and bypass entries, simplify shell operation.
9602         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
9603
9604         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
9605          ultrix_atof_param): Add select entry.
9606         (stdio_va_list, sunos_mather_decl): Add bypass entry.
9607         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
9608         comments with the fixes they describe.
9609
9610         * c-parse.in (string action): Do not warn about ANSI string
9611         concatenation in system headers.  Affects C parser only.
9612         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
9613
9614 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
9615
9616         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
9617         compiling libgcc2 the macro depends always on arch cpp defines.
9618
9619 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
9620
9621         * loop.c (insert_loop_mem): Don't record MEMs from inside
9622         EXPR_LISTs.
9623
9624 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
9625
9626         * regclass.c (regclass): Do not use flowgraph when not optimizing.
9627
9628         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
9629         notes too, create one when replacement failed, attempt to simplify
9630         resulting notes.
9631         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
9632         or REG_EQUIV notes.
9633
9634 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
9635
9636         * crtstuff.c (__dso_handle): Declare.
9637         (__cxa_finalize): Likewise.
9638         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
9639         non-NULL.
9640
9641         * invoke.texi: Document -fuse-cxa-atexit.
9642
9643         * tree.h (ptr_type_node): Document.
9644         (const_ptr_type_node): Likewise.
9645
9646 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9647
9648         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
9649         (optimize_reg_copy_2): Likewise.
9650         (optimize_reg_copy_3): Likewise.
9651         (fixup_match_2): Likewise.
9652         (regmove_optimize): Likewise.
9653         (fixup_match_1): Liekwise.
9654
9655         * i386.md (HI to SImode promoting splitters): Rewrite.
9656         (pushsf mem peep2): New.
9657         (testhi to andhi peep2): Remove.
9658         * i386.h (x86_promote_QImode): New.
9659         (TARGET_PROMOTE_QImode): New.
9660         (PREDICATE_CODES): Add promotable_binary_operator.
9661         * i386.c (x86_promote_QImode0: New.
9662         (promotable_binary_operator): New.
9663         * i386-protos.h (promotable_binary_operator): New.
9664
9665         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
9666         condition.
9667         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
9668
9669 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
9670
9671         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
9672         * function.c (insert_block_after_note): Remove.
9673         (retrofit_block): Likewise.
9674         (identify_blocks): Fix indentation.
9675         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
9676         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
9677         * function.h (insert_block_after_note): Remove prototype.
9678         (retrofit_block): Likewise.
9679         * integrate.c (expand_inline_function): Don't call
9680         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
9681         just expand_start_bindings.  Use the block_map to remap old
9682         NOTE_BLOCKs to new ones.
9683         (integrate_decl_tree): Keep track of remapped blocks.
9684         * integrate.h (struct inline_remap): Add block_map.
9685         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
9686         NOTE_BLOCK on the notes.
9687         (expand_start_bindings): Rename to ...
9688         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
9689         (expand_end_bindings): Set NOTE_BLOCK.
9690         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
9691         reconstruct the BLOCK tree.
9692         * tree.h (expand_start_bindings): Macroize.  Call ...
9693         (expand_start_bindings_and_block): New function.
9694
9695 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
9696
9697         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
9698         to match the format.
9699
9700 1999-12-16  David S. Miller  <davem@redhat.com>
9701
9702         * expr.c (emit_move_insn_1): Only emit clobbers if one of
9703         the outputs is a SUBREG.
9704         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
9705         change.
9706
9707         * config/sparc/sparc.c (epilogue_renumber): Add default case
9708         to switch stmt.
9709
9710 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9711
9712         * toplev.c (rest_of_compilation): Run branch shortening after
9713         reg-stack.
9714
9715         * regclass.c (loop_depth): Remove
9716         (scan_one_insn): Do not handle LOOP_NOTE insns.
9717         (regclass): Go through basic blocks and set loop_cost
9718
9719 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
9720
9721         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
9722
9723 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9724
9725         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
9726         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
9727         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
9728
9729 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
9730
9731         * loop.c (insert_loop_mem): Ignore memory clobbers.
9732
9733         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
9734         to (OP A B).
9735
9736 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
9737
9738         * profile.c: Remove redundant #include "output.h".
9739
9740         * h8300.md (HImode preinc peephole): Fix typo.
9741
9742 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9743
9744         * function.c (retrofit_block): Abort if we don't find a suitable insn.
9745         (insert_block_after_note): Abort if we don't have a previous block.
9746         Remove FN parameter.
9747         * function.h: Adjust.
9748
9749 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
9750
9751         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
9752         argument more than once.
9753
9754 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9755
9756         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
9757
9758 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
9759
9760         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
9761
9762 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9763
9764         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
9765         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
9766         update stack_alignment_needed.
9767         (prepare_function_start): Initialize stack_alignment_needed
9768         * function.h (struct function): Add field stack_alignment_needed.
9769
9770 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9771
9772         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
9773         Handle live_throughout / dead_or_set instead of live_before /
9774         live_after.
9775         (save_call_clobbered_regs): Get register livenessinformation from
9776         chain->live_throughout.
9777         (add_stored_regs): New function.
9778         (insert_restore, insert_save): Add restored / saved registers to
9779         dead_or_set.
9780         * global.c (reg_dies): New parameter chain.
9781         (reg_becomes_live): Third parameter is regs_set now.
9782         Changed all callers.
9783         (reg_dies): New parameter chain.  Changed all callers.
9784         (build_insn_chain): Set live_throughout instead of
9785         live_before / live_after.
9786         * reload.h (struct insn_chain): Replace members live_before /
9787         live_after with live_throughout / dead_or_set.
9788         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
9789         instead of live_before / live_after.
9790         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
9791         (order_regs_for_reload, find_reg, finish_spills): Likewise.
9792         (choose_reload_regs_init): Likewise.
9793         * stupid.c (current_chain, find_clobbered_regs): Delete.
9794         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
9795         instead of chain->live_before / chain->live_after.
9796         (mark_hard_ref): New function.
9797         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
9798
9799 1999-12-15  David S. Miller  <davem@redhat.com>
9800
9801         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
9802
9803 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9804
9805         * flow.c (calculate_loop_depth): Make global, remove prototype,
9806         rewrite to use new loop infrastructure.
9807         (find_basic_block): Remove calculate_loop_depth call.
9808         * toplev.c (rest_of_compilation): Call find_basic_block.
9809         * output.h (calculate_loop_depth): Declare.
9810
9811         * flow.c (dump_flow_info): Dump loop_depth.
9812         (flow_loops_nodes_find): Increase loop_depth for basic block in the
9813         body.
9814         (flow_loops_find): Initialize the loop_depth for each basic block.
9815
9816 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9817
9818         * tree.c (decl_function_context): Handle virtual functions.
9819
9820         * tlink.c (scan_linker_output): Don't look in demangled name when
9821         looking for linker output keywords.
9822
9823         * dwarfout.c (output_type): We can defer namespace-scope classes.
9824
9825 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
9826
9827         * regclass.c (record_reg_classes): Update comment for merging
9828         register class preferences in reg->reg copies.  Tighten conditions
9829         for merging register class preferences in reg->reg copies.
9830
9831 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
9832
9833         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
9834
9835 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
9836
9837         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
9838         (INIT_SECTION_ASM_OP): Delete.
9839         (FINI_SECTION_ASM_OP): Delete.
9840         (STARTFILE_SPEC): Define to hold just crtbegin.o.
9841
9842 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
9843
9844         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
9845         the abstract origin wasn't emitted.
9846
9847         * dwarf2out.c (class_scope_p): New fn.
9848         (gen_subprogram_die): Use it.
9849         (gen_variable_die): Use it.  Tweak logic.
9850         (gen_struct_or_union_type_die): Check context_die to determine
9851         if we're function-local.
9852         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
9853
9854 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9855
9856         * loop.c (check_dbra_loop): Can't reverse a biv that has
9857         maybe_multiple set.
9858
9859 1999-12-14  Nick Clifton  <nickc@cygnus.com>
9860
9861         * config/arm/arm.c: Add support for -mcpu=arm720 command line
9862         switch.
9863
9864 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9865
9866         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
9867         for givs made from biv increments.
9868
9869 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
9870
9871         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
9872         * alpha.c (override_options): Recognize -mcpu=ev67.
9873         * alpha.h (CPP_CPU_EV67_SPEC): New.
9874         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
9875         (EXTRA_SPECS): Update.
9876
9877 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
9878
9879         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
9880         appropriate for -lang-c89 and -std=*.
9881         * cppinit.c (cpp_handle_option): Likewise.
9882         (new_pending_define): New, split out from cpp_handle_option.
9883         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
9884         or enable trigraphs for -ansi/-std=*.
9885
9886         * ginclude/stdarg.h (__va_copy): New.
9887         (va_copy): Don't define for C89.
9888
9889 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
9890
9891         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
9892         for long long multiply-accumulate.
9893
9894 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9895
9896         * regclass.c (scan_one_insn): Set loop_cost to 1 when
9897         optimizing for size.
9898
9899 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9900
9901         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
9902         if something changed.  Back out that part of yesterday's changes.
9903
9904         * loop.c (loop_max_reg): New static variable.
9905         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
9906         max_reg_num.
9907         (scan_loop): Call reg_scan_update whenever we may have added new
9908         registers, and update loop_max_reg.
9909
9910 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9911
9912         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
9913         when source does not die.
9914
9915         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
9916
9917 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
9918
9919         * config/sparc/linux64.h (TARGET_LIVE_G0,
9920         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
9921         variants on Linux.
9922         * config/sparc/linux.h (TARGET_LIVE_G0,
9923         TARGET_BROKEN_SAVERESTORE): Likewise.
9924         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
9925         TARGET_BROKEN_SAVERESTORE): Likewise.
9926
9927         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
9928         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
9929         not %g2.
9930         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
9931         as sparc64 block profiling register.
9932         * config/sparc/sparc.c (sparc_override_options): Allow block
9933         profiling with -m32.
9934         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
9935         profiling register.
9936         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
9937         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
9938         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
9939
9940         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
9941         for sparc64.
9942         * config/sparc/sparc.h: Likewise.
9943         * config/sparc/xm-sysv4-64.h: Likewise.
9944         * config/float-sparc.h: Likewise.
9945         * glimits.h: Likewise.
9946         * longlong.h: Likewise.
9947
9948         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
9949         (ASM_IDENTIFY_GCC): Remove.
9950
9951 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9952
9953         * combine.c (combine_simplify_rtx): Don't make shared rtl.
9954         (simplify_logical): Likewise.
9955
9956 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
9957
9958         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
9959         * cppfiles.c (INO_T_EQ): Likewise.
9960
9961 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
9962
9963         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
9964         * i386/mingw32.h (LIB_SPEC): Likewise.
9965         (STARTFILE_SPEC): Likewise.
9966         * i386/uwin.h (LIB_SPEC): Likewise.
9967         (STARTFILE_SPEC): Likewise.
9968
9969         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
9970         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
9971
9972 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
9973
9974         * combine.c (combine_simplify_rtx): Fix order of checks for
9975         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
9976
9977 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
9978
9979         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
9980         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
9981
9982 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
9983
9984         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
9985         defined.
9986         * regclass.c (inv_reg_alloc_order): New array.
9987         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
9988
9989         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
9990         counted_for_groups, counted_for_nongroups.  Add fields rld and
9991         n_reloads.
9992         * reload.c (push_secondary_reload): Don't set nongroup field of
9993         new reloads.
9994         (push_reload): Likewise.
9995         (find_reloads): Delete code to compute nongroup fields.
9996         * reload1.c (reload_insn_firstobj): New static variable.
9997         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
9998         users changed.
9999         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
10000         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
10001         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
10002         functions.
10003         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
10004         functions.
10005         (struct hard_reg_n_uses): Deleted.
10006         (potential_reload_regs): Deleted.
10007         (init_reload): Initialize spilled_pseudos and pseudos_counted.
10008         (reload): Don't try to allocate reload registers if we already know
10009         we have to make another pass.  Call select_reload_regs.  Free memory
10010         starting with reload_firstobj when starting another pass.
10011         Don't allocate spilled_pseudos.
10012         (calculate_needs_all_insns): Call copy_reloads for an insn that
10013         needs reloads; don't call calculate_needs.
10014         (spill_cost): New static array.
10015         (used_spill_regs_local): New static variable.
10016         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
10017         to compute potential_reload_regs.
10018         (find_reload_regs): Completely rewritten to use find_reg.
10019         (allocate_reload_reg): Don't test counted_for_groups or
10020         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
10021         all cllers changed.
10022         (choose_reload_regs): Add fallback code that uses the existing
10023         register allocation from find_reload_regs.
10024
10025 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
10026
10027         * flow.c (create_edge_list): Cast xmalloc return value.
10028
10029 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
10030
10031         * doprnt.c: Remove incorrect comment closure.
10032
10033         * cse.c: Fix a few minor whitespace goofs.
10034
10035 1999-12-13  Don Bowman  <don@pixstream.com>
10036
10037         * mips/vxworks.h: Fix problem with comment termination.
10038         (EXTRA_SECTIONS): Add in_sbss.
10039         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
10040
10041 1999-12-12  David S. Miller  <davem@redhat.com>
10042
10043         * cse.c (struct cse_reg_info): Add hash_next member,
10044         reorder rest of struct for better packing on 64-bit
10045         hosts.
10046         (cse_reg_info_tree): Kill.
10047         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
10048         REGHASH_FN): New custom pow2 hash mechanism.
10049         (NBUCKETS): Kill.
10050         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
10051         use a pow2 hash table.
10052         (get_cse_reg_info): Rework to use new REGHASH.
10053         (new_basic_block): Likewise, use HASH_SIZE, and inline
10054         free_element call.
10055         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
10056         and inline free_element call.
10057         (lookup_as_function, insert, flush_hash_table, invalidate,
10058         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
10059         invalidate_for_call, use_related_value, find_comparison_args,
10060         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
10061         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
10062         get_element): Kill.
10063
10064 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
10065
10066         * cse.c (cse_basic_block): Free qty_table consistently.
10067
10068 1999-12-12  David S. Miller  <davem@redhat.com>
10069             Jakub Jelinek    <jakub@redhat.com>
10070
10071         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
10072         SUBREGs by hand, gen the appropriate hard reg directly.
10073         (movtf reg/mem split): Likewise and alter_subreg on destination
10074         if necessary.
10075         (movtf mem/reg split): Similarly.
10076         (movdf_cc_sp64): Rename from hidden pattern.
10077         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
10078         (movtf_cc_sp64, following split): New pattern and splitter.
10079         (movdf_cc_reg_sp64): Rename from hidden pattern.
10080         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
10081         TARGET_HARD_QUAD.
10082         (movtf_cc_reg_sp64, following split): New pattern and splitter.
10083
10084 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
10085
10086         * loop.c (load_mems): Don't hoist written floating point mem
10087         if -ffloat-store.
10088
10089 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
10090
10091         * except.h (struct eh_queue): Add `next' pointer.
10092         (struct eh_status): Make x_ehqueue a pointer.
10093         (push_ehqueue):  Declare.
10094         (pop_ehqueue): Likewise.
10095         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
10096         pointer.
10097         (expand_fixup_region_end): Likewise.
10098         (expand_leftover_cleanups): Likewise.
10099         (push_ehqueue): Define.
10100         (pop_ehqueue): Likewise.
10101         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
10102         than doing it inline.
10103         (expand_start_all_catch):  Adjust now that ehqueue is a
10104         pointer.
10105         (mark_eh_queue): Mark all level of the queue.
10106         (mark_eh_status):  Adjust now that ehqueue is a
10107         pointer.
10108         (init_eh_for_function): Allocate ehqueue.
10109         (free_eh_status): Free it.
10110         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
10111         expansion for a fixup.
10112
10113 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10114
10115         * gthr-single.h (__gthread_active_p): Add prototype arguments.
10116
10117         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
10118         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
10119         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
10120         function_ptr, getpagesize, __enable_execute_stack,
10121         __enable_execute_stack, __clear_insn_cache,
10122         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
10123         _cleanup, _exit, __default_terminate, __terminate_func,
10124         __terminate, __empty, __throw, new_eh_context,
10125         eh_context_initialize, eh_context_static, eh_context_specific,
10126         get_eh_context, __get_eh_context, __get_eh_info,
10127         init_reg_size_table, eh_threads_initialize,
10128         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
10129         __unwinding_cleanup, throw_helper, __throw, __rethrow,
10130         __pure_virtual): Add prototype arguments.
10131         (__bb_exit_func): Cast a sizeof to long when comparing against one.
10132         Cast a signed value to unsigned long when comparing against one.
10133         (new_eh_context): Wrap in _GTHREADS macro.
10134         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
10135         declaration.
10136         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
10137         (throw_helper): Initialize variables `handler_p' and `pc_p'.
10138
10139 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10140
10141         * combine.c (record_promoted_value): Remove unused variable
10142         `links2'.
10143
10144         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
10145
10146         * global.c (record_conflicts): Likewise for `j'.
10147
10148         * genoutput.c (output_insn_data): Don't unnecessarily cast away
10149         const-ness.
10150
10151 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10152
10153         * i386-protos.h (output_387_binary_op, output_fix_trunc,
10154         output_fp_compare): Constify a char*.
10155
10156         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
10157         static prototypes.
10158         (override_options, ix86_comp_type_attributes, print_operand,
10159         output_387_binary_op, output_fix_trunc, output_fp_compare):
10160         Constify a char*.
10161         (ix86_sched_reorder): Mark parameter `clock_var' with
10162         ATTRIBUTE_UNUSED.
10163
10164         * i386.h (DEBUG_PRINT_REG): Constify a char*.
10165
10166 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
10167
10168         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
10169         operand, for use in the Java front-end.
10170
10171 1999-12-10  Ben Collins  <bcollins@debian.org>
10172
10173         * configure.in: Fix typo for "-64" in 64bit as check.
10174         * configure: Rebuilt.
10175
10176 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
10177
10178         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
10179         appropriate.
10180
10181 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10182
10183         * c-parse.in (string): With -Wtraditional, warn if ANSI string
10184         concatenation is utilized.
10185
10186         * invoke.texi (-Wtraditional): Document it.
10187
10188 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10189
10190         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
10191         Cast a ptrdiff_t to long and pass it to printf with %ld.
10192
10193 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
10194
10195         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
10196         68881, we have no 68881 registers at all.
10197         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
10198         value in a 68881 register if it is available.
10199
10200 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
10201
10202         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
10203         for long long multiply-accumulate.
10204
10205 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
10206
10207         * loop.c (insert_loop_mem): Undo last change.
10208
10209 1999-12-10  David S. Miller  <davem@redhat.com>
10210
10211         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
10212         New functions.
10213         * config/sparc/sparc-protos.h: Add them.
10214         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
10215         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
10216         constraints which use those helpers.
10217         (EXTRA_CONSTRAINT): Use this new macro.
10218         * md.texi: Update sparc target constraints documentation.
10219         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
10220         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
10221         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
10222         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
10223         (movsf high/lo_sum split): Rework for new patterns.
10224         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
10225
10226 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
10227
10228         * c-common.c (c_common_nodes_and_builtins):
10229         Create __builtin_ptrdiff_t and __builtin_size_t.
10230
10231 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
10232
10233         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
10234
10235 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10236
10237         * regclass.c (globalize_reg): Re-instate test that allows
10238         fixed registers to be declared as a variable even after functions
10239         are defined.
10240
10241 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10242
10243         * i386.md (cpu attribute): Add "athlon".
10244         (athlon_decode): New attribute.
10245         (Athlon scheduling units definitions): New.
10246         (fcmp and shld patterns): Set athlon_decode to "vector".
10247         * i386.c (athlon_cost): New.
10248         (m_ATHLON): New.
10249         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
10250         x86_use_sahf): Set for Athlon.
10251         (x86_use_fiop): Unset for Athlon.
10252         (override_options): Define Athlon alignments and "athlon" name.
10253         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
10254         * i386.h (TARGET_ATHLON): New.
10255         (enum processor_type): Add PROCESSOR_ATHLON.
10256         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
10257         for CPU_DEFAULT==5
10258         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
10259
10260 1999-12-09  Andreas Jaeger  <aj@suse.de>
10261
10262         * loop.c (record_biv): Declare parameter as int.
10263
10264         * config/i386/i386-protos.h: Declare long_memory_operand.
10265
10266 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
10267
10268         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
10269         EXPR_WITH_FILE_LOCATION.
10270
10271 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
10272
10273         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
10274         in expander.
10275
10276         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
10277
10278         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
10279         updating code.
10280
10281 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
10282
10283         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
10284         default on linux64 again.
10285         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
10286         models for multilibing.
10287         * genmultilib: Accept | as alternative separator within a set in
10288         MULTILIB_OPTIONS.
10289
10290         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
10291
10292         * calls.c (precompute_arguments): Make sure initial_value contains
10293         value pseudo which CSE expects.
10294         * cse.c (struct set): New entry orig_src.
10295         (cse_insn): Set it early on entry, use it for libcall EQUIV note
10296         replacement.
10297
10298 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
10299
10300         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
10301
10302 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
10303
10304         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
10305
10306 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
10307
10308         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
10309         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
10310
10311         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
10312         if TARGET_ARCH32.
10313
10314         * longlong.h: Merge in changes from glibc.
10315         Also don't clobber %g2 register in 32bit SPARC assembly, so that
10316         -mno-app-regs libgcc can be compiled.
10317         * libgcc2.c: Add defines so that the updated longlong.h
10318         can be used in libgcc2.a. Also, make sure on most architectures
10319         (at least on all which have optimized code in longlong.h defined
10320         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
10321
10322 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10323
10324         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
10325         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
10326         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
10327         is GNU ld.
10328         * configure: Rebuilt.
10329
10330 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
10331
10332         * alpha.c (secondary_reload_class): For !BWX, sub-simode
10333         outputs require a register.
10334
10335 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
10336
10337         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
10338         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
10339         functions like dptoul will be resolved.
10340         (libgcc2.a): Make sure that the object files from DPBIT are named
10341         differently (prefix `_dp') from those that would be coming from
10342         FPBIT.
10343
10344 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
10345
10346         * configure.in: When target is sparc* and tm_file contains 64,
10347         test for 64bit support in assembler.  If not supported, remove
10348         sparc/t-sol2-64 from target-dependent Makefile fragments.
10349         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
10350         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
10351         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
10352         * acconfig.h (AS_SPARC64_FLAG): Added.
10353         * configure, config.in: Rebuilt.
10354         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
10355         support.  Use AS_SPARC64_FLAG.
10356
10357 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
10358
10359         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
10360         suitable for holding OFmode values so that gcc works with complex
10361         quad long doubles.
10362         (hard_64bit_mode_classes): Likewise.
10363
10364         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
10365         so that it is actually matched.
10366         (sethi_di_medlow): Likewise.
10367
10368         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
10369         as legitimate constant if -mvis.
10370         * config/sparc/sparc.md (movtf): Likewise.
10371         (clear_sf): Use const_double_operand.
10372         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
10373
10374         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
10375         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
10376         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
10377         routines, _Qp_* cannot be handled like that now.
10378         (INIT_TARGET_OPTABS): Likewise.
10379         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
10380         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
10381         sparc_emit_float_lib_cmp if ARCH64 and soft float.
10382         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
10383         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
10384         divtf3, sqrttf3): New expanders.
10385         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
10386         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
10387         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
10388         non-_hq patterns.
10389
10390         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
10391         * configure: Rebuilt.
10392         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
10393         -mcpu is given and we're doing 64bit compiles.
10394
10395 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
10396
10397         * loop.h (struct induction): Add multi_insn_incr.
10398         * loop.c (basic_induction_var): New multi_insn_incr argument.
10399         Set it if we search back through previous insns for the biv.
10400         (record_biv): New multi_insn_incr argument; fill in struct induction.
10401         (strength_reduce): Discard an iv with multiple bivs, any of
10402         which require multiple insns to increment.
10403
10404 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10405
10406         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
10407         documentation.
10408
10409 1999-12-06  David S. Miller  <davem@redhat.com>
10410
10411         * combine.c (check_promoted_subreg): Do not conditionalize this upon
10412         PROMOTE_FUNCTION_RETURN.
10413
10414 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
10415
10416         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
10417         and handle REG_UNUSED note on insn.
10418
10419         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
10420         inner_mask instead of mask.
10421
10422 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
10423
10424         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
10425         zero if there was an error.
10426
10427 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
10428
10429         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
10430         output string.
10431
10432         * longlong.h: Fix clobbers in SPARC asm statements.
10433
10434         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
10435         valid sethi operations when TARGET_ARCH64.
10436
10437         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
10438         always use move_by_pieces to avoid infinite recursion.
10439         (restore_fixed_argument_area): Likewise.
10440
10441         * combine.c (check_promoted_subreg, record_promoted_value): New
10442         functions.
10443         (combine_instructions): Use them to retain nonzero and sign bit
10444         information after SUBREGs are eliminated by optimizations in
10445         this pass if PROMOTE_FUNCTION_RETURN.
10446
10447         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
10448         .register declaration. Don't use variables with __ prefixes.
10449
10450 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10451
10452         * fold-const.c (optimize_bit_field_compare): Only use one mode
10453         for both RHS and LHS in non-constant case.
10454
10455 1999-12-06  Nathan Sidwell  <nathan@acm.org>
10456
10457         * frame.c (start_fde_sort): Only allocate erratic array, if
10458         linear one was allocated. Return allocated flag.
10459         (fde_insert): Only insert, if there's a valid array.
10460         (fde_end_sort): Split, sort and merge if linear and erratic
10461         arrays exist, else just sort linear one.
10462         (search_fdes): New function. Linear search through original fde
10463         structure.
10464         (frame_init): Permit multiple initializations. Cope with
10465         memory shortages.
10466         (find_fde): Fallback on linear search, if failed to sort array.
10467         (__deregister_frame_info): Only free sorted array, if we
10468         allocated it.
10469
10470 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
10471
10472         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
10473
10474 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
10475
10476         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
10477
10478 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
10479
10480         * tree.h (special_function_p): Declare.
10481         * calls.c (special_function_p): Make it global.  Don't take `name'
10482         as a parameter.  Fix typo in 1999-11-28 change.
10483         (expand_cal): Adjust.
10484
10485 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
10486
10487         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
10488         * tree.h (EXPR_WFL_FILENAME): Define in terms of
10489         EXPR_WFL_FILENAME_NODE.
10490         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
10491         the TREE_CHAIN.
10492         * print-tree.c (print_note): Print TREE_PRIVATE and
10493         TREE_PROTECTED.
10494
10495         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
10496         the original die cannot be found.
10497
10498         * varray.h (varray_head_tag): Add elements_used.
10499         (VARRAY_PUSH): New macro.
10500         (VARRAY_POP): Likewise.
10501         (VARRAY_TOP): Likewise.
10502         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
10503         types.
10504         * varray.c (varray_init): Initialize elements_used.
10505         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
10506         (INTEGRATE_H): New variable.
10507         (integrate.o): Depend on INTEGRATE_H.
10508         (unroll.o): Likewise.
10509
10510         * function.h (insert_block_after_note): Declare.
10511         * function.c (insert_block_after_note): Split out from ...
10512         (retrofit_block): ... here.
10513
10514         * stmt.c (expand_fixup): Fix typo in comment.
10515
10516 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10517
10518         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
10519         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
10520         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
10521         (regmove_optimize, fixup_match_1): Likewise.
10522
10523 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10524
10525         * flow.c (flow_loops_dump): Add missing argument when calling
10526         flow_loop_nested_p.
10527
10528 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
10529             Greg McGary  <gkm@gnu.org>
10530
10531         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
10532         (init_attributes): Add A_NO_LIMIT_STACK.
10533         (decl_attributes): Handle A_NO_LIMIT_STACK.
10534         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
10535         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
10536         Handle stack bounds checking.
10537         * flags.h (flag_stack_check): Use the word 'probe' rather than
10538         'check', because the flag doesn't actually cause any checking to
10539         be done.
10540         * function.c (expand_function_start): Set
10541         current_function_limit_stack.
10542         * function.h (struct function): Add limit_stack.
10543         (current_function_limit_stack): Define.
10544         * invoke.texi (Code Gen Options): Document new options.
10545         * rtl.h: Declare stack_limit_rtx.
10546         * toplev.c (stack_limit_rtx): New variable.
10547         (decode_f_option): Handle new options -fstack-limit-register=REG,
10548         -fstack-limit-symbol=IDENT, -fno-stack-limit.
10549         (main): Add stack_limit_rtx as GC root.
10550         * tree.h (DECL_NO_LIMIT_STACK): New macro.
10551         (struct tree_decl): New member no_limit_stack.
10552
10553         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
10554         stack_limit_rtx.
10555         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
10556         (conditional_trap+1): Get new mnemonic correct.
10557         (conditional_trap+2): New pattern for DImode traps.
10558
10559         * config/m68k/m68k.c (output_function_prologue): Handle
10560         stack_limit_rtx.
10561         * config/m68k/m68k.md (trap): New insn.
10562         (conditional_trap): New insn.
10563         * md.texi (Standard Names): Document `trap' and
10564         `conditional_trap'.
10565         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
10566         so a cc0 setter doesn't get emitted at some random place in the
10567         function.
10568
10569         * config/i960/i960.md (trap): New insn.
10570         (conditional_trap): New expander.
10571         (conditional_trap+1, conditional_trap+2): New insns for signed
10572         and unsigned cases.
10573         * config/i960/i960.c (i960_function_prologue): Use
10574         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
10575
10576 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
10577                           Geoffrey Keating  <geoffk@cygnus.com>
10578
10579         * flags.h (warn_padded, warn_packed): Add global var decls.
10580         * toplev.c (warn_padded, warn_packed): Add global var defns.
10581         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
10582         * stor-layout.c (layout_record): Add local variable `type'
10583         to hold often-used TREE_TYPE (field).  Add local variable
10584         `unpacked_align' to hold alignment that would be in force
10585         if no `packed' attribute were present.  Warn if `packed' attribute
10586         is unnecessary, or even harmful.  Warn when gcc inserts padding
10587         to satisfy alignment requirements of members.  Use NULL_TREE
10588         when checking whether var_size is set.
10589         * invoke.texi: Document new flags.
10590
10591 1999-12-03  Nathan Sidwell  <nathan@acm.org>
10592
10593         * frame.c (fde_split): Reimplement to avoid variable sized array.
10594
10595 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10596
10597         * combine.c (try_combine): Before fixing up LOG_LINKS for the
10598         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
10599
10600 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
10601
10602         * invoke.texi: Document the mips option -mno-crt0
10603
10604 1999-12-02  Mike Karr  <mkarr@mathworks.com>
10605
10606         * cccp.c (argdata): Added free_ptr member.
10607         (macroexpand): Initialize free_ptr of each argument. When an
10608         argument's buffers are freed, if the argument's free_ptr corresponds
10609         to a buffer on the input stack, then return the free_ptr to that stack
10610         frame, otherwise, free it.
10611         (macarg): If an argument begins and ends on the same input stack level,
10612         then transfer the free_ptr of that buffer to the argument in case
10613         the stack is popped during the processing of a subsequent argument.
10614
10615 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
10616
10617         * loop.c (note_reg_stored): New function.
10618         (struct note_reg_stored_arg): New structure.
10619         (try_copy_prop): Change to be more conservative; only replace within
10620         one extended basic block and stop replacing if a store to the
10621         replacement reg is seen.
10622
10623 1999-12-02  Nick Clifton  <nickc@cygnus.com>
10624
10625         * config/fp-bit.c: Initialise all fields of the NAN
10626         constants.
10627
10628         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
10629         to HANDLE_PRAGMA.
10630
10631 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
10632
10633         * i386.md (extend?f?f2): Force the input into a register, not
10634         the output.
10635
10636 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
10637
10638         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
10639         regclass' sake.
10640         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
10641         alternative because setting up 64bit constant is usually costly,
10642         especially when reload is in progress or completed.
10643         (movdf_const_intreg_sp64): Likewise.
10644         (movdf_const_intreg split): Fix building up constants when
10645         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
10646
10647 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
10648
10649         * combine.c (if_then_else_cond): Use const_true_rtx instead of
10650         const1_rtx for return values in EQ/NE comparison against (const_int 0)
10651         case.
10652
10653         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
10654         (asm_file_start): Emit .am33 into assembly file when compiling for
10655         the AM33.
10656         (print_operand_address): Handle POST_INC addresses.
10657         (can_use_return_insn, initial_offset): Check AM33 registers too.
10658         (expand_prologue): Check & save AM33 registers too.
10659         (expand_epilogue): Similarly.
10660         (secondary_reload_class): Handle AM33 specific secondary reloads.
10661         (output_tst): Emit efficient code for the AM33 too.
10662         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
10663         (TARGET_SWITCHES): Add -mam33 switch.
10664         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
10665         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
10666         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
10667         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
10668         (enum reg_class, REG_CLASS_NAMES): Likewise.
10669         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
10670         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
10671         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
10672         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
10673         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
10674         (HAVE_POST_INCREMENT): Define.
10675         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
10676         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
10677         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
10678         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
10679         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
10680         (zero_extend to SI from QI/HI): Likewise.
10681         (sign_extend to SI from QI/HI): Likewise.
10682         (mulsidi3, umulsidi3): New patterns for the AM33.
10683         (tstsi with zero extension from QI/HI): Add AM33 variants.
10684         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
10685         (return_internal_regs, store_movm): Handle new AM33 registers.
10686         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
10687         (LIBGCC, INSTALL_LIBGCC): Likewise.
10688         * invoke.texi: Document new flags.
10689
10690 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10691
10692         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
10693         (addsi3_carry): Likewise.
10694         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
10695         (sbbsi3_carry): Likewise.
10696         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
10697         (mulhi3): Likewise.
10698         (test?i_1): Ensure that only one operand is memory.
10699         (conditional move patterns): likewise.
10700         (shift and rotate patterns): Rewrite to expander, add
10701         "binary_operator_ok" to the condition.
10702
10703         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
10704         * i386.h (procesor_costs): Add movzbl_load field.
10705         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
10706         non-Q registers, accept DImode registers anywhere.
10707         (Q_CLASS_P): New.
10708         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
10709         * i386.c (*_cost): Set value for movxbl_load field.
10710
10711         * (addsi): New add to lea splitter.
10712         (ashlsi): Likewise.
10713         (lea to add/shift peep2): New.
10714
10715 1999-12-01  Mark Salter <msalter@cygnus.com>
10716
10717         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
10718         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
10719         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
10720
10721 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10722
10723         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
10724         * i386.md (movsi_xor): New.
10725         (movsi_or): New.
10726         (movsi_1, movhi_1, movqi_1): Remove.
10727         (movsi_2): Rename to movsi_1.
10728         (movhi_2): Rename to movhi_1.
10729         (movqi_2): Rename to movqi_1.
10730         (movdi_1): Remove; remove splitter.
10731         (movdi_2): Rename to movdi_1.
10732         (divmodsi4 splitter): Do not emit clobbers for move patterns.
10733         (long move peep2): Do not create QI or HI mode mov0s
10734         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
10735
10736         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
10737         rewrite splitters.
10738
10739         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
10740         (abs?f2_if): Likewise.
10741
10742 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
10743
10744         * ggc.h (ggc_test_and_set_mark): New macro.
10745         (ggc_mark_rtx): Use ggc_test_and_set_mark.
10746         (ggc_mark_tree): Likewise.
10747         (ggc_mark_rtvec): Likewise.
10748         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
10749
10750 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
10751
10752         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
10753         containing types.
10754         (decl_scope_table): Just an array of trees now.
10755         (push_decl_scope): Simplify.
10756         (dwarf2out_init): Adjust.
10757         (local_scope_p): New fn.
10758         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
10759         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
10760         (gen_typedef_die): Likewise.
10761         (gen_lexical_block_die): Don't call push/pop_decl_scope.
10762         (gen_inlined_subroutine_die): Likewise.
10763         (gen_abstract_function): Set current_function_decl temporarily.
10764         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
10765         Handle block extern declarations.  Don't call push/pop_decl_scope.
10766         (gen_decl_die): Fix logic for block externs.
10767
10768 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10769
10770         * calls.c (special_function_p): Remove `realloc' and add `strdup'
10771         to the list of functions which have attribute malloc by default.
10772
10773 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10774
10775         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
10776         integer constant does not match the traditional type, limit the
10777         warnings to cases where the base of the type is ten.
10778
10779         * invoke.texi (-Wtraditional): Document it.
10780
10781 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10782
10783         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
10784         * rs6000.md: Only access a CONST_INT with INTVAL
10785
10786 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
10787
10788         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
10789         (compute_nearerout): Likewise.
10790         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
10791         size_t to unsigned long for formatting.
10792
10793 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
10794
10795         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
10796         Allow the user to override call-used/fixed state of %g2-5
10797         registers from the command line (with the exception of %g4 for
10798         embedded model).
10799         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
10800         there is a higher chance of having a leaf function.
10801         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
10802         for ARCH64 which has %ccr register.
10803         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
10804         patterns.
10805         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
10806         insn accept into delay slot any insn which does not use %[ol]
10807         registers.  Accept some LO_SUM and shift left by 1 for the normal
10808         restore case.
10809         (output_function_epilogue): Likewise.
10810         (epilogue_renumber): Added argument which inhibits any renumbering
10811         and just tests if the rtx does not use any %[ol] registers.
10812         (output_return): Reflect above change.
10813
10814 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
10815
10816         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
10817         aggregate passing for sizes <= 16 bytes.
10818
10819 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
10820
10821         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
10822         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
10823         * reload.c (find_dummy_reload): Likewise.
10824         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
10825         * reload1.c (reload_as_needed): Likewise.
10826         * stupid.c (stupid_find_reg): Likewise.
10827         * tm.texi (Obsolete Register Macros): Delete section.
10828         * gmicro.h: Remove all traces of the two macros.
10829         * i386.h: Likewise.
10830         * m88k.h: Likewise.
10831         * mips.h: Likewise.
10832
10833 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
10834
10835         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
10836         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
10837         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
10838         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
10839         units for the sparclite86x chip.
10840         (flush): Revert October 14th change; add SImode specifically.
10841         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
10842         * invoke.texi: Document it.
10843
10844 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
10845
10846         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
10847         psimode_truncation_operand.
10848
10849         * config/mn10200/mn10200.c (psimode_truncation_operand): New
10850         function.  Return true if the operand is either a MEM valid
10851         for a PSImode address or not a MEM at all.
10852
10853         * config/mn10200/mn10200.md (truncsipsi2): Use
10854         psimode_truncation_operand.
10855
10856 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10857
10858         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
10859         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
10860         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
10861         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
10862         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
10863         (flow_loop_level_compute, low_loops_level_compute): Likewise.
10864         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
10865         * basic-block.h: Protect from multiple inclusion.
10866         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
10867         (struct loops, struct loop): Define structures.
10868         * sbitmap.c (sbitmap_a_subset_b_p): New function.
10869         * sbitmap.h: Protect from multiple inclusion.
10870         (sbitmap_a_subset_b_p): Add prototype.
10871         * Makefile.in (LOOP_H): New macro.
10872         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
10873
10874 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
10875
10876         * cppinit.c (CAT): The argument list of this macro may not contain
10877         spaces !
10878
10879 1999-11-29  David S. Miller  <davem@redhat.com>
10880
10881         Move quantity tables and register equivalence chains into
10882         per-qty and per-register structure arrays respectively.
10883         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
10884         qty_const_insn, qty_comparison_code, qty_comparison_const,
10885         qty_comparison_qty): Delete, replace with...
10886         (qty_table): this structure table.
10887         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
10888         (reg_eqv_table): this structure table.
10889         (make_new_qty): Add argument MODE.  Caller updated.
10890         Update to use qty_table and reg_eqv_table.
10891         (make_regs_eqv, delete_reg_equiv, insert_regs,
10892         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
10893         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
10894         cse_process_notes, cse_main, cse_basic_block): Likewise.
10895
10896 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10897
10898         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
10899         operation if C is negative.
10900         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
10901         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
10902         law for some divisions if constant is negative and change other
10903         divisions to the opposite rounding.
10904
10905         * expr.c (store_constructor_field): If bit position is not multiple
10906         of alignment of TARGET's mode, use BLKmode.
10907
10908         * expr.c (expand_expr_unaligned): Add more code from full case
10909         that is needed when OP0 is in a register.
10910
10911 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10912
10913         * dwarfout.c (field_byte_offset): Size can be zero if there was
10914         an error.
10915
10916 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10917
10918         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
10919         (associate_trees): Delete unused var TEM.
10920         (extract_muldiv): Delete unused var CANCEL_P.
10921
10922         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
10923         (target_isinf, target_isnan, target_negative): Add return types to
10924         function definitions.
10925
10926 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
10927
10928         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
10929         * fixinc/hackshell.tpl: ditto
10930         * fixinc/fixtests.c(double_slash_test): more C++ header testing
10931         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
10932
10933 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10934
10935         * reload.c (push_reload): When looking for a register to put into
10936         reg_rtx, make sure all hard regs in a multi-reg register are in the
10937         right class and nonfixed.
10938
10939         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
10940         pending_read_insns, pending_write_insns, pending_read_mems,
10941         pending_write_mems, pending_list_length, last_pending_memory_flush,
10942         last_function_call, sched_before_next_call): Move static variables
10943         into a structure.
10944         (bb_ prefixed versions): Replace with single array bb_deps.
10945         (struct deps): New structure.
10946         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
10947         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
10948         argument of type "struct deps *"; use that instead of global
10949         variables.  All callers changed.
10950         (init_rgn_data_dependencies): Delete function.
10951         (init_rtx_vector): Delete function.
10952         (init_deps): New function.
10953
10954         (free_pending_lists): Simplify, we always use the bb_deps array even
10955         if only one basic block.
10956         (compute_block_backward_dependences): Likewise.
10957         (schedule_region): Likewise.
10958
10959         (propagate_deps): New function, broken out of
10960         compute_block_backward_dependences.
10961         (compute_block_backward_dependences): Use it.
10962
10963         * alpha.md: Delete useless patterns that tried to work around
10964         register elimination problems.
10965
10966         * unroll.c (loop_iterations): Don't abort if iteration variable
10967         was made by loop.
10968
10969         From Joern Rennecke:
10970         * reload1.c (reloads_conflict): Reverse test comparing operand
10971         numbers when testing for conflict between output/outaddr reloads.
10972
10973 1999-11-29  David S. Miller  <davem@redhat.com>
10974
10975         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
10976         arg.
10977         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
10978
10979 1999-11-28  Robert Lipe  <robertl@cygnus.com>
10980
10981         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
10982         table from .fini into .dtor.
10983
10984 1999-11-28  Anthony Green  <green@cygnus.com>
10985
10986         * tree.h (struct tree_decl): Add malloc_flag.
10987         (DECL_IS_MALLOC): Define.
10988         * c-common.c (attrs): Add A_MALLOC attribute.
10989         (init_attributes): Add this attribute to the table.
10990         (decl_attributes): Handle malloc attribute.
10991         * calls.c (special_function_p): Check for the malloc attribute.
10992         * extend.texi (Function Attributes): Document malloc attribute.
10993
10994 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
10995
10996         * pa.md (reload shift-add patterns): Remove.
10997
10998 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10999
11000         * reorg.c (dbr_schedule) Print more statistics. Corrected
11001         problem when printing info when 3 delay slots are filled.
11002
11003 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
11004
11005         * combine.c (setup_incoming_promotions): Pass an outgoing
11006         regno to FUNCTION_ARG_REGNO_P which it expects.
11007
11008 1999-11-28  Andreas Jaeger  <aj@suse.de>
11009
11010         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
11011
11012 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
11013
11014         * cccp.c (do_include): Avoid initialization of automatic variable.
11015
11016         * integrate.c (mark_stores): Function definition made void, to match
11017         previous declaration.
11018         * regclass.c (dump_regclass): Ditto.
11019         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
11020
11021 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11022
11023         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
11024         known to be multiple of divisor.
11025
11026         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
11027
11028         * combine.c (try_combine): Add code to try to merge a set of a
11029         two-word pseudo to a constant with a setting of one of those words
11030         to a constant.
11031
11032         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
11033         (split_tree): Completely rework to make more general.
11034         (make_range, fold): Call negate_expr.
11035         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
11036         (fold, associate): Call new split_tree and associate_trees.
11037         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
11038
11039 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
11040
11041         * loop.c (try_copy_prop): Avoid GNU C extension.
11042
11043 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
11044
11045         * except.c (init_eh_for_function): Still zero eh_return_context,
11046         eh_return_stack_adjust, and eh_return_handler.
11047
11048         * except.h (eh_status): Adjust documentation for x_protect_list.
11049         (begin_protect_partials): New function.
11050         * except.c (enqueue_eh_entry): Fix formatting.
11051         (get_first_handler): Add consistency check.
11052         (add_partial_entry): Adjust usage of protect_list.
11053         (emit_cleanup_handler): Save and restore ehqueue.
11054         (expand_start_all_catch): Add comment.
11055         (begin_protect_partials): New function.
11056         (end_protect_partials): Adjust usage of protect_list.
11057         (init_eh_for_function): Use xcalloc.
11058
11059 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11060
11061         * c-common.c (check_format_info): Don't call a variadic function
11062         with a non-literal format string.
11063
11064         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
11065
11066         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
11067         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
11068         Likewise.
11069
11070         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
11071         Likewise.
11072
11073         * collect2.c (collect_wait): Likewise.
11074
11075         * dbxout.c (dbxout_type): Likewise.
11076
11077         * gcc.c (do_spec_1): Likewise.
11078
11079         * genemit.c (gen_insn, gen_expand): Likewise.
11080
11081         * genrecog.c (write_switch, write_subroutine): Likewise.
11082
11083         * mips-tfile.c (catch_signal, botch): Likewise.
11084
11085         * print-rtl.c (print_rtx): Likewise.
11086
11087         * toplev.c (default_print_error_function, report_error_function,
11088         _fatal_insn): Likewise.
11089
11090 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
11091
11092         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
11093
11094 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11095
11096         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
11097         operations when needed.
11098         * i386.md (fop_?f_comm): New.
11099         (fop_?f_1): Do not accept commutative operands.
11100
11101 1999-11-25  Andreas Jaeger  <aj@suse.de>
11102
11103         * config/mips/mips.md (casesi_internal): Add missing brace.
11104
11105 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
11106
11107         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
11108         (splice_child_die): Handle moving a child DIE from the declaration
11109         DIE of a class to its specification.
11110         (gen_struct_or_union_type_die): Use 'complete' consistently.
11111         (gen_decl_die): Generate the virtual context DIE first.
11112         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
11113
11114 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
11115
11116         * config/mips/mips.md (call_value_multiple_interanal1): New.
11117
11118 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
11119
11120         * dwarf2out.c (free_AT, free_die): New fns.
11121         (remove_children): Call them.
11122         (output_line_info): Disable removal of duplicate notes.
11123
11124         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
11125         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
11126         means pretend the type isn't defined.
11127         Don't defer emitting types.
11128         (gen_type_die_for_member): New fn.
11129         (gen_decl_die): Call it.
11130         (splice_child_die): New fn.
11131         (gen_member_die): Call it rather than generate duplicate dies.
11132
11133         Defer emitting information for the abstract instance of an inline
11134         until we either inline it or emit an out-of-line copy.
11135         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
11136         from output_inline_function if DECL_ABSTRACT is also set.
11137         (block_ultimate_origin): Likewise.
11138         (gen_abstract_function): New fn.
11139         (gen_decl_die, gen_inlined_subroutine_die): Call it.
11140         (gen_subprogram_die):  An abstract instance is not a declaration
11141         just because it doesn't match current_function_decl.  Don't abort
11142         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
11143         has an abstract origin.
11144         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
11145         abstract instance here.
11146
11147 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
11148
11149         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
11150         where we need to reload fpul from a system register.
11151
11152 1999-11-24  Andreas Jaeger  <aj@suse.de>
11153
11154         * config/mips/linux.h (CPP_PREDEFINES): Added.
11155         (LINK_SPEC): Remove -Y since this is only needed on sparc.
11156
11157 1999-11-24  Andreas Jaeger  <aj@suse.de>
11158
11159         * config/mips/linux.h (TARGET_VERSION): Added.
11160         (HANDLE_SYSV_PRAGMA): Added.
11161         (DEFAULT_VTABLE_THUNKS): Added.
11162
11163 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11164
11165         * local-alloc.c (qty): New structure and static variable.
11166         (qty_phys_reg): Remove, all references changed to qty.
11167         (qty_n_refs): Likewise.
11168         (qty_min_class): Likewise.
11169         (qty_birth): Likewise.
11170         (qty_death): Likewise.
11171         (qty_size): Likewise.
11172         (qty_mode): Likewise.
11173         (qty_n_calls_crossed): Likewise.
11174         (qty_alternate_class): Likewise.
11175         (qty_changes_size): Likewise.
11176         (qty_first_reg): Likewise.
11177         (alloc_qty): Rename variable QTY to QTYNO.
11178         (finf_free_reg): Likewise.
11179         (local_alloc): Allocate qty, do not allocate the removed variables.
11180
11181 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
11182
11183         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
11184         when -membedded-pic is passed.
11185
11186         * config/mips/mips.md (casesi): Handle 64-bit case too.
11187         (casesi_internal_di): New insn.
11188
11189         * config/mips/mips.c (embedded_pic_offset): Always make the
11190         embedded-pic subtractions relative to the name of the current
11191         function by use of the magic string "..CURRENT_FUNCTION".
11192         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
11193
11194 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
11195
11196         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
11197         of (const_int 0), when what we really care about is
11198         whether it's a zero constant anyway.
11199         (div_trap_mips16): Likewise.
11200
11201 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
11202
11203         * loop.c (loop_optimize): Always find_loop_tree_blocks and
11204         unroll_block_trees when generating debuggable code.
11205
11206         * tree.h (unsave_expr_1): New function.
11207         (lang_unsave): New variable.
11208         (get_callee_fndecl): New function.
11209         * tree.c (unsave_expr_now_r): New function.
11210         (lang_unsave): Define.
11211         (unsave_expr_1): Likewise.
11212         (unsave_expr_now_r): Split out from unsave_expr_now.
11213         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
11214         call unsave_expr_now_r.
11215         (get_callee_fndecl): Define.
11216
11217         * Makefile.in (gencheck): Don't depend on lang_tree_files.
11218         (gencheck.o): Do depend on lang_tree_files.
11219
11220         * integrate.h (copy_decl_for_inlining): New declaration.
11221         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
11222         (copy_decl_for_inlining): New function.
11223         (integrate_parm_decls): Use it.
11224         (integrate_decl_tree): Likewise.
11225
11226 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
11227
11228         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
11229         the second two from the first.
11230         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
11231         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
11232         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
11233         ISA_HAS_FP4.
11234         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
11235         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
11236         ISA_HAS_FP4.
11237
11238 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
11239
11240         * pa.md (call_internal_symref, call_value_internal_symref): No mode
11241         needed on the address operand.
11242         * pa.c (call_operand_address): Check for the correct mode.
11243
11244 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
11245
11246         * loop.c: Include "basic-block.h".
11247         (try_copy_prop, replace_loop_reg): New functions.
11248         (load_mems): Detect registers that just hold copies of the hoisted
11249         mem, and call try_copy_prop to eliminate them.
11250         * Makefile.in (loop.o): Update dependencies.
11251
11252 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
11253
11254         * Makefile.in (gencheck.o): Depend on gencheck.h.
11255         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
11256         (insn-peep.o): Depend on except.h and function.h.
11257         (insn-attrtab.o): Depend on RECOG_H.
11258         (insn-output.o): Depend on toplev.h and flags.h.
11259         (gengenrtl.o): Depend on real.h.
11260         (gen-protos.o): Depend on cpplib.h and cpphash.h.
11261         Unify all dependencies to be on RECOG_H rather than recog.h.
11262
11263 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11264
11265         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
11266         * configure.in: Try building a bi-arch 32/64-bit compiler on
11267         sparc-*-solaris2.7 and higher.
11268         * configure: Rebuild.
11269
11270 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
11271
11272         * config/freebsd.h: New, FreeBSD architecture independent file.
11273         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
11274         independent pieces.
11275         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
11276         directly by i386/freebsd.h.
11277         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
11278         independent configuration file.
11279         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
11280         directly by i386/freebsd.h.
11281         * configure: Rebuilt.
11282
11283         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
11284         which is in the user's namespace.
11285         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
11286         `i386' which is not in our namespace.
11287
11288 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
11289
11290         * invoke.texi (ARM Options): Add in -mno-alignment-traps
11291
11292 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
11293
11294         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
11295         (add_dwarf_attr, add_child_die): Just push onto the front.
11296         (reverse_die_lists): New fn.
11297         (add_sibling_attributes): Use it.
11298         (push_decl_scope): Reorganize.
11299         (add_name_and_src_coords_attributes): Don't set file and line for
11300         an artificial decl.
11301         (gen_subprogram_die): An artificial function doesn't need to match
11302         file and line.
11303         (gen_compile_unit_die): Return the generated die.  Only add
11304         AT_comp_dir if the filename is relative.
11305         (remove_AT): Simplify loop.  Also free string values.
11306         (output_die): A DIE ref can't be null.
11307         (output_value_format, value_format): Take a dw_attr_ref.
11308         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
11309         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
11310         AT_addr, AT_lbl): New fns.
11311         (various): Use them.
11312         (various): Constify.
11313
11314 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11315
11316         * combine.c (combine_simplify_rtx): When handling a SUBREG,
11317         take SUBREG_WORD into account.
11318         (if_then_else_cond): Likewise.
11319
11320 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
11321
11322         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
11323         clause from BSD license, pursuant with
11324
11325           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
11326
11327 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
11328
11329         * loop.c (load_mems): Reformat slightly.
11330         * basic-block.h (regset_head): New typedef.
11331         (INIT_REG_SET): New macro.
11332
11333 1999-11-22  Bruce Korb  <autogen@linuxbox.com
11334
11335         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
11336         (mips-dec-bsd*): non-functional code
11337         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
11338
11339         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
11340         added three replacement fixes
11341         (no_double_slash): removed comments that are not (any longer) pertinent
11342         (bad_lval): this fix currently runs against many files.
11343         The comment seems to indicate that we should select for files
11344         containing 'pragma extern_prefix'.
11345
11346         * fixinc/fixinc.x86-linux-gnu: deleted
11347         * fixinc/inclhack.sh:  regen
11348         * fixinc/fixincl.x:  regen
11349         * fixinc/fixincl.sh:  regen
11350
11351 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
11352
11353         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
11354         its code is INSN and it has no notes.
11355
11356 1999-11-22  Andrew Haley  <aph@cygnus.com>
11357
11358         * varasm.c (function_defined): Remove.
11359         (make_function_rtl): Don't set function_defined.
11360         (make_decl_rtl): Remove global register warning.
11361         * regclass.c (no_global_reg_vars): New variable.
11362         (globalize_reg): Warn if function has already been defined.
11363         (regclass_init): Set no_global_reg_vars.
11364
11365 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11366
11367         * regclass.c (reg_pref): New structure and static variable
11368         (prefclass): Delete.
11369         (altclass): Delete.
11370         (all uses of prefclass and altclass): Use reg_pref instead.
11371
11372 1999-11-21  Nick Clifton  <nickc@cygnus.com>
11373
11374         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
11375         -malignment-traps.
11376         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
11377         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
11378         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
11379
11380 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
11381
11382         * varasm.c (output_constructor): Solve problem with long long
11383         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
11384
11385 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11386
11387         * global.c (allocno): New structure and static variable.
11388         (allocno_reg): Remove, all references replaced by allocno.
11389         (allocno_size): Likewise.
11390         (hard_reg_conflicts): Likewise.
11391         (hard_reg_preferences): Likewise.
11392         (hard_reg_copy_preferences): Likewise.
11393         (hard_reg_full_preferences): Likewise.
11394         (regs_someone_prefers): Likewise.
11395         (allocno_calls_crossed): Likewise.
11396         (allocno_n_refs): Likewise.
11397         (allocno_live_length): Likewise.
11398         (find_reg): Rename ALLOCNO to NUM.
11399
11400         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
11401         references updated.
11402         (may_move_out_cost): New variable.
11403         (init_reg_sets_1): Initialize may_move_out_cost.
11404         (record_reg_classes): Use may_move_out_cost.
11405
11406         * regclass.c (dump_regclass): New function.
11407         (regclass): New parameter DUMP, call DUMP_REGCLASS.
11408         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
11409         pass rtl_dump_file to regclass.
11410         * rtl.h (regclass): Update prototype.
11411
11412 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11413
11414         * i386.md (neg, not and abs patterns): Revmap to use
11415         ix86_expand_unary_operator and ix86_unary_operator_ok.
11416         (add?f and sub?f expanders): Force operand 1 to register.
11417         * i386.c (ix86_expand_unary_operator): Rewrite.
11418         (ix86_unary_operator_ok): Ensure that memory operands
11419         match real opcode.
11420         (ix86_binary_operator_ok): Do not allow operand 1 to
11421         come into memory and operand 0 not.
11422         (ix86_expand_binary_operator): Ensure that
11423         src1 is not non-matching memory.
11424
11425         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
11426         to support integer registers and memory.
11427         (abss?2_integer): Likewise.
11428
11429         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
11430         (REG_CLASS_NAMES): Likewise.
11431         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
11432         and GENERAL_REGS.
11433         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
11434         (movsf): Likewise; unify 4th and 5th alternative.
11435         (pushdf): Likewise.
11436         (movdf_1): Likewise; rename to movdf_integer.
11437         (pushxf): Likewise; rename to pushxf_integer; fix output template;
11438         remove redundant splitter.
11439         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
11440         (movdf_nointeger): New.
11441         (movxf_nointeger): New.
11442         (pushxf_nointeger): New.
11443
11444         * i386.md (extend?f?f): Split to expander and pattern, refuse two
11445         memory operands in patterns.
11446         (fop*): Refuse two memory operands.
11447
11448         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
11449         on !TARGET_USE_CLTD CPUs.
11450
11451 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
11452
11453         * extend.texi: Document C++ restricted pointers and references.
11454
11455 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
11456
11457         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
11458         (invalidate_skipped_set): Call it unconditionally.
11459         (cse_set_around_loop): Likewise.
11460
11461 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
11462
11463         * rtl.texi (mem): Add documentation for alias-set argument
11464         to RTX `mem'.
11465
11466 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11467
11468         * i386.h (struct_processor_costs): New fields int_load, int_store,
11469         fp_move, fp_load and fp_store
11470         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
11471         fp->int moves
11472         (MEMORY_MOVE_COST): New macro.
11473         * i386.c (386_cost): Define new fields.
11474         (i486_cost): Likewise.
11475         (pentium_cost): Likewise.
11476         (pentiumpro_cost): Likewise.
11477         (k6_cost): Likewise.
11478
11479 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
11480                           Geoffrey Keating  <geoffk@cygnus.com>
11481
11482         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
11483
11484         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
11485         MASK_ALIGN_INT.
11486
11487         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
11488         (TARGET_STRICT_ALIGNMENT): New macro.
11489         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
11490         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
11491         * invoke.texi (M680x0 Options): Document -mstrict-align.
11492
11493 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
11494                           Richard Henderson  <rth@cygnus.com>
11495
11496         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
11497         (ix86_split_long_move): Declare.
11498         * i386.c (split_xf, ix86_split_movdi): Remove.
11499         (ix86_split_to_parts, ix86_split_long_move): New.
11500         * i386.md (dimode move splitters): Use ix86_split_long_move.
11501         (dfmode move splitters): Likewise.
11502         (xfmode move splitters): Likewise.
11503         (movsf_1): Allow F->r.
11504         (movdf_1, movxf_1): Allow F->ro.
11505
11506 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
11507
11508         * except.h (struct eh_entry): Add goto_entry_p.
11509         (eh_region_from_symbol): Remove prototype.
11510         * except.c (find_func_region_from_symbol): New function.
11511         (emit_cleanup_handler): Likewise.
11512         (eh_region_from_symbol): Make it static.
11513         (add_new_handler): Verify the argument.
11514         (find_func_region): Update comment.
11515         (expand_eh_region_end): Expand handlers here, rater than waiting
11516         until expand_leftover_cleanups or start_all_catch.
11517         (expand_leftover_cleanups): Don't expand here.
11518         (expand_start_all_catch): Or here.
11519         (expand_rethrow): Check the return value from find_func_region.
11520         * function.c (expand_function_end): Emit the catch_clauses.
11521
11522 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
11523
11524         * integrate.c (expand_inline_function): Add necessary check for NULL.
11525
11526 1999-11-18  Nick Clifton  <nickc@cygnus.com>
11527
11528         * toplev.c (main): Correctly detect an unrecognised option.
11529
11530         * cppinit.c (cpp_handle_option): Do not claim to have consumed
11531         a -f option if it has not been recognised.
11532
11533 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
11534
11535         * basic-block.h (update_life_extent): Remove trailing comma on
11536         enumeration type list.
11537
11538 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11539
11540         * varasm.c (output_constructor) Solved problem with long long
11541         bitfields. Corrected calculating this_time and shift. Also
11542         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
11543
11544 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
11545
11546         * flow.c (split_edge): Take looping structure into account when
11547         determining where to put the new block note.
11548
11549 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
11550
11551         * Makefile.in (ggc-none.o): Provide host specific version if
11552         needed.
11553
11554 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
11555
11556         * cse.c (delete_trivially_dead_insns): Identify no-op insns
11557         containing subregs too.
11558
11559 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
11560
11561         * invoke.texi: Add documentation for -muninit-const-in-rodata.
11562         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
11563         (TARGET_UNINIT_CONST_IN_RODATA): Define.
11564         (text_section): Add switches -munint-const-in-rodata and
11565         -mno-uninit-const-in-rodata.
11566         (ASM_OUTPUT_COMMON): Remove.
11567         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
11568         const objects should be placed in read-only data. Otherwise declare
11569         them in common.
11570
11571 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
11572
11573         * jump.c (jump_optimize_1): Revert last change.
11574
11575 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
11576
11577         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
11578         test if optimizing for size.
11579
11580 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
11581
11582         * Makefile.in (toplev.o): Depend on except.h.
11583         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
11584
11585 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11586
11587         * i386.md (divmodsi4): Rewrite to expander.
11588         (*divmodsi4_nocltd): New.
11589         (*divmodsi4_cltd): New.
11590         (divmodsi4 splitter): Handle the case when input comes in edx.
11591         (udivmodhi4): Do not use constraints in exander.
11592         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
11593
11594 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
11595
11596         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
11597         for the common case.
11598
11599 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
11600
11601         * explow.c (hard_function_value): Add outgoing argument.
11602         * expr.h (hard_function_value): Declare it.
11603         * calls.c (expand_call, emit_library_call_value): Update callers.
11604         * function.c (aggregate_value_p): Ditto.
11605         (diddle_return_value): Must look at the outgoing registers
11606         on archs with register windows.
11607
11608 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
11609
11610         * alpha.c (alpha_build_va_list): Use make_lang_type and
11611         initialize TYPE_NAME for the va_list record.
11612
11613         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
11614
11615         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
11616         for printing.
11617         * ggc.h (struct ggc_statistics): Rearrange elements for better
11618         packing on 64-bit hosts.
11619         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
11620         (compute_nearerout): Likewise.
11621
11622 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
11623
11624         * config/rs6000/rs6000.c (first_reg_to_save): Save
11625         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
11626
11627 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
11628
11629         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
11630         notion of nesting to find the DIE for a type or function.
11631         DIEs can go in limbo even if we got a context_die.
11632         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
11633         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
11634         for local type.
11635         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
11636         (gen_type_die): Writing out the context doesn't cause member class
11637         template instantiations to be written out as well.
11638
11639 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
11640
11641         * rs6000.h (ASM_OUTPUT_DEF): New.
11642         Based on proposed addition from David Edelsohn.
11643
11644 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
11645             Bruce Korb  <autogen@linuxbox.com>
11646
11647         * fixinc/inclhack.def
11648         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
11649         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
11650                 in net/inet.h.
11651         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
11652         (svr4_endian): enabled with SVR5
11653         (svr4_mkdev): simplified syntax and enabled with SVR5
11654
11655 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
11656
11657         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
11658         * configure: Rebuilt.
11659         * config/t-freebsd-thread: New file.
11660
11661 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
11662
11663         * i386.c (ix86_decompose_address): Verify the base is a REG
11664         before trying to examine its register number.
11665
11666         * basic-block.h: Remove all #defines and prototypes related to
11667         integer lists.
11668         (free_bb_mem, compute_preds_succs): Remove prototype.
11669         * rtl.h (free_bb_mem): Remove prototype.
11670         * flow.c (alloc_int_list_node); Remove function.
11671         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
11672         (compute_preds_succs, free_bb_mem): Likewise.
11673         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
11674         * toplev.c (rest_of_compilation): Likewise.
11675         * haifa-sched.c (build_control_flow): Use flow generated edge
11676         list to build the haifa specific edge list.
11677         (find_rgns): Use new CFG data structures instead of pred/succ lists.
11678         (schedule_insns): Do not build pred/succ lists anymore.  Instead
11679         build the edge table.
11680
11681         * basic-block.h (dump_bb_data): Remove declaration.
11682         * flow.c (dump_bb_data): Remove function.
11683         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
11684         (sbitmap_union_of_predsucc): Likewise.
11685
11686         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
11687         argument.  All callers changed.
11688         (delete_null_pointer_checks_1): No longer need to compute the
11689         pred/succ lists.
11690
11691         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
11692         All callers changed.
11693         (pre_expr_reaches_here_p_work): Likewise.
11694         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
11695         * lcm.c (compute_laterin): Fix initialization of LATER.
11696         (compute_nearerout): Similarly for NEARER.
11697
11698 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11699
11700         * cse.c (set_nonvarying_address_components): Delete unused function.
11701         (refers_to_p): Likewise.
11702
11703 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
11704
11705         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
11706         needed.
11707
11708 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11709
11710         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
11711         definition in do while (0).
11712
11713 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
11714
11715         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
11716
11717 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
11718
11719         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
11720
11721 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
11722
11723         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
11724         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
11725         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
11726         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
11727
11728         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
11729         saved on the stack.  Output more accurate stack frame statistics
11730         into assembler file.
11731
11732 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
11733
11734         * genextract.c (record_insn_name): New function.
11735         (get_insn_name): No longer a stub.
11736         (main): Call record_insn_name for each insn.  After each label
11737         written, print the insn name in a comment.
11738
11739 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11740
11741         * output.h (const_section, init_section, fini_section): Add
11742         prototypes.
11743
11744         * alpha/elf.h (const_section): Delete declaration.
11745
11746         * svr4.h (const_section): Likewise.
11747
11748 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
11749
11750         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
11751         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
11752         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
11753         expressions.
11754         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
11755         variable-sized array bounds.
11756
11757 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
11758
11759         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
11760         ASM_OUTPUT_LABEL.
11761
11762 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11763
11764         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
11765         addresses the same way GO_IF_LEGITIMATE_INDEX does.
11766
11767 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11768
11769         * cse.c (hash_arg_in_struct): Delete.
11770         (struct table_elt): Delete elt in_struct.
11771         (struct set): Delete elt src_in_struct.
11772         (merge_equiv_classes): Don't set either hash_arg_in_struct or
11773         the corresponding in_struct elts.
11774         (canon_hash): Likewise.
11775         (safe_hash): Likewise.
11776         (find_best_addr): Likewise.
11777         (record_jump_cond): Likewise.
11778         (cse_insn): Likewise.
11779
11780 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
11781
11782         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
11783
11784         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
11785         unsigned types.
11786
11787 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
11788
11789         * function.c (diddle_return_value): Put back check that the DECL_RTL
11790         for the function is a register.
11791
11792         * function.c (diddle_return_value): Use hard_function_value to
11793         get an rtx suitable for use in the USE/CLOBBER insn.
11794
11795         * global.c (global_conflicts): Update comments.
11796         (record_conflicts): No need to record conflicts between pseudos here.
11797
11798 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
11799
11800         * fixinc/fixincl.c: Added verbose levels for status messages
11801
11802 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11803
11804         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
11805         operand as argument to expand_and or expand_binop.
11806
11807 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
11808
11809         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
11810         gcc_add_string_root.
11811
11812 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
11813
11814         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
11815
11816 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
11817
11818         * flow.c (compute_flow_dominators): Initially put all blocks on
11819         the worklist.
11820         * lcm.c (compute_antinout_edge, compute_available): Similarly.
11821         * gcse.c (compute_cprop_avinout): Remove.
11822         (compute_cprop_data): Use compute_available.
11823         (delete_null_pointer_checks_1): Use compute_available.
11824
11825         * basic-block.h (compute_available): Returns a void now.
11826         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
11827         to return a value anymore.
11828         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
11829         worklists.  Fix boundary cases. Compute maximal solutions.
11830         (compute_laterin, compute_nearerout): Similarly.
11831
11832         * dwarf2out.c (add_AT_location_description): Allow
11833         (mem (plus (pseudo) (...)) too.
11834
11835 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
11836
11837         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
11838
11839 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
11840                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11841
11842         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
11843
11844         * gansidecl.h: Likewise.
11845
11846         * rtl.c: Likewise.
11847
11848         * rtl.h: Likewise.
11849
11850         * toplev.h: Likewise.
11851
11852         * tree.c: Likewise.
11853
11854         * tree.h: Likewise.
11855
11856         * varray.c: Likewise.
11857
11858         * varray.h: Likewise.
11859
11860 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
11861
11862         * gcov.c (struct arcdata): Add hits and total, remove prob.
11863         (output_branch_counts): New.
11864         (process_args): Set output_branch_counts if -c.
11865         (calculate_branch_probs): Store hits and total instead of
11866         percentage.
11867         (output_data): Emit counts if output_branch_counts is true.
11868         * gcov.texi (Invoking Gcov): Document -c switch..
11869
11870 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
11871
11872         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
11873         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
11874
11875 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
11876
11877         * invoke.texi (C Dialect Options): Add missing builtins from
11878         c-common.c to list.
11879         * extend.texi (Other Builtins): Copy to this list.
11880
11881 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11882
11883         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
11884         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
11885         redundant bitmap.h.
11886
11887 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
11888
11889         * flow.c (compute_flow_dominators): No longer treat basic block 0
11890         or (n_basic_blocks - 1) specially.  Clear the AUX field before
11891         starting computation of doms/pdoms.  Fix initial state for pdoms.
11892
11893 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11894
11895         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
11896         match rtl.o's: added ggc.h and toplev.h
11897         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
11898         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
11899         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
11900
11901 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
11902
11903         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
11904         from HAVE_DOS_BASED_FILESYSTEM.
11905         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
11906         HAVE_DOS_BASED_FILESYSTEM.
11907         (main): Likewise.
11908         (split_directories): Only special-case DOS file names if
11909         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
11910         instead of explicit tests.  Conditionalize on !VMS.
11911         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
11912         tests.  Conditionalize on !VMS.
11913         (process_command): Only use make_relative_prefix if !VMS.
11914         (free_split_directories): Conditionalize on !VMS.
11915         (DIR_UP): Conditionalize on !VMS.
11916
11917 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11918
11919         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
11920
11921 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11922
11923         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
11924         case.
11925
11926 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
11927
11928         * invoke.texi (Environment Variables): Document relative path
11929         lookup.
11930         * gcc.c (DIR_UP): If not defined, define as "..".
11931         (standard_bindir_prefix): New static, holds target location to
11932         install binaries.
11933         (split_directories): New function to split a filename into
11934         component directories.
11935         (free_split_directories): New function, release memory allocated
11936         by split_directories.
11937         (make_relative_prefix): New function, make a relative pathname if
11938         the compiler is not in the expected location.
11939         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
11940         can figure out an appropriate prefix from argv[0].
11941         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
11942         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
11943         STANDARD_BINDIR_PREFIX.
11944
11945 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11946
11947         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
11948         in c4x.c.
11949         * config/c4x/c4x.h: Moved prototypes to c4x.h.
11950         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
11951         c4x_secondary_memory_needed) Delete.
11952         (fp_zero_operand): Add mode argument.
11953
11954 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
11955
11956         * reload1.c (reload_reg_free_for_value_p): Don't use a register
11957         that is in reload_reg_used.
11958
11959 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
11960
11961         * config/arm/arm-protos.h: New file: Prototypes for functions
11962         defined in arm.c and pe.c.
11963         * config/arm/arm.h: Fix compile time warnings.
11964         * config/arm/arm.c: Fix compile time warnings.
11965         * config/arm/pe.h: Fix compile time warnings.
11966         * config/arm/aout.h: Fix compile time warnings.
11967
11968 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
11969
11970         * config/m32r/m32r-protos.h: New file: Prototypes for functions
11971         defined in m32r.c
11972
11973         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
11974         Add support for subtargets.
11975         Add prototypes for new predicates.
11976         Add scheduling macros.
11977
11978         * config/m32r/m32r.c: Fix compile time warnings.
11979         (int8_operand): New predicate function.
11980         (reg_or_cmp_int16_operand): New predicate function.
11981         (extend_operand): New predicate function.
11982         (m32r_adjust_code): New scheduling function.
11983         (m32r_adjust_priorty): New scheduling function.
11984         (m32r_sched_init): New scheduling function.
11985         (m32r_sched_reorder): New scheduling function.
11986         (m32r_sched_variable_issue): New scheduling function.
11987         (direct_return): New codegen function.
11988         (m32r_not_same_reg): New rtl testsing function.
11989
11990         * config/m32r/m32r.md: Fix compile time warnings.
11991         Add support for pre decrement and post increment memory
11992         references.
11993         Add S<cc> patterns.
11994         Add fabs patterns.
11995
11996 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11997
11998         * global.c (EXECUTE_IF_CONFLICT): Don't define.
11999         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
12000         (find_reg): Likewise.
12001
12002 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
12003
12004         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
12005         to avoid assembler errors.
12006
12007 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
12008
12009         * config/v850/v850-protos.h: New file: Prototypes for functions
12010         defined in v850.c
12011         * config/v850/v850.h: Move prototypes to v850-protos.h
12012         * config/v850/v850.c: Move prototypes to v850-protos.h
12013         * config/v850/v850.md: Fix compile time warnings.
12014
12015         * config/fr30/fr30-protos.h: New file: Prototypes for functions
12016         defined in fr30.c
12017         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
12018         * config/fr30/fr30.c: Fix compile time warnings.
12019         * config/fr30/fr30.md: Fix compile time warnings.
12020
12021 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
12022
12023         * tree.h (get_containing_scope): Declare it.
12024         * tree.c (get_containing_scope): New fucntion.
12025         (decl_function_context): Use it.
12026         * toplev.c (rest_of_compilation): Use get_containing_scope.
12027
12028 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12029
12030         * Makefile.in (rtl.o): Depend on toplev.h.
12031
12032 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
12033
12034         * cse.c (delete_trivially_dead_insns): Replace alloca with
12035         xmalloc/xcalloc.
12036         * except.c (update_rethrow_references): Likewise.
12037         (init_eh_nesting_info): Likewise.
12038         * function.c (identify_blocks): Likewise.
12039         * gcse.c (dump_hash_table): Likewise.
12040         * graph.c (print_rtl_graph_with_bb): Likewise.
12041         * loop.c (combine_movables): Likewise.
12042         (move_movables): Likewise.
12043         (count_loop_regs_set): Likewise.
12044         (strength_reduce): Likewise.
12045         * profile.c (compute_branch_probabilities): New function, split
12046         out from ...
12047         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
12048         * regclass.c (regclass): Likewise.
12049         * regmove.c (regmove_optimize): Likewise.
12050         * toplev.c (compile_file): Likewise.
12051         (main): Don't mess with the stack rlimit.
12052
12053 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
12054
12055         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
12056         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
12057
12058 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
12059
12060         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
12061
12062 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
12063
12064         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
12065         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
12066         macro expansion.
12067
12068 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
12069
12070         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
12071
12072 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
12073
12074         * gcse.c (post_dominators): Kill.
12075         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
12076         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
12077         pass in a pdom array since we do not need pdoms.
12078         * haifa-sched.c (schedule_insns): Similarly.
12079         * flow.c (compute_dominators): Remove dead function.
12080         (compute_flow_dominators): Do not compute doms or pdoms if the
12081         caller does not request them.  Split up loop to build doms and
12082         pdoms.  Use a worklist to compute doms and pdoms.
12083         * basic-block.h (compute_dominators): Remove prototype.
12084
12085 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
12086
12087         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
12088         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
12089         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
12090         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
12091         (cant_move, fed_by_spec_load, is_load_insn): Remove.
12092         (schedule_region): Remove unused variable.
12093         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
12094
12095 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
12096
12097         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
12098         (update_equiv_regs): Likewise.
12099         (block_alloc): Likewise.
12100         * reg-stack.c (reg_to_stack): Likewise.
12101         (convert_regs_2): Likewise.
12102         * reload1.c (reload_as_needed): Likewise.
12103
12104 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
12105
12106         * Makefile.in (dbxout.o): Depend on ggc.h.
12107         (dwarf2out.o): Likewise.
12108         (xcoffout.o): Likewise.
12109         * dbxout.c: Include ggc.h.
12110         (dbxout_init): Register lastfile as a root.
12111         * dwarf2out.c: Include ggc.h.
12112         (dwarf2out_line): Register lastfile as a root.
12113         * xcoffout.c: Include ggc.h.
12114         (xcoffout_source_line): Register xcoff_lastfile as a root.
12115
12116 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
12117
12118         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
12119
12120 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
12121
12122         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
12123         defined.
12124         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
12125
12126 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12127
12128         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
12129         (EXECUTE_IF_CONFLICT): Likewise.
12130         (ALLOCNO_LIVE_P): Avoid signed division.
12131         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
12132         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
12133         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
12134
12135 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
12136
12137         * haifa-sched.c (schedule_block): Don't crash if there's no
12138         next insn for an interblock movement.
12139         (add_branch_dependences): Don't allow clobber insns to move either.
12140
12141 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
12142
12143         * i386.c (split_xf): New.
12144         * i386-protos.h: Declare it.
12145         * i386.md (movxf_1): Add general regs alternatives.
12146         (movxf_1+1): New splitter for same.
12147
12148 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
12149
12150         * function.c (purge_addressof_1): Add missing return values.
12151
12152 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
12153
12154         * function.c (is_addressof): New function.  Returns true if
12155         the given piece of RTL is an ADDRESSOF.
12156         (purge_addressof_1): Make boolean.  Return false if the
12157         ADDRESSOFs could not be purged.
12158         (purge_addressof): If ADDRESSOFs could not be purged from the
12159         notes attached to an insn, remove the offending note(s),
12160         unless they are attached to a libcall.
12161
12162 1999-11-05  Andreas Jaeger  <aj@suse.de>
12163
12164         * genoutput.c (null_operand =): Initialize all fields.
12165
12166         * errors.h: Add extern to prototypes.
12167
12168 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
12169
12170         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
12171         * configure: Rebuilt.
12172
12173 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12174
12175         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
12176         (mirror_conflicts): New function.
12177         (global_alloc): Call it.
12178         (expand_preferences): Remove redundant CONFLICTP test.
12179         (find_reg, dump_conflicts): Likewise.
12180         (prune_preferences): Process conflicts one word at a time.
12181
12182 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
12183
12184         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
12185         instead of an explicit loop.
12186
12187 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
12188
12189         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
12190         if REG_RETVAL check succeeds, then put classp in src_elt.
12191
12192 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
12193
12194         * function.c (pad_to_arg_alignment): Only update argument_pad
12195         if the argument's alignment is greater than STACK_BOUNDARY.
12196
12197 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
12198
12199         * bitmap.h (BITMAP_XFREE): New.
12200         * flow.c (life_analysis): Use it.
12201         (life_analysis_1): Free blocks.
12202
12203         * combine.c (undo_commit): New.
12204         (try_combine): Use it.  Don't zap undobuf.undos.
12205         (combine_instructions): Don't zap undobuf.undos; free the
12206         undobuf.frees list.
12207
12208         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
12209
12210         * stmt.c (cost_table_): New.
12211         (estimate_case_costs): Use it instead of xmalloc.
12212
12213         * toplev.c (compile_file): Reuse dumpname memory instead
12214         of strdup'ing it.
12215
12216 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
12217
12218         * reg-stack.c (convert_regs_1): Initialize target_stack->top
12219         after verifying an EH edge.
12220
12221         * haifa-sched.c (init_rgn_data_dependences): Correctly
12222         size bb_pending_lists_length when zeroing.
12223
12224 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
12225
12226         * function.c (diddle_return_value): New.
12227         (expand_function_end): Use it.
12228         * stmt.c (expand_null_return): Likewise.
12229         (expand_value_return): Likewise.
12230
12231         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
12232
12233         * reload1.c (reload): Don't remove return value clobbers.
12234
12235 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
12236
12237         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
12238
12239 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
12240
12241         * cse.c (cse_main): Use xmalloc, not alloca.
12242         (cse_basic_block): Likewise.
12243         * local-alloc.c (local_alloc): Likewise.
12244
12245 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
12246                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12247
12248         * rtl.c: Include toplev.h.
12249         (fatal): Remove declaration.
12250
12251 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
12252
12253         * haifa-sched.c (schedule_block): Fix thinko.
12254
12255 1999-11-03  James McKelvey <mckelvey@fafnir.com>
12256
12257         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
12258         S_IR* defined values
12259
12260 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
12261
12262         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
12263         call `malloc' instead.
12264
12265 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
12266
12267         * flags.h (flag_renumber_insns): Declare.
12268         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
12269         renumbering table.
12270         * rtl.h (renumber_insns): Change prototype.
12271         * toplev.c (flag_renumber_insns): Define.
12272         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
12273
12274 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
12275
12276         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
12277         and fpsqrtd.  Use them and create fdiv function unit to more
12278         accurately represent fpu sqrt pipeline semantics on UltraSparc.
12279         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
12280
12281 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
12282
12283         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
12284         3 on UltraSparc.
12285         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
12286         insn into ready list, do not use just a raw swap.
12287
12288 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
12289
12290         * rtl.h (renumber_insns): New function.
12291         (remove_unnecessary_notes): Likewise.
12292         * emit-rtl.c (renumber_insns): Define.
12293         (remove_unncessary_notes): Likewise.
12294         * toplev.c (rest_of_compilation): Remove dead code.
12295         Use renumber_insns and remove_unncessary_notes.
12296
12297         * gcse.c (struct null_pointer_info): New type.
12298         (get_bitmap_width): New function.
12299         (current_block): Remove.
12300         (nonnull_local): Likewise.
12301         (nonnull_killed): Likewise.
12302         (invalidate_nonnull_info): Take a null_pointer_info as input.
12303         (delete_null_pointer_checks_1): New function.
12304         (delete_null_pointer_checks): Use it.
12305
12306         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
12307         (split_edges): Likewise.
12308         (schedule_block): Likewise.
12309         (compute_block_backward_dependencies): Likewise.
12310         (schedule_region): Likewise.
12311         (schedule_insns): Likewise.
12312
12313 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
12314
12315         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
12316         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
12317         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
12318         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
12319         * jump.c (delete_unreferenced_labels): Don't delete if
12320         LABEL_ALTERNATE_NAME is set.
12321         * print-rtl.c (print_rtx): Dump alternate name.
12322         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
12323         * rtl.h (LABEL_ALTERNATE_NAME): Define.
12324         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
12325         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
12326
12327 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12328
12329         * fix-header.c (recognized_extern, recognized_function): Constify
12330         a char*.
12331
12332         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
12333         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
12334         (compute_available): Remove unused variable `last'.
12335         (compute_nearerout): Remove unused variable `temp_bitmap'.
12336         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
12337         Remove unused variable `x'.
12338
12339         * scan.h (recognized_function, recognized_extern): Constify a
12340         char*.
12341
12342         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
12343
12344 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12345
12346         * varasm.c (decode_rtx_const): Use XSTR to access the string
12347         of a SYMBOL_REF.
12348
12349 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
12350
12351         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
12352
12353 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12354
12355         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
12356
12357 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
12358
12359         * pa.c (ireg_operand): New function.
12360         * pa.h (PREDICATE_CODES): Handle ireg_operand.
12361         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
12362         Fix out of date comment.
12363
12364         * pa.md (negdi2): Turn into expander + anonymous pattern.
12365
12366         * reload.c (find_reloads): Fix typos in recent change.
12367
12368         * dwarf2out.c: Do not include ctype.h.
12369
12370 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12371
12372         * regclass.c (record_reg_classes): Always use may_move_cost when
12373         seeing how operand fits with various register classes.
12374
12375 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
12376
12377         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
12378         * toplev.c: Revert Nov 1 13:22 change.
12379
12380 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
12381
12382         * config/pa/pa.md (height reduction patterns): Add checks for
12383         overlapping operands to avoid semantic-destroying splits for
12384         height reduction patterns.
12385
12386 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12387
12388         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
12389         have been an hyphen, fixed.
12390         * configure: Rebuilt.
12391
12392 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
12393
12394         * config/arm/tpe.h: Add prototypes for exported functions.
12395         * config/arm/pe.c: Fix compile time warnings.
12396         * config/arm/semi.h: Fix compile time warnings.
12397         * config/arm/arm.c: Fix compile time warnings.
12398         * config/arm/arm.h: Fix compile time warnings.
12399         * config/arm/arm.md: Fix compile time warnings.
12400         * config/arm/thumb.c: Fix compile time warnings.
12401         * config/arm/thumb.h: Fix compile time warnings.
12402         * config/arm/thumb.md: Fix compile time warnings.
12403
12404 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
12405
12406         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
12407         detection code
12408
12409         * unroll.c (unroll_loop): Remove LOOP notes when loop is
12410         completely unrolled.
12411
12412 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12413
12414         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
12415
12416 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
12417
12418         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
12419         * rtl.h (rtx_equal_p): Move prototype.
12420         * rtl.c (rtx_equal_function_value_matters): Move from
12421         rtlanal.c
12422         (rtx_equal_p): Likewise.
12423         * rtlanal.c (rtx_equal_function_value_matters): Delete.
12424         (rtx_equal_p): Likewise.
12425
12426 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
12427
12428         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
12429         ! HAS_INIT_SECTION.
12430
12431 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
12432
12433         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
12434
12435         * pa.h (ADDR_VEC_ALIGN): Define.
12436
12437         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
12438         notes when presented with "if (foo) break; end_of_loop" and
12439         the break sequence gets moved out of the loop.
12440
12441         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
12442         Remove explicit zero initializations of entries within MAP.
12443
12444 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
12445
12446         * reg-stack.c (convert_regs_1): Handle EH edges specially.
12447
12448 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
12449
12450         * bitmap.h (BITMAP_XMALLOC): New macro.
12451         * flow.c (CLEAN_ALLOCA): Remove.
12452         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
12453         (life_analysis): Likewise.
12454         (update_life_info): Don't use CLEAN_ALLOCA.
12455         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
12456         (calculate_global_regs_live): Likewise.
12457         (print_rtl_with_bb): Likewise.
12458         (verify_flow_info): Likewise.
12459         * global.c (global_alloc): Likewise.
12460         (global_conflicts): Likewise.
12461         * integrate.c (save_for_inline_nocopy): Likewise.
12462         (expand_inline_function): Likewise.
12463         * jump.c (jump_optimize_1): Likewise.
12464         (duplicate_loop_exit_test): Likewise.
12465         (thread_jumps): Likewise.
12466         * loop.c (loop_optimize): Likewise.
12467         (combine_givs): Likewise.
12468         (recombine_givs): Likewise.
12469         * reorg.c (dbr_schedule): Likewise.
12470         * unroll.c (unroll_loop): Likewise.
12471
12472         * combine.c (combine_instructions): Use xmalloc instead of alloca.
12473
12474 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
12475
12476         * toplev.c (rest_of_compilation): Don't optimize the CFG
12477         when rebuilding, just before dbr.
12478
12479 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12480
12481         * output.h (assemble_end_function, assemble_destructor,
12482         assemble_constructor, assemble_gc_entry, assemble_global,
12483         assemble_label, output_constant_pool) Constify a char*.
12484
12485         * varasm.c (assemble_destructor, assemble_constructor,
12486         assemble_gc_entry, assemble_end_function, assemble_global,
12487         assemble_label, output_constant_pool): Likewise.
12488
12489 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
12490
12491         * config/arm/thumb.c (thumb_expand_prologue): Add comments
12492         explaining what is goin on in this function.
12493
12494 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12495
12496         * regclass.c (record_reg_classes): In matching case, recompute
12497         costs since the direction of movement is different.
12498
12499 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
12500
12501         * resource.c (mark_target_live_regs): For unconditional branches,
12502         the resources found at the branch target should be added to the
12503         resources found so far, not intersected.
12504
12505 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
12506
12507         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
12508         old cpp's.
12509         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
12510         (sys/mman.h): Include this file only if #HAVE_MMAP.
12511         (run_compiles): Initialize `esac_fmt' with one old KR string, not
12512         with automatically concatenated ANSI strings.
12513
12514 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
12515
12516         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
12517         (DIV_ROUND_UP): Robustify.
12518         (ggc_recalculate_in_use_p): New function.
12519         (release_pages): Don't inline it.
12520         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
12521         outer contexts.
12522         (ggc_pop_context): Use ggc_recalculate_in_use_p.
12523         (clear_marks): Always save in_use_p.
12524         (sweep_pages): Use ggc_recalculate_in_use_p.
12525         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
12526         Release pages before counting statistics.
12527
12528 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
12529
12530         * toplev.c (rest_of_compilation): Fix thinko in this change:
12531
12532         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
12533
12534         (rest_of_compilation): If inside an inlined external function,
12535         pretend we are just being declared.
12536
12537 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
12538
12539         * flow.c (calculate_global_regs_live): Fix thinko.
12540
12541         * integrate.c (expand_inline_function): Fix bugs in previous
12542         change from Oct 28, 1999.
12543
12544 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
12545
12546         * stmt.c (expand_value_return): Fix typo in this change:
12547
12548         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12549         (expand_value_return): Correctly convert VAL when promoting function
12550         return; support RETURN_REG being a PARALLEL.
12551
12552 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
12553
12554         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
12555
12556 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12557
12558         * hard-reg-set.h (reg_names): Constify a char*.
12559
12560         * regclass.c  (reg_names): Likewise.
12561
12562         * regs.h (reg_names): Likewise
12563
12564         * a29k/a29k.c (reg_names): Delete declaration.
12565
12566         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
12567
12568         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
12569         arc_output_function_epilogue): Likewise.
12570
12571         * elxsi/elxsi.c (reg_names): Likewise.
12572
12573         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
12574
12575         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
12576         Likewise.
12577
12578         * m88k/m88k.c (output_function_profiler): Likewise.
12579
12580         * sparc/sparc.c (sparc_flat_output_function_prologue,
12581         sparc_flat_output_function_epilogue): Likewise.
12582
12583 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
12584
12585         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
12586         warning from -Wuninitialized and put it under -W.
12587         * function.c (uninitialized_vars_warning): Warn only when the
12588         corresponding flag is set.
12589
12590 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
12591
12592         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
12593         is nonzero and the single set does not have an elt, then assign
12594         it an elt.
12595
12596         * simplify-rtx.c: New file.
12597         * Makefile.in (OBJS): Add simplify-rtx.o
12598         (simplify-rtx.o): Add dependencies.
12599         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
12600         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
12601         (cse_gen_binary, simplify_unary_operation): Delete.
12602         (simplify_binary_operation, simplify_plus_minus): Likewise.
12603         (check_fold_consts, simplify_relation_operation): Likewise.
12604         (simplify_ternary_operation): Likewise.
12605         (delete_trivially_dead_insns): Simplify the contents of the
12606         REG_EQUAL note before trying to substitute it into the source
12607         of the reg-reg copy at the end of a libcall sequence.
12608
12609         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
12610         references/callers changed.
12611
12612         * mn10200.c (mn10200_va_arg): Force the return value into a
12613         register.
12614
12615         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
12616
12617         * cccp.c (macroexpand): Avoid out of range accesses for omitted
12618         arguments.
12619
12620 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
12621
12622         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
12623
12624 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
12625
12626         * fold-const.c (fold): Fix thinko when optimizing comparisons
12627         against -0.0.
12628
12629 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
12630
12631         * gcc.texi (Passes): Update front-end files to their current
12632         location.
12633
12634 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
12635
12636         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
12637         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
12638         (PREDICATE_CODES): Add addition_operation.
12639         * alpha-protos.h (addition_operation): Declare.
12640         (secondary_reload_class): Likewise.
12641         * alpha.c (addition_operation): New.
12642         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
12643         * alpha.md (adddi3): Turn into expander.
12644         (*lda, *adddi_2): New.
12645         (movsf, movdf patterns): Don't preference integer regs.
12646         (movsi, movdi patterns): Don't preference fp regs.
12647
12648 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
12649
12650         * genrecog.c (write_switch): Check for duplicate CODE cases.
12651
12652 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
12653
12654         * ggc-common.c: Update pre-function commentary.
12655         * ggc-page.c: Likewise.
12656         (poison): Remove.
12657         (poison_pages): Use memset directly.
12658         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
12659         (ggc_collect): Poison before sweeping.
12660         * ggc-simple.c: Update pre-function commentary.
12661         (ggc_alloc_obj): Poison non-zeroed memory.
12662
12663 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
12664
12665         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
12666         match format string, even on 64-bit hosts.
12667         * gcc-page.c (ggc_page_print_statistics): Likewise.
12668
12669 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
12670
12671         * config/i386/i386.c (ix86_cpu): Revert last patch.
12672         * config/i386/i386.h (ix86_cpu): Ditto.
12673
12674 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
12675
12676         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
12677         TYPE_SIZE, convert type of result to sizetype.
12678
12679 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
12680
12681         * flow.c (count_or_remove_death_notes): Equate NULL with the
12682         universal set.
12683
12684         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
12685         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
12686         dbr_schedule.
12687
12688         * i386.c (pic_label_no): Delete.
12689         (ix86_attr_length_default): Don't use single_set to peek
12690         inside a parallel.
12691
12692         * recog.c (peephole2_optimize): Allow recog_next_insn to index
12693         the first insn after bb->end.
12694         * i386.md (push mem peeps): Scratch is live after evaluation
12695         of the memory.
12696         (cmp mem peep): Similarly.
12697
12698 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
12699
12700         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
12701         * function.c (pad_to_arg_alignment): Add missing braces.
12702
12703 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12704
12705         * alpha/alpha-protos.h (literal_section): Add prototype.
12706         (alpha_need_linkage, alpha_start_function,alpha_end_function):
12707         Constify a char*.
12708
12709         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
12710         prototype.
12711         (alpha_start_function, alpha_end_function, float_strings,
12712         alpha_need_linkage): Constify a char*
12713
12714         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
12715
12716         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
12717
12718         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12719
12720         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
12721
12722 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12723
12724         * flow.c (debug_flow_info): Add prototype.
12725
12726         * gcc.c (main): Likewise.
12727
12728         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
12729         Likewise.
12730
12731         * reload1.c (failed_reload, set_reload_reg): Likewise.
12732
12733         * mips-tfile.c (main): Likewise.
12734         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
12735         with ATTRIBUTE_NORETURN.
12736
12737 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
12738
12739         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
12740         DECL is not a memory ref.
12741
12742 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
12743
12744         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
12745         * config/i386/i386.c (ix86_cpu): Add extern attribute.
12746
12747 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
12748
12749         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
12750         * config/mips/elf64.h: ditto.
12751
12752 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
12753
12754         * expr.c (emit_push_insn): New argument alignment_pad.
12755         Update all callers.  Adjust stack pointer based on alignment pad.
12756         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
12757         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
12758         (locate_and_pad_parm): New argument alignment_pad.  Update all
12759         callers.
12760         * expr.h (emit_push_insn): Update prototype.
12761         (locate_and_pad_parm): Update prototype.
12762         * calls.c (arg_data):  Add new field alignment_pad.
12763         (initialize_argument_information): Initialize alignment_pad.
12764
12765 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
12766
12767         * except.c (free_eh_nesting_info): Free the info itself.
12768         * function.c (free_after_compilation): Don't free NULL.
12769         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
12770         (pre_edge_insert): Free inserted.
12771         * stmt.c (free_stmt_status): Don't free NULL.
12772
12773 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
12774
12775         * gcov.c (DIR_SEPARATOR): Provide default.
12776         (output_data): Add test for MS-DOS format absolute filename.
12777         (fancy_abort): Correct program name.
12778         (open_files): Open all files in binary mode.
12779         * libgcc2.c (__bb_exit_func): Likewise.
12780
12781         * profile.c (init_branch_prob): Specify binary when opening files.
12782
12783         * flags.h (flag_unwind_tables): New decl.
12784         * toplev.c (flag_unwind_table): New definition.
12785         (f_options): Add -funwind-tables.
12786         (decode_g_option): Clarify warning when unknown -g option is given.
12787         (rest_of_compilation): If inside an inlined external function,
12788         pretend we are just being declared.
12789
12790         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
12791         (dwarf2out_frame_finish): Likewise.
12792
12793 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
12794
12795         * fold-const.c (merge_ranges): If not in0, but in1, handle
12796         upper bounds equal like subset case.
12797
12798 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
12799
12800         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
12801         passed in a register but moved to the stack.
12802
12803 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
12804
12805         * gcc.c (pass_exit_codes, greatest_status): New variables.
12806         (struct option_map): Add entry for "--pass-exit-codes".
12807         (execute): Update greatest_status if error.
12808         (display_help): Add documentation for -pass-exit-codes.
12809         (process_command): Handle -pass-exit-codes.
12810         (main): Look at pass_exit_codes and greatest_status on call to exit.
12811
12812 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12813
12814         * reload.c (find_reloads): Refine test for no input reload
12815         case to not includes reloads emitted after insn.
12816
12817         * function.c (find_temp_slots_from_address): Handle sum involving
12818         a register that points to a temp slot.
12819         (update_temp_slot_address): Make recursive call if both old and
12820         new are PLUS with a common operand.
12821         * calls.c (expand_call): Mark temp slot for result as having
12822         address taken.
12823
12824         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
12825
12826         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
12827         component as well as "BINUTILS".
12828
12829         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
12830         * integrate.c (copy_rtx_and_substitute): Likewise.
12831         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
12832         All callers changed.
12833         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
12834
12835         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
12836         gdb extensions, write size of type; also be more consistent
12837         in using references when this is a subtype.
12838
12839         * pa.md (extv, extzv, insv): Use define_expand to reject constant
12840         that is out of range.
12841
12842         * loop.c (unknown_constant_address_altered): New variable.
12843         (prescan_loop): Initialize it.
12844         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
12845         (invariant_p, case MEM): Remove handling for volatile and readonly;
12846         check new variable if readonly.
12847         (check_dbra_loop): Chdeck unknown_constant_address_altered.
12848
12849         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
12850         (addr_affects_sp_p): Removed from note_mem_written and only
12851         define #ifdef AUTO_INC_DEC.
12852
12853         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
12854
12855         * regclass.c (record_reg_classes): Properly handle register move
12856         directions.
12857
12858         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
12859         Don't think valid if both operands are invalid.
12860         (struct constant_descriptor): New field RTL.
12861         (mark_const_hash_entry): Mark it.
12862         (record_constant{,_rtx}): Initialize it.
12863         (output_constant_def): Allocate RTL in permanent obstack and
12864         save in table.
12865         ({record,compare}_constant_1): Modes must match for
12866         CONSTRUCTOR of ARRAY_TYPE.
12867
12868         * c-common.h (initializer_constant_valid_p): Delete decl from here.
12869         * output.h (initializer_constant_valid_p): Move decl to here.
12870         * c-common.c (initializer_constant_valid_p): Delete function from here.
12871         * varasm.c (initializer_constant_valid_p): Move function to here.
12872
12873         * tree.h (STRIP_SIGN_NOPS): New macro.
12874         * fold-const.c (optimize_minmax_comparison): New function.
12875         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
12876         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
12877         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
12878         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
12879         widening conversions.
12880         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
12881         to look at size of mode, not precision of type; also add missing cases.
12882         (optimize_bit_field_compare, decode_field_reference): Don't try to
12883         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
12884
12885         * dwarf2out.c (ctype.h): Include.
12886         (dwarf2out_set_demangle_name_func): New function.
12887         (size_of_line_info): Deleted.
12888         (output_line_info): Compute size of line info table from difference
12889         of labels.
12890         (base_type_die, add_name_attribute): Call demangle function, if any.
12891         (field_byte_offset): Use bits per word for variable length fields.
12892         (gen_array_type_die): Add array name.
12893         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
12894         (dwarf2out_add_library_unit_info): New function.
12895
12896         * explow.c (set_stack_check_libfunc): New function.
12897         (stack_check_libfunc): New static variable.
12898         (probe_stack_range): Allow front-end to set up a libfunc to call.
12899
12900         * combine.c (simplify_comparison): When making comparison in wider
12901         mode, check for having commuted an AND and a SUBREG.
12902         (contains_muldiv): New function.
12903         (try_combine): Call it when dividing a PARALLEL.
12904         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
12905         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
12906         a PLUS.
12907         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
12908         use one of the CLOBBERs instead.
12909         (if_then_else_cond): If comparing against zero, just return thing
12910         being compared.
12911
12912         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
12913         Don't generate shifts and subtract if have conditional arithmetic.
12914
12915         * rtl.h (delete_barrier): New declaration.
12916         * jump.c (jump_optimize): Set up to handle conditional call.
12917         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
12918         (delete_barrier): New function.
12919
12920         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
12921
12922         * recog.c (nonmemory_operand): Accept ADDRESSOF.
12923
12924         * tree.c (build_type_attribute_variant): Push to obstack of
12925         ttype around type_hash_canon call.
12926
12927         * expr.c (placeholder_list): Move decl to file scope.
12928         (expand_expr): Don't force access to volatile just because its
12929         address is taken.
12930         If ignoring reference operations, just expand the operands.
12931         (expand_expr, case COMPONENT_REF): Propagate
12932         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
12933         Refine test for using bitfield operations vs pointer punning.
12934         (expand_expr, case CONVERT_EXPR): If converting to
12935         BLKmode UNION_TYPE from BLKmode, just return inner object.
12936         Use proper mode in store_field call.
12937         Properly set sizes of object to store and total size in store_field
12938         call for convert to union.
12939         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
12940         memory (like for ADDR_EXPR).  Also, don't put constant in register if
12941         we'll want it in memory.
12942         (readonly_fields_p): New function.
12943         (expand_expr, case INDIRECT_REF): Call it if LHS.
12944         (expand_assignment): Handle a RESULT_DECL where
12945         DECL_RTL is a PARALLEL.
12946         (do_jump, case WITH_RECORD_EXPR): New case.
12947         (get_inner_reference): Always go inside a CONVERT_EXPR
12948         and NOP_EXPR if both modes are the same.
12949         (store_field): Use bitfield operations if size of bitsize is not same
12950         as size of RHS's type.
12951         Check for bitpos not a multiple of alignment in BLKmode case.
12952         Do block move in largest possible alignment.
12953         (store_constructor): Set BITSIZE to -1 for variable size and properly
12954         in case of array of BLKmode.
12955         (expand_expr_unaligned): New function.
12956         (do_compare_and_jump): Call it.
12957
12958         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
12959         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
12960         does not include 'o'.
12961
12962         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
12963         both SET_DEST and SET_SRC reference a virtual register.
12964         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
12965
12966         * integrate.c (expand_inline_function): Handle case of setting
12967         virtual stack vars register (from built in setjmp); when parameter
12968         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
12969         (subst_constant): Add new parm, MEMONLY.
12970         (expand_inline_function, integrate_parm_decls): Pass new parm.
12971         (integrate_decl_tree): Likewise.
12972         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
12973         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
12974         (copy_rtx_and_substitute, case SET): Add explicit calls to
12975         copy_rtx_and_substitute for both sides.
12976
12977         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
12978         constraints.
12979         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
12980         within INDEX_TYPE, instead of before.
12981         (fixup_gotos): Use f->target_rtl, not the next insn,
12982         since latter may be from a later fixup.
12983         (expand_value_return): Correctly convert VAL when promoting function
12984         return; support RETURN_REG being a PARALLEL.
12985         (expand_return): When checking for result in regs and having
12986         cleanup, consider PARALLEL in DECL_RTL as being in regs.
12987
12988 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
12989
12990         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
12991         last_nominal_fname): Mark const.
12992         (struct include_hash: name, nshort, control_macro): Mark
12993         const.
12994         (struct macrodef: symnam): Mark const.
12995         (struct if_stack: fname): Mark const.
12996         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
12997         (IStable): New character-syntax array which encompasses all
12998         the old is_foo arrays.
12999         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
13000         is_space): New macros for interrogating IStable.
13001         (check_macro_name): Kill last argument.  All callers changed.
13002
13003         * cppinit.c (initialize_char_syntax): Delete.
13004         (is_idchar, is_idstart, is_hor_space, is_space,
13005         trigraph_table): Delete.
13006         (IStable): New.  Initialize with clever macros to avoid
13007         information duplication.
13008         (builtin_array): Table of builtins to get rid of explicit list
13009         in initialize_builtins.
13010         (initialize_builtins): Use builtins_array.
13011         (cpp_start_read): Call init_IStable, and set IStable['$'] if
13012         opts->dollars_in_ident.
13013
13014         * cppexp.c: Change all refs to is_xyz[] arrays to use new
13015         is_xyz() macros.
13016         (cpp_parse_expr): Avoid 'format string is not constant'
13017         warning. Use ISGRAPH to identify printable chars.
13018         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
13019         is_xyz() macros.
13020         (read_and_prescan): Map trigraphs to chars with open-coded
13021         if-else-if-... sequence, not a lookup table.
13022         * cpphash.c: Change all refs to is_xyz[] arrays to use new
13023         is_xyz() macros.
13024         * cpplib.c: Change all refs to is_xyz[] arrays to use new
13025         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
13026         (check_macro_name): Remove ability to report an invalid
13027         assertion name, which is never used.
13028         (do_line): Constify a couple of char *'s.
13029         * cppmain.c (main): Call cpp_cleanup before returning.
13030
13031 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
13032
13033         * ggc.h (struct ggc_statistics): New type.
13034         (ggc_get_size): New function.
13035         (ggc_print_statistics): Likewise.
13036         * ggc-common.c (ggc_stats): New variable.
13037         (ggc_mark_rtx_children): Keep statistics.
13038         (ggc_mark_tree_children): Likewise.
13039         (ggc_print_statistics): New function.
13040         * ggc-page.c (struct globals): Add bytes_mapped field.
13041         (alloc_anon): Update it.
13042         (release_pages): Likewise.
13043         (ggc_get_size): New function.
13044         (ggc_page_print_statistics): New function.
13045         * ggc-simple.c (ggc_get_size): New function.
13046
13047 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
13048
13049         * flow.c (propagate_block): When the last reference to a label
13050         before an ADDR_VEC is deleted because the reference is a dead
13051         store, delete the ADDR_VEC.
13052
13053 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
13054
13055         * resource.c (find_free_register): Don't use the frame pointer
13056         if frame_pointer_needed.
13057
13058 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
13059
13060         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
13061         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
13062
13063         * config/i960/i960.c (i960_va_start): New locals base, num.
13064         Use INDIRECT_REF instead of ARRAY_REF on valist.
13065         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
13066
13067 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
13068
13069         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
13070
13071 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
13072
13073         * tree.def (PLACEHOLDER_EXPR): Update comments.
13074
13075 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13076
13077         * c-common.c (check_format_info): Avoid non-literal format string
13078         warnings when `first_arg_num' is zero.
13079
13080 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13081
13082         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
13083
13084 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
13085
13086         * arm.md (casesi_insn): Add a clobber of the condition code
13087         register.
13088
13089 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
13090
13091         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
13092         used by both cc1 and cc1plus.
13093
13094 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
13095
13096         * config/arm/arm.c: Initialise arm_structure_size_boundary to
13097         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
13098         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
13099         to the value 32 if it has not already been defined.
13100         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
13101         Override definition in arm.h with a value of 8.
13102
13103 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
13104
13105         * c-pragma.c (push_alignment): Don't check the return value
13106         of xmalloc.
13107
13108 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
13109
13110         * sparc.h (ADJUST_COST): Fix thinko.
13111
13112 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
13113
13114         * cccp.c (rescan): Fixed obp pointer handling around call to
13115         check_expand subroutine.
13116
13117 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
13118
13119         * gcse.c (delete_null_pointer_checks): Only record non-null info
13120         for pseudos when examining stores.
13121
13122         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
13123         splitters for these patterns.  Use "#" for output templates.
13124         (addsi3_carryin_shift): New pattern.
13125
13126 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
13127
13128         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
13129         of the function return register into a plain REG until
13130         after function inlining is done.
13131
13132 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
13133
13134         * jump.c (jump_optimize_1): If we did cross-jumping, and
13135         the data will matter, rebuild the CFG.
13136         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
13137         not optimizing.  Don't run shorten_branches.
13138         * toplev.c (rest_of_compilation): Run shorten_branches after
13139         reg_to_stack.
13140
13141 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
13142
13143         * rtl.h (note_stores): Add additional paramter.
13144         * rtlanal.c (reg_set_p_1): Take additional paramter.
13145         (reg_set_last_1): Likewise.
13146         (reg_set_p): Adjust call to note_stores.
13147         (reg_set_last): Likewise.
13148         (note_stores): Pass data parameter to worker function.
13149         * alias.c (record_set): Take additional parameter.
13150         (init_alias_analysis): Pass it.
13151         * caller-save.c (mark_set_regs): Take additional parameter.
13152         (save_call_clobbered_regs): Pass NULL to note_stores.
13153         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
13154         parameter.
13155         (record_dead_and_set_regs_1): Likewise.
13156         (reg_dead_at_p_1): Likewise.
13157         (combine_instructions): Adjust calls to note_stores.
13158         (try_combine): Likewise.
13159         (record_dead_insn): Remove.
13160         (record_dead_and_set_regs): Adjust calls to note_stores.
13161         (reg_dead_at_p): Likewise.
13162         * cse.c (invalidate_skipped_set): Take additional parameter.
13163         (cse_check_loop_start): Likewise.
13164         (cse_check_loop_start_value): Remove.
13165         (cse_set_around_loop): Adjust calls to note_stores.
13166         * flow.c (notice_stack_pointer_modification): Take additional
13167         parameter.  Remove duplicate declaration.
13168         (record_volatile_insns): Adjust calls to note_stores.
13169         * gcse.c (record_set_info): Take additional parameter.
13170         (record_last_set_info): Likewise.
13171         (invalidate_nonnull_info): Likewise.
13172         (record_set_insn): Remove.
13173         (compute_sets): Adjust calls to note_stores.
13174         (last_set_insn): Remove.
13175         (compute_hash_table): Adjust calls to note_stores.
13176         (insert_insn_end_bb): Likewise.
13177         (delete_null_pointer_checks): Likewise.
13178         * global.c (mark_reg_store): Take additional parameter.
13179         (mark_reg_clobber): Likewise.
13180         (reg_becomes_live): Likewise.
13181         (global_conflicts): Adjust calls to note_stores.
13182         (build_insn_chain): Likewise.
13183         * integrate.c (note_modified_parmregs): Take additional parameter.
13184         (mark_stores): Likewise.  Make it static.
13185         (save_for_inline_nocopy): Adjust calls to note_stores.
13186         (try_constants): Likewise.
13187         * integrate.h (mark_stores): Remove declaration.
13188         * jump.c (mark_modified_reg): Take additional parameter.
13189         (thread_jumps): Adjust calls to note_stores.
13190         * local-alloc.c (validate_equiv_mem_from_store): Take additional
13191         parameter.
13192         (no_equiv): Likewise.
13193         (reg_is_set): Likewise.
13194         (validate_equiv_mem): Adjust calls to note_stores.
13195         (update_equiv_regs): Likewise.
13196         (block_alloc): Likewise.
13197         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
13198         (note_addr_stored): Take additional parameter.
13199         (note_set_pseudo_multiple_uses): Likewise.
13200         (record_initial): Likewise.
13201         (prescan_loop): Adjust calls to note_stores.
13202         (strength_reduce): Likewise.
13203         (check_dbra_loop): Likewise.
13204         * regmove.c (flags_set_1): Take additional paramter.
13205         (mark_flags_life_zones): Adjust calls to note_stores.
13206         * reload1.c (mark_not_eliminable): Take additional parameter.
13207         (forget_old_reloads_1): Likewise.
13208         (reload_cse_invalidate_rtx): Likewise.
13209         (reload_cse_check_clobber): Likewise.
13210         (reload_combine_note_store): Likewise.
13211         (move2add_note_store): Likewise.
13212         (reload): Adjust calls to note_stores.
13213         (reload_as_needed): Likewise.
13214         (emit_reload_insns): Likewise.
13215         (reload_cse_regs_1): Likewise.
13216         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
13217         (reload_combine): Adjust calls to note_stores.
13218         * resource.c (update_live_status): Take additional paramter.
13219         (mark_target_live_regs): Adjust calls to note_stores.
13220         * stupid.c (find_clobbered_regs): Take additional parameter.
13221         (stupid_life_analysis): Adjust calls to note_stores.
13222
13223 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
13224
13225         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
13226         definition.
13227
13228         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
13229         definition.
13230
13231         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
13232         of the variable arm_structure_size_boundary.
13233
13234 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
13235
13236         * alias.c (init_alias_analysis): Allocate reg_known_value and
13237         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
13238         and reg_seen.
13239         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
13240         * cse.c (cse_main): Call end_alias_analysis.
13241         * haifa-sched.c (schedule_insns): Likewise.
13242         * local-alloc. (update_equiv_regs): Likewise.
13243         * reload1.c (reload_cse_regs): Likewise.
13244
13245 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13246
13247         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
13248         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
13249         mapping from MASK_FPU.
13250
13251 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
13252
13253         * sparc.md (call): Don't bound structure return size to 0xfff.
13254
13255 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
13256
13257         * resource.c (mark_target_live_regs): Check that the target
13258         insn wasn't created after compute_bb_for_insn.
13259
13260 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
13261
13262         * ggc-page.c (poison_pages): Don't be overzealous.
13263
13264 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
13265
13266         * alias.c: Update comments for ADDRESS.
13267         (nonlocal_reference_p): Look inside the ADDRESS to determine if
13268         it is a local memory reference.
13269
13270         * c-typeck.c (build_function_call): Check that the built-in
13271         function is of class BUILT_IN_NORMAL before trying to recongize
13272         it as BUILT_IN_ABS.
13273         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
13274         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
13275
13276 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
13277
13278         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
13279         of alloca.
13280         (pre_gcse): Likewise.
13281         (hoist_expr_reaches_here_p): Likewise.
13282         (hoist_code): Likewise.
13283         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
13284         code to ...
13285         (pre_expr_reaches_here_p_work): ... here.
13286         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
13287         code to ...
13288         (expr_reaches_here_p_work): ... here.
13289
13290 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
13291
13292         * resource.c (find_basic_block): Delete.
13293         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
13294         (init_resource_info): Call compute_bb_for_insn.
13295
13296 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
13297
13298         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
13299         with already adjacent blocks, but no fallthru.
13300         (merge_blocks_move_successor_nojumps): Simplify.
13301         (debug_flow_info): New.
13302
13303         * toplev.c (rest_of_compilation): Open jump1 dump file before
13304         jump and close after, as opposed to just using dump_rtl.
13305
13306 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13307
13308         * reload.h (earlyclobber_operand_p): Declare.
13309         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
13310         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
13311         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
13312         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
13313
13314 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
13315                           Richard Henderson  <rth@cygnus.com>
13316
13317         * emit-rtl.c (emit_block_insn_before): New.
13318         (emit_block_insn_after): New.
13319         * basic-block.h: Declare them.
13320
13321         * bitmap.h: Protect from multiple inclusion.
13322
13323         * recog.c (scratch_operand): Handle VOIDmode correctly.
13324
13325         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
13326
13327         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
13328         * function.c (assign_parms): Likewise.
13329         * global.c (global_conflicts): Clarify STACK_REGS commentary.
13330
13331         * reg-stack.c (max_uid): Remove.
13332         (blocks, block_begin, block_end, block_drops_in): Remove.
13333         (block_stack_in, block_out_reg_set, block_number): Remove.
13334         (struct block_info_def, BLOCK_INFO): New.
13335         (enum emit_where): New.
13336         (current_block): New.
13337         (BLOCK_NUM): Remove.
13338         (mark_regs_pat, record_label_references): Remove.
13339         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
13340         (nan): New.
13341         (goto_block_pat, print_blocks, dump_stack_info): Remove.
13342         (reg_to_stack): Simplified test for existance of fp code.  Use
13343         flow.c code.  Call shorten_branches after cross-jump opt.
13344         (check_asm_stack_operands): Renamed from record_asm_reg_life.
13345         Return false if the asm doesn't use stack regs.  Don't do life
13346         analysis on the asm.
13347         (emit_pop_insn): Replace function pointer arg `when' with
13348         enum `where'.  Update all callers.
13349         (change_stack): Likewise.  Update basic block end.
13350         (emit_swap_insn): Use current_block->head to limit reverse search
13351         for start of block.  Use emit_block_insn_after.
13352         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
13353         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
13354         structure assignment instead of bcopy.
13355         (print_stack): New.
13356         (convert_regs_entry, convert_regs_exit): New.
13357         (convert_regs_1, convert_regs_2): Split out from convert_regs.
13358         Work on basic blocks and the CFG.
13359         (convert_regs): Use them.
13360
13361         * i386.c (output_fix_trunc): Remove code for DImode input operand
13362         not at top-of-stack.
13363         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
13364         appropriate mode.
13365         (fix_truncdi_1): Allow any mode scratch.
13366
13367 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
13368
13369         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
13370         * linux.h, netbsd.h, vms.h: Not here.
13371
13372 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
13373
13374         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
13375         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
13376         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
13377         CONDITIONAL_REGISTER_USEAGE): Use them.
13378         * config/mips/mips.c (mips_move_1word,mips_move_2words,
13379         gen_conditional_branch,override_options) : Use them.
13380         * config/mips/mips.md : Use them.
13381
13382 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
13383
13384         * i386.md (zero_extendqihi2): Use SImode register name with andl.
13385
13386 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
13387
13388         * integrate.c (function_cannot_inline_p): Don't allow inlining
13389         if setjmp is used.
13390
13391 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13392
13393         * c-parse.in (cast_expr): Constify.
13394
13395         * cccp.c (special_symbol): Likewise.
13396
13397         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
13398
13399         * dwarf2out.c (base_type_die): Likewise.
13400
13401         * global.c (allocno_compare): Likewise.
13402
13403         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
13404
13405         * regclass.c (fix_register): Likewise.
13406
13407         * rtl.h (fix_register): Likewise.
13408
13409         * stupid.c (stupid_reg_compare): Likewise.
13410
13411         * toplev.c (decode_f_option): Likewise.
13412
13413         * tree.c (build_complex_type): Likewise.
13414
13415 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
13416
13417         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
13418
13419 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13420
13421         * reload.c (find_reloads): Compute mode and nregs fields of all
13422         reloads.
13423         * reload1.c (calculate_needs_all_insns): Simplify a bit.
13424         (calculate_needs): Use precomputed mode/nregs values.
13425         (allocate_reload_reg): Likewise.
13426         Break out two...
13427         (failed_reload, set_reload_reg): ... new functions.
13428         (choose_reload_regs_init): New function, mostly broken out from...
13429         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
13430         Also lose one #if 0 block.
13431
13432 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
13433
13434         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
13435         substitution.
13436
13437 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
13438
13439         * tree.h (BLOCK_TYPE_TAGS): Remove.
13440         (BLOCK_END_NOTE): Likewise.
13441         (BLOCK_LIVE_RANGE_FLAG): Likewise.
13442         (BLOCK_LIVE_RANGE_START): Likewise.
13443         (BLOCK_LIVE_RANGE_END): Likewise.
13444         (tree_block): Remove live_range_flag, live_range_var_flag, and
13445         type_tags.  Remove end_note, live_range_start, and live_range_end.
13446         (remember_end_note): Remove prototype.
13447         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
13448         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
13449         remember_end_note.
13450         * ggc-common.c (ggc_mark_tree_children): Don't mark
13451         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
13452         * integrate.c (adjust_copied_decl_tree): Remove.
13453         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
13454         * stmt.c (last_block_end_note): Remove.
13455         (init_stmt): Don't add a GC root for it.
13456         (expand_fixup): Don't set it.
13457         (remember_end_note): Remove.
13458         (expand_end_bindings): Don't set last_block_end_note.
13459
13460 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13461
13462         * reload1.c (reload_reg_free_for_value_p): Show
13463         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
13464         reloads.
13465
13466 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
13467
13468         * expmed.c (extract_bit_field): Allow for the case of non-integer
13469         objects that are smaller than a word (like SFmode on a 64-bit
13470         machine).
13471
13472         * loop.c (basic_induction_var): A non-integer variable which is
13473         being set by a paradoxical subreg is probably not a biv.
13474
13475 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13476
13477         * prefix.c (translate_name) Check for empty prefix string.
13478
13479 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
13480
13481         * Makefile.in (CPP_CROSS_NAME): New variable.
13482         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
13483         xcpp.
13484         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
13485         names of the files to be uninstalled.
13486
13487 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
13488
13489         * collect2.c (IS_DIR_SEPARATOR): Define.
13490         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
13491
13492         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
13493         functions too.
13494
13495         * haifa-sched.c (add_dependence): Update the true dependency
13496         cache the first time we add a true dependence to the LOG_LINKS chain.
13497
13498 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
13499
13500         * fold-const.c (fold): Fix comment.
13501
13502 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13503
13504         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
13505         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
13506         dbxout_start_new_source_file, dbxout_source_file,
13507         dbxout_source_line, dbxout_finish, dbxout_type_fields,
13508         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
13509         Constify a char*.
13510         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
13511         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
13512         (dbxout_block): Initialize variable `blocknum'.
13513
13514         * dbxout.h (dbxout_init, dbxout_finish,
13515         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
13516         dbxout_args, dbxout_source_line): Constify a char*.
13517
13518         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
13519         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
13520         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
13521         low_pc_attribute, high_pc_attribute, body_begin_attribute,
13522         body_end_attribute, comp_dir_attribute, sf_names_attribute,
13523         src_info_attribute, mac_info_attribute, producer_attribute,
13524         lookup_filename, generate_macinfo_entry, fundamental_type_code,
13525         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
13526         dwarfout_undef): Constify a char*.
13527         (add_incomplete_type, retry_incomplete_types): Add prototypes.
13528
13529         * dwarfout.h (dwarfout_define, dwarfout_undef,
13530         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
13531
13532 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
13533
13534         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
13535         (MULTILIB_ISA_DEFAULT): New.
13536         (MULTILIB_DEFAULTS): Use it.
13537         * config/mips/mips.c (): Remove the now unnecessary definition
13538         of MIPS_ISA_DEFAULT.
13539         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
13540         unnecessary definition.
13541
13542 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
13543
13544         * arm.md (pic_load_addr): Add constraints to operand 1.
13545
13546 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
13547
13548         * fixinc/genfixes:  Provide a means for specifying -D options to
13549         AutoGen
13550
13551 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
13552
13553         * arm.c (arm_override_options): Correct initialization of
13554         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
13555         arm_is_strong, and arm_is_6_or_7.
13556
13557         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
13558         (note_set_pseudo_multiple_uses): New function.
13559         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
13560         if a pseudo set in the loop exit is used elsewhere.
13561
13562 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
13563
13564         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
13565
13566 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
13567
13568         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
13569         a single load-address pattern.
13570
13571 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
13572
13573         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
13574         depending on whether or not line-number notes are present.
13575
13576 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13577
13578         * cccp.c (progname, file_buf, default_include, include_file,
13579         macrodef, definition, hashval, wchar_type, user_label_prefix,
13580         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
13581         expand_to_temp_buffer, is_system_include, base_name,
13582         absolute_filename, read_name_map, open_include_file,
13583         record_control_macro, check_precompiled, check_preconditions,
13584         pcfinclude, pass_thru_directive, create_definition,
13585         check_macro_name, comp_def_part, collect_expansion,
13586         check_assertion, read_token_list, assertion_install,
13587         assertion_lookup, eval_if_expression, conditional_skip,
13588         validate_else, skip_quoted_string, quote_string, macarg1,
13589         error_from_errno, install, lookup, hashf, dump_defn_1,
13590         perror_with_name, pfatal_with_name, main, trigraph_pcp,
13591         check_white_space, rescan, handle_directive, monthnames,
13592         special_symbol, do_include, remap_include_file, write_output,
13593         arglist, do_assert, do_unassert, do_line, do_error, do_once,
13594         do_ident, do_sccs, do_xifdef, skip_if_group,
13595         output_line_directive, macroexpand, macarg, change_newlines,
13596         initialize_builtins, make_definition): Constify a char*.
13597
13598         * pcp.h (stringdef): Likewise.
13599
13600 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
13601
13602         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
13603         not of pattern.
13604
13605 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
13606                           Richard Henderson  <rth@cygnus.com>
13607
13608         * alias.c: Include ggc.h.
13609         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
13610         (record_set): Verify enough room in reg_base_value.
13611         (init_alias_analysis): Allocate reg_base_value with xcalloc.
13612         Register it as a GC root.
13613         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
13614         * Makefile.in (alias.o): Depend on ggc.h.
13615
13616         * unroll.c (unroll_loop): Verify the insn before a barrier
13617         is a JUMP_INSN before checking JUMP_LABEL.
13618
13619 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13620
13621         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
13622         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
13623         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
13624         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
13625         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
13626         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
13627
13628 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13629
13630         * output.h (ctors_section, dtors_section, bss_section): Prototype.
13631
13632         * alpha/alpha-interix.h (text_section): Delete prototype.
13633         * alpha/elf.h (text_section): Likewise.
13634         * arm/linux-elf.h (text_section): Likewise.
13635         * arm/linux-telf.h (text_section): Likewise.
13636         * c4x/c4x.h (text_section): Likewise.
13637         * dsp16xx/dsp16xx.h (bss_section): Likewise.
13638         * elfos.h (text_section): Likewise.
13639         * i386/aix386ng.h (text_section): Likewise.
13640         * i386/i386-interix.h (text_section): Likewise.
13641         * i386/sco5.h (text_section): Likewise.
13642         * i386/svr3gas.h (text_section): Likewise.
13643         * nextstep.h (text_section): Likewise.
13644         * psos.h (text_section): Likewise.
13645         * ptx4.h (text_section): Likewise.
13646         * svr3.h (text_section): Likewise.
13647         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
13648
13649 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13650
13651         * final.c (peephole): Delete prototype.
13652
13653         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
13654         (pre_insert_copies): Remove unused variable `bb'.
13655
13656         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
13657         prototypes.
13658
13659         * output.h (peephole): Add prototype.
13660
13661 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
13662
13663         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
13664         -O0.
13665
13666 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
13667
13668         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
13669         for inlined declarations.
13670
13671 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
13672
13673         * arm.c (logical_binary_operator): New fucntion.
13674         * arm.h (logical_binary_operator): Declare it.
13675         (PREDICATE_CODES): Handle logical_binary_operator.
13676         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
13677         output constraints.  Add appropriate splitters.
13678         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
13679         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
13680         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
13681
13682 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13683
13684         * genoutput.c (struct operand_data): New elt eliminable.
13685         (output_operand_data): Write it.
13686         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
13687         (compare_operands): Take it into account.
13688         * recog.h (struct insn_operand_data): New elt eliminable.
13689         * reload1.c (check_eliminable_occurrences, elimination_effects): New
13690         functions.
13691         (old_asm_operands_vec, new_asm_operands_vec): Delete.
13692         (eliminate_regs): Move code that detects changes to elimination
13693         target regs into new function elimination_effects.
13694         Delete one #if 0 block.
13695         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
13696         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
13697         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
13698         Only call eliminate_regs for real operands of the insn, not for parts
13699         of its structure or parts matched by things like match_operator.
13700         Use elimination_effects and check_eliminable_occurrences.  Use
13701         copy_insn to duplicate the pattern when not in the final pass.
13702
13703 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
13704
13705         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
13706         and fld.
13707
13708 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
13709
13710         * fixinc/README: document the "mach" machine matching test
13711         * fixinc/fixfixes.c: Implement the #else/#endif label fix
13712         * fixinc/fixtests.c: Implement the #else/#endif label test
13713         * fixinc/inclhack.def: utilize these tests and fixes
13714         * fixinc/inclhack.sh:  regen
13715         * fixinc/fixincl.x:  regen
13716         * fixinc/fixincl.sh:  regen
13717
13718 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
13719
13720         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
13721         depend on ggc.h.
13722
13723 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
13724
13725         * gcc.1: Document exit codes.
13726
13727 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13728
13729         * calls.c: Include tm_p.h later, so everything we need is defined.
13730         * expr.c: Likewise.
13731         * function.c: Likewise.
13732
13733         * except.c: Include tm_p.h.
13734
13735         * sparc.c: Likewise.
13736         (dwarf2out_cfi_label): Don't prototype.
13737         (check_return_regs, epilogue_renumber,
13738         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
13739         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
13740         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
13741         ultra_schedule_insn): Add static prototype.
13742         (data_segment_operand, text_segment_operand): Call itself with the
13743         proper number of arguments.
13744         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
13745
13746         * sparc.h: Move all declarations to sparc-protos.h.
13747         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
13748         symbolic_operand.
13749
13750         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
13751
13752         * config/svr4.h (text_section, ctors_section, dtors_section): Add
13753         Prototypes.
13754         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
13755         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
13756         ASM_OUTPUT_ASCII): Constify a char*.
13757
13758         * sparc-protos.h: New file for sparc prototypes.
13759
13760 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13761
13762         * function.c (record_insns, contains): Always declare and define.
13763         (record_insns): Mark with ATTRIBUTE_UNUSED.
13764
13765 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
13766
13767         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
13768         to .section when outputting a .bss section to deal with multiple
13769         .bss input sections (as happens with -fdata-sections)
13770         Also output %progbits, not @progbits so the assembler doesn't treat as
13771         a comment.
13772         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
13773
13774         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
13775         thumb parts even when building with non-thumb CPUs, by forcing
13776         thumb mode.
13777
13778 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
13779
13780         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
13781         (movdf_const_intreg_sp64): Similarly.
13782
13783         * local-alloc.c (update_equiv_regs): Check the correct insn
13784         for pre-existing REG_EQUIV notes.
13785
13786 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
13787
13788         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
13789         block reached by a branch if we're not going to actually process
13790         this block.
13791
13792 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
13793
13794         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
13795         a local extern function declaration.
13796
13797 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
13798
13799         * i386.c (ix86_expand_prologue): Properly wrap USE around
13800         reg for CALL_INSN_FUNCTION_USAGE.
13801
13802 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
13803
13804         * config/mips/mips.md (movdf_internal1a): Allow floating-point
13805         move between GP_REGs.
13806
13807 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
13808
13809         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
13810         the mode size when finding out if an offset is legal.
13811
13812 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
13813
13814         * basic-block.h (PROP_*): Move constants from ...
13815         * flow.c: ... here.
13816         (compute_bb_for_insn): Free the array before reallocating.
13817         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
13818         (allocate_reg_life_data): Reset all reg variables collected by
13819         propagate_block.
13820         (get_block_head_tail): Don't convert from bb to block.
13821         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
13822         (find_insn_reg_weight): Take block not bb.
13823         (schedule_block): Don't set block num for moved insns.
13824         (schedule_region): Don't update_life_info or find_insn_reg_weight.
13825         (schedule_insns): Do it here instead.
13826         * combine.c (combine_instructions): Invoke compute_bb_for_insn
13827         before update_life_info.
13828         * recog.c (split_all_insns, peephole2_optimize): Update for
13829         new arg to update_life_info.
13830         * rtlanal.c (remove_note): Cope with NULL note.
13831         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
13832         if we did sched1.
13833
13834 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
13835
13836         * jump.c (jump_optimize_1): More accurately detect casesi insns.
13837
13838         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
13839         block records so that merge_blocks_nomove will clean up correctly.
13840         (split_edge): Handle casesi insns.
13841
13842         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
13843
13844 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
13845
13846         * pa.md (call, call_value): Do not emit a blockage after restoring
13847         the PIC register.
13848
13849 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
13850
13851         * c-typeck.c (c_expand_asm_operands): Fix typo.
13852
13853 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13854
13855         * arm.c (fpu_rhs_operand): Verify modes.
13856         (fpu_add_operand): Likewise.
13857         (di_operand): Likewise.
13858         (soft_df_operand): Likewise.
13859
13860 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
13861
13862         * arm.c (arm_return_in_memory): APCS rules state that the elements
13863         of a structure returned in a register must be 'integer-like'.
13864
13865 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
13866
13867         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
13868         in the source tree when the generated targets are out of date
13869         * fixinc/genfixes: Alter it to run individual fixes for make.
13870         * fixinc/README: rewrite
13871         * fixinc/inclhack.def: moved initial comments to README
13872
13873 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
13874
13875         * toplev.c (main): Do not generate an error message if an
13876         unrecognised command line switch is recognisable by another
13877         language.  If extra_warnings are enabled, then generate a
13878         warning message instead.
13879
13880 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13881
13882         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
13883         (insert_pack_attributes): Delete prototype.
13884
13885         * c-pragma.c (default_alignment): New static variable.
13886         (push_alignment): Initialize to current effective alignment.
13887         (pop_alignment): Use to set new alignment.
13888         (insert_pack_attributes): Delete function.
13889         (handle_pragma_token): Set default_alignment as well each time
13890         a #pragma pack(<n>) is encountered.
13891
13892 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
13893
13894         * reg-stack.c (stack_result): Aggregates are not returned in
13895         stack registers.
13896
13897 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
13898
13899         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
13900
13901 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
13902
13903         * basic-block.h (set_block_num): Declare.
13904         * flow.c (update_life_info): Don't call compute_bb_for_insn
13905         or free_basic_block_vars.
13906         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
13907         (insn_orig_block): Remove.
13908         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
13909         (schedule_block): Keep BLOCK_NUM up-to-date.
13910         (schedule_insns): Use compute_bb_for_insn.
13911         * recog.c (split_all_insns): Likewise.
13912         (peephole2_optimize): Likewise.
13913
13914 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
13915
13916         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
13917         if the pic register is used.
13918
13919 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13920
13921         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
13922         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
13923         if that tests TREE_PERMANENT.
13924
13925 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
13926
13927         * cse.c (invalidate_for_call): Do not remove memory references from
13928         the table here.  It's handled elsewhere.
13929
13930         * haifa-sched.c (add_dependence): Protect references to the
13931         true dependency cache with #ifdef INSN_SCHEDULING.
13932         (remove_dependence): Similarly.
13933
13934         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
13935         to the cfg code that this is a return instruction.
13936         * mn10300.md (return_internal): Similarly.
13937
13938         * combine.c (get_last_value): If the last set of a register
13939         is after subst_low_cuid, then we can not use it to determine
13940         the register's last value.
13941
13942 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
13943
13944         * Makefile.in: Back out previous change.
13945
13946 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
13947
13948         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
13949
13950         * haifa-sched.c (add_dependence): Only check/update the cache
13951         if it exists.
13952         (remove_dependence): Likewise.
13953         (schedule_insns): Only create the true_dependency_cache if the
13954         average number of instructions in a basic block is very large.
13955
13956 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
13957
13958         * Makefile.in (ggc-common.o): Depend on genrtl.h.
13959         (ggc-simple.o): Likewise.
13960         (ggc-page.o): Likewise.
13961
13962 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
13963
13964         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
13965         Prototype for exported functions.
13966         (pre_lcm, pre_rev_lcm): Remove prototypes.
13967         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
13968         (compute_available): Move to lcm.c, and change parameter order.
13969         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
13970         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
13971         (gcse_main): No longer call compute_preds_succs.  Rebuild the
13972         set table after reach pre pass.
13973         (pre_insert_map, pre_delete_map, edge_list): New.
13974         (alloc_pre_mem): Allocate edge vectors.
13975         (free_pre_mem): Delete edge vectors.
13976         (compute_pre_data): Call new edge based lcm routines.
13977         (process_insert_insn): New function.
13978         (insert_insn_end_bb): Use it.
13979         (pre_edge_insert): New function.
13980         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
13981         needed.
13982         (pre_insert_copies): Revamp using new edge based lcm outputs.
13983         (pre_delete): Likewise.
13984         (one_pre_gcse_pass): Insert & remove fake edges to the exit
13985         block.
13986         (compute_code_hoist_vbeinout): New new edge based routines.
13987         * lcm.c: Remove all the old LCM functions.  Replace with new ones
13988         that work with the new cfg datastructures and work with edges
13989         instead of blocks.
13990
13991 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13992
13993         * reload.h (struct reload): Add new fields "mode" and "nregs".
13994         * reload1.c: Change all occurrences of reload_mode and reload_nregs
13995         to reference the "mode" and "nregs" field within struct reload.
13996
13997 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
13998
13999         * haifa-sched.c (true_dependency_cache): New.
14000         (add_dependence): Use the true dependency cache to avoid expensive
14001         walks down the LOG_LINKS dependency list.  Add entries to the
14002         cache as necessary.
14003         (remove_dependence): Remove entries from the true dependency cache
14004         as needed.
14005         (schedule_insns): Allocate and initialize and free the true
14006         dependency cache.
14007
14008         * haifa-sched.c (schedule_insns): Do not remove inter-block
14009         dependencies anymore.
14010
14011 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
14012
14013         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
14014         * i386/t-winnt: Likewise.
14015
14016 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
14017
14018         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
14019
14020 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
14021
14022         * Makefile.in (LANGUAGES): Omit "proto".
14023         (clean): Remove stale comment about removing unprotoize.c.
14024
14025 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14026
14027         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
14028         using arithmetic on void pointers.
14029
14030 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
14031
14032         * haifa-sched.c (compute_block_forward_dependencies): Only check
14033         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
14034
14035 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
14036
14037         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
14038         (expr_equiv_p): Reject memories with different alias sets.
14039
14040 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
14041
14042         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
14043         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
14044         (f_options): Add "bounded-pointers" and "bounds-check" entries.
14045         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
14046         (lang_init): Set default for flag_bounds_check if still "unspecified".
14047
14048 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14049
14050         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
14051
14052 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14053
14054         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
14055         instructions.
14056
14057 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14058
14059         * config/c4x/c4x.md (*db_noclobber,
14060         *decrement_and_branch_until_zero_noclobber): New patterns and
14061         associated splitters.
14062
14063 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14064
14065         * config/c4x/c4x.md (parallel instruction patterns): Rework
14066         constraints to keep reload happy.
14067
14068 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14069
14070         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
14071         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
14072         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
14073         Add new patterns and associated post-reload splitters.
14074
14075 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14076
14077         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
14078
14079 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14080
14081         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
14082         if appropriate.
14083         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
14084
14085 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14086
14087         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
14088         memory mode.
14089
14090 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
14091
14092         * pa.c (move_operand): Rely on memory_address_p to determine the
14093         validity of non-indexed memory addresses.
14094         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
14095         operand in DFmode and SFmode when generating PA2.0 code.
14096
14097 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
14098
14099         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
14100
14101 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
14102
14103         * mips.c (function_prologue): Fix argument types.
14104         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
14105         (casesi_internal): Write to the scratch register.
14106
14107 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
14108
14109         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
14110         to U_CHAR **.
14111         (parse_charconst): Delete unnecessary cast when calling
14112         cpp_parse_escape.
14113         (cpplib.h): Kill prototype of cpp_parse_escape.
14114
14115 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
14116
14117         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
14118         * unroll.c (unroll_loop): Cast return value of alloca.
14119         * i370/i370.c: Include function.h and toplev.h.
14120         (i370_label_scan): Remove c++ commented abort.
14121         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
14122         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
14123         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
14124         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
14125
14126 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
14127
14128         * config/t-freebsd: Do not override USER_H.
14129         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
14130
14131 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
14132                           Mumit Khan  <khan@xraylith.wisc.edu>
14133
14134         * c-parse.in (component_decl): Support anonymous struct/union.
14135         (%expect): Update.
14136         * c-parse.y: Regenerate.
14137         * c-parse.c: Likewise.
14138         * objc/objc-parse.y: Likewise.
14139         * objc/objc-parse.c: Likewise.
14140         * c-decl.c (finish_struct): Don't sort the fields.
14141         (field_decl_cmp): Delete unused function.
14142
14143 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
14144
14145         * sparc.md (movsf_const_intreg): Revert last constraint change.
14146         (movdf_const_intreg_sp32): Likewise.
14147
14148 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
14149
14150         * cse.c: Include hashtab.h instead of splay-tree.h
14151         (struct cse_reg_info): No longer use variant union.  Add new
14152         field "regno".  All references changed to avoid union.
14153         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
14154         (free_cse_reg_info): Remove.
14155         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
14156         (get_cse_reg_info): Revamp to use expandable hash tables instead
14157         of splay trees.  Initialize new fields in cse_reg_info structure.
14158         (new_basic_block): Similarly.
14159
14160 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
14161
14162         * genrecog.c (message_with_line): Prototype.
14163         (validate_pattern): Pass along the set for the dest, not a flag.
14164         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
14165         Check for PC/CC0 as sources.
14166         (nodes_identical): Check for children position match before
14167         allowing the combination.
14168
14169         * rtl.c (read_rtx): Track line number across \\\n.
14170
14171 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
14172
14173         * mips.h (SPECIAL_MODE_PREDICATES): New.
14174         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
14175         (movdi+1, movsi+1): Add output reload constraint.
14176         (casesi_internal): Likewise.  Fix commentary.
14177         (return_internal): Use pmode_register_operand.
14178
14179 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
14180
14181         * 1750a.md (movstrqi): Add missing output reload constraint.
14182         (call_value): Likewise.
14183         * a29k.md (cpxxx patterns): Add missing match_operator mode.
14184         (jmpfdec): Add missing inout reload constraint.
14185         * elxsi.md (addsi patterns): Add missing output reload constraint.
14186         (move from sp): Use @ alternates.
14187         (call_value): No constraint on output.
14188         * fr30.md (movsi_pop): Add missing output reload constraint.
14189         (movsf_constant_store): Likewise.
14190         (splits): Remove constraints.
14191         (subsi3): Add missing mode.
14192         * i370.md (cmpstrsi+1): Add missing output reload constraint.
14193         (call_value): Likewise.
14194         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
14195         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
14196         * m32r.md (movsicc_internal): Add output reload constraint.
14197         (movstrsi_internal): Add inout reload constraints.
14198         * m88k.h (reg_names): Don't declare.
14199         (SPECIAL_MODE_PREDICATES): New.
14200         * m88k.md (*): Use register_operand not reg_or_0_operand
14201         on destinations.
14202         * mn10200.h (PREDICATE_CODES): New.
14203         * ns32k.md (ffs pattern): Add output reload constraint.
14204         * pdp11.md (sob pattern): Add inout reload constraint.
14205         * sh.md (splits): Remove constraints.
14206         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
14207         * v850.md (pattern_is_ok_for_epilogue): Likewise.
14208         * vax.md (jgequ pattern): Add inout reload constraint.
14209
14210 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
14211
14212         * configure.in (djgpp): Revert previous patch.
14213         * configure: Rebuit.
14214         * config/i386/djgpp.h: Revert previous patch.
14215
14216 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
14217
14218         * fixinc/inclhack.def: Restore patch lost during last merge of
14219         "no_bogosity" branch.
14220         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
14221
14222 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14223
14224         * fixincludes: Add a HPUX 11 fix for inttypes.h.
14225         * fixinc/inclhack.def: Same.
14226         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
14227
14228 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
14229
14230         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
14231         as the base of a PLUS.
14232
14233 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14234
14235         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
14236         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
14237
14238 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
14239
14240         * pa.md (post_stw+1): Use pmode_register_operand.
14241         (dcacheflush, icacheflush): Likewise.
14242
14243         * i386.md (movstricthi_1): Allow r/r.
14244
14245 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
14246
14247         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
14248         to (not (and (arg0) (arg1))). Similary for and.
14249
14250         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
14251         fallthrough to associate code.
14252         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
14253         bits in common.
14254
14255         * combine.c (simplify_logical): Convert XOR to IOR if operands have
14256         no bits in common; remove XOR to ROTATE conversion.
14257
14258 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14259
14260         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
14261
14262 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14263
14264         * config/c4x/c4x.c (dst_operand): New.
14265         (PREDICATE_CODES): Update.
14266         * config/c4x/c4x.h (dst_operand): Declare it.
14267         * config/c4x/c4x.md:  Define mode for each unspec usage.
14268         (move patterns):  Use dst_operand predicate instead of src_operand.
14269         (movqi_update, movqf_update): Delete.
14270
14271 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
14272
14273         * recog.c (pmode_register_operand): New.
14274         * recog.h: Declare it.
14275         * genrecog.c (pred_codes): Likewise.
14276         (special_mode_pred_table): Likewise.
14277         (validate_pattern): Don't warn no mode for address_operand.
14278
14279         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
14280         if the operand is not insn-like.
14281
14282 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
14283                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
14284
14285         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
14286
14287 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
14288
14289         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
14290         instead of general_operand in a SET_DEST.  Use const_double_operand
14291         instead of an explicit test against CONST_DOUBLE.
14292         (movsf_const_lo): Add missing register mode.
14293         (goto_handler_and_restore): Add auxiliary test for Pmode.
14294         (flush): Adjust to use address_operand.
14295         (return_sf_no_fpu): Add missing output constraint.
14296
14297 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
14298
14299         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
14300         for call return value.
14301         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
14302
14303 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
14304
14305         * toplev.c (main): Only warn about options for other languages.
14306         * collect2.c (main): Pass -w to sub-gcc.
14307
14308 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
14309
14310         * flow.c (propagate_block): Add call-clobbered registers to
14311         significant too.
14312
14313         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
14314         zapping mem_set_list.
14315         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
14316         (mark_set_1, mark_used_regs): Likewise.
14317
14318 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
14319
14320         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
14321
14322 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14323
14324         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
14325         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
14326         options. Also add a new item "C-only Warning Options" to the
14327         option summary.
14328
14329 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
14330
14331         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
14332         from multiple calls.
14333
14334 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
14335
14336         * i386.md (call value patterns): Move to the end of the file.
14337         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
14338
14339 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
14340
14341         * configure.in (djgpp configuration): Define extra_objects..
14342         * configure: Rebuilt.
14343         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
14344         (DTORS_SECTION_ASM_OP): Define.
14345         (INIT_SECTION_ASM_OP): Define.
14346         (FINI_SECTION_ASM_OP): Define.
14347         (DATA_SECTION_ASM_OP): Define.
14348         (TEXT_SECTION_ASM_OP): Define.
14349         (EH_FRAME_SECTION_ASM_OP): Define.
14350         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
14351         (STARTFILE_SPEC): Add crtbegin.o.
14352         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
14353         to here from LINK_COMMAND_SPEC.
14354         (DO_GLOBAL_CTORS_BODY): Define.
14355         (CRTSTUFF_USE_FINI_SECTION): Define
14356         (HAS_INIT_SECTION): Delete.
14357
14358 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
14359
14360         * Makefile.in (all.cross): Depend on xcpp$(exeext).
14361
14362 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
14363
14364         * pa.h (PREDICATE_CODES): New.
14365
14366         * genrecog.c (validate_pattern): Condense the destination
14367         non-lvalue message.
14368
14369 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
14370
14371         * alpha.md (call-1): Supply missing mode for operator.
14372         (*): Add missing output reload constraints.  Remove constraints
14373         from define_splits.
14374
14375         * i386.h (SPECIAL_MODE_PREDICATES): New.
14376         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
14377         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
14378         (addsi_lea_3): Add missing mode for op 3.
14379         (prologue_set_got, prologue_get_pc): Add missing modes.
14380         (*) Add missing output reload constraints.
14381
14382 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
14383
14384         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
14385         check for member bit-size overflow and use var_size if it occurs.
14386         (layout_record): Use bitsize_int() to define the type size in bits.
14387         Likewise for computation and assignment to DECL_FIELD_BITPOS.
14388         (layout_decl): Likewise when assigning to DECL_SIZE.
14389
14390 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
14391
14392         * genrecog.c (validate_pattern): Typo last change.  Verify
14393         that output operands have output reloads.
14394
14395 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
14396
14397         * genrecog.c (special_mode_pred_table): New.
14398         (NUM_SPECIAL_MODE_PREDS): New.
14399         (find_operand): New.
14400         (validate_pattern): New argument `insn'.  Warn for assignment to
14401         any predicate accepting non-lvalues.  Conditionaly warn for
14402         match_operand without a mode.  Try much harder to match source
14403         and destination modes on a set.
14404         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
14405
14406 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
14407
14408         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
14409
14410 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
14411
14412         * combine.c (simplify_logical): Recognize xor pattern that encodes
14413         rotation.
14414
14415 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14416
14417         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
14418         alignment.
14419
14420 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
14421
14422         * ggc-page.c (MAP_FAILED): Provide default.
14423
14424 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
14425
14426         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
14427         * sparc.h (PREDICATE_CODES): Update.
14428
14429 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
14430
14431         * alpha.c (some_ni_operand): New.
14432         * alpha-protos.h: Declare it.
14433         * alpha.h (PREDICATE_CODES): Update.
14434         * alpha.md (sXaddq reload insns): Use some_ni_operand
14435         for SET_DEST instead of some_operand.
14436
14437 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
14438                           Jim Wilson  <wilson@cygnus.com>
14439
14440         * genrecog.c (maybe_both_true_2): Don't compare modes of
14441         two DT_pred tests.
14442         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
14443         after find_afterward.
14444         (debug_decision_1): Dump next and afterward codes.
14445
14446 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
14447
14448         * rtl.c (dump_and_abort): Remove.
14449         (fatal_with_file_and_line): New.
14450         (fatal_expected_char): New.
14451         (read_rtx_lineno, read_rtx_filename): New.
14452         (read_skip_spaces): Track line number.
14453         (read_name): Use fatal_with_file_and_line.
14454         (read_rtx): Use fatal_expected_char.  Track line number.
14455         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
14456
14457         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
14458         if it isn't a CODE_LABEL.
14459
14460         * genattr.c (main): Set read_rtx_filename.
14461         * genattrtab.c (main): Likewise.
14462         * gencodes.c (main): Likewise.
14463         * genconfig.c (main): Likewise.
14464         * genemit.c (main): Likewise.
14465         * genextract.c (main): Likewise.
14466         * genflags.c (main): Likewise.
14467         * genopinit.c (main): Likewise.
14468         * genoutput.c (main): Likewise.
14469         * genpeep.c (main): Likewise.
14470
14471         * genrecog.c (decision_test.u.insn): Add `lineno'.
14472         (pattern_lineno, error_count): New variables.
14473         (message_with_line): New.
14474         (add_to_sequence): Break out checking code to ...
14475         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
14476         (merge_insn): Use message_with_line.
14477         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
14478         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
14479
14480 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14481
14482         * expr.c (store_constructor): Clear union if constructor is empty.
14483
14484 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
14485
14486         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
14487         Add !endian checks.  Change %{...} to %(...).
14488
14489 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
14490
14491         * i386.md (*addsi3_cc): Renamed from addcsi3.
14492         (*addsi3_carry): Renamed from addxsi3.
14493         (*subsi3_cc): Renamed from subcsi3.
14494         (*subsi3_carry): Renamed from subxsi3.
14495         (*xorqi_cc_1): Renamed from xorcqi_1.
14496         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
14497         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
14498
14499 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
14500
14501         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
14502         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
14503
14504 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
14505
14506         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
14507         climb up the chain of insns.
14508
14509 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
14510
14511         * genrecog.c (write_subroutine): Careful for null trees.
14512         (process_tree): Don't elide empty functions.
14513
14514 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
14515
14516         * Makefile.in (genrtl.o): Depend on ggc.h.
14517         * configure.in (valloc): Probe for it.
14518         (with-gc): Use ggc-page if valloc present.
14519         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
14520         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
14521         (ggc_alloc_string): Moved from ggc-page.c.
14522         * ggc-none.c (ggc_alloc_obj): New.
14523         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
14524         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
14525         (struct globals): Likewise for dev_zero_fd.
14526         (init_ggc): Likewise for it's initialization.
14527         (ggc_allocated_p): Move careful dereference from ...
14528         (ggc_lookup_page_table): ... here.  Delete.
14529         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
14530         (alloc_anon): Use valloc if no mmap.
14531         (release_pages): Use free if using valloc.
14532         (ggc_alloc_obj): Renamed from alloc_obj.
14533         (ggc_set_mark): Renamed from mark_obj.
14534         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
14535         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
14536         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
14537         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
14538         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
14539         (ggc_collect): Use fp printing instead of our own rounding.
14540         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
14541         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
14542         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
14543         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
14544         (struct ggc_string, struct ggc_any): Delete.
14545         (offsetof): Provide default definition.
14546         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
14547         (PTR_KEY): New.
14548         (struct ggc_mem): New, from corpse of ggc_any.
14549         (struct ggc_status): Delete.
14550         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
14551         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
14552         (n_strings_collected, n_anys_collected): Delete.
14553         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
14554         (ggc_alloc_string, ggc_alloc): Delete.
14555         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
14556         (ggc_free_string, ggc_free_any): Delete.
14557         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
14558         (ggc_compare_addresses, ggc_mark_string): Delete.
14559         (ggc_mark_string_if_gcable, ggc_mark): Delete.
14560         (search_data): Delete.
14561         (struct globals): New.
14562         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
14563         (tree_insert, tree_lookup): New.
14564         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
14565         (clear_marks, sweep_objs): New.
14566         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
14567         (init_ggc): Set allocated_last_gc.
14568         (ggc_push_context): Gut.  Use G.context.
14569         (ggc_pop_context): Likewise.
14570         (ggc_pop_context_1): New.
14571         (debug_ggc_tree): New.
14572         (debug_ggc_balance, tally_leaves): New.
14573         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
14574         (ggc_mark_string_if_gcable): Remove decl.
14575         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
14576         (ggc_mark_rtvec_children): New.
14577         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
14578         (ggc_mark_if_gcable): New decl.
14579         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
14580         (ggc_alloc_tree, ggc_alloc): Likewise.
14581         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
14582         (ggc_alloc_obj): New decl.
14583         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
14584         (ggc_alloc_tree, ggc_alloc): Likewise.
14585         (ggc_set_mark): New decl.
14586         * rtl.h (struct rtx_def): Remove gc_mark.
14587         (struct rtvec_def): Likewise.
14588         * tree.h (struct tree_common): Likewise.
14589
14590 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
14591
14592         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
14593         float_format and thread_file definitions.
14594         * configure: Rebuilt.
14595
14596 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
14597
14598         * extend.texi (Function Names): Document types of function names.
14599
14600 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14601
14602         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
14603         an earlyclobbered output conflict with RELOAD_INPUT reloads.
14604
14605 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14606
14607         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
14608
14609 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14610
14611         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
14612
14613 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
14614
14615         * collect2.c (main): Do prelimnary link on AIX if rflag.
14616
14617 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14618
14619         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
14620         __CTOR_LIST__ in opposite order, which is the correct order for sorted
14621         constructors.
14622         (__do_global_dtors): similarly for __DTOR_LIST__.
14623
14624 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14625                                 Diego Novillo <dnovillo@cygnus.com>
14626
14627         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
14628         FPUL_REGS.
14629
14630 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
14631
14632         * fixincl/*: Merged "no_bogosity" branch
14633         * fixincl/fixlib.h: protect against doubly defining t_bool
14634         * fixincl/server.h: protect against doubly defining t_bool
14635
14636 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
14637
14638         * genoutput.c: Include toplev.h.
14639
14640 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
14641
14642         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
14643         Undef.
14644         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
14645         * configure: Regenerate.
14646
14647 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
14648
14649         * gcse.c (delete_null_pointer_checks): Returns void.
14650
14651 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14652
14653         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
14654         * emit-rtl.c (copy_insn_1): Likewise.
14655
14656 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
14657
14658         * config/mips/mips.c (mips_build_va_list): Correct
14659         TREE_CHAIN setting when hard-float.
14660         (mips_va_start): Use corrected setting.
14661         (mips_va_arg): Likewise.  Also pass a tree to build of
14662         POSTINCREMENT_EXPR rather than a naked 'int'.
14663
14664 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
14665
14666         * ggc.h (ggc_push_context): Fix comment.
14667         (ggc_pop_context): Likewise.
14668         (mark_string_if_gcable): Likewise.
14669         * ggc-common.c (ggc_mark_rtx_children): Use
14670         ggc_mark_string_if_gcable.
14671         * ggc-page.c (ggc_lookup_page_table): New function.
14672         (ggc_allocated_p): Likewise.
14673         (mark_obj): Fix formatting.
14674         (ggc_mark_string_if_gcable): New function.
14675         * ggc-simple.c (ggc_allocated_strings): New variable.
14676         (ggc_strings_used): Likewise.
14677         (ggc_compare_addresses): New function.
14678         (ggc_pop_context): Pop the `any' memory too.
14679         (ggc_mark_string_if_gcable): New function.
14680         (ggc_collect): Initialize and tear down ggc_allocated_strings.
14681
14682 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
14683
14684         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
14685         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
14686         * rs6000.c (expand_block_move): Match movstrsi_?reg register
14687         changes.
14688
14689 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
14690
14691         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
14692         (sched_reg_live_length, sched_reg_basic_block): Delete.
14693         (current_block_num, bb_live_regs, old_live_regs): Delete.
14694         (dead_notes, struct sometimes): Delete.
14695         (sched_note_set, birthing_insn_p): Delete.
14696         (adjust_priority): Gut useless reg lifetime code.
14697         (create_reg_dead_note, attach_deaths): Delete.
14698         (attach_deaths_insn, new_sometimes_live): Delete.
14699         (finish_sometimes_live): Delete.
14700         (find_pre_sched_live, find_post_sched_live): Delete.
14701         (update_reg_usage): Delete.
14702         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
14703         (schedule_insns): Delete reg lifetime code.
14704         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
14705         (unlink_other_notes): Adjust REG_NOTE commentary.
14706         (reemit_notes): Use REG_SAVE_NOTE.
14707         (schedule_block): Likewise.
14708         (schedule_region): Allocate bitmap of blocks in region.  Use
14709         count_or_remove_death_notes.  Use update_life_info.
14710
14711         * rtl.h (REG_SAVE_NOTE): New.
14712         * rtl.c (reg_note_name): Update.
14713
14714 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
14715
14716         * combine.c (refresh_blocks, need_refresh): New.
14717         (combine_instructions): Allocate refresh_blocks.  Invoke
14718         update_life_info if needed.
14719         (distribute_notes): Mark refresh_blocks instead of installing
14720         USE insns.
14721         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
14722         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
14723
14724         * Makefile.in (recog.o): Depend on basic-block.h.
14725
14726 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
14727
14728         * genrecog.c (add_to_sequence): Thinko last change: delete
14729         shadowing allow_const_int variable.
14730
14731 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14732
14733         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
14734         __GNUC__ and __GNUC_MINOR__.
14735
14736         * gansidecl.h: Likewise.
14737
14738         * rtl.c: Likewise.
14739
14740         * rtl.h: Likewise.
14741
14742         * toplev.h: Likewise.
14743
14744         * tree.c: Likewise.
14745
14746         * tree.h: Likewise.
14747
14748         * varray.c: Likewise.
14749
14750         * varray.h: Likewise.
14751
14752 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14753
14754         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
14755         use one before a jump table.
14756
14757         * rtl.def (ADDRESS): Change documentation to match reality.
14758         * md.texi: Don't document it.
14759         * gmicro.md (load address pattern): Use 'p' constraint, delete use
14760         of ADDRESS rtx.
14761
14762         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
14763
14764 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
14765
14766         * genrecog.c (add_to_sequence): Move allow_const_int test outside
14767         known predicate block; default allow_const_int true.
14768         (debug_decision_list): New.
14769
14770 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
14771
14772         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
14773
14774 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
14775
14776         * gcse.c (gcse_main): Avoid global optimizations if we have a
14777         large number of basic blocks and the ratio of edges to blocks
14778         is high.
14779         (delete_null_pointer_checks): Likewise.
14780
14781 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
14782
14783         * c-common.c (check_format_info): Warn if format string isn't a
14784         string literal.
14785
14786 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14787
14788         * configure.in (arm*-*-*): Don't let autoconf remove brackets
14789         * configure: regenerate
14790
14791 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
14792
14793         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
14794         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
14795         (peepholes): Re-enable.
14796
14797 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
14798
14799         * Makefile.in (flow.o): Depend on TREE_H.
14800         * basic-block.h (REG_SET_EQUAL_P): New.
14801         (XOR_REG_SET): New.
14802         (n_edges): Declare.
14803         (free_regset_vector): Remove declaration.
14804         (flow_delete_insn_chain): Declare.
14805         (enum update_life_extent): New.
14806         (update_life_info, count_or_remove_death_notes): Declare.
14807         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
14808         Verify register live at bb->global_live_at_start before adding USE.
14809         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
14810         (CLEAN_ALLOCA): New.
14811         (n_edges): New.
14812         (PROP_*): New flags.
14813         (find_basic_blocks_1): Use alloc_EXPR_LIST.
14814         (clear_edges): Zero n_edges.
14815         (make_edge): Increment n_edges.
14816         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
14817         (flow_delete_insn_chain): Export.
14818         (delete_block): Decrement n_edges.
14819         (merge_blocks_nomove): Likewise.
14820         (life_analysis): Give life_analysis_1 PROP flags.
14821         (verify_wide_reg_1, verify_wide_reg): New.
14822         (verify_local_live_at_start): New.
14823         (update_life_info): Rewrite to call into propogate_block.
14824         (mark_reg): New.
14825         (mark_regs_live_at_end): After reload, if epilogue as rtl,
14826         always mark stack pointer.  Conditionally mark PIC register.
14827         After reload, mark call-saved registers, return regsiters.
14828         (life_analysis_1): Accept PROP flags not remove_dead_code.
14829         Call mark_regs_live_at_end before zeroing regs_ever_live.
14830         Use calculate_global_regs_live.  Copy global_live_at_end before
14831         calling final propagate_block.  Zero reg_next_use on exit.
14832         (calculate_global_regs_live): New.
14833         (allocate_bb_life_data): Don't allocate bb->local_set.
14834         (init_regset_vector, free_regset_vector): Remove.
14835         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
14836         Test flags before every operation.  Warn if prologue/epilogue insn
14837         would have been deleted.
14838         (mark_set_regs, mark_set_1): Accept and use FLAGS.
14839         Use alloc_EXPR_LIST.
14840         (mark_used_regs): Accept and use FLAGS, not FINAL.
14841         Remove special handling for RETURN.
14842         (try_pre_increment): Use alloc_EXPR_LIST.
14843         (dump_flow_info): Dump n_edges.
14844         (unlink_insn_chain, split_hard_reg_notes): Remove.
14845         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
14846         (find_insn_with_note, new_insn_dead_notes): Remove.
14847         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
14848         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
14849         (replace_insns): Remove.
14850         (count_or_remove_death_notes): New.
14851         (verify_flow_info): Abort on error after all checks.
14852         (remove_edge): Decrement n_edges.
14853         (remove_fake_edges): Tweek format.
14854         * haifa-sched.c (schedule_insns): Use split_all_insns.
14855         * output.h (update_life_info): Remove declaration.
14856         * recog.c (split_all_insns): From the corpse of split_block_insns,
14857         do the whole function block by block.  Use update_life_info.
14858         (recog_last_allowed_insn): New.
14859         (recog_next_insn): Mind it.
14860         (peephole2_optimize): Set it.  Walk backwards through blocks.
14861         Use update_life_info.
14862         * rtl.h (update_flow_info, replace_insns): Remove declarations.
14863         (split_all_insns): Declare.
14864         * toplev.c (rest_of_compilation): Thread prologue before flow2.
14865         Use split_all_insns.
14866
14867         * i386.md (or -1 peep2s): Disable.
14868
14869 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
14870
14871         * config/mips/mips.md (movstrsi+[123]) : Combine these into
14872         a single pattern.  Scrap the 'd' versions as unnecessary.
14873
14874         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
14875         tablejump_mips162,tablejump_internal4): The operands to a
14876         label_ref must be VOIDmode.
14877
14878 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14879
14880         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
14881
14882 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
14883
14884         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
14885
14886 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
14887
14888         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
14889         cache every function if ggc_p.
14890
14891 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14892
14893         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
14894         instead of copy_rtx.  Accept sequences that contain asm statements.
14895         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
14896         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
14897         orig_asm_operands_vector, copy_asm_operands_vector,
14898         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
14899         variables.
14900         * rtl.h (copy_insn, copy_insn_1): Declare.
14901
14902 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14903
14904         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
14905
14906         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
14907         arguments to `current_file_function_operand'.
14908
14909         * genrecog.c: Include hard-reg-set.h and resource.h in the
14910         generated output file.
14911
14912         * real.c: Include tm_p.h.
14913
14914 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14915
14916         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
14917         output operand.
14918
14919 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
14920
14921         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
14922         before the fctiwz insn.
14923
14924 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14925                           Mark Mitchell  <mark@codesourcery.com>
14926
14927         * tree.c (make_lang_type_fn): New funtion pointer.
14928         (make_lang_type): Call it.
14929         * tree.h (make_lang_type): Declare.
14930         (make_lang_type_fn): Likewise.
14931         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
14932
14933 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
14934
14935         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
14936         make sure that HIGH instructions are copied into BASE_REGS.
14937
14938 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
14939
14940         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
14941
14942 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
14943
14944         * c-decl.c (finish_struct): Use simpler method of
14945         removing elements of a singly-linked list.
14946
14947 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
14948
14949         * alpha.md (peephole2's): Comment out peephole2's that generate
14950         buggy code.
14951
14952 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
14953
14954         * genrecog.c (add_to_sequence): Disable mode check for
14955         wildcard matches.
14956
14957 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14958
14959         * ggc-simple.c (init_ggc): Set empty_string.
14960
14961 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
14962
14963         * configure.in: Detect mmap.  Add --with-gc=foo to select
14964         garbage collector; default to page if mmap available.
14965         * Makefile.in (GGC): Substitute.
14966
14967 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
14968
14969         * c-decl.c (ggc_p): Enable.
14970
14971 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14972
14973         * flow.c (verify_flow_info): Make it extern & unconditionally define.
14974
14975 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
14976
14977         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
14978         string for little-endian-data.
14979
14980 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
14981
14982         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
14983         case somebody tries to compile --enable-checking code with gcc
14984         1.34 or such.
14985
14986 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
14987
14988         * genrecog.c (add_to_sequence): Verify operand to label_ref is
14989         VOIDmode.
14990
14991 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
14992
14993         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
14994         * jump.c (jump_optimize_1): Document why.
14995
14996 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14997
14998         * collect2.c (scan_prog_file, scan_libraries): Prototype function
14999         pointers and casts for `int_handler' and `quit_handler'.
15000
15001         * flow.c (verify_flow_info, split_hard_reg_notes,
15002         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
15003         remove_edge, remove_fake_successors): Add static prototypes.
15004         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
15005         (mark_set_1): Initialize variable `regno'.
15006         (unlink_insn_chain): Likewise for variable `curr'.
15007         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
15008
15009         * loop.c (strength_reduce): Initialize variable
15010         `unrolled_insn_copies'.
15011         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
15012         prototypes.  Change these functions to take const PTR parameters
15013         to avoid prototype conflict when used as the comparson argument
15014         for qsort.
15015         (check_dbra_loop): Initialize variable `comparison_val'.
15016
15017         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
15018         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
15019         (find_valid_class): Initialize variable `best_class'.
15020         (find_reloads): Call memcpy, not bcopy.
15021
15022         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
15023         (hard_reg_use_compare): Don't needlessly cast away const.
15024         (reload_reg_class_lower): Likewise.
15025         (choose_reload_regs): Initialize variable `regno'.
15026
15027 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
15028
15029         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
15030
15031 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
15032
15033         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
15034         ({,d}discard): Add forward declarations.  Declare parameter as
15035         unused.
15036         (main_without_main): Explicitly declare return type to be int.
15037         (memcpy): Properly declare.
15038
15039         * libgcc2.c (toplevel): If inhibit_libc is defined and not
15040         building the trampoline support, declare malloc, free, and
15041         atexit.
15042         (__clear_cache): Mark arguments as potentially unused.
15043
15044         * frame.c (toplevel): If inhibit_libc is defined, declare
15045         malloc and free.
15046
15047 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
15048
15049         * flow.c (make_edge): Accept an optional 2D bitmap in which
15050         to cache edge existence.  Update all callers.
15051         (make_label_edge, make_eh_edge): Pass through the edge cache.
15052         (make_edges): Provide the cache.
15053
15054 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15055
15056         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
15057         a char*.
15058         (local_mbtowc): Change the type of variable `i' from int to size_t.
15059
15060         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
15061         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
15062
15063 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
15064
15065         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
15066         after other includes that define the appropriate types.  Include
15067         tm_p.h for getting user prototypes.
15068         * ggc-callbacks.c (toplevel): Ditto.
15069         * ggc-none.c (toplevel): Ditto.
15070         * gcc-page.c (toplevel): Ditto.
15071         * ggc-simple.c (toplevel): Ditto.
15072
15073 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
15074                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
15075
15076         * config/mips/mips.c (mips_move_2words): Split doubles if
15077         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
15078
15079 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
15080
15081         * genrecog.c (struct decision_test): New.
15082         (struct decision): Remove test-related members, sort the rest by size.
15083         (IS_SPLIT): Simplify.
15084         (new_decision, new_decision_test): New.
15085         (add_to_sequence): Use them.  No special handling for args of
15086         non-MATCH codes.
15087         (maybe_both_true): Renamed from not_both_true; return sense changed.
15088         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
15089         of maybe_both_true and adjusted for decision_test.
15090         (position_merit): Remove.
15091         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
15092         (merge_accept_insn): New, broken out of merge_trees.
15093         (merge_trees): Use them.  No special case for c_test; no node
15094         splitting; use test type instead of position_merit.
15095         (factor_tests): New.
15096         (simplify_tests): New.
15097         (break_out_subroutines): Don't write code now.
15098         (find_afterward): New.
15099         (write_afterward, write_switch, write_cond): New.
15100         (write_action, is_unconditional): New.
15101         (write_node): New.  Use them.
15102         (write_tree_1): Rewrite.  Use the new functions above.
15103         (write_tree): Remove afterward processing.
15104         (write_subroutine): Simplify function variant emission.
15105         (write_subroutines): New.
15106         (same_codes, clear_codes): Remove.
15107         (same_modes, clear_modes): Remove.
15108         (write_header): New, broken out of main.
15109         (make_insn_sequence): Use new_decision and new_decision_test.
15110         (process_tree): New, broken out of main.
15111         (main): Adjust for merge_trees interface change.
15112         Don't #define operands in the output file.
15113         (record_insn_name): New, broken out of make_insn_sequence.
15114         (debug_decision_2, debug_decision_1, debug_decision_0): New.
15115         (debug_decision): New.
15116
15117 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
15118
15119         * resource.c (find_free_register): Mark class_str argument const.
15120         * resource.h: Update prototype to match.
15121
15122         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
15123         * i386.md: Give all anonymous insns names.
15124
15125 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
15126
15127         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
15128         blocks.
15129
15130 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
15131
15132         * toplev.c (dbr_sched_time): Unconditional.
15133         (peephole2_time): New.
15134         (compile_file): Add pass numbers to all of the dump file suffixes.
15135         Dump peephole2_time.  Don't dump times for non-applicable passes.
15136         (rest_of_compilation): Add pass numbers to dump file suffixes.
15137         Conditionalize calls to the scheduler.
15138         * invoke.texi: Update.
15139
15140 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
15141
15142         * flow.c (make_edges): Fix insn iteration.
15143         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
15144         (find_basic_blocks_1): Fix spelling mistake.
15145
15146 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
15147
15148         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
15149         always have side-effects.  Use memset not bzero.
15150         (make_node): Likewise.
15151
15152 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
15153
15154         * stmt.c (expand_anon_union_decl): When any of the elements of the
15155         union is addressable, so is the entire union.
15156
15157 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
15158
15159         * sbitmap.c (sbitmap_ones): Don't set too many bits.
15160
15161         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
15162         * bitmap.c (bitmap_operation): Return true iff TO changed.
15163         (bitmap_equal_p): New.
15164         (bitmap_bit_p): Tidy arithmetic.
15165         (debug_bitmap_file): Likewise.
15166
15167 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
15168
15169         * toplev.c (rest_of_compilation): Turn on cse_not_expected
15170         before cse2 instead of after.
15171
15172 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
15173
15174         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
15175         register offsets.
15176
15177 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15178
15179         * cppinit.c (is_idchar initializer): Loosen tests to accept
15180         gcc 2.>6 and >2.
15181
15182 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
15183
15184         * mips.md: Define conditional move patterns for floating point
15185         operands and DI mode conditions.
15186
15187 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
15188
15189         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
15190         always have side-effects.
15191
15192 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
15193
15194         * mn10200.c (asm_file_start): Fix typo.
15195
15196         * cppinit.c (is_idchar initializer): Tighten tests for when
15197         to put the table into initialized memory.
15198
15199         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
15200         not an array of rtunion.
15201         * gcc-page.c (ggc_alloc_rtvec): Similarly.
15202         * gcc-simple (ggc_free_rtvec): Similarly.
15203
15204         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
15205         of rtunions.
15206
15207         * mbchar.h: Add missing #endif.
15208
15209         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
15210         (FPBIT, DPBIT): Define.
15211
15212 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15213
15214         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
15215
15216         * profile.c (instrument_arcs, output_gcov_string,
15217         tablejump_entry_p): Add static prototypes.
15218         (output_gcov_string): Constify a char*.
15219
15220         * regmove.c (replacement_quality, fixup_match_2): Add static
15221         prototypes.
15222
15223         * resource.h (reg_dead_p): Add extern prototype.
15224
15225         * rtl.c (trim_filename): Add static prototype.
15226
15227         * scan-decls.c (skip_to_closing_brace): Likewise.
15228
15229         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
15230         (expand_end_case): Initialize variable `range'.
15231         (emit_case_nodes): Remove unused prototype `rtx_fn'.
15232
15233         * varasm.c (asm_emit_uninitialised): Add static prototype.
15234         (asm_emit_uninitialised, assemble_variable): Mark parameter with
15235         ATTRIBUTE_UNUSED.
15236
15237 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15238
15239         * cpplib.c (if_directive_nameo): Add static prototype.
15240
15241         * cse.c (cse_insn): Remove unused variable `p'.
15242
15243         * except.c (create_rethrow_ref, push_entry,
15244         receive_exception_label, new_eh_region_entry, find_func_region,
15245         clear_function_eh_region, process_nestinfo): Add static prototypes.
15246         (get_reg_for_handler): Hide definition.
15247         (process_nestinfo): Initialize variable `extra_handlers'.
15248
15249         * expr.h (expand_builtin_longjmp): Add extern prototype.
15250
15251         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
15252
15253         * function.c (prepare_function_start): Likewise.
15254         (pop_function_context_from): Mark parameter `context' with
15255         ATTRIBUTE_UNUSED.
15256         (push_temp_slots_for_block, flush_addressof): Hide definition.
15257
15258         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
15259         solve_program_flow_graph, calculate_branch_probs,
15260         function_summary, main, fancy_abort): Add prototypes.
15261
15262         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
15263         (add_hash): Constify a char*.
15264
15265         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
15266         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
15267         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
15268
15269         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
15270
15271         * lists.c (free_list, zap_lists): Likewise.
15272
15273 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15274
15275         * alias.c (nonlocal_reference_p): Add static prototype.
15276
15277         * bitmap.c (bitmap_element_allocate): Prototype args in function
15278         pointer cast.
15279
15280         * builtins.c (stabilize_va_list): Add static prototype.
15281         (expand_builtin_va_arg): Constify a char*.
15282
15283         * c-lex.c (getch, put_back, extend_token_buffer_to,
15284         read_line_number, token_getch, token_put_back): Add static
15285         prototypes.
15286
15287         * c-parse.gperf (hash, is_reserved_word): Likewise.
15288
15289         * cccp.c (is_dir_separator): Likewise.
15290
15291 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15292
15293         * graph.h: New file to prototype functions exported by graph.c.
15294
15295         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
15296
15297         * graph.c: Include graph.h.
15298
15299         * toplev.c: Likewise.  Remove redundant prototypes.
15300
15301 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
15302
15303         * invoke.texi: Removed duplicated description for -Q.
15304
15305 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
15306
15307         * extend.texi: Grammar fix in __extension__ text.
15308
15309 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
15310
15311         * md.texi (define_peephole2): New section.
15312
15313 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
15314
15315         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
15316         (mov $-1 to or peepholer): Enable for pentium when optimizing for
15317         speed.
15318
15319 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
15320
15321         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
15322
15323 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
15324
15325         * i386.md (ffs expander): Emit Pentium friendly code for
15326         TARGET_PENTIUM.
15327
15328 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
15329
15330         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
15331         for non-trees.
15332         (build1): Likewise.
15333
15334 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15335
15336         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
15337
15338 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
15339
15340         * config/m68k/m68k.c (use_return_insn): Return false if the pic
15341         register is in use.
15342
15343 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15344
15345         * md.texi (No Constraints): Delete section.
15346         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
15347         * final.c (final_scan_insn): We always have register constraints.
15348         * genattrtab.c: Don't include "insn-config.h".
15349         (write_attr_case): We always have register constraints.
15350         * genconfig.c (register_constraint_flag): Delete.
15351         (walk_insn_part): Don't check whether we have register constraints.
15352         (main): Don't write out "#define REGISTER_CONSTRAINTS".
15353         * genoutput.c (have_constraints): Delete.
15354         (main): Don't set it.
15355         (output_operand_data): We always have constraints.
15356         (scan_operands): Likewise.
15357         (compare_operands): Likewise.
15358         * local-alloc.c (block_alloc): We always have constraints.
15359         (requires_inout): Always compile this function.
15360         * recog.c (extract_insn): We always have constraints.
15361         (constrain_operands, reg_fits_class_p): Always compile these
15362         functions.
15363         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
15364         fields.
15365         (struct insn_operand_data): Likewise.
15366         * regclass.c (regclass): We always have constraints.
15367         (record_reg_classes, copy_cost, record_address_regs,
15368         auto_inc_dec_reg_p): Always compile these functions.
15369         * regmove.c (regmove_optimize): We always have constraints.
15370         * reload.c (find_reloads): Likewise.
15371         * reload1.c (reload): Likewise.
15372         (reload_cse_simplify_operands): Likewise.
15373         * i860.c (output_delay_insn): Likewise.
15374
15375 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
15376
15377         * iris6.h (BUILD_VA_LIST_TYPE): Define.
15378
15379 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15380
15381         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
15382         for the va_list record.
15383
15384 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
15385
15386         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
15387         prologues.
15388
15389 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
15390
15391         * alias.c: Include insn-flags.h.
15392         * Makefile.in (alias.o): Update.
15393
15394 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
15395
15396         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
15397         to LTU and GEU.  Handle more cases using sbb.
15398
15399 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
15400
15401         * i386.md (truncatexfdf splitters): Do not use subreg.
15402         (fop XFmode patterns): Fix mode in operand testing.
15403
15404 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
15405
15406         * jump.c (jump_optimize_1): Amend last change to test only the
15407         form of the operand, not the insn.
15408
15409         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
15410         not register_operand to determine when B may need preloading.
15411
15412 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
15413
15414         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
15415         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
15416         (call-value patterns): Move to end of file.
15417         (*): Remove mode from label_ref in (pc) context.
15418         (movstrqi): Use memory not general_operand for BLKmode operands.
15419         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
15420         to register_operand operands.
15421         (peep2 patterns): Convert from commented-out peephole patterns.
15422
15423 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15424
15425         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
15426         to BUILT_IN_INIT_DWARF_REG_SIZES.
15427         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
15428         Renamed from BUILT_IN_DWARF_REG_SIZE; call
15429         expand_builtin_init_dwarf_reg_sizes.
15430         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
15431         with __builtin_init_dwarf_reg_size_table.
15432         * dwarf2out.c (struct reg_size_range): Delete.
15433         (expand_builtin_init_dwarf_reg_sizes): New function.
15434         (expand_builtin_dwarf_reg_size): Delete.
15435         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
15436         (expand_builtin_dwarf_reg_size): Don't declare.
15437         * libgcc2.c (dwarf_reg_size_table_initialized): New.
15438         (dwarf_reg_size_table): New.
15439         (init_reg_size_table): New function.
15440         (copy_reg): Use dwarf_reg_size_table.
15441         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
15442         before use.
15443
15444 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
15445
15446         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
15447         Correctly build argument list to constructor and destructor functions.
15448
15449 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
15450
15451         * c-tree.h (warn_float_equal): Declare.
15452         * c-decl.c (warn_float_equal): Define.
15453         (c_decode_option): Recognize -W[no-]float-equal.
15454         * c-typeck.c (build_binary_op): Conditionally warn
15455         about equality tests of floating point types.
15456         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
15457         * invoke.texi: Add docs for -Wfloat-equal warning.
15458
15459 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
15460
15461         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
15462         generating RTL directly.
15463         * mips.h (INIT_TARGET_OPTABS): Likewise.
15464         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
15465
15466         * expr.h (init_mov_optab): Delete declaration
15467
15468         * h8300.c (WORD_REG_USED): Update to avoid useless register
15469         saves in interrupt functions and functions which never return.
15470
15471         * cse.c (struct set): Delete inner_dest_loc field.
15472         (cse_insn): Remove assignments to inner_dest_loc field.
15473
15474 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
15475
15476         * ggc-page.c: Don't include <unistd.h> etc taken care of
15477         by "system.h".  Include <sys/mman.h> afterward.
15478
15479 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
15480
15481         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
15482         ggc_alloc_string.
15483
15484 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
15485
15486         * xcoffout.c (xcoffout_declare_function): Add documentation.
15487         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
15488         TARGET_64BIT.  Compare constant to -1, not bit pattern.
15489         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
15490         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
15491         gen_movsi typos.
15492
15493 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
15494
15495         * dwarf2out.c (add_abstract_origin_attribute): Abort if
15496         origin_die is NULL.
15497         (gen_inlined_enumeration_type_die): Do not abort if the type has
15498         not been writeen out.
15499         (gen_inlined_structure_type_die): Do not abort if the type has
15500         not been writeen out.
15501         (gen_inlined_union_type_die): Do not abort if the type has
15502         not been writeen out.
15503         (gen_tagged_type_instantiation_die): Do not abort if the type
15504         has not been written out.
15505
15506 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15507
15508         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
15509         call it.
15510         * reg-stack.c (straighten_stack): Copy hard reg set with
15511         COPY_HARD_REG_SET.
15512
15513 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
15514
15515         * builtins.c (stabilize_va_list): Stabilize array type va_list
15516         to a pointer type, not the base record type.
15517         (expand_builtin_va_copy): Dereference the pointers explicitly;
15518         use the correct size for the copy.
15519
15520         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
15521         (rs6000_va_arg): Likewise.
15522
15523 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
15524
15525         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
15526
15527 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
15528
15529         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
15530         field.
15531         (DECL_BUILT_IN_CLASS): Adjust accordingly.
15532
15533 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
15534
15535         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
15536         (init_ggc): Use it instead of a constant.
15537         (ggc_collect): Bound allocated_last_gc by it.
15538
15539 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
15540
15541         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
15542         with va_list.
15543
15544 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
15545
15546         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
15547         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
15548         * configure:  Regen.
15549         * config/mips/openbsd.h:  New, OpenBSD little endian target.
15550         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
15551         * config/mips/xm-openbsd.h:  New, OpenBSD host.
15552
15553 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
15554
15555         * config/m68k/m68k.c (output_function_prologue,
15556         output_function_epilogue): Use
15557         current_function_uses_pic_offset_table instead of regs_ever_live
15558         to decide whether to save/restore pic register.
15559         (legitimize_pic_address): Don't modify regs_ever_live any more.
15560
15561 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
15562
15563         * function.h (struct function): Add x_dont_save_pending_sizes_p.
15564         * stor-layout.c (variable_size): Don't add sizes to the pending
15565         sizes list if x_dont_save_pending_sizes_p is set.
15566
15567 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
15568
15569         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
15570         for symbolic_operand().
15571         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
15572
15573 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15574
15575         * combine.c (gen_rtx_combine): Add missing call to va_end().
15576
15577         * final.c (asm_fprintf): Likewise.
15578
15579         * genattrtab.c (attr_rtx): Likewise.
15580
15581 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
15582
15583         * cse.c: Update comments.
15584         (cse_insn): When converting a conditional/computed jump into
15585         an unconditional jump, always make sure a BARRIER immediately
15586         follows the converted jump.  Do not delete unreachable code.
15587         (cse_basic_block): Do not delete unreachable code.
15588         * toplev.c (rest_of_compilation): Move call to
15589         delete_trivially_dead_insns after the conditional call to
15590         jump_optimize.
15591
15592 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15593
15594         * collect2.c (make_temp_file): Don't prototype.
15595
15596         * gcc.c (make_temp_file): Likewise.
15597
15598         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
15599
15600 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
15601
15602         * varasm.c (asm_emit_uninitialised): New function: Generate
15603         the assembler statements necessary to declare an uninitialised
15604         variable.
15605         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
15606         variable.
15607         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
15608         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
15609         section.
15610         (assemble_variable): Use asm_emit_uninitialised to emit an
15611         uninitialised variable.
15612
15613 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
15614
15615         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
15616         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
15617         <geoffk@cygnus.com>.
15618
15619 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15620
15621         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
15622         * c-common.h (builtin_function): Don't declare.
15623
15624         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
15625         DECL_BUILT_IN.
15626         (pushdecl): Likewise.
15627         (finish_decl): Likewise.
15628         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
15629         int.  All callers changed.
15630         Set the builtin's DECL_BUILT_IN_CLASS.
15631         * tree.h (enum built_in_class): New.
15632         (enum built_in_function): Delete NOT_BUILT_IN.
15633         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
15634         in a union.
15635         (DECL_SET_FUNCTION_CODE): Likewise.
15636         (DECL_BUILT_IN_CLASS): New macro.
15637         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
15638         (struct tree_decl): Split builtin function code field into a
15639         struct.
15640         (builtin_function): Declare.
15641
15642 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
15643
15644         * optabs.c (init_traps): Fix typo in last change.
15645
15646 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
15647
15648         * toplev.c (rest_of_decl_compilation): Update comment.
15649
15650 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
15651
15652         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
15653         in .sbss if appropriate.
15654         (EXTRA_SECTION_FUNCTIONS): Add sbss.
15655         (SBSS_SECTION_ASM_OP): New macro.
15656         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
15657         (EXTRA_SECTIONS): Add in_sbss.
15658         * config/mips/mips.h: Prototype sbss_section.
15659
15660 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
15661
15662         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
15663         to disappear.
15664
15665 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
15666
15667         * optabs.c (init_traps): Register trap_rtx as a GC root.
15668
15669 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15670
15671         * config/mips/mips.c (function_arg_pass_by_reference): Define
15672         unconditionally, since it's called unconditionally.
15673
15674 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
15675
15676         * toplev.c (documented_lang_options): Add -fshort-wchar.
15677         * c-decl.c (c_decode_option): Likewise.
15678         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
15679         for wchar_t.
15680         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
15681         * gcc.c (default_compilers): If -fshort-wchar,
15682         override __WCHAR_TYPE__.
15683         * tm.texi (C Dialect Options): Add -fshort-wchar.
15684
15685         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
15686         symbol for a variable.
15687
15688         * cpplib.h (CPP_PREPROCESSED): New macro.
15689         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
15690         we're seeing this input for a second time.
15691
15692 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
15693
15694         * emit-rtl.c (init_emit_once): Initialize modes first.
15695
15696 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
15697
15698         * config/i386/i386.c (pic_label_name): Change to char pointer.
15699         (global_offset_table): New variable.
15700         (load_pic_register): Fill global_offset_table if it hasn't
15701         already been done.  Allocate pic_label_name dynamically.
15702         * ggc.h (empty_string): New variable.
15703         * ggc-simple.c (empty_string): Likewise.
15704         (init_ggc): Allocate empty_string and add as root.
15705         * stmt.c (digit_strings): New variable.
15706         (init_stmt): Add last_block_end_note as root.  Allocate and
15707         initialize digit_strings.
15708         (expand_asm_operands): Use empty_string instead of string
15709         constant.  Use digit_strings instead of string constants.
15710         * profile.c (init_arc_profiler): Allocate string with
15711         ggc_alloc_string instead of xmalloc.
15712         (output_func_start_profiler): Likewise.
15713         * c-typeck.c (digest_init): Check if init is error_mark_node.
15714
15715 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
15716                           Richard Henderson  <rth@cygnus.com>
15717
15718         * ggc-page.c: New file.
15719         * Makefile.in (ggc-page.o): New.
15720
15721 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
15722
15723         * invoke.texi: Document -fdelete-null-pointer-checks
15724         * toplev.c (flag_delete_null_pointer_checks): New.
15725         (f_options): Add entry for -fdelete-null-pointer-checks.
15726         (rest_of_compilation): Conditionalize null pointer check
15727         elimination on flag_delete_null_pointer_checks.
15728         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
15729
15730 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
15731
15732         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
15733         copyright notice and special exception to GPL.
15734
15735 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15736
15737         * abi64.h (mips_function_value): Add prototype arguments.
15738
15739         * mips-protos.h: New file with mips prototypes.
15740
15741         * mips.c: Include "tm_p.h".
15742         (mktemp, lookup_name): Add prototype arguments.
15743         (extern_list, string_constant, mips_fill_delay_slot,
15744         mips_output_external, mips_output_external_libcall,
15745         mips_output_filename, mips_declare_object, function_prologue,
15746         mips_expand_prologue, function_epilogue, mips16_constant,
15747         build_mips16_function_stub, mips_output_conditional_branch):
15748         Constify a char*.
15749         (mips_va_start): Remove unused variable `u'.
15750         (mips_va_arg): Cast value to unsigned when comparing against one.
15751         (trace): Delete.
15752         (save_restore_insns, mips_expand_prologue): Add missing arg in
15753         call to `large_int'.
15754
15755         * mips.h: Move prototypes to mips-protos.h.
15756         (data_section, memory_address_p, rdata_section,
15757         readonly_data_section, simple_epilogue_p, text_section): Delete
15758         prototypes delcared elsewhere.
15759         (mips_epilogue_delay_slots, print_options): Delete unused decls.
15760         (trace): Delete.
15761         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
15762
15763         * mips.md: Delete extra args in call to `mips_move_2words'.
15764
15765         * xm-iris6.h (alloca): Add prototype argument.
15766
15767         * genpeep.c: Include "tm_p.h" in generated output file.
15768
15769 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15770
15771         * basic-block.h (find_edge_index): Change parameters.
15772         * flow.c (verify_edge_list): Pass basic_block parameters to
15773         find_edge_index instead of integers.
15774
15775 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
15776
15777         * combine.c (simplify_comparison): Use an unsigned shift to adjust
15778         the constant.
15779
15780 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
15781
15782         * gcc.1: Fix a formatting error.
15783
15784 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15785
15786         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
15787         i786, mn10200, mn10300, pdp11, v850.
15788
15789 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
15790
15791         * libgcc2.c (num_digits): Add prototype with
15792         __attribute__((const)).
15793         (__terminate): Add prototype.
15794
15795 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
15796
15797         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
15798
15799         * alpha/alpha.c (print_operand): Fix type of `code'.
15800         (alpha_output_filename): Constify.
15801         * alpha/alpha.h: Move all function declarations ...
15802         * alpha/alpha-protos.h: ... here.  New file.
15803         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
15804         (SECTION_FUNCTION_TEMPLATE): Likewise.
15805
15806 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15807
15808         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
15809         * expr.c (expand_expr): Likewise.
15810         (do_jump): Likewise.
15811         (do_store_flag): Pass ccp_store_flag to can_compare_p.
15812         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
15813         accessor macros.
15814         (enum can_compare_purpose): New.
15815         (can_compare_p): Adjust prototype.
15816         (prepare_cmp_insn, prepare_operand): Declare.
15817         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
15818         * optabs.c (cmp_available_p): Deleted.
15819         (expand_abs): Pass ccp_jump to can_compare_p.
15820         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
15821         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
15822         Call can_compare_p rather than cmp_available_p.
15823         (prepare_operand): No longer static.
15824         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
15825         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
15826         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
15827         sequence to use emit_cmp_and_jump_insns.
15828         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
15829
15830 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
15831
15832         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
15833         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
15834         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
15835         (plus (reg) (const_int 0))
15836         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
15837
15838 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
15839
15840         * rs6000.c (expand_block_move): DImode loads and stores require
15841         word-aligned displacements.  Increment address registers with
15842         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
15843
15844 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
15845
15846         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
15847         is no name for the base type, rather than segfault.  If we are
15848         writing out a complex integer type, use DW_ATE_lo_user.
15849
15850         * expr.c (emit_move_insn_1): If we are copying a complex that fits
15851         in one word or less (complex char, complex short, or on 64 bit
15852         systems complex float) to/from a hard register, copy it through
15853         memory instead of dying in gen_{real,imag}part.  If we have a
15854         short complex type, prevent inlining since it allocates stack
15855         memory.
15856
15857         * tree.c (build_complex_type): If we are writing dwarf2 output,
15858         generate a name for complex integer types.
15859
15860 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15861
15862         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
15863         * flow.c (remove_edge): Remove extra whitespace.
15864         (remove_fake_edges): Fix comment.
15865         (add_noreturn_fake_exit_edges): Use the correct name.
15866
15867 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
15868
15869         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
15870         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
15871         (clean): Depend on INTL_CLEAN.
15872         (maintainer-clean): Adjust.
15873
15874 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15875
15876         * configure.in (AC_PREREQ): Bump to 2.13.
15877         (AC_C_STRINGIZE): Call this instead of using a custom macro.
15878
15879         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
15880
15881         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
15882
15883         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
15884
15885         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
15886         (HAVE_STRINGIZE): Define.
15887
15888 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
15889
15890         * c-parse.in: save and restore warn_pointer_arith on __extension__
15891         along with pedantic.
15892         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
15893         Set the type of extension to itype rather than $<itype>1 kludge.
15894         * extend.texi (Alternate Keywords): Adjust documentation.
15895         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
15896
15897 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
15898
15899         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
15900         most assembler templates.
15901
15902         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
15903         FP loads and stores.
15904         (following_call): Always return zero for the PA8000.
15905         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
15906         FP loads and stores.
15907         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
15908
15909         * pa.h (BRANCH_COST): Define.
15910
15911         * pa.md (return, return_internal): Use bve for PA2.0.
15912
15913         * pa.md (fused multiply): Add variants which reduce height for the
15914         fused multiply, but which still generate 2 insns.
15915         (fnegabs): Similarly.
15916
15917         * pa.md (subsi3): Turn into an expander.  Create two anonymous
15918         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
15919         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
15920
15921         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
15922         for TARGET_PA_20.
15923         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
15924         code generation.
15925         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
15926         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
15927
15928         * regclass.c (init_regs): Add "top_of_stack" as a garbage
15929         collection root.
15930
15931         * flow.c (record_active_eh_regions): Terminate loop after finding
15932         the last insn in the last basic block.
15933
15934 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15935
15936         * config/c4x/c4x.md: Delete parallel instruction peepholes.
15937
15938 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15939
15940         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
15941
15942 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15943
15944         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
15945         splitting to not use output template.
15946
15947 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15948
15949         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
15950         * config/c4x/c4x.c (c4x_va_start): New function.
15951
15952 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
15953
15954         * genrecog.c (not_both_true): Handle correctly cases when called for
15955         tests with different positions in the insn.
15956
15957 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15958
15959         * machmode.h (HOST_PTR_PRINTF): Move from here ...
15960
15961         * system.h (HOST_PTR_PRINTF): ... to here.
15962
15963         * mips-tfile.c: Don't include machmode.h.
15964
15965         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
15966         (mips-tfile.o): Don't depend on machmode.h.
15967
15968 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15969
15970         * haifa-sched.c (sched_analyze): Rename local variable `region' to
15971         avoid conflicts with typedef struct `region' at the top level scope.
15972
15973 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
15974
15975         * basic-block.h (basic_block): Add eh_beg, eh_end.
15976         * flow.c (entry_exit_blocks): Update.
15977         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
15978         Call new functions.
15979         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
15980         lists.c functions to allocate insn lists.
15981         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
15982         edge creation ...
15983         (make_eh_edge): ... here.  New.
15984         (move_stray_eh_region_notes): New.
15985         (record_active_eh_regions): New.
15986         (delete_unreachable_blocks): Split out block merging ...
15987         (try_merge_blocks): ... here.  New.
15988         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
15989         Dump debugging data.
15990         (merge_blocks_move_successor_nojumps): Likewise.
15991         (merge_blocks): Use eh_beg+eh_end to validate block movement.
15992
15993 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15994
15995         * extend.texi (Bound member functions): Document unbound pmf
15996         conversion.
15997
15998 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15999
16000         * flow.c (split_edge): Handle insertion on a fallthrough edge which
16001         has the EXIT_BLOCK as a dest.
16002
16003 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16004
16005         * flow.c (remove_edge): New function to remove an edge from the
16006         flow graph.
16007         (remove_fake_successors): New function to remove fake successor edges.
16008         (remove_fake_edges): New function to remove all fake edges from the
16009         flow graph.
16010         (add_fake_exit_edges): New function to add fake edges from all blocks
16011         with no successors to the exit block.
16012         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
16013         prototypes for new functions.
16014
16015 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16016
16017         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
16018         Use Pmode to determine whether to output .dword or .word.
16019
16020 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
16021
16022         * tree.c (built_in_filename): New variable.
16023         (BUILT_IN_FILENAME): New macro.
16024         (init_tree_codes): Allocate built_in_filename.
16025         (make_node): Use built_in_filename instead of string constant.
16026
16027 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
16028
16029         * configure.in: Add fr30 target.
16030         * configure: Regenerate.
16031         * config/fr30: New directory.
16032         * config/fr30/crti.asm: New file.
16033         * config/fr30/fr30.c: New file.
16034         * config/fr30/crtn.asm: New file.
16035         * config/fr30/fr30.h: New file.
16036         * config/fr30/fr30.md: New file.
16037         * config/fr30/lib1funcs.asm: New file.
16038         * config/fr30/t-fr30: New file.
16039         * config/fr30/xm-fr30.h: New file.
16040
16041 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
16042
16043         * flow.c (merge_blocks_move_successor_nojumps): Delete the
16044         BARRIER at the end of the successor, not the BARRIER before
16045         the successor.
16046
16047         * pa.c (pa_add_gc_roots): Fix thinko in last change.
16048
16049 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
16050
16051         * stmt.c (any_pending_cleanups): Don't crash when
16052         current_function->stmt is unset.
16053
16054 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16055
16056         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
16057         other initializations that may use it for relative offsets.
16058
16059 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16060
16061         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
16062         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
16063         * config/i386/sol2dbg.h: Removed.
16064         * config/i386/sol2gas.h: New file, to enable gas work-around.
16065         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
16066         Don't use sol2dbg.h.
16067         * configure: Rebuilt.
16068
16069 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
16070
16071         * invoke.texi (-fthis-is-variable): Remove documentation.
16072
16073 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
16074
16075         * basic-block.h (compute_bb_for_insn): Declare.
16076         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
16077         to use; set size of basic_block_for_insn directly.
16078         (find_basic_blocks): Update.
16079
16080 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16081
16082         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
16083
16084 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16085
16086         * crtstuff.c (ON_EXIT): Delete empty macro definition.
16087         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
16088
16089 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
16090
16091         * c-decl.c (c_decode_option): Extend comment.
16092
16093 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
16094
16095         * toplev.c (progname): Make 'const char *'
16096         (flag_print_mem): Move out of main.
16097         (version_flag): Move out of main.
16098         (filename): Move out of main.
16099         (debug_args): Remove g prefix from options.
16100         (documented_lang_options): Remove cpplib specific options.
16101         (display_help): Add g prefix to debug options.
16102         (check_lang_option): Delete this function.
16103         (decode_d_option): New function: Decode -d... option.
16104         (decode_f_option): New function: Decode -f... option.
16105         (decode_W_option): New function: Decode -W... option.
16106         (decode_g_option): New function: Decode -g... option.
16107         (independent_decode_option): New function: Decode a language
16108         independent command line option.
16109         (main): Invoke lang_decode_option and then
16110         independent_decode_option on each command line option in
16111         turn.
16112
16113 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
16114
16115         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
16116          * fold-const.c (fold_range_test): Do not try to fold the range
16117          test if the rhs or lhs has side effects.
16118
16119         * basic-block.h (compute_flow_dominators): Declare.
16120
16121         * gcse.c (alloc_code_hoist_mem): New function.
16122         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
16123         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
16124         (hoist_code, one_code_hoisting_pass): Likewise.
16125         (gcse_main): If optimizing for size, then hoist expressions
16126         computed in multiple dominated basic blocks.
16127
16128         * gcse.c (invalid_nonnull_info): New function.
16129         (delete_null_pointer_checks): Likewise.
16130         * rtl.h (delete_null_pointer_checks): Declare.
16131         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
16132
16133         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
16134         (merge-blocks_move_successor_nojumps): Likewise.
16135         (merge_blocks): Allow merging of some blocks, even if it requires
16136         physical movement of the blocks, but not if it requires new jumps.
16137
16138         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
16139         Callers and prototype changed.
16140         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
16141
16142 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16143
16144         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
16145         -YP when both -p and -pg are present.  From i386/sol2.h.
16146
16147 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16148
16149         * Makefile.in (distclean): Delete tm_p.h.
16150         * configure.in: Create a new file, "tm_p.h", from a list in
16151         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
16152         "i386/i386-protos.h".
16153
16154         * alias.c: Include "tm_p.h".
16155         * c-typeck.c: Likewise.
16156         * calls.c: Likewise.
16157         * cse.c: Likewise.
16158         * emit-rtl.c: Likewise.
16159         * explow.c: Likewise.
16160         * expmed.c: Likewise.
16161         * expr.c: Likewise.
16162         * final.c: Likewise.
16163         * flow.c: Likewise.
16164         * fold-const.c: Likewise.
16165         * function.c: Likewise.
16166         * gcse.c: Likewise.
16167         * global.c: Likewise.
16168         * haifa-sched.c: Likewise.
16169         * integrate.c: Likewise.
16170         * jump.c: Likewise.
16171         * local-alloc.c: Likewise.
16172         * loop.c: Likewise.
16173         * optabs.c: Likewise.
16174         * recog.c: Likewise.
16175         * reg-stack.c: Likewise.
16176         * regclass.c: Likewise.
16177         * regmove.c: Likewise.
16178         * reload.c: Likewise.
16179         * reload1.c: Likewise.
16180         * reorg.c: Likewise.
16181         * resource.c: Likewise.
16182         * stmt.c: Likewise.
16183         * stor-layout.c: Likewise.
16184         * toplev.c: Likewise.
16185         * tree.c: Likewise.
16186         * unroll.c: Likewise.
16187         * genattrtab.c (main): Make generated file include "tm_p.h".
16188         * genemit.c (main): Likewise.
16189         * genoutput.c (main): Likewise.
16190         * genrecog.c (main): Likewise.
16191
16192         * i386.h: Delete all prototypes.
16193         * i386.c: Include "tm_p.h".
16194         (ix86_attr_length_default): Call constant_call_address_operand
16195         with correct number of arguments.
16196         * i386-protos.h: New file.
16197         * i386.md (unnamed patterns): Call constant_call_address_operand
16198         with correct number of arguments.
16199         (exception_receiver): Call load_pic_register with correct number
16200         of arguments.
16201
16202 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
16203
16204         * c-pragma.c (mark_align_stack): Dereference the void* properly.
16205
16206 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
16207
16208         * rtl.h (insns_safe_to_move_p): New function.
16209         * loop.c (find_and_verify_loops): Use it.
16210         * rtlanal.c (insns_safe_to_move_p): Define it.
16211
16212 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
16213
16214         * c-pragma.c: Include ggc.h.
16215         * Makefile.in (c-pragma.o): Update.
16216
16217 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16218
16219         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
16220         (LIB_SPEC): Likewise.
16221         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
16222         Reindent -YP/-p/-pg.
16223         Copied from config/sparc/sol2.h.
16224
16225 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
16226
16227         * c-pragma.c (mark_align_stack): New.
16228         (init_pragma): New.
16229         * c-pragma.h (init_pragma): Declare it.
16230         * c-lex.c (init_parse): Call it.
16231
16232 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16233
16234         * configure.in: Pick up thread library on Solaris/x86 just
16235         like on Solaris/sparc.
16236         * configure: Rebuilt.
16237
16238 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
16239
16240         * rtl.h (global_rtx_index): New enum.
16241         (global_rtl): Change to array of rtx.
16242         (pc_rtx, cc0_rtx): Redefine accordingly.
16243         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
16244         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
16245         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
16246         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
16247         (const_int_rtx): Change to array of rtx.
16248         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
16249         accordingly.
16250         * emit-rtl.c (global_rtl): Change to array of rtx.
16251         (const_int_rtx): Change to aray of rtx.
16252         (gen_rtx_CONST_INT): Redefine accordingly.
16253         (init_emit_once): Allocate and initialize global_rtl.  Likewise
16254         for const_int_rtx.  Add both as GC roots.
16255         * genattrtab.c (global_rtl): Update declaration.
16256
16257 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
16258
16259         * Makefile (USER_H): Add iso646.h back.
16260
16261 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
16262
16263         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
16264         zapping the LOG_LINKS of sched_before_next_call.
16265
16266         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
16267         * pa.c (insn_refs_are_delayed): Renamed from
16268         insn_sets_and_refs_are_delayed.
16269
16270 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
16271
16272         * functiion.h (struct function): Add x_whole_function_mode_p.
16273         (retrofit_block): Declare.
16274         * function.c (retrofit_block): New function.
16275         (identify_blocks): Add assertions.  Allow an incomplete set of
16276         block notes if we're still generating code for the function.
16277         * integrate.c: Include loop.h.
16278         (expand_inline_function): Call find_loop_tree_blocks to map block
16279         notes to blocks when in whole-function mode.  Use retrofit_block
16280         to insert new BLOCKs for the inlined function, rather than
16281         insert_block.
16282         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
16283         * Makefile.in (integrate.o): Depend on loop.h.
16284
16285 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
16286
16287         * tree.h (warn_about_unused_variables): Declare.
16288         * stmt.c (warn_about_unused_variables): New function, split out
16289         from ...
16290         (expand_end_bindings): Here.
16291
16292 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
16293
16294         * stmt.c (preserve_subexpressions_p): Don't crash when
16295         current_function->stmt is unset.
16296
16297 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
16298
16299         * stmt.c (expand_start_bindings): Allow callers to pass a flag
16300         indicating that no NOTE_INSN_BLOCK_BEG note is required.
16301         (expand_start_target_temps): Use it.
16302         * except.c (expand_eh_region_start_for_decl): Likewise.
16303         * expr.c (expand_expr): Likewise.
16304
16305 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16306
16307         * fold-const.c (operand_equal_p): Pay attention to side effects.
16308
16309 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
16310
16311         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
16312         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
16313
16314         * tlink.c (scan_linker_output): Look for keywords before accepting
16315         a mangled name in quotes.
16316
16317 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
16318
16319         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
16320         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
16321
16322 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
16323
16324         * alpha.md: Revert Thu Nov 26 change that came in through the
16325         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
16326         Avoid earlyclobber when possible.
16327
16328 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16329
16330         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
16331
16332         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
16333         Define HAVE_ON_EXIT.
16334
16335 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16336
16337         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
16338         CTYPE_CONV in all ctype macros.
16339
16340         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
16341         from system.h.
16342
16343         * cexp.y (initialize_random_junk): Likewise.
16344
16345         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
16346
16347         * i370.c (handle_pragma): Likewise.
16348
16349         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
16350
16351         * v850.c (override_options): Likewise.
16352
16353         * doprint.c (_doprnt): Likewise.
16354
16355         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
16356         Likewise.
16357
16358         * fixinc/server.c (load_data): Likewise.
16359
16360         * fold-const.c (real_hex_to_f): Likewise.
16361
16362         * genattr.c (write_upcase, gen_attr): Likewise.
16363
16364         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
16365         write_upcase): Likewise.
16366
16367         * genemit.c (print_code): Likewise.
16368
16369         * genopinit.c (gen_insn): Likewise.
16370
16371         * genpeep.c (print_code): Likewise.
16372
16373         * genrecog.c (print_code): Likewise.
16374
16375         * optabs.c (init_libfuncs): Likewise.
16376
16377 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
16378
16379         * haifa-sched.c (sched_analyze): Keep the list of notes organized
16380         in pairs.
16381         (reemit_notes): Likewise.
16382
16383 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
16384
16385         * ggc.h (ggc_root): Move to ggc-common.c.
16386         (roots): Remove.
16387         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
16388         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
16389         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
16390         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
16391         * ggc-common.c (ggc_root): Move from ggc.h.
16392         (roots): Declare, static.
16393         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
16394         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
16395         null or check/set mark bit.
16396         (ggc_mark_roots): New.
16397         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
16398
16399 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
16400
16401         * m32r.c: Include toplev.h.
16402         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
16403         (gen_compare): Rename swap_p to must_swap to match uses.
16404         Add default abort case.
16405         (m32r_output_function_epilogue): Remove unused variables.
16406         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
16407         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
16408         define to empty parameter list.  Update all uses.
16409         (predicate decls): Use enum machine_mode not int.
16410         * m32r.md (movsi): Call abort, not fatal_insn.
16411         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
16412
16413 1999-09-14  Andrew Haley  <aph@cygnus.com>
16414
16415         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
16416         use $0 instead of 0.
16417
16418 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16419
16420         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
16421         computation out of loop over hard regs.
16422
16423 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
16424
16425         * function.c (identify_blocks): Don't shadow a variable in an
16426         outer scope.
16427         * integrate.c (integrate_decl_tree): Don't use pushlevel,
16428         pushdecl, or poplevel to build up the new BLOCK tree.
16429         (expand_inline_function): Likewise.
16430         (integrate_parm_decls): Likewise.
16431
16432 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
16433
16434         * c-typeck.c (qualify_type): Merge qualifiers from both types.
16435
16436 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
16437
16438         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
16439         * invoke.texi: Document this change.
16440
16441 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
16442
16443         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
16444         Free the struct.
16445         (mark_emit_status): Renamed from mark_emit_state.
16446         * except.c (mark_eh_status): Renamed from mark_eh_state.
16447         Check not null before marking.
16448         (free_eh_status): New.
16449         * expr.c (mark_expr_status, free_expr_status): New.
16450         * function.c (free_machine_status): New.
16451         (free_after_parsing): New.
16452         (free_after_compilation): Move bits to free_after_parsing; call
16453         free_eh_status, free_expr_status; zero the marked members of the
16454         function state.
16455         (prepare_function_start): No can_garbage_collect.
16456         Call init_eh_for_function.
16457         (expand_dummy_function_end): Free up current_function state.
16458         (mark_function_status): Renamed from mark_function_state.
16459         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
16460         * function.h (struct function): No can_garbage_collect.
16461         (free_machine_status, free_after_parsing): Declare.
16462         (free_eh_status, free_expr_status): Declare.
16463         * ggc.h (mark_expr_status): Declare.
16464         * stmt.c (free_stmt_status): Free the struct.
16465         (mark_stmt_status): Renamed from mark_stmt_state.
16466         (init_stmt): Don't call init_eh.
16467         (init_stmt_for_function): Don't call init_eh_for_function.
16468         * toplev.c (compile_file): Call init_eh.
16469         (rest_of_compilation): Free basic block info before ggc_collect.
16470         Call free_after_parsing; conditionally call free_after_compilation.
16471         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
16472         Check not null before marking.
16473         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
16474
16475 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
16476
16477         * c-lex.c (yylex): Initialize warn.
16478
16479 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
16480
16481         * pa.c (emit_move_sequence): Properly set the mode of the scratch
16482         register when performing secondary reloads for the SAR register.
16483
16484 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
16485
16486         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
16487         (NOTE_BLOCK): New macro.
16488         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
16489         * function.h (identify_blocks): Change prototype.
16490         * function.c (identify_blocks): Simplify.
16491         (reorder_blocks): Likewise.
16492         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
16493         NOTE_INSN_BLOCK_{BEG,END}.
16494         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
16495         the list of saved notes if the note isn't a
16496         NOTE_INSN_BLOCK_{BEG,END}.
16497         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
16498         NOTE_BLOCK_NUMBER.
16499         (reemit_notes): Adjust recreation of notes to reflect new saved
16500         note structure.
16501         * print-rtl.c (print_rtx): Print the address of the BLOCK when
16502         printing a block note.
16503         * stmt.c (block_vector): Remove.
16504         (find_loop_tree_blocks): Simplify.
16505         (unroll_block_trees): Likewise.
16506         * tree.h (reorder_block): Change prototype.
16507
16508 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
16509
16510         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
16511         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
16512         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
16513         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
16514         (atexit, exit): Simplify.
16515         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
16516         * config/lots: Remove defns of HAVE_ATEXIT.
16517
16518 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
16519
16520         * calls.c (precompute_arguments): Fix typo in comment.
16521         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
16522         TARGET_EXPR.
16523
16524 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
16525
16526         * dsp16xx.c (override_options): Fix typos in GC root registration.
16527
16528 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
16529
16530         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
16531         from config/svr4.h.
16532         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
16533         (FUNCTION_PROFILER): Redefine appropriately for Linux.
16534         (CC1_SPEC): Likewise.
16535
16536 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16537
16538         * genattr.c (main): Add extern prototype.  Call return, not exit.
16539         * genattrtab.c (main): Likewise.
16540         * gencheck.c (main): Likewise.
16541         * gencodes.c (main): Likewise.
16542         * genconfig.c (main): Likewise.
16543         * genemit.c (main): Likewise.
16544         * genextract.c (main): Likewise.
16545         * genflags.c (main): Likewise.
16546         * gengenrtl.c (main): Likewise.
16547         * genopinit.c (main): Likewise.
16548         * genoutput.c (main): Likewise.
16549         * genpeep.c (main): Likewise.
16550         * genrecog.c (main): Likewise.
16551
16552         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
16553         * genattrtab.c (get_insn_name): Likewise.
16554         * gencodes.c (get_insn_name): Likewise.
16555         * genconfig.c (get_insn_name): Likewise.
16556         * genemit.c (get_insn_name): Likewise.
16557         * genextract.c (get_insn_name): Likewise.
16558         * genflags.c (get_insn_name): Likewise.
16559         * genopinit.c (get_insn_name): Likewise.
16560         * genpeep.c (get_insn_name): Likewise.
16561
16562         * gencheck.c (usage): Add static prototype.
16563         * genextract.c (print_path): Constify a char*.
16564         * genopinit.c (optabs): Likewise.
16565         * genoutput.c (operand_data, data, output_predicate_decls,
16566         compare_operands): Likewise.
16567         * genrecog.c (write_tree): Add default case in switch.
16568
16569 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16570
16571         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
16572
16573         * print-rtl.c (get_insn_name): Remove prototype.
16574
16575         * toplev.h (progname): Declare const.
16576
16577         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
16578         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
16579         dump_sched_info, dump_local_alloc, regset_release_memory,
16580         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
16581         error_with_file_and_line, error_with_decl, error_for_asm, error,
16582         fatal, warning_with_file_and_line, warning_with_decl, warning,
16583         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
16584         Remove redundant prototypes.
16585
16586         (notice, check_lang_option, report_file_and_line, vnotice,
16587         mark_file_stack): Add static prototype.
16588         (set_fatal_function): Add prototype.
16589         (vnotice, report_file_and_line, set_fatal_function,
16590         check_lang_option): Constify a char*.
16591         (main): Prototype.  Call return, not exit.
16592
16593 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16594
16595         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
16596
16597         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
16598
16599         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
16600
16601         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
16602
16603 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16604
16605         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
16606         behave as if it's zero in all cases.
16607         (expand_function_start): Adjust call to assign_parms.
16608         * tree.h (assign_parms): Adjust prototype.
16609         * objc/objc-act.c (hack_method_prototype): Adjust call to
16610         assign_parms.
16611
16612 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
16613
16614         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
16615         arg_pointer_rtx fixed if the argument pointer register is
16616         not fixed.
16617         (NONZERO_BASE_PLUS_P): Likewise.
16618
16619 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
16620
16621         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
16622         match_insn2 to match_insn.
16623         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
16624
16625 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
16626
16627         * Makefile.in (USER_H): Remove va-foo.h.
16628
16629         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
16630         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
16631         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
16632         va-spur.h,va-v850.h}: Remove.
16633
16634 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
16635
16636         * sparc/sparc.md (eligible_for_return_delay): New attribute.
16637         (in_return_delay): Use it instead of match_insn.
16638
16639 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16640
16641         * config/alpha/va_list.h (va-alpha.h): Do not include.
16642         (__gnuc_va_list): Typedef as in varargs.h.
16643
16644 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
16645
16646         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
16647         DECL_LIVE_RANGE_RTL.
16648
16649 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
16650
16651         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
16652         not NOTE_BLOCK_NUMBER.
16653         (expand_eh_region_end): Likewise.
16654         (find_exception_handler_labels): Likewise.
16655         (scan_region): Likewise.
16656         (exception_optimize): Likewise.
16657         (update_rethrow_references): Likewise.
16658         (set_insn_eh_region): Likewise.
16659         * final.c (final_scan_insn): Likewise.
16660         * flow.c (make_edges): Likewise.
16661         * integrate.c (expand_inline_function): Likewise.
16662         * print-rtl.c (print_rtx): Likewise.
16663
16664 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
16665
16666         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
16667         terms of builtin functions and types.
16668
16669         * mips.c (mips_build_va_list): New.
16670         (mips_va_start, mips_va_arg): New.
16671         * mips.h (BUILD_VA_LIST_TYPE): New.
16672         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16673
16674         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
16675         (sh_build_va_list, sh_va_start, sh_va_arg): New.
16676         * sh.h (BUILD_VA_LIST_TYPE): New.
16677         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16678
16679 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
16680
16681         * recog.h (struct recog_data): Make dup_num, operand_address_p,
16682         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
16683         (struct insn_data): Likewise with n_operands, n_dups,
16684         n_alternatives, output_format.
16685         * regclass.c (scan_one_insn): Cast n_operands to int before
16686         arithmetic inside comparison.
16687
16688 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
16689
16690         * toplev.c (compile_function): Unconditionally emit nop.
16691
16692 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16693
16694         * haifa-sched.c (actual_hazard): Move declaration of variable
16695         `this_cost' into the scope where it is used.
16696
16697 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16698
16699         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
16700         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
16701         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
16702
16703         * genrecog.c (make_insn_sequence): Call memset, not bzero.
16704
16705         * jump.c (find_insert_position): Don't declare or define unless
16706         !HAVE_conditional_arithmetic.
16707         (returnjump_p_1, delete_prior_computation): Add static prototypes.
16708
16709         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
16710
16711         * recog.c (offsettable_address_p): Prototype function pointer.
16712         (preprocess_constraints): Call memset, not bzero.
16713
16714         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
16715         (gcc_obstack_init): Don't declare.
16716         (fix_sizetype): Add static prototype.
16717         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
16718         (tree_cons): Call memset, not bzero.
16719
16720         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
16721         definition in macro ASM_WEAKEN_LABEL.
16722         (mark_const_hash_entry): Add static prototype.
16723
16724 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16725
16726         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
16727
16728         * unroll.c (find_common_reg_term, subtract_reg_term,
16729         loop_find_equiv_value): Add static prototypes.
16730         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
16731         (copy_loop_body): Remove unreachable break statement.
16732
16733         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
16734
16735         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
16736
16737 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16738
16739         Undo some changes from the gcc2 merge:
16740         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
16741         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
16742         pointers.
16743
16744         Undo this change:
16745         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
16746         * emit-rtl.c (gen_lowpart_common): Disable optimization of
16747         initialized float-int union if the value is a NaN.
16748
16749 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16750
16751         * gthr-win32.h: New file.
16752
16753         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
16754         shared as a valid attribute.
16755         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
16756         * extend.texi: Document `shared' variable attribute.
16757
16758 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
16759
16760         * configure.in: Handle --enable-threads on FreeBSD.
16761         * configure: Rebuit.
16762
16763 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
16764
16765         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
16766         thread support.
16767         * configure: Rebuilt.
16768
16769 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
16770                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
16771                           Rosimildo DaSilva <rdasilva@connecttel.com>
16772
16773         * configure.in (m68k-*-rtemscoff*): Added.
16774         * configure.in (mips64orion-*-rtems*): Converted to ELF.
16775         * configure.in (sparc-*-rtemsaout*): Added as alias for old
16776         sparc-rtems configuration.
16777         * configure.in (sparc-*-rtemself*): Added.
16778         * configure.in (sparc-*-rtems*): Now ELF not a.out.
16779         * config/i386/rtems.h: Added comment.
16780         * config/sparc/rtemself.h: New file.
16781
16782         * configure.in (m68k-rtemself): Added.
16783         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
16784         and DWARF_DEBUGGING_INFO.
16785         * config/m68k/crti.s: New file.
16786         * config/m68k/crtn.s: New file.
16787         * config/m68k/t-crtstuff: New file.
16788         * config/m68k/rtemself.h: New file.
16789
16790         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
16791         global ctor/dtor and C++ exception handling.
16792         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
16793         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
16794         ENDFILE_SPEC.
16795         * config/i386/t-rtems-i386: New File.
16796
16797 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
16798
16799         * stmt.c (expand_end_case): Return right away if the case stack is
16800         empty.
16801
16802 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
16803
16804         * Makefile.in (version.c): Remove rule incorrectly brought in from
16805         the gcc2 merge.
16806
16807 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
16808
16809         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
16810         * msdos/top.sed:  Take into account a prepended $(SHELL) to
16811         move-if-change.
16812         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
16813
16814         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
16815
16816 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16817
16818         * regmove.c (fixup_match_1): Don't change an unchanging register.
16819         (stable_but_for_p): Renamed to:
16820         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
16821         Changed all callers.
16822
16823 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
16824
16825         * loop.c (strength_reduce): Don't call reg_used_between_p if the
16826         insn from BL2 is after the insn from BL.
16827
16828 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
16829
16830         * recog.h (INSN_OUTPUT_FORMAT_*): New.
16831         (struct insn_data): Merge `template' and `outfun' into `output'.
16832         Add `output_format'.
16833         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
16834         (struct data): Remove `outfun'; add `output_format'.
16835         (name_for_index): Remove declaration.
16836         (output_insn_data): Handle output formats.
16837         (process_template): Emit the bare array for @.
16838         (gen_expand, gen_split): Set output_format to NONE.
16839         * output.h (get_insn_template): Declare.
16840         * final.c (get_insn_template): New.
16841         (final_scan_insn): Use it.
16842         * toplev.c (compile_file): Likewise.
16843
16844         * c4x/c4x.c (c4x_process_after_reload): Likewise.
16845         * i860/i860.c (output_delayed_branch): Likewise.
16846         (output_delay_insn): Likewise.
16847
16848 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16849
16850         * rtl.c (obstack_alloc_rtx): Removed.
16851
16852 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
16853
16854         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
16855
16856 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
16857
16858         * i386.c (call_insn_operand): Reject const_int.
16859         (expander_call_insn_operand): Use call_insn_operand.
16860
16861 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16862
16863         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
16864
16865 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
16866
16867         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
16868         Use DImode operation.
16869
16870 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
16871
16872         * gcc.c: Include sys/resource.h.
16873         (report_times): New flag.
16874         (execute):  If report_times is set, calculate and report the
16875         CPU time consumed by each subprocess.
16876
16877         (rus, prus): New globals.
16878         (option_map): Add --time.
16879         (display_help): Document -time.
16880         (process_command): Set report_times if -time is given.
16881         Turn off -pipe if -time is given.
16882
16883         * invoke.texi: Document new option -time.
16884
16885         * configure.in: Check for getrusage.  Check if we have to
16886         prototype getrusage.
16887         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
16888         * configure: Regenerate.
16889         * config.in: Regenerate.
16890
16891 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
16892
16893         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
16894         fields.
16895
16896 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
16897
16898         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
16899         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
16900         (nan): Return _thenan_sf or _thenan_df as appropriate.
16901         (L_thenan_sf): Define _thenan_sf.
16902         (L_thenan_df): Define _thenan_df.
16903
16904         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
16905         (DPBIT_FUNCS): Add _thenan_df.
16906
16907 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
16908
16909         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
16910         TYPE_SIZE_UNIT.
16911
16912 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16913
16914         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
16915
16916         * gcc.h: New file.
16917         (lang_specific_driver): Don't take a function pointer parameter.
16918         All callers changed.
16919
16920         * gcc.c: Include gcc.h.
16921         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
16922         lang_specific_extra_outfiles, fatal): Don't declare.
16923         (multilib_defaults_raw): Constify.
16924         (read_specs): Call memset, rather than bzero.
16925         (main): Call return, not exit.
16926         (lookup_compiler): Call memcpy, not bcopy.
16927         (fatal): Make extern.
16928
16929         * cppspec.c: Include gcc.h.
16930         (lang_specific_driver): Initialize variable `quote'.  Constify a
16931         char*.  All calls to the function pointer parameter now
16932         explicitly call `fatal'.
16933
16934         * gccspec.c (lang_specific_driver): Include gcc.h.
16935
16936 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
16937
16938         * arm.c (note_invalid_constants): Use recog_data.operand_type
16939         for recog_op_type.
16940
16941 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16942
16943         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
16944         Declare.
16945
16946         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
16947         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16948         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16949         reload_secondary_in_reload, reload_secondary_out_reload,
16950         reload_secondary_in_icode, reload_secondary_out_icode,
16951         reload_reg_rtx, reload_when_needed): Delete declarations.
16952         (struct reload): New structure.
16953         (rld): Declare new array.
16954         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
16955         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16956         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16957         reload_secondary_in_reload, reload_secondary_out_reload,
16958         reload_secondary_in_icode, reload_secondary_out_icode,
16959         reload_reg_rtx, reload_when_needed): Delete definitions.
16960         (rld): New array.
16961         (whole file): Replace uses of the deleted arrays with uses of rld.
16962         * reload1.c (whole file): Replace uses of the deleted arrays with
16963         uses of rld.
16964         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
16965         explicit loops, not with bcopy.
16966
16967 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
16968
16969         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
16970         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
16971         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
16972         insn_name): Delete and consolidate into new structures.
16973         (insn_operand_predicate_fn): New.
16974         (insn_output_fn): New.
16975         (insn_gen_fn): New.
16976         (struct insn_operand_data): New.
16977         (struct insn_data): New.
16978         (insn_data): New.
16979         (OUT_FCN): Update for insn_data change.
16980         * builtins.c (expand_builtin_strlen): Likewise.
16981         (expand_builtin_memcmp): Likewise.
16982         * combine.c (make_extraction, simplify_comparison): Likewise.
16983         * cse.c (canon_reg, cse_insn): Likewise.
16984         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
16985         * expmed.c (store_bit_field, extract_bit_field): Likewise.
16986         (emit_store_flag): Likewise.
16987         * expr.c (convert_move, emit_block_move): Likewise.
16988         (clear_storage, emit_push_insn, expand_increment): Likewise.
16989         (do_store_flag): Likewise.
16990         * expr.h (GEN_FCN): Likewise.
16991         (insn_gen_function): Die.
16992         * final.c (final_scan_insn): Update for insn_data change.
16993         (output_asm_name): Likewise.
16994         * function.c (fixup_var_refs_1): Likewise.
16995         * loop.c (check_dbra_loop): Likewise.
16996         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
16997         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
16998         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
16999         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
17000         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
17001         * regmove.c (gen_add3_insn): Likewise.
17002         * reload.c (push_secondary_reload, combine_reloads): Likewise.
17003         (find_reloads, find_reloads_address_1): Likewise.
17004         (debug_reload_to_stream): Likewise.
17005         * reload1.c (emit_reload_insns, gen_reload): Likewise.
17006         * stmt.c (expand_end_case): Likewise.
17007         * toplev.c (compile_file): Likewise.
17008
17009         * c4x/c4x.c (c4x_process_after_reload): Likewise.
17010         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
17011
17012         * print-rtl.c (insn_name_ptr): Remove declaration.
17013         (get_insn_name): Declare.
17014         (print_rtx): Use it.
17015         * genoutput.c (insn_name_ptr): Remove.
17016         (next_operand_number): New.
17017         (struct operand_data): New.
17018         (null_operand, odata, odata_end): New.
17019         (struct data): Use struct operand_data.
17020         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
17021         (get_insn_name): Renamed from name_for_index.
17022         (output_prologue): Define NO_MD_PROTOTYPES.
17023         (output_predicate_decls): Break out from output_epilogue.
17024         Iterate over the operands list.
17025         (output_operand_data): Break out from output_epilogue.  Emit
17026         just the operands list.
17027         (output_insn_data): Break out from output_epilogue.  Emit just
17028         the insn data.
17029         (output_epilogue): Remove.
17030         (output_get_insn_name): New.
17031         (constraints, op_n_alternatives, predicates, address_p): Die.
17032         (modes, strict_low, seen): Die.
17033         (scan_operands): Take new param `d' instead of writing to
17034         seven global variables.
17035         (compare_operands): New.
17036         (place_operands): New.
17037         (validate_insn_alternatives): Update for struct data change.
17038         (gen_insn): Don't zero or copy 7 global arrays.  Update for
17039         scan_operands; call place_operands.
17040         (gen_peephole, gen_expand, gen_split): Likewise.
17041         (main): Update for new output routines.
17042
17043         * genattr.c (insn_name_ptr): Remove.
17044         (get_insn_name): New function.
17045         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
17046         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
17047         * genrecog.c: Likewise.
17048
17049         * alpha.md (adddi3): Make `pattern' array static.
17050
17051 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17052
17053         * config/c4x/c4x.h (c4x_rpts_cycles_string,
17054         c4x_cpu_version_string): Constify char *.
17055         * config/c4x/c4x.c (c4x_rpts_cycles_string,
17056         c4x_cpu_version_string): Likewise.
17057
17058 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
17059
17060         * tree.c (save_tree_status): Revert 10 Sep change.
17061         (restore_tree_status): Likewise.  Call obstack_free with NULL
17062         before freeing the obstack proper.
17063
17064 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
17065
17066         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
17067
17068         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
17069         surrounding context.
17070
17071 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
17072
17073         * tree.c (type_hash_canon): Put all types in the hash-table, when
17074         GC'ing.
17075
17076 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
17077
17078         * recog.h (struct recog_data, recog_data): New.
17079         (recog_foo variables): Kill.
17080         * recog.c (recog_operand, recog_operand_loc): Kill.
17081         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
17082         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
17083         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
17084         (recog_data): Define.
17085         (extract_insn): Update all recog_foo references to use recog_data.
17086         (preprocess_constraints, constrain_operands): Likewise.
17087         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
17088         * genattrtab.c (main): Likewise.
17089         * genextract.c (main): Likewise.
17090         * genoutput.c: Likewise.
17091         * genrecog.c (write_subroutine, main): Likewise.
17092         * local-alloc.c (block_alloc): Likewise.
17093         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
17094         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
17095         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
17096         * reload.c (find_reloads, find_reloads_toplev): Likewise.
17097         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
17098         (reload_cse_simplify_operands): Likewise.
17099
17100         * arc/arc.c (arc_final_prescan_insn): Likewise.
17101         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
17102         * h8300/h8300.c (notice_update_cc): Likewise.
17103         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
17104         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
17105         * mn10200/mn10200.c (notice_update_cc): Likewise.
17106         * mn10300/mn10300.c (notice_update_cc): Likewise.
17107         * romp/romp.c (update_cc): Likewise.
17108         * sparc/sparc.c (check_pic): Likewise.
17109         * v850/v850.c (notice_update_cc): Likewise.
17110
17111         * genemit.c (main): Don't declare recog_operand.
17112
17113 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
17114
17115         * ggc.h (rtvec_def): Forward declare.
17116         (tree_node): Likewise.
17117         (ggc_root): Define.
17118         (roots): Declare.
17119         (ggc_set_mark_rtx): Add prototype.
17120         (ggc_set_mark_rtvec): Likewise.
17121         (ggc_set_mark_tree): Likewise.
17122         * ggc-simple.c (ggc_root): Don't define.
17123         (roots): Don't declare.
17124         (ggc_mark_rtx): Remove.
17125         (ggc_mark_rtvec): Likewise.
17126         (ggc_mark_tree): Likewise.
17127         (ggc_mark_varray): Likewise.
17128         (ggc_mark_tree_hash_table_entry): Likewise.
17129         (ggc_mark_tree_hash_table): Likewise.
17130         (ggc_set_mart_rtx): New function.
17131         (ggc_set_mark_rtvec): Likewise.
17132         (ggc_set_mark_tree): Likewise.
17133         (ggc_add_root): Remove.
17134         (ggc_add_rtx_root): Likewise.
17135         (ggc_remove_tree_root): Likewise.
17136         (ggc_add_string_root): Likewise.
17137         (ggc_add_tree_varray_root): Likewise.
17138         (ggc_add_tree_hash_table_root): Likewise.
17139         (ggc_del_root): Likewise.
17140         (ggc_mark_rtx_ptr): Likewise.
17141         (ggc_mark_tree_ptr): Likewise.
17142         (ggc_mark_string_ptr): Likewise.
17143         (ggc_mark_tree_varray_ptr): Likewise.
17144         (ggc_mark_tree_hash_table_ptr): Likewise.
17145         * ggc-common.c: New file.
17146         * Makefile.in (OBJS): Add ggc-common.o.
17147         (ggc-common.o): List dependencies.
17148
17149 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
17150
17151         * cppalloc.c (xstrdup): Use memcpy.
17152         * cpperror.c (cpp_print_containing_files): Don't use
17153         cpp_notice.
17154         * cpplib.c (conditional_skip): Set temp->lineno.
17155         (do_endif): Make error message less obscure.
17156         (if_directive_name): New function.
17157         (cpp_get_token [case EOF]): Unwind the if stack and generate
17158         error messages for each unterminated conditional in this file.
17159         (parse_string):  Do not behave differently if -traditional.
17160
17161 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
17162
17163         * builtins.c (expand_builtin_va_arg): Cope with an array-type
17164         va_list decomposing to pointer-type.
17165         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
17166         (rs6000_va_arg): Likewise.
17167
17168 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
17169
17170         * except.c (start_dynamic_handler): Compute size using
17171         STACK_SAVEAREA_MODE.
17172
17173 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17174
17175         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
17176         include directory headers.  Don't define strrchr.  Don't provide
17177         my_* replacement functions.  Prefer PTR over `pointer_type'.
17178         Don't prototype system functions.  Don't redefine getopt.
17179
17180         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
17181         safe_read, safe_write, save_pointers, restore_pointers,
17182         is_id_char, in_system_include_dir, directory_specified_p,
17183         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
17184         find_corresponding_lparen, referenced_file_is_newer,
17185         save_def_or_dec, munge_compile_params, gen_aux_info_file,
17186         process_aux_info_file, identify_lineno, check_source,
17187         seek_to_line, forward_to_next_token_char, output_bytes,
17188         output_string, output_up_to, other_variable_style_function,
17189         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
17190         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
17191         find_static_definition, connect_defs_and_decs, add_local_decl,
17192         add_global_decls, needs_to_be_converted, visit_each_hash_node,
17193         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
17194         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
17195         scan_for_missed_items, edit_file, string_list_cons): Add static
17196         prototypes.
17197         (standard_exec_prefix, target_machine, target_version,
17198         default_syscalls_dir, string_list, string_list_cons, find_file,
17199         do_cleaning): Constify a char*.
17200         (safe_read, safe_write): Use PTR, not a char*.
17201         (is_id_char): Take an int, not a char.
17202         (main): Add prototype.  Call return, not exit.
17203
17204 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
17205
17206         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
17207         when comparing types.
17208
17209 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
17210
17211         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
17212         (strength_reduce): Release the varrays from the no-bivs early exit.
17213
17214         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
17215         the loop over the registers.
17216
17217         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
17218         for a new obstack.
17219         (restore_tree_status): Check that instead when freeing the obstack.
17220
17221 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
17222
17223         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
17224         as pointers.
17225
17226 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17227
17228         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
17229         operand size modifiers.
17230
17231 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17232
17233         * c-common.c (c_common_nodes_and_builtins): Don't build
17234         va_list_type_node.
17235         * c-common.h (enum c_tree_index and related accesor macros): Remove
17236         everything now declared in tree.h.
17237         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
17238         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
17239         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
17240         (error_mark_node, void_type_node, char_type_node, integer_type_node,
17241         unsigned_type_node, ptr_type_node, va_list_type_node,
17242         integer_zero_node, null_pointer_node, integer_one_node): Delete.
17243         (init_decl_processing): Call build_common_tree_nodes and
17244         build_common_tree_nodes_2 instead of building their nodes here.
17245         Don't add roots for these nodes.
17246         * stor-layout.c (size_zero_node, size_one_node): Delete.
17247         (set_sizetype): Make a new node for bitsizetype each time.
17248         * tree.c (global_trees): New variable.
17249         (init_obstacks): Add a gc root for it.
17250         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
17251         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
17252         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
17253         (build_common_tree_nodes): New function.
17254         (fix_sizetype): New function.
17255         (build_common_tree_nodes_2): New function.
17256         * tree.h (enum tree_index): New.
17257         (global_trees): Declare.
17258         Add accessor macros for all nodes now moved to global_trees.
17259         Delete their declarations.
17260
17261 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
17262
17263         * c-decl.c (finish_function): When processing a nested function,
17264         push and pop GC context around rest_of_compilation.
17265
17266 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
17267
17268         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
17269         Default ix86_arch to PROCESSOR_I386.
17270         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
17271         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
17272         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
17273         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
17274         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
17275         (EXTRA_SPECS): Remove deleted specs.
17276
17277 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
17278
17279         * function.c (assign_stack_local_1): Allocate from
17280         function->x_frame_offset, not frame_offset.
17281
17282 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
17283
17284         * ggc.h (lang_cleanup_tree): Remove.
17285         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
17286         * ggc-callbacks.c (lang_cleanup_tree): Remove.
17287
17288         * c-decl.c (finish_struct): Use ggc_alloc to allocate
17289         TYPE_LANG_SPECIFIC when garbage collecting.
17290         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
17291         (lang_cleanup_tree): Remove.
17292
17293 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
17294
17295         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
17296         * crtstuff.c: Not here.
17297         * dwarf2out.c: Or here.
17298         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
17299         info.
17300
17301 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
17302
17303         * function.h (free_after_compilation): Remove decl parameter.
17304         (free_varasm_status0: Likewise.
17305         (free_emit_status): Likewise.
17306         (free_stmt_status): Likewise.
17307         (free_after_compilation): Likewise.
17308         (init_lang_status): New variable.
17309         (free_lang_status): Likewise.
17310         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
17311         * function.c (init_lang_status): New variable.
17312         (free_lang_status): Likewise.
17313         (push_function_context_to): Don't set function::decl here.
17314         (free_after_copmilation): Make decl parameter implicit.  Call
17315         free_lang_status if defined.
17316         (prepare_function_start): Call init_lang_status if defined.
17317         (init_function_start): Set function::decl here.
17318         * profile.c (output_func_start_profiler): Don't call pushdecl
17319         until we've actually started the function.
17320         * stmt.c (free_stmt_status): Make decl parameter implicit.
17321         * toplev.c (rest_of_compilation): Don't pass decl to
17322         free_after_compilation.
17323         * varasm.c (free_varasm_status): Likewise.
17324
17325 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17326
17327         * except.c (call_get_eh_context): Add root when allocating static
17328         tree variable.
17329
17330 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
17331
17332         * arm.c: Include "ggc.h".
17333         (arm_add_gc_roots): New function.
17334         (arm_override_options): Call it.
17335         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
17336
17337         * arm.md (define_asm_attributes): Add a pool_range attribute.
17338
17339 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
17340
17341         * extend.texi (Volatiles): New node.
17342
17343 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
17344
17345         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
17346         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
17347         (struct ggc_any): Replace `mark' with `magic_mark'.
17348         (ggc_alloc_string): Use memcpy, not bcopy.
17349         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
17350         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
17351         (ggc_free_any): New.
17352         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
17353         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
17354         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
17355         Use IS_MARKED. Use ggc_free_any.
17356
17357 1999-09-09  Scott Bambrough <scottb@netwinder.org>
17358
17359         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
17360
17361 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
17362
17363         * toplev.c (main): Always init_ggc.
17364
17365 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
17366
17367         * except.c (find_all_handler_type_matches): Free the list if
17368         we found no matches.
17369
17370         * combine.c (SUBST): Break out to a real function do_SUBST.
17371         (SUBST_INT): Likewise.
17372         * gcse.c (free_pre_mem): Free `temp_bitmap'.
17373         (pre_insert): Free `inserted'.
17374         * loop.c (basic_induction_var): Always set `location'.
17375
17376         * function.c (expand_function_end): Add initial_trampoline as a root.
17377         * rtl.h (init_varasm_once): Declare.
17378         * toplev.c (compile_file): Call it.
17379         * ggc-simple.c (ggc_mark_string_ptr): New.
17380         (ggc_add_string_root): New.
17381         (ggc_collect): Disable collection avoidance temporarily.
17382         * ggc.h (ggc_add_string_root): Declare.
17383         * except.c (create_rethrow_ref): Use ggc_alloc_string.
17384         * optabs.c (init_libfuncs): Likewise.
17385         * varasm.c (named_section): Use ggc_alloc_string.
17386         (make_function_rtl): Likewise.
17387         (make_decl_rtl): Likewise.
17388         (assemble_static_space): Likewise.
17389         (assemble_trampoline_template): Likewise.
17390         (output_constant_def): Likewise.
17391         (force_const_mem): Likewise.
17392         (mark_const_hash_entry): New.
17393         (mark_pool_sym_hash_table): New.
17394         (mark_varasm_state): Use it.
17395         (init_varasm_once): New.
17396
17397         * expr.h (init_one_libfunc): Declare.
17398         * optabs.c (init_one_libfunc): New.
17399         (init_optabs): Use it.
17400         * config/gofast.h: Likewise.
17401         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
17402         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
17403
17404 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
17405
17406         * Makefile.in (cppexp.o): Depend on cpphash.h.
17407         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
17408         Include cpphash.h.
17409         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
17410         * cpplib.c (do_define): Generalise to handle poisoned definitions,
17411         redefining poisoned identifiers, etc.
17412         (do_undef): Don't allow poisoned identifiers to be undefined.
17413         (do_pragma): Add #pragma poison.
17414         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
17415
17416         * cccp.c: Add T_POISON node type.
17417         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
17418         poisoned xxx.
17419         (do_define): Generalise to handle poisoned definitions,
17420         redefining poisoned identifiers, etc.
17421         (do_undef): Don't allow poisoned identifiers to be undefined.
17422         (do_pragma): Add #pragma poison.
17423         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
17424
17425         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
17426         * c-pragma.h: Add ps_poison state.  We now always have generic
17427         pragmas.
17428
17429 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
17430
17431         * ggc.h (ggc_alloc): New function.
17432         (ggc_mark): Likewise.
17433         * ggc-simple.c (ggc_any): New structure.
17434         (ggc_status): Add anys.
17435         (n_anys_collected): New variable.
17436         (ggc_alloc): Define.
17437         (ggc_mark): Likewise.
17438         (ggc_collect): Collect the anys.
17439
17440 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17441
17442         * c-decl.c (mark_binding_level): Make static to match prototype.
17443
17444 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
17445
17446         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
17447
17448 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
17449
17450         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
17451         will use into account.  Expand the max width to 5.
17452         * rtl.c: Likewise.
17453
17454 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
17455
17456         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
17457         for the rtx length.
17458
17459 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
17460
17461         * alpha.md (call value patterns): Remove the result predicates.
17462
17463 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
17464
17465         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
17466         last change.
17467
17468 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17469
17470         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
17471         changed from extern char *, to extern PTR.  Also fix typo in
17472         NEED_DECLARATION_REALLOC test.
17473
17474         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
17475
17476 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17477
17478         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
17479         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
17480         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
17481         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
17482
17483         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
17484
17485         * cccp.c (pcfinclude): Likewise.
17486
17487         * global.c (allocno_compare): Likewise.
17488
17489         * haifa-sched.c (rank_for_schedule): Likewise.
17490
17491         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
17492
17493         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
17494
17495         * stupid.c (stupid_reg_compare): Likewise.
17496
17497         * tree.c (_obstack_allocated_p): Likewise.
17498
17499         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
17500
17501 1999-09-08  Bruce Korb  autogen@linuxbox.com
17502
17503         * Makefile.in: Give the hapless gperf user a hint about
17504         why "gperf -F" fails.
17505
17506 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
17507
17508         * lists.c: Include ggc.h.
17509         (zap_lists): New.
17510         (init_EXPR_INSN_LIST_cache): Install it.
17511
17512         * ggc-simple.c (init_ggc): Absorb the old init.
17513         (ggc_push_context): Use xcalloc.
17514         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
17515         (ggc_collect): Add [rvts] tags to the collection stats.
17516
17517 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
17518
17519         * cccp.c (main): Fix handling of -include and -imacros options.
17520
17521 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
17522
17523         * cpplib.c (cpp_push_buffer): Fix order of arguments.
17524
17525 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
17526
17527         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
17528         genrtl.c.
17529
17530 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
17531
17532         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
17533         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
17534         and SET_DEST. Update comment.
17535
17536 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17537
17538         * config/c4x/c4x.c: Include ggc.h.
17539         (c4x_add_gc_roots): New function.
17540         (c4x_override_options): Call c4x_add_gc_roots.
17541
17542 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
17543
17544         * defaults.h (TARGET_ESC): Move ...
17545         * system.h: ... here, where Linas had it in the first place.  Silly me.
17546
17547 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
17548
17549         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
17550         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
17551         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
17552         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
17553         * defaults.h (TARGET_ESC): Add default.
17554
17555 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
17556
17557         * configure.in: add i370-*-openedition, i370-*-mvs and
17558         i370-*-linux targets
17559
17560 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
17561
17562         * dsp16xxx.c: Include ggc.h
17563         (override_options): Mark GC roots.
17564         * mn10200.c: Include ggc.h.
17565         (asm_file_start): Mark GC roots.
17566         * tahoe.c: Include ggc.h.
17567         (extensible_operand): Mark GC roots.
17568
17569 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
17570
17571         * README: Add section discussing status of ELF ABI.
17572         * i370.c: Fix misc spelling mistakes.
17573         (i370_label_scan): Updated notes, exception handling.
17574         (i370_function_prolog): Simplify ELF stack handling.
17575         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
17576         (STACK_GROWS_DOWNWARD): ELF stack grows down.
17577         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
17578         * i370.md: (movdi): Add notes.
17579         (floatsidf2): Use stack not rtca for scratch float area.
17580         (iorsi3): Correct operand constraints.
17581         * x-oe: Restore TAROUTOPTS which are used by pax.
17582
17583 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
17584
17585         * rs6000.c: Include ggc.h.
17586         (rs6000_add_gc_roots): New function.
17587         (override_options): Call it.
17588
17589 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
17590
17591         * alpha.h (alpha_compare): New.
17592         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
17593         * alpha.c: Likewise for the definitions.
17594         (alpha_emit_conditional_branch): Update for alpha_compare.
17595         (alpha_emit_conditional_move): Likewise.
17596         * alpha.md (cmpdf, cmpdi): Likewise.
17597         (setcc patterns): Likewise.  Zero alpha_compare after use.
17598         (sne): Optimize (x != 0) into (0U < x).
17599
17600 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
17601
17602         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
17603         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
17604         (INIT_EXPANDERS): Remove.
17605         * alpha.c: Include ggc.h.
17606         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
17607         (alpha_init_machine_status, alpha_mark_machine_status): New.
17608         (override_options): Install them.
17609         (struct machine_function): Moved to alpha.h.
17610         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
17611         (alpha_init_expanders): Remove.
17612         (alpha_return_addr): Adjust to use current_function->machine.
17613         (alpha_ra_ever_killed): Likewise.
17614         (alpha_expand_epilogue): Likewise.
17615         * alpha.md (eh_epilogue): Likewise.
17616
17617 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
17618                           Melissa O'Neill  <oneill@cs.sfu.ca>
17619                           Geoffrey Keating  <geoffk@cygnus.com>
17620
17621         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
17622         call-used registers (call-saved registers must still be contiguous
17623         and end with r31, of course).
17624
17625 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
17626
17627         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
17628         (self_promoting_type_p): Delete.
17629         (self_promoting_args_p): Move ...
17630         * c-common.c: ... here.
17631         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
17632         (simple_type_promotes_to): New.
17633         * builtins.c (lang_type_promotes_to): New.
17634         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
17635         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
17636         * c-common.h: ... here.
17637         (self_promoting_args_p, simple_type_promotes_to): Declare.
17638         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
17639         (grokdeclarator): Likewise.
17640         * tree.h (lang_type_promotes_to): Declare.
17641
17642 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
17643
17644         Add some machine-dependent GC roots.
17645         * sparc.c: Include ggc.h.
17646         (sparc_add_gc_roots): New function.
17647         (mark_ultrasparc_pipeline_state): Likewise.
17648         (override_options): Call sparc_add_gc_roots.
17649         * pa.c: Include ggc.h.
17650         (pa_add_gc_roots): New function.
17651         (mark_deferred_plabels): Likewise.
17652         (override_options): Call pa_add_gc_roots.
17653         * mips.c: Include ggc.h.
17654         (mips_add_gc_roots): New function.
17655         (override_options): Use it.
17656
17657 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17658
17659         * cpperror.c (cpp_file_line_for_message): Constify a char*.
17660
17661         * cppexp.c (parse_number, parse_charconst, cpp_lex,
17662         cpp_parse_expr): Add static prototypes.
17663         (parse_charconst): Don't cast away const-ness.
17664         (token): Constify a char*.
17665
17666         * cppfiles.c (file_name_list, include_hash, find_include_file,
17667         finclude, initialize_input_buffer): Constify a char*.
17668         (file_cleanup, find_position): Add static prototypes.
17669
17670         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
17671         collect_expansion): Add static prototypes.
17672         (cpp_install, create_definition, monthnames): Constify a char*.
17673
17674         * cpphash.h (cpp_install): Likewise.
17675
17676         * cppinit.c (known_suffixes, default_include,
17677         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
17678         (base_name, dump_special_to_buffer, initialize_dependency_output):
17679         Add static prototypes.
17680
17681         * cpplib.c (my_strerror): Constify a char*.
17682         (null_underflow, null_cleanup, skip_comment, copy_comment,
17683         copy_rest_of_line, handle_directive, pass_thru_directive,
17684         get_directive_token, read_line_number, cpp_print_file_and_line,
17685         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
17686         v_cpp_warning_with_line, detect_if_not_defined,
17687         consider_directive_while_skipping): Add static prototypes.
17688         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
17689         cpp_pedwarn_with_file_and_line): Constify a char*.
17690
17691         * cpplib.h (cpp_options, include_hash, progname, definition,
17692         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
17693         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
17694         find_include_file, deps_output, include_hash): Constify a char*.
17695
17696         * cppmain.c (progname): Constify.
17697         (main): Add prototype.  Use return, not exit.
17698
17699         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
17700         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
17701         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
17702         check_protection): Add static prototype.
17703         (xfree): Remove.
17704         (progname, recognized_macrom, recognized_extern): Constify a char*.
17705         (main): Add prototype.
17706
17707         * gen-protos.c (progname): Constify a char*.
17708
17709 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
17710
17711         * emit-rtl.c (free_emit_status): Take decl as a parameter.
17712         (init_emit_once): Add more GC roots.
17713         * except.c (mark_func_eh_entry): New function.
17714         (mark_eh_node): Mark false_label and rethrow_label.
17715         (init_eh): Add more GC roots.
17716         * function.c (free_after_compilation): Take decl as a paramter.
17717         Call free_stmt_status.
17718         (mark_function_state): Don't assume x_parm_reg_stack_loc is
17719         non-NULL.
17720         * function.h (free_after_compilation): Change prototype.
17721         (free_varasm_status): Likewise.
17722         (free_emit_status): Likewise.
17723         (free_stmt_status): New function.
17724         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
17725         Remove, replacing with ...
17726         (ggc_status): New structure.
17727         (ggc_chain): New variable.
17728         (init_gcc): Define.
17729         (ggc_push_context): New function.
17730         (ggc_pop_context): Likewise.
17731         (ggc_alloc_rtx): Adjust for use of ggc_chain.
17732         (ggc_alloc_rtvec): Likewise.
17733         (ggc_alloc_tree): Likewise.
17734         (ggc_alloc_string): Likewise.
17735         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
17736         (ggc_mark_tree): Give language-dependent code a chance to mark
17737         `x' nodes.
17738         (ggc_mark_tree_varray): Handle empty arrays.
17739         (ggc_collect): Adjust for use of ggc_chain.  Clear
17740         bytes_alloced_since_last_gc.
17741         * ggc.h (ggc_pop_context): New function.
17742         (ggc_push_context): Likewise.
17743         * print-tree.c (print_node): Don't print obstacks when GC'ing.
17744         * stmt.c (free_stmt_status): New function.
17745         (init_stmt_for_function): Clear last_expr_value.
17746         * toplev.c (rest_of_compilation): Always call free_after_compilation.
17747         Conditionalize call to ggc_collect.
17748         (main): Call init_ggc.
17749         * tree.c (push_obstacks): Do the push, even when GC'ing.
17750         (push_obstacks_nochange): Likewise.
17751         (pop_obstacks): Liekwise.
17752         * varasm.c (free_varasm_status): Take decl as a parameter.
17753
17754 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17755
17756         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
17757         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
17758         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
17759         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
17760
17761 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
17762
17763         * pa/x-pa-mpeix: New file for the MPE port.
17764
17765         * pa/quadlib.asm: New file for long double support.
17766
17767         * configure.in: Add hppa1.0-*-mpeix for MPE port.
17768         * configure: Rebuilt.
17769
17770 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
17771
17772         * final.c (shorten_branches): Fix last change.
17773
17774 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
17775
17776         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
17777
17778 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
17779
17780         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
17781         details.
17782
17783 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17784
17785         * c-aux-info.c (concat): Don't define.
17786
17787         * cccp.c (my_strerror): Likewise.  All callers changed to use
17788         xstrerror instead.
17789         (do_include): Call xstrdup, not xmalloc/strcpy.
17790         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
17791         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
17792
17793         * collect2.c (my_strsignal): Likewise.  All callers changed to use
17794         strsignal instead.
17795         (locatelib): Call xstrdup, not xmalloc/strcpy.
17796
17797         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
17798
17799         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
17800
17801         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
17802
17803         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
17804
17805         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
17806
17807         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
17808
17809         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
17810         malloc/realloc.
17811         (find_all_handler_type_matches): Likewise.  Don't check return
17812         value.
17813         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
17814         xmalloc, not malloc.
17815         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
17816
17817         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
17818         (init_spec): Call xcalloc, not xmalloc/bzero.
17819         (set_spec): Call xstrdup, not save_string.
17820         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
17821         (find_a_file): Call xstrdup, not xmalloc/strcpy.
17822         (process_command): Call xstrdup, not save_string.
17823         (main): Call xcalloc, not xmalloc/bzero.
17824
17825         * gcov.c (xmalloc): Don't define.
17826         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
17827         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
17828         (output_data): Call xcalloc, not xmalloc/bzero.
17829
17830         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
17831
17832         * mips-tdump.c (xmalloc): Don't define.
17833         (print_symbol): Call xmalloc, not malloc.
17834         (read_tfile): Call xcalloc, not calloc.
17835
17836         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
17837         Don't define.  All callers of xfree/my_strsignal changed to use
17838         free/strsignal instead.
17839         (allocate_cluster): Call xcalloc, not calloc.
17840
17841         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
17842         Fix memory leak, free allocated memory.
17843
17844         * prefix.c (translate_name): Call xstrdup, not save_string.
17845         (update_path): Likewise.
17846
17847         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
17848
17849         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
17850         Don't define.  Callers of xfree/savestring2 changed to use
17851         free/concat instead.
17852
17853         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
17854         (init_elim_table): Likewise.
17855
17856         * resource.c (init_resource_info): Likewise.
17857
17858         * stupid.c (stupid_life_analysis): Likewise.
17859
17860         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
17861         (open_dump_file): Call concat, not xmalloc/strcpy/...
17862         (clean_dump_file): Likewise.
17863         (compile_file): Call xstrdup, not xmalloc/strcpy.
17864
17865 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
17866
17867         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
17868         * v850.c (v850_va_arg): New.
17869
17870 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17871
17872         * haifa-sched.c: Tidy comments.
17873
17874 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17875
17876         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
17877         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
17878         $(out_object_file)): Depend on ggc.h.
17879         * c-common.c: Include "ggc.h".
17880         (combine_strings): If doing GC, use ggc_alloc_string.
17881         * c-decl.c: Include "ggc.h".
17882         (ggc_p): Define with value 0.
17883         (mark_binding_level): New function.
17884         (init_decl_processing): Add GC roots.
17885         (mark_c_function_context): New function.
17886         (lang_mark_false_label_stack): New function.
17887         (lang_mark_tree): New function.
17888         (lang_cleanup_tree): New function.
17889         * c-lang.c: Include "ggc.h".
17890         (lang_init): Call c_parse_init.
17891         * c-lex.c: Include "ggc.h".
17892         (check_linenum): If doing GC, don't copy filenames to permanent
17893         obstack.
17894         * c-parse.in: Include "ggc.h".
17895         (c_parse_init): New function.
17896         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
17897         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
17898
17899         * except.c (mark_eh_state): Mark more state.
17900         * function.c (mark_function_state): Likewise.
17901         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
17902         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
17903         * toplev.c (mark_file_stack): New function.
17904         (compile_file): If doing GC, use ggc_alloc_string on input filename.
17905         (main): Add root for input_file_stack.
17906
17907         * i386.c: Include "ggc.h".
17908         (ix86_mark_machine_status): New function.
17909         (override_options): Set mark_machine_status.
17910
17911 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17912
17913         * tree.c (copy_node): Copy node contents also if doing GC.
17914
17915 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
17916
17917         * collect2.c (scan_libraries): Fix double-thinko :-).
17918
17919 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
17920
17921         * collect2.c (scan_libraries): Fix thinko.
17922
17923         * cse.c (delete_trivially_dead_insns): Do not skip the last
17924         insn if it is a real insn.
17925
17926 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
17927
17928         * Makefile.in (ggc-simple.o): Depend on hash.h.
17929         * ggc.h (ggc_add_tree_hash_table_root): Declare.
17930         (ggc_mark_tree_varray): Likewise.
17931         (ggc_mark_tree_hash_table): Likewise.
17932         * ggc-simple.c: Include hash.h.
17933         (ggc_mark_tree_hash_table_ptr): New function.
17934         (ggc_mark_tree_hash_table_entry): Likewise.
17935         (ggc_mark_tree_hash_table): Likewise.
17936         (ggc_add_tree_hash_table_root): Likewise.
17937         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
17938         rtx, when defining fields.
17939
17940 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
17941
17942         * profile.c (output_func_start_profiler): Remove apparently
17943         nonsensical call to start_sequence.
17944
17945 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
17946
17947         * clipper/clipper.c (clipper_va_start): Fix typos.
17948
17949         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
17950         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
17951         (spur_va_arg): New stub.
17952
17953         * configure.in: Comment out pyramid.
17954
17955 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
17956
17957         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
17958         don't conflict with the bits that win32, cygwin, and dgux
17959         defines.
17960
17961 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
17962                           Bernd Schmidt <bernds@cygnus.co.uk>
17963
17964         * integrate.c (function_cannot_inline_p): Do not inline
17965         functions with forced labels.
17966
17967 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
17968                           Bernd Schmidt <bernds@cygnus.co.uk>
17969                           Mark Mitchell  <mark@codesourcery.com>
17970
17971         * Makefile.in (ggc-simple.o): Depend on varray.h.
17972         (rtl.o): Depend on ggc.h.
17973         (genattrtab.o): Depend on ggc.h.
17974         (print-tree.o): Likewise.
17975         (fold-const.o): Likewise.
17976         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
17977         (make_insn_raw): Don't cache insns when GC'ing.
17978         (emit_insn_before): Likewise.
17979         (emit_insn_after): Likewise.
17980         (emit_insn): Likewise.
17981         (start_sequence): Use xmalloc to allocate the sequence_stack.
17982         (end_sequence): Add free to free it.
17983         (gen_sequence): Don't cache insns when GC'ing.
17984         (clear_emit_caches): Don't use sequence_element_free_list.
17985         (init_emit): Use xcalloc, not xmalloc+bzero.
17986         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
17987         * function.c (pop_function_context_from): Use free to free the
17988         fixup_var_refs_queue.
17989         (put_reg_into_stack): Allocate it with xmalloc.
17990         * genattrtab.c: Include ggc.h.
17991         (operate_exp): Don't use obstack_free when GC'ing.
17992         (simplify_cond): Likewise.
17993         (simplify_text_exp): Likewise.
17994         (optimize_attrs): Likewise.
17995         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
17996         GC'ing.
17997         (gencode): Generate a #include for ggc.h.
17998         * ggc-callbacks.c (ggc_p): Define it to zero.
17999         * ggc-none.c (ggc_p): Likewise.
18000         * ggc-simple.c: Include varray.h.
18001         (ggc_mark_tree_varray): New function.
18002         (ggc_add_tree_varray_root): Likewise.
18003         (ggc_mark_tree_varray_ptr): Likewise.
18004         * ggc.h (ggc_p): Declare.
18005         (varray_head_tag): Likewise.
18006         (ggc_add_tree_varray_root): Declare.
18007         * print-tree.c (print_node): Don't check for TREE_PERMANENT
18008         inconsistencies when GC'ing.
18009         * rtl.c: Include ggc.h.
18010         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
18011         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
18012         (rtx_free): Don't call obstack_free when GC'ing.
18013         * toplev.c (rest_of_compilation): Call ggc_collect after every
18014         pass, if GC'ing.
18015         * tree.c (push_obstacks): Do nothing, if GC'ing.
18016         (pop_obstacks_nochange): Likewise.
18017         (pop_obstacks): Likewise.
18018         (make_node): Use ggc_alloc_tree when GC'ing.
18019         (copy_node): Likewise.
18020         (get_identifier): Use ggc_alloc_string when GC'ing.
18021         (build_string): Likewise.
18022         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
18023         (tree_cons): Likewise.
18024         (build1): Likewise.
18025         (type_hash_canon): Don't call obstack_free when GC'ing.
18026
18027 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
18028
18029         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
18030         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
18031
18032 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
18033                           Bernd Schmidt <bernds@cygnus.co.uk>
18034                           Mark Mitchell  <mark@codesourcery.com>
18035
18036         * Makefile.in (stor-layout.o): Depend on ggc.h.
18037         (expr.o): Depend on ggc.h.
18038         (profile.o): Depend on ggc.h.
18039         (stor-layout.o): Depend on ggc.h.
18040         * emit-rtl.c (init_emit_once): Add gc roots.
18041         * expr.c: Include ggc.h.
18042         (emit_block_move): Add gc roots.
18043         (clear_storage): Likewise.
18044         * expr.h (init_stor_layout_once): New function.
18045         * profile.c: Include ggc.h.
18046         (init_arc_profiler): profiler_label is a root.
18047         * scan.c (make_sstring_space): Trust xrealloc to function
18048         correctly with first parameter NULL.
18049         * stor-layout.c: Include ggc.h.
18050         (set_sizetype): Add gc root.
18051         (init_stor_layout_once): New function.
18052         * toplev.c (compile_file): Call it.
18053
18054 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
18055                           Bernd Schmidt <bernds@cygnus.co.uk>
18056                           Mark Mitchell  <mark@codesourcery.com>
18057
18058         * Makefile.in (tree.o): Depend on ggc.h.
18059         (varasm.o): Likewise.
18060         (function.o): Likewise.
18061         (stmt.o): Likewise.
18062         (except.o): Likewise.
18063         (optabs.o): Likewise.
18064         (emit-rtl.o): Likewise.
18065         * emit-rtl.c: Include ggc.h.
18066         (sequence_element_free_list): Remove, and all references.
18067         (mark_sequence): New functions.
18068         (mark_emit_state): New function.
18069         * except.c: Include ggc.h.
18070         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
18071         (mark_tree_label_node): New functions.
18072         (mark_eh_state): New function.
18073         * function.c: Include ggc.h.
18074         (mark_temp_slot, mark_function_chain): New functions.
18075         (mark_function_state): New function.
18076         (init_function_once): New function.
18077         * function.h (init_function_once): New function.
18078         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
18079         * ggc.h (label_node): Declare.
18080         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
18081         (lang_mark_false_label_stack): New function.
18082         (mark_temp_slot): Remove declaration.
18083         (mark_function_chain): Likewise.
18084         (mark_eh_state): Adjust prototype.
18085         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
18086         Likewise.
18087         * optabs.c: Include ggc.h.
18088         (mark_optab): New function.
18089         (init_optabs): Add gc roots.
18090         * stmt.c: Include ggc.h.
18091         (mark_cond_nesting, mark_loop_nesting): New functions.
18092         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
18093         (mark_stmt_state): New function.
18094         * toplev.c (compile_file): Call init_function_once.
18095         * tree.c: Include ggc.h.
18096         (type_hash): Move declaration earlier in file.
18097         (TYPE_HASH_SIZE, type_hash_table): Likewise.
18098         (init_obstacks): Add gc roots.
18099         (mark_type_hash): New function.
18100         * varasm.c: Include ggc.h.
18101         (mark_pool_constant): New function.
18102         (mark_varasm_state): New function.
18103
18104 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18105
18106         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
18107
18108 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
18109
18110         * c-decl.c (struct language_function): Renamed from struct c_function.
18111         Delete elt NEXT.
18112         (c_function_chain): Delete.
18113         (push_c_function_context): New arg F.  Don't warn about nested
18114         functions here.  Fill LANGUAGE elt of F.  Delete code to update
18115         c_function_chain.  Don't call push_function_context.
18116         (pop_c_function_context): New arg F.  Restore from there instead of
18117         from c_function_chain.  Don't call pop_function_context.  Clear out
18118         LANGUAGE field of F when done.
18119         * c-lang.c: Include "function.h"
18120         (lang_init): Initialize save_lang_status and restore_lang_status.
18121         * c-parse.in (nested_function, nested_function_notype): Warn about
18122         nested functions.  Call push_function_context/pop_function_context
18123         instead of the _c_ variants.
18124         * c-tree.h (push_c_function_context, pop_c_function_context): Update
18125         prototype.
18126         * Makefile.in (c-lang.o): Update dependencies.
18127
18128         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
18129         regno_pointer_flag, regno_pointer_align.
18130         (gen_reg_rtx): Use xrealloc to enlarge them.
18131         (free_emit_status): New function.
18132         * function.c (mark_machine_status, mark_lang_status): New variables.
18133         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
18134         in some bits from assign_stack_local.  All callers changed to use new
18135         name.
18136         (assign_stack_local): Just call assign_stack_local_1.
18137         (free_after_compilation): New function.
18138         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
18139         (trampoline_address): Likewise.
18140         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
18141         (prepare_function_start): Explicitly clear some more variables.
18142         * function.h (struct function): New elt can_garbage_collect.
18143         (mark_machine_status, mark_lang_status): Declare variables.
18144         (free_after_compilation, free_emit_status, free_varasm_status,
18145         init_varasm_status): Declare functions.
18146         * toplev.c (rest_of_compilation): Call free_after_compilation when
18147         done with the current function.
18148         * varasm.c (free_varasm_status): New function.
18149
18150 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
18151
18152         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
18153         (EXPAND_BUILTIN_VA_ARG): Define.
18154         * sparc.c (sparc_va_start): New.
18155         (sparc_va_arg): New.
18156
18157 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18158
18159         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
18160
18161 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18162
18163         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
18164
18165 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
18166
18167         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
18168         (OBJS): Add $(GGC).
18169         (ggc-callbacks.o): New target.
18170         * ggc-callbacks.c: New file.
18171
18172 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18173
18174         * expr.h: Collapse individual optab and libfunc vars to arrays.
18175         (optab_index, libfunc_index): New enumerations.
18176         (optab_table, libfunc_table): New arrays.
18177         Add accessor macros for both.
18178
18179         * optabs.c (optab_table, libfunc_table): New.
18180         Delete declarations for individual optab and libfunc vars.
18181
18182 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
18183
18184         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
18185
18186 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
18187
18188         * Makefile.in (GGC, GGC_LIB): New.
18189         (HOST_RTL): Include ggc-none.o.
18190         (ggc-simple.o): New target.
18191         (ggc-none.o): Likewise.
18192         * tree.h (tree_common): Add gc_mark.
18193         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
18194         (struct rtvec_def): Add gc_mark.
18195         * emit-rtl.c (global_rtl): Update static initializers to contain
18196         enough initializers.
18197         * ggc.h, ggc-none.c, ggc-simple.c: New files.
18198         * toplev.c (gc_time): New variable.
18199         (all_time): New variable.
18200         (compile_file): Print gc time.
18201         (print_time): Calculate percentage of the whole.
18202
18203 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18204
18205         Change obstack memory management and varasm constant pool handling so
18206         that nested functions are treated like any other functions.
18207         * function.c (init_machine_status): New variable.
18208         (push_function_context_to): Set contains_functions for the outer
18209         function.  Don't call save_varasm_status.
18210         (pop_function_context_from): Don't call restore_varasm_status.  Don't
18211         set current_function_contains_functions.
18212         (prepare_function_start): Call init_varasm_status rather than
18213         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
18214         is non-null.
18215         * function.h (struct function) Add field varasm.  Delete fields
18216         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
18217         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
18218         (init_machine_status): Declare.
18219         (save_varasm_status, restore_varasm_status): Delete declarations.
18220         (save_tree_status, restore_tree_status): Delete last argument.
18221         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
18222         code.  All callers changed.
18223         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
18224         save_constants_in_decl_trees, restore_constants, save_constants,
18225         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
18226         functions.
18227         (inlining): New variable.
18228         (reg_map, label_map, insn_map, orig_asm_operands_vector,
18229         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
18230         variables.
18231         (save_for_inline_nocopy): Don't save constants.
18232         Don't set inl_emit field in current_function.
18233         (expand_inline_function): Use emit field, not inl_emit, of the inlined
18234         function.  Set new variable inlining before
18235         calling copy_rtx_and_substitute.
18236         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
18237         constant pool references if inlining is nonzero.
18238         Delete ADDRESS and (most of the) CONST cases.
18239         (output_inline_function): Save and restore current_function/
18240         current_function_decl.  Delete restore_constants code.  Don't call
18241         init_const_rtx_hash_table.
18242         * output.h (init_const_rtx_hash_table): Don't declare.
18243         * rtl.h (struct function): Declare.
18244         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
18245         * toplev.c (rest_of_compilation): Don't treat nested functions or
18246         functions containing them specially.  Delete all code to deal with
18247         save_for_inline_copying.
18248         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
18249         inline_obstacks): Delete variables.
18250         (save_tree_status): Lose arg CONTEXT.  All callers changed.
18251         Simply allocate a new function_maybepermanent_obstack for the new
18252         function, delete all the special cases.
18253         Don't save inline_obstacks.
18254         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
18255         Delete special handling for function_maybepermanent_obstack; simply
18256         free it if empty.
18257         Don't restore inline_obstacks.
18258         (permanent_allocation):  Delete code that frees inline_obstacks.
18259         (print_inline_obstack_statistics): Delete function.
18260         (dump_tree_statistics): Don't call it.
18261         * varasm.c (struct varasm_status): New.
18262         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
18263         last_pool, pool_offset, const_double_chain): Delete global
18264         variables, replace with accessor macros.
18265         (immed_double_const): Don't walk const_double_chain outside a
18266         function, but don't treat nested functions specially anymore.
18267         (immed_real_const_1): Likewise.
18268         (clear_const_double_mem): Don't treat nested functions specially.
18269         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
18270         (save_varasm_status, restore_varasm_status): Delete functions.
18271         (init_varasm_status): New function.
18272         (force_const_mem): Don't treat nested functions specially.
18273         (find_pool_constant): Accept new arg F, search for constants in
18274         that function's pool rather than the current one.  All callers
18275         changed.
18276         (get_pool_constant_for_function, get_pool_mode_for_function): New
18277         functions.
18278
18279         * i386.c (init_386_machine_status): New function, mostly from
18280         clear_386_stack_locals.
18281         (struct machine_functions): Rename element names to avoid name
18282         clashes.
18283         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
18284         macros, replacing global variables.
18285         (clear_386_stack_locals, save_386_machine_status,
18286         restore_386_machine_status): Delete functions.
18287         (override_options): Initialize init_machine_status.
18288         * i386.h (INIT_EXPANDERS): Delete macro.
18289         (save_386_machine_status, restore_386_machine_status,
18290         clear_386_stack_locals): Delete declarations.
18291
18292 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18293
18294         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
18295         (doloop_begin):  Simplify pattern and use emit_jump_insn.
18296         (doloop_end): Simplify pattern, switch operand order,
18297         and use emit_jump_insn.
18298
18299 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
18300
18301         * function.h (struct function): Add new element LANGUAGE.
18302         (save_lang_status): Declare new variable.
18303         (restore_lang_status): Likewise.
18304         * function.c (save_lang_status): Define.
18305         (restore_lang_status): Likewise.
18306         (push_function_context_to): Call language-specific save function.
18307         (pop_function_context_from): Call language-specific restore function.
18308
18309 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
18310
18311         * i386.md (movsf_1): Check REG_P before use of REGNO.
18312         (movdf_1): Likewise.
18313         (movxf_1): Likewise.
18314         (extendsfdf2): Likewise.
18315         (extendsfxf2): Likewise.
18316         (extenddfxf2): Likewise.
18317
18318 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18319
18320         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
18321         constants into memory.
18322         (c4x_shiftable_constant): New function.
18323         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
18324         (c4x_shiftable_constant): Declare.
18325         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
18326         ashlqi3_noclobber): Add new patterns and associated splitters.
18327
18328 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
18329
18330         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
18331         * dwarf2out.c (dwarf2out_frame_init): Likewise.
18332         * final.c (shorten_branches): Likewise.
18333         * global.c (global_alloc): Likewise.
18334         * haifa-sched.c (build_control_flow): Likewise.
18335         * stmt.c (check_for_full_enumeration_handling): Likewise.
18336         (estimate_case_costs): Likewise.
18337
18338 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
18339
18340         * rtl.h (RTL_CHECKC2): Fix typo in last change.
18341
18342 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
18343
18344         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
18345         (recompute_reg_usage): Likewise.
18346         * rtlanal.c (find_regno_fusage): Likewise.
18347
18348         * rtl.c (rtl_check_failed_code1): New function.
18349         (rtl_check_failed_code2): New.
18350         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
18351         (RTL_CHECKC1, RTL_CHECKC2): New.
18352         (XC*): New accessor macros.
18353         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
18354         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
18355         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
18356         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
18357         (TRAP_*, RANGE_INFO_*): Likewise.
18358
18359 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18360
18361         * Makefile.in (tlink.o): Don't depend on toplev.h.
18362
18363         * collect2.c (c_file, o_file, export_file, import_file, ldout,
18364         output_file, nm_file_name, ldd_file_name, strip_file_name,
18365         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
18366         add_prefix, prefix_from_env, prefix_from_string, do_wait,
18367         fork_execute, maybe_unlink, add_to_list,
18368         extract_init_priority, write_list, dump_list,
18369         dump_prefix_list, write_list_with_asm, write_c_file,
18370         write_c_file_stat, write_c_file_glob, scan_prog_file,
18371         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
18372         ignore_library, extract_string, notice, dump_file, target_machine,
18373         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
18374         read_file, print_load_command): Constify a char*.
18375         (fdopen, error, fatal, fatal_perror): Don't prototype.
18376         (my_strerror): Remove.  All callers use xstrerror instead.
18377         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
18378         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
18379         to xcalloc/strcpy/strcat/...  to one call to concat.
18380         (main, scan_prog_file, scan_libraries): Use an intermediate
18381         `const char **' to build an argv array.
18382         (mapfile, libselect, libcompare, locatelib): Add prototypes.
18383
18384         * collect2.h (collect_execute, collect_wait, dump_file,
18385         file_exists): Constify a char*.
18386         (ldout, c_file_name, temporary_obstack, permanent_obstack,
18387         temporary_firstobj, vflag, debug): Add extern declarations.
18388         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
18389
18390         * tlink.c: Don't include toplev.h.
18391         (vflag, debug, ldout, c_file_name, temporary_obstack,
18392         permanent_obstack, temporary_firstobj): Don't declare.
18393         (tlink_execute, frob_extension, symbol_hash_lookup,
18394         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
18395         recompile_files, read_repo_files, demangle_new_symbols,
18396         scan_linker_output): Constify a char*.
18397         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
18398         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
18399
18400 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
18401
18402         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
18403         (relative) rather than jsr (absolute) subroutine call insns.
18404         * config/m68k/m68k-coff.h: Ditto.
18405
18406 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
18407
18408         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
18409         now rework these too.
18410         (arm_reorg): If an insn can't reach the end of the current pool,
18411         ensure that we emit that pool before the insn.
18412
18413 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
18414
18415         * tlink.c (scan_linker_output): Skip the initial underscore in
18416         a mangled name if appropriate.
18417
18418 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18419
18420         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
18421         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
18422         error_with_ivar, gen_declarator, create_builtin_decl,
18423         my_build_string, generate_descriptor_table, generate_ivars_list,
18424         generate_dispatch_table, check_protocols, TAG_GETCLASS,
18425         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
18426         dump_base_name, lang_decode_option, build_encode_expr,
18427         start_class, finish_class, encode_pointer, really_start_method,
18428         gen_declaration, dump_interface, handle_class_ref, handle_impent):
18429         Constify.
18430         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
18431         Add static prototypes.
18432         (build_objc_string_decl, build_selector_reference_decl,
18433         encode_bitfield, build_class_reference_decl): Remove unused
18434         parameter, all callers changed.
18435         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
18436         (objc_printable_name): Likewise.  Change second parameter to type int.
18437         (init_objc): Use memcpy, not bcopy, to avoid casts.
18438
18439 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
18440
18441         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
18442         reg notes on a deleted insn.
18443         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
18444
18445 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
18446
18447         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
18448
18449 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18450
18451         * stmt.c (expand_asm_operands): Fix index into inout_mode when
18452         reading it.
18453
18454 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
18455
18456         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
18457         * tm.texi (MD_ASM_CLOBBERS): Document it.
18458
18459 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
18460
18461         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
18462         * except.c (expand_rethrow): Remove unused variable.
18463         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
18464         * flow.c (replace_insns): Likewise.
18465         (create_edge_list, verify_edge_list): Likewise.
18466         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
18467
18468         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
18469         is special code to run.
18470         (main): Don't define operands to emit_operand.
18471         * genrecog.c (main): Don't emit an empty peephole2_insn function.
18472
18473         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
18474
18475         * alpha/alpha.h (normal_memory_operand): Declare.
18476         (reg_no_subreg_operand): Declare.
18477         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
18478
18479 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
18480
18481         * c-parse.in (compstmt_primary_start): New, broken out of first
18482         part of compstmt handling in primary.
18483         (primary): Use it.  Add an error clause.
18484         (compstmt_nostart): Renamed from compstmt; remove all
18485         initial invocations of compstmt_start.
18486         (compstmt): New.
18487
18488 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
18489
18490         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
18491         needed.
18492
18493 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
18494
18495         * combine.c (simplify_shift_const): Remove extra semicolon.
18496         * dwarf2out.c (remove_AT): Likewise.
18497         * expmed.c (expand_mult): Likewise.
18498         * gcov.c (create_program_flow_graph): Likewise.
18499         * reorg.c (mostly_true_jump): Likewise.
18500
18501 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
18502
18503         * fold-const.c (fold_range_test): Do not try to fold the range
18504         test if the rhs or lhs has side effects.
18505
18506         * combine.c (simplify_rtx): Recognize another case of a synthesized
18507         sign extension.
18508
18509         * varasm.c (mark_constant_pool): When marking indirect references,
18510         only look at SYMBOL_REFs.
18511
18512         * except.c (expand_fixup_region_end): Do not peek at
18513         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
18514
18515 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
18516
18517         * flags.h: New variables align_loops, align_loops_log,
18518         align_jumps, align_jumps_log, align_labels, align_labels_log,
18519         align_functions, align_functions_log.
18520         * toplev.c: Define them.
18521         (f_options): Handle -falign-* when they have no argument.
18522         (main): Add logic to set variables for -falign-functions,
18523         -falign-jumps, -falign-labels, -falign-loops.
18524         Make it -fsched-verbose=<n> and -finline-limit=<n>.
18525         (display_help): Change help to match options.
18526         * final.c (LABEL_ALIGN): Default to align_labels_log.
18527         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
18528         (LOOP_ALIGN): Default to align_loops_log.
18529         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
18530         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
18531         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
18532         * varasm.c (assemble_start_function): Handle align_functions.
18533
18534         * config/sparc/sparc.h: Don't declare sparc_align_*.
18535         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
18536         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
18537         sparc.c.
18538         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
18539         it's a promise.
18540         * config/sparc/sparc.c: Delete sparc_align_loops,
18541         sparc_align_jumps, sparc_align_funcs and the corresponding string
18542         variables.
18543         (sparc_override_options): Default align_functions on ultrasparc.
18544         Delete -malign-* handling.
18545
18546         * config/mips/mips.c (override_options):  On 64-bit targets,
18547         try to align code to 64-bit boundaries.
18548         (print_operand): New substitution, %~,
18549         which aligns labels to align_labels_log.
18550         * config/mips/mips.md (div_trap_normal): Use %~.
18551         (div_trap_mips16): Likewise.
18552         (abssi): Likewise.
18553         (absdi2): Likewise.
18554         (ffssi2): Likewise.
18555         (ffsdi2): Likewise.
18556         (ashldi3_internal): Likewise.
18557         (ashrdi3_internal): Likewise.
18558         (lshrdi3_internal): Likewise.
18559         (casesi_internal): Likewise.
18560
18561 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
18562
18563         Merge new ia32 backend from the branch!
18564
18565         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
18566         See ChangeLog.P2 on new_ia32_branch for details.
18567
18568         * rtl.h (stack_regs_mentioned_p): Delete prototype.
18569         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
18570         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
18571         * i386/gas.h (ASM_FILE_START): Define.
18572         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
18573         for name change of ix86_valid_decl_attribute_p.
18574         (i386_pe_valid_type_attribute_p): Similarly.
18575
18576 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
18577
18578         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
18579         to step through CC modes.
18580
18581 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18582
18583         * regmove.c (fixup_match_1): Don't move INSN in front of P if
18584         it would end up in the shadow of a live flags regsiter.
18585
18586 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18587
18588         * reload1.c: Fix many indentation problems.
18589         * reload.c: Likewise.
18590
18591 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
18592
18593         * alias.c (non_local_reference_p): Constify fmt.
18594
18595 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
18596
18597         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
18598
18599 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
18600
18601         * cse.c (delete_trivially_dead_insns): Do not delete stores to
18602         the internal_arg_pointer.
18603
18604 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
18605
18606         Merge peephole2 from new_ia32_branch:
18607         * Makefile.in (STAGESTUFF): Add *.peephole2.
18608         (mostlyclean): Likewise.
18609         (recog.o): Depend on resource.h.
18610
18611         * final.c (peephole): Conditionalize decl on HAVE_peephole.
18612         (final_scan_insn): Likewise for the invocation of peephole.
18613         * genconfig.c (main): Look for peephole and peephole2 patterns.
18614         Emit HAVE_peephole* accordingly.
18615         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
18616         * flags.h (flag_peephole2): Declare.
18617         * toplev.c: New pass peephole2.  New flag -fpeephole2.
18618
18619         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
18620         * gencodes.c (main): Likewise.
18621         * genextract.c (main): Likewise.
18622         * genoutput.c (main): Likewise.
18623         * genemit.c (max_operand_1): Look for the max scratch operand.
18624         (gen_rtx_scratch): New.
18625         (gen_exp): Use it, and pass on new arg subroutine_type.
18626         (gen_expand): Take max scratch into account.
18627         (gen_split): Emit peephole2 functions.
18628         (output_peephole2_scratch): New.
18629         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
18630         * genrecog.c (routine_type): Add PEEPHOLE2.
18631         (IS_SPLIT): New.
18632         (make_insn_sequence): Match outer parallel for peep2.  Discard
18633         top level scratches and dups.
18634         (add_to_sequence): New args insn_type and top.  Update all callers.
18635         Handle toplevel peep2 matching insns.
18636         (write_subroutine): Handle peep2.
18637         (write_tree_1): Likewise.
18638         (write_tree): Likewise.
18639         (main): Likewise.
18640         (change_state): New arg afterward.  Update all callers.
18641         Handle matching separate insns.
18642         * recog.c (recog_next_insn): New.
18643         (peephole2_optimize): New.
18644         * rtl.def (DEFINE_PEEPHOLE2): New.
18645         * resource.c (find_free_register): New argument last_insn.  Use it
18646         to find a register available through the entire span.
18647         * resource.h (find_free_register): Update prototype.
18648
18649 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
18650
18651         * i386.c (output_strlen_unroll): Don't write xops[7]
18652         label if it wasn't set.
18653
18654 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
18655
18656         * cpplib.c (struct directive): Const-ify name pointer and
18657         function pointer prototype.
18658         (validate_else, do_define, do_line, do_include, do_undef,
18659         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
18660         do_elif, do_endif, do_sccs, do_assert, do_unassert,
18661         do_warning): Const-ify second arg.
18662         (directive_table): Mark const.  Reorder entries by frequency
18663         of usage, record statistics.
18664
18665 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
18666
18667         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
18668         bounds- check RTL accesses if --enable-checking.
18669         (RTVEC_ELT): Bounds check if --enable-checking.
18670         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
18671         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
18672         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
18673         GET_NUM_ELEM.
18674         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
18675         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
18676
18677         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
18678         (NOTE_SOURCE_FILE): Use X0STR.
18679         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
18680         MEM_ALIAS_SET): Use X0INT.
18681         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
18682         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
18683         Use X0EXP.
18684         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
18685         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
18686         (rtl_check_failed_bounds, rtl_check_failed_type1,
18687         rtl_check_failed_type2, rtvec_check_failed_bounds): New
18688         functions.
18689         (fancy_abort): Fix comment.
18690
18691         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
18692         (cse_insn): Decrement LABEL_NUSES for jump target before
18693         deleting jump insn.
18694         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
18695         * final.c (alter_subreg): Compute regno before changing x to
18696         REG; set REGNO(x) after changing it.
18697         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
18698         notes containing CONST_INTs.
18699         (delete_eh_regions): Use NOTE_EH_HANDLER.
18700         * function.c (put_reg_into_stack): Make reg a MEM before
18701         initializing it.
18702         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
18703         delete insn.
18704         (gen_mem_addressof): Make reg a MEM before initializing it.
18705         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
18706         X0WINT.
18707         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
18708         deleting an insn, not after.
18709         (block_alloc): Only look at PATTERN(insn) if we have to, and
18710         only if it's format class 'i'.
18711         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
18712         CONST_INT before using its INTVAL.
18713         * print-rtl.c (print_rtx): Use X0STR.
18714         * regmove.c (fixup_match_1): Don't look at PATTERN of
18715         non-class-'i' insn chain elements.
18716         * reload.c (loc_mentioned_in_p): Take address of
18717         in->fld[1].rtx directly.
18718         * reload1.c (reload): Change reg to a MEM before initializing
18719         it.
18720         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
18721         have no names.
18722         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
18723
18724 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
18725
18726         * config/mips/mips.c (machine_dependent_reorg): Force a
18727         barrier to output the local constant pool if a barrier hasn't
18728         been found at a natural point in the instruction stream.
18729
18730 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18731
18732         * c-parse.in (language_string): Constify.
18733
18734         * dwarf2out.c (language_string): Remove declaration.
18735
18736         * dwarfout.c (language_string): Likewise.
18737
18738         * toplev.c (language_string, init_parse, finish_parse): Likewise.
18739
18740         * tree.h (language_string, init_parse, finish_parse): Declare.
18741
18742         * i386/sun386.h (language_string): Remove declaration.
18743
18744         * mips.h (language_string): Likewise.
18745
18746         * nextstep.h (language_string): Likewise.
18747
18748         * nextstep21.h (language_string): Likewise.
18749
18750         * rs6000.c (language_string): Likewise.
18751
18752 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18753
18754         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
18755         (getpwd.o): Remove target.
18756
18757         * getpwd.c: Delete file.  Its in libiberty now.
18758
18759         * dbxout.c (getpwd): Don't prototype.
18760         * dwarf2out.c (getpwd): Likewise
18761         * dwarfout.c (getpwd): Likewise
18762         * final.c (getpwd): Likewise.
18763         * protoize.c (getpwd): Likewise.
18764
18765 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18766
18767         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
18768
18769 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
18770
18771         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
18772         mark_set_resources.
18773
18774 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
18775
18776         * fixinc/Makefile.in (subdir): New.
18777         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
18778         (Makefile): New.
18779
18780 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
18781
18782         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
18783         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
18784         be shared.
18785
18786         * invoke.texi: Fix typo.
18787
18788         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
18789         changed.  Handle autoincrement addressing modes.
18790
18791         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
18792         just like we would the virtual incoming args register when
18793         integrating.
18794
18795 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
18796
18797         * rs6000.h (ASM_FILE_START): Specify complete filename, including
18798         path, in .file directive.
18799
18800 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
18801
18802         * gcc.texi (External Bugs): Remove obsolete note about Perl on
18803         SunOS.
18804
18805 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
18806
18807         * stdbool.h: Make the typedef name _Bool, with bool a #defined
18808         alias.
18809
18810 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18811
18812         * tree.c (tree_code_name): Constify a char*.
18813
18814         * tree.h (tree_code_name, decl_printable_name): Likewise.
18815
18816         * function.h (struct function): Likewise.
18817
18818         * toplev.c (decl_name, decl_printable_name): Likewise.
18819
18820         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
18821
18822         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
18823         (init_objc): Remove function pointer cast.
18824
18825 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
18826
18827         * pa.md (interspace_jump): New pattern.
18828         (builtin_longjmp): New expander.
18829
18830 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
18831
18832         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
18833         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
18834         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
18835
18836 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
18837
18838         * jump.c (delete_prior_computation): Also check calls
18839         to constant functions.  Don't bother checking for a
18840         REG_UNUSED note before adding it.
18841         (delete_computation): Handle multi-word hard registers
18842         when synthesizing missing REG_DEAD notes for a register
18843         which is both set and used by an insn.
18844
18845 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18846
18847         * loop.c (this_loop_info): New variable.
18848         (loop_has_call, loop_has_volatile, loop_has_tablejump,
18849         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
18850         All uses updated.
18851         (prescan_loop, strength_reduce): New argument loop_info.  All callers
18852         updated.
18853         (scan_loop): New variable loop_info, initialise to address of
18854         this_loop_info.
18855         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
18856         Delete variable loop_has_multiple_exit targets and replace with
18857         field in this_loop_info.
18858         (find_and_verify_loops): Rename this_loop to this_loop_num.
18859         (strength_reduce): Delete loop_iteration_info.  Replace variable
18860         loop_info with function argument of same name.
18861         (insert_bct): Rework test for loop being completely unrolled.
18862
18863         * loop.h (struct loop_info): New fields num, loops_enclosed,
18864         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
18865         has_indirect_jump, and cont.  Redefine use of unroll_number.
18866         (loop_unroll_number): Delete.
18867
18868         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
18869         field of loop_info.
18870         (loop_iterations): Delete variable vtop and instead use
18871         loop_info->vtop computed in prescan_loop.
18872
18873 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
18874
18875         * fix-header.c (main): Do not pass a null pointer to strcmp.
18876
18877 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
18878
18879         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
18880         filenames.
18881         * configure: Rebuilt.
18882
18883 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
18884
18885         * jump.c (jump_optimize_1): Do not delete assignments to
18886         internal_arg_pointer.
18887         * cse.c (delete_trivially_dead_insns): Always consider a set of
18888         the internal_arg_pointer live.
18889
18890 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
18891
18892         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
18893         (update_life_info) [REG_WAS_0]: Search the original insns rather
18894         than the new insns for the note.  Fix typos finding note_dest.
18895         If no dest found, discard the note rather than abort.
18896         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
18897         (replace_insns): Remove the old insn list after update_life_info
18898         not before.
18899
18900 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
18901
18902         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
18903         sched_analyze_insn.
18904         (sched_analyze_1): Let add_dependence care for not adding dups.
18905         (sched_analyze_2): Likewise.
18906         (add_branch_dependences): Likewise.
18907
18908 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18909
18910         * i386/winnt.c (export_list): New type.
18911         (exports_head): Rename to
18912         (export_head):  this.
18913         (i386_pe_record_exported_symbol): Add is_data flag.
18914         (i386_pe_asm_file_end): Emit directive for exported variables.
18915         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
18916         prototype.
18917         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
18918         (ASM_DECLARE_OBJECT_NAME): Likewise.
18919         (ASM_DECLARE_FUNCTION_NAME): Likewise.
18920         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
18921
18922 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
18923
18924         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
18925
18926         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
18927         operand.
18928
18929 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
18930
18931         * config/openbsd.h: Define SET_ASM_OP.
18932         * tm.texi: cross-reference SET_ASM_OP in the index.
18933
18934 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
18935
18936         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
18937         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
18938         and class_narrowest_mode at compile time.  Kill init_rtl.
18939         Mark rtx_length, mode_class, mode_size, mode_unit_size,
18940         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
18941         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
18942         EXTRA_CC_NAMES.
18943         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
18944         format.
18945         * rtl.h: Declare rtx_length and rtx_format as const.
18946         * machmode.def: Define CC().  Use CC() to define CCmode.  If
18947         EXTRA_CC_MODES is defined, expand it here.
18948         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
18949         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
18950         const.  Kill all references to EXTRA_CC_MODES.
18951
18952         * toplev.c: Don't prototype or call init_rtl.
18953         * optabs.c: Don't call init_mov_optab.
18954         * genemit.c: Don't generate init_mov_optab.  Don't call
18955         init_rtl.
18956         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
18957         here.
18958         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
18959         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
18960         genrecog.c: Don't call init_rtl.
18961
18962         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
18963         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
18964         definition of EXTRA_CC_MODES.
18965
18966         * md.texi: Kill ref to EXTRA_CC_NAMES.
18967         * tm.texi: Document new way to define EXTRA_CC_MODES.
18968
18969         * genrecog.c: Do not look up the name of a define_split.
18970         (Unrelated bugfix.)
18971
18972 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
18973
18974         * config/v850/v850.md: Fix typo introduced by previous delta.
18975
18976 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18977
18978         * gcc.c (fatal): Make definition static to match prototype.
18979
18980 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18981
18982         * combine.c (get_last_value): Don't look for earlier sets if the last
18983         known set is somewhere in between the insns being combined.
18984
18985 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
18986
18987         * configure.in: Don't use shell ! to negate exit codes
18988         * configure: Regenerate
18989
18990 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
18991
18992         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
18993         the fact that ALIGN is measured in bits, not bytes.
18994
18995 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
18996
18997         * errors.c: New file; defines functions error, warning, and
18998         fatal, variables have_error and progname.
18999         * errors.h: New file; prototypes and decls for stuff in errors.c.
19000
19001         * Makefile: Add rules to build errors.o and
19002         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
19003         genopinit, genrecog, genextract, genpeep, genattr, and
19004         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
19005         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
19006         genpeep.o, genattr.o, and genoutput.o.
19007
19008         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
19009         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
19010         define or prototype fatal.  Set progname at beginning of main.
19011         * genoutput.c:  Likewise, and don't define or prototype error
19012         either.
19013
19014         * c-typeck.c (c_expand_start_case): Return immediately if exp
19015         is an ERROR_MARK.
19016         * fold-const.c (operand_equal_p): Return immediately if arg1
19017         or arg0 are ERROR_MARKs.
19018         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
19019         fields of type ERROR_MARK when calculating if the record can
19020         go in a register.
19021
19022 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
19023         with much help from Jeffrey A Law and Richard Henderson
19024
19025         * i386.md: In the 6 insns which call output_fix_trunc,
19026         earlyclobber operands[0].
19027
19028 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
19029
19030         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
19031         creating new registers.
19032
19033 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
19034
19035         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
19036         i386_reg_alloc_order, i386_regparm_string,
19037         i386_align_loops_string, i386_align_jumps_string,
19038         i386_align_funcs_string, i386_preferred_stack_boundary_string,
19039         and i386_branch_cost_string as type "const char *".
19040         * i386.c: Define all above strings as type "const char *".
19041
19042 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
19043
19044         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
19045         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
19046
19047 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
19048
19049         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
19050         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
19051
19052 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
19053
19054         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
19055         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
19056         (dwarf2out_line, dwarf2out_finish): Likewise.
19057         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
19058
19059 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19060
19061         * tree.c (lang_unsave_expr_now) : Correct return type.
19062         * tree.h (lang_unsave_expr_now) : Same.
19063
19064 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
19065
19066         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
19067         instead of duplicating code.
19068
19069 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19070
19071         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
19072
19073 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
19074
19075         * tree.h: fancy_abort always takes three args.
19076         * resource.c: Move include of system.h before toplev.h.
19077
19078 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
19079
19080         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
19081         as SYMBOL_REFs.
19082
19083 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
19084
19085         * system.h: Don't redefine abort or trim_filename.
19086         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
19087         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
19088         whether or not __FUNCTION__ is available.
19089         * tree.h: Duplicate rtl.h's definition of abort, for files
19090         that don't include rtl.h.  Delete all code to perform type
19091         checking with a compiler other than GCC.
19092         * varray.h: Delete all code to perform type checking with a
19093         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
19094         its arguments exactly once, using a statement expression.
19095         Adjust the VARRAY_<type> accessor macros to match.
19096         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
19097         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
19098         caller's location.  Define fatal_insn and fatal_insn_not_found
19099         as macros that use _fatal_insn and _fatal_insn_not_found.
19100         (fancy_abort, trim_filename): Kill prototypes.
19101
19102         * rtl.c (trim_filename): Move here from toplev.c.
19103         (fancy_abort): New function.
19104         (DIR_SEPARATOR): Provide default definition.
19105         * tree.c (tree_check_failed, tree_class_check_failed): Go
19106         through fancy_abort.
19107         (tree_check, tree_class_check, cst_or_constructor_check,
19108         expr_check): Delete.
19109         * varray.c (varray_check_failed): New function.
19110         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
19111         _fatal_insn and _fatal_insn_not_found.  Go through
19112         fancy_abort.
19113         (trim_filename, fancy_abort): Delete.
19114
19115         * builtins.c (expand_builtin_args_info): Report ICE with abort.
19116         * except.c (start_catch_handler): Report ICE with error/abort
19117         combo.
19118         * final.c (output_operand_lossage): Likewise.
19119         * flow.c (verify_flow_info): Likewise.
19120
19121         * gcc.c: Prototype fatal.
19122         * gengenrtl.c: Undef abort after including rtl.h not system.h.
19123         * genattr.c, genattrtab.c, genemit.c, genextract.c,
19124         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
19125         Don't define fancy_abort.
19126
19127 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
19128
19129         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
19130         canonization.
19131
19132 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
19133
19134         * m88k.h (VERSION_INFO2): Kill.
19135         (VERSION_STRING): Kill.
19136         (TM_RCS_ID): Kill.
19137         (VERSION_INFO1): Tidy.
19138         (TARGET_VERSION): Update.
19139         * m88k/dgux.h (VERSION_INFO2): Kill.
19140         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
19141         * m88k/luna.h (VERSION_INFO1): Tidy.
19142         * m88k/sysv4.h (VERSION_INFO1): Likewise.
19143         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
19144         (output_file_start): Adjust for death of VERSION_STRING.
19145
19146 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
19147
19148         * cpplib.c (detect_if_not_defined): New function.
19149         (do_if): Use it to detect potential once-only headers.
19150
19151 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
19152
19153         * c-common.c (combine_strings): Always set TREE_CONSTANT.
19154
19155 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19156
19157         * combine.c (nonzero_bits) : Allow single-ly set registers to be
19158         anywere in the function only if they are pseudos and set before
19159         being used (not live at the start of the function).
19160         (num_sign_bit_copies) : Same.
19161         (get_last_value_validate) : Same.
19162         (get_last_value) : Same.
19163
19164 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
19165
19166         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
19167         where N and M are constant and N is an integer multiple of M.
19168
19169 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19170
19171         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
19172         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
19173         sbitmap_union_of_preds): Add prototypes.
19174         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
19175         the intersection of successors with the new flow graph structures.
19176         (sbitmap_intersection_of_preds): New function to compute the
19177         intersection of predecessors with the new flow graph structures.
19178         (sbitmap_union_of_succs): New function to compute the union of
19179         successors with the new flow graph structures.
19180         (sbitmap_union_of_preds): New function to compute the union of
19181         predecessors with the new flow graph structures.
19182         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
19183         (expr_reaches_here_p): Use edge and basic_block structures instead
19184         of s_preds and s_succs.
19185         (compute_cprop_avinout): Use new sbitmap routines.
19186         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
19187         of s_preds and s_succs.
19188         * flow.c (compute_flow_dominators): Compute dominators using
19189         edges and basic blocks instead of s_preds and s_succs.
19190
19191 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19192
19193         * lists.c (unused_insn_list, unused_expr_list): New file for
19194         maintaining various types of lists. New statics for maintaining a
19195         cache of available INSN_LIST and EXPR_LIST nodes.
19196         (free_list): Static function for freeing a list of INSN/EXPR nodes.
19197         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
19198         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
19199         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
19200         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
19201         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
19202         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
19203         (free_INSN_LIST_node): Free an individual INSN_LIST node.
19204         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
19205         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
19206         (remove_dependence, free_pending_lists): Use new global routines.
19207         (flush_pending_lists, sched_analyze_insn): Use new global routines.
19208         (sched_analyze, compute_block_backward_dependences): Use new routines.
19209         (sched_analyze_1, sched_analyze_2): Use new routines.
19210         (schedule_insns): Use new global routines.
19211         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
19212         prototypes.
19213         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
19214         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
19215         prototypes.
19216         * toplev.c (rest_of_compilation): Initialize node cache.
19217         * Makefile.in (OBJS): Add lists.o to list of object files.
19218         (lists.o): Add dependancies.
19219
19220 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
19221
19222         * config/v850/v850.md: Fix compile time warning messages.
19223         * config/v850/v850.c: Fix compile time warning messages.
19224         * config/v850/v850.h: Fix compile time warning messages.
19225
19226 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19227
19228         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
19229         Remove unused prototype for `init_lengths'.
19230
19231 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19232
19233         * calls.c (emit_call_1): Mark parameter `stack_size' with
19234         ATTRIBUTE_UNUSED.
19235         (expand_call): Initialize variable `insn'.
19236         (emit_library_call): Likewise for variable `high_to_save'.
19237         (emit_library_call_value): Likewise.
19238         (store_one_arg): Likewise for variables `lower_bound' and
19239         `upper_bound'.
19240
19241         * combine.c (try_combine): Likewise for variables `i2_code_number'
19242         and `other_code_number'.
19243         (find_split_point): Likewise for variables `pos', `unsignedp' and
19244         `inner'.
19245         (simplify_if_then_else): Likewise for variables `op' and `c1'.
19246         (simplify_and_const_int): Remove unused variable `width'.
19247         (merge_outer_ops): Likewise.
19248
19249         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
19250         HOST_WIDE_INT' when comparing against one.
19251         (simplify_relational_operation): Likewise.
19252         (cse_insn): Initialize variables `src_eqv_volatile',
19253         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
19254
19255         * final.c (init_final): Constify parameter `filename'.
19256         (final_start_function): Mark parameter `optimize' with
19257         ATTRIBUTE_UNUSED.
19258         (profile_function): Likewise for parameters `first' and `optimize'.
19259         (output_source_line): Likewise for parameter `file'.
19260
19261         * integrate.c (subst_constants): Cast a value to `size_t' when
19262         comparing against one.
19263         (mark_stores): Initialize variable `mode'.  Cast a value to
19264         `size_t' when comparing against one.
19265
19266         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
19267
19268         * loop.c (move_movables): Initialize variable `first'.
19269         (strength_reduce): Likewise for variable `increment'.
19270         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
19271         value to `size_t' when comparing against one.
19272         (load_mems): Initialize variable `end_label'.
19273
19274         * output.h (init_final): Constify parameter.
19275
19276         * reload.c (decompose): Initialize variable `base'.
19277
19278         * reload1.c (reload): Likewise for variable `is_scalar'.
19279         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
19280         (choose_reload_regs): Initialize variable `mode'.
19281         (emit_reload_insns): Likewise for variable `store_insn'.
19282         (reload_cse_noop_set_p): Mark parameter `insn' with
19283         ATTRIBUTE_UNUSED.
19284         (reload_combine): Initialize variable `set'.
19285
19286         * unroll.c (unroll_loop): Likewise for variable `local_label'.
19287         (copy_loop_body): Cast a value to `size_t' when comparing against
19288         one.
19289
19290         * varasm.c (assemble_variable): Initialize variable `size_tree'.
19291         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
19292         (remove_from_pending_weak_list): Mark parameter `name' with
19293         ATTRIBUTE_UNUSED.
19294
19295 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19296
19297         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
19298         gcse dump file.
19299
19300 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
19301
19302         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
19303         (ASM_DECLARE_FUNCTION_NAME): Define.
19304         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
19305         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
19306         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
19307         not already defined.
19308
19309 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
19310
19311         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
19312         of n_popped when call/call_value are not defined.
19313
19314 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
19315
19316         * tm.texi: GNU CC -> GCC conversion.
19317         (CC1_SPEC): Indicate it is used for all language front ends.
19318
19319 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
19320
19321         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
19322         NOTE_INSN_EH_REGION_END correctly.
19323
19324 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
19325                           Jeff Law <law@cygnus.com>
19326
19327         * loop.c (strength_reduce): Automatically unroll loops if the
19328         unrolled loop size is smaller than the rolled loop size.
19329
19330         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
19331         and delete comment that code should be rewritten.
19332
19333 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
19334
19335         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
19336         as reachable.
19337
19338         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
19339
19340 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19341
19342         * fixinc/mkfixinc.sh: Don't fix uwin headers.
19343         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
19344         (LINK_SPEC): Add -u _main when building executables.
19345         (ASM_DECLARE_FUNCTION): Update from Cygwin.
19346         (ASM_FILE_END): Use the default for ix86-pe.
19347         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
19348
19349 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
19350
19351         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
19352         and ASM_CLOSE_PAREN are empty strings.
19353
19354 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
19355                           Geoffrey Keating <geoffk@cygnus.com>
19356
19357         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
19358         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
19359         (unprotoize.o): Ditto.
19360         (test-protoize-simple): Don't define STD_PROTO_DIR.
19361         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
19362         changes to make 'test-protoize-simple' pass.
19363         (STD_PROTO_DIR): Remove define.
19364         (STANDARD_EXEC_PREFIX): Supply default define.
19365         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
19366         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
19367         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
19368         (GET_ENV_PATH_LIST): New macro.
19369         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
19370         (do_processing): Initialize default_syscalls_dir using new
19371         macros.  Use it to initialize syscalls_absolute_filename.
19372
19373 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
19374
19375         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
19376         B into a register before emit_conditional_move.
19377
19378 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
19379
19380         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
19381         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
19382         multiplicand out of (+ (* a b) (* c d)).
19383
19384 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
19385                           Richard Henderson  <rth@cygnus.com>
19386
19387         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
19388         (new_insn_dead_notes): Likewise.
19389         (update_n_sets): Likewise.
19390         (update_flow_info): Move to flow.c, renamed to update_life_info;
19391         extend to handle multiple source insns.
19392         * flow.c: Include resource.h
19393         (unlink_insn_chain): New.
19394         (split_hard_reg_notes): New.
19395         (maybe_add_dead_note): New.
19396         (maybe_add_dead_note_use): New.
19397         (find_insn_with_note): New.
19398         (new_insn_dead_notes): New.
19399         (update_n_sets): New.
19400         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
19401         (maybe_remove_dead_notes): New.
19402         (update_life_info): New.
19403         (prepend_reg_notes): New.
19404         (replace_insns): New.
19405         * output.h (update_life_info): Declare.
19406         * recog.c (split_block_insns): Use update_life_info.
19407         * resource.c (find_free_register): Use reg_alloc_order, don't use
19408         fixed regs, make sure the mode is supported, don't use new regs.
19409         (reg_dead_p): New.
19410         * rtl.h (replace_insns): Declare.
19411
19412 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
19413
19414         * expr.c (expand_expr): Cope with COND_EXPRs with one
19415         non-returning branch.
19416
19417 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
19418
19419         * expr.c (store_expr): Always pass down the target, even when not
19420         doing CSE.
19421
19422 1999-08-24  Nick Clifton  <nickc@cygnus.com>
19423
19424         * configure.in: Define target_cpu_default for v850 targets.
19425         * configure: Regenerate
19426
19427         * config/v850/v850.h (TARGET_CPU_generic): Define.
19428         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
19429         addresses are 4 byte aligned.
19430
19431         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
19432         addresses.
19433
19434 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19435
19436         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
19437         (main): Add prototypes.
19438
19439         * genattrtab.c (substitute_address, write_const_num_delay_slots,
19440         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
19441         (write_attr_get): Emit prototypes along with function definition.
19442         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
19443         (write_complex_function): Emit static prototype along with
19444         function definition.
19445
19446         * genemit.c (gen_split): Emit prototypes along with function
19447         definition.
19448
19449         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
19450         Likewise for predicates and `insn_operand_predicate'.
19451         (process_template): Emit static prototype along with function
19452         definition.
19453
19454         * genrecog.c (make_insn_sequence): Constify a char*.  Add
19455         prototypes for get_split_*().
19456         (write_subroutine): Emit prototypes along with function
19457         definition.
19458
19459 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19460
19461         * gcse.c (find_avail_set): Follow chains of register-register copies.
19462         Use oprs_not_set_p to guarantee that the returned value can be
19463         substituted.
19464         (cprop_insn): Don't verify the return value of find_avail_set with
19465         oprs_not_set_p.
19466
19467         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
19468         (cprop_cc0_jump): New function.
19469         (cprop_insn): Break out new function cprop_jump and use it.
19470         Also use cprop_cc0_jump for machines with CC0.
19471         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
19472
19473         * tree.h (current_function_calls_setjmp,
19474         current_function_calls_longjmp): Delete declarations.
19475         * dsp16xx.c: Include "function.h".
19476         * elxsi.c: Likewise.
19477         * gmicro.c: Likewise.
19478         * h8300.c: Likewise.
19479         * i370.c: Likewise.
19480         * m32r.c: Likewise.
19481         * mn10200.c: Likewise.
19482         * mn10300.c: Likewise.
19483         * ns32k.c: Likewise.
19484         * spur.c: Likewise.
19485         * v850.c: Likewise.
19486
19487         * rtl.h (rtx_equal_function_value_matters): Declare.
19488         * toplev.c (rtx_equal_function_value_matters): Don't declare.
19489         * cse.c: Likewise.
19490         * function.c: Likewise.
19491         * emit-rtl.c: Likewise.
19492
19493 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
19494
19495         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
19496         call.
19497
19498 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
19499
19500         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
19501         exactly.
19502
19503 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
19504
19505         * cpp.texi: Add a node documenting macro varargs (copied
19506         from extend.texi).
19507
19508 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
19509
19510         * cppspec.c: Put a null pointer at the end of the new argv.
19511
19512 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
19513
19514         * configure.in: Remove code to select/de-select the haifa
19515         scheduler.  Every scheduled port gets haifa now.
19516         * configure: Rebuilt.
19517         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
19518         * sched.c Deleted.
19519         * Makefile.in: Corresponding changes.
19520
19521 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19522
19523         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
19524         All callers changed.
19525         (prepare_float_lib_cmp): Likewise.
19526         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
19527         * expr.h (emit_float_lib_cmp): Delete declaration.
19528         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
19529         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
19530         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
19531         specially.
19532         (cmptf): Now conditional on TARGET_HARD_QUAD.
19533
19534 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
19535
19536         * resource.c (mark_target_live_regs): Use
19537         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
19538
19539 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19540
19541         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
19542
19543         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
19544
19545         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
19546
19547 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19548
19549         * rtl.h (rtx_format): Constify a char*.
19550
19551         * rtl.c (rtx_format): Likewise.
19552         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
19553         (init_rtl): Use accessor macro, not `rtx_format'.
19554
19555         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
19556         char*.
19557
19558         * caller-save.c (mark_referenced_regs): Likewise.
19559
19560         * combine.c (subst, make_compound_operation, known_cond,
19561         gen_rtx_combine, update_table_tick, get_last_value_validate,
19562         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
19563
19564         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
19565         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
19566         count_reg_usage): Likewise.
19567
19568         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
19569         Likewise.
19570
19571         * final.c (leaf_renumber_regs_insn): Likewise.
19572
19573         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
19574         dump_edge_info, count_reg_references): Likewise.
19575
19576         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
19577         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
19578         Likewise.
19579
19580         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
19581         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
19582         add_label_notes): Likewise.
19583
19584         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
19585         clear_struct_flag, count_sub_rtxs, count_alternatives,
19586         compares_alternatives_p, contained_in_p, walk_attr_value,
19587         write_expr_attr_cache): Likewise.
19588
19589         * genconfig.c (walk_insn_part): Likewise.
19590
19591         * genemit.c (max_operand_1, gen_exp): Likewise.
19592
19593         * genextract.c (walk_rtx): Likewise.
19594
19595         * genflags.c (num_operands): Likewise.
19596
19597         * genoutput.c (scan_operands): Likewise.
19598
19599         * genpeep.c (match_rtx): Likewise.
19600
19601         * genrecog.c (add_to_sequence): Likewise.
19602
19603         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
19604         Likewise.
19605
19606         * integrate.c (save_constants, copy_for_inline,
19607         copy_rtx_and_substitute, subst_constants, restore_constants):
19608         Likewise.
19609
19610         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
19611         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
19612
19613         * local-alloc.c (contains_replace_regs, memref_referenced_p):
19614         Likewise.
19615
19616         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
19617         add_label_notes, replace_call_address, count_nonfixed_reads,
19618         invariant_p, find_single_use_in_loop, find_mem_givs,
19619         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
19620         Likewise.
19621
19622         * print-rtl.c (reg_names, print_rtx): Likewise.
19623
19624         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
19625
19626         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
19627         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
19628         print_blocks): Likewise.
19629
19630         * regclass.c (fix_register, record_address_regs,
19631         reg_scan_mark_refs): Likewise.
19632
19633         * regmove.c (stable_but_for_p): Likewise.
19634
19635         * reload.c (loc_mentioned_in_p, operands_match_p,
19636         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
19637         copy_replacements, refers_to_regno_for_reload_p,
19638         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
19639         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
19640         Likewise.
19641
19642         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
19643         delete_address_reloads_1, count_occurrences,
19644         reload_cse_mem_conflict_p, reload_combine_note_use,
19645         add_auto_inc_notes): Likewise.
19646
19647         * resource.c (mark_referenced_resources, mark_set_resources):
19648         Likewise.
19649
19650         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
19651         reg_mentioned_p, regs_set_between_p, modified_between_p,
19652         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
19653         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
19654         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
19655         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
19656
19657         * sched.c (sched_analyze_2, attach_deaths): Likewise.
19658
19659         * stupid.c (stupid_mark_refs): Likewise.
19660
19661         * unroll.c (remap_split_bivs): Likewise.
19662
19663         * varasm.c (mark_constants): Likewise.
19664
19665         * a29k/a29k.c (uses_local_reg_p): Likewise.
19666
19667         * alpha/alpha.c (summarize_insn): Likewise.
19668
19669         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
19670         eliminate_lr2ip): Likewise.
19671
19672         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
19673
19674         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
19675         reg_mentioned_in_mem): Likewise.
19676
19677         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
19678         symbolic_reference_mentioned_p): Likewise.
19679
19680         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
19681
19682         * sh/sh.c (regs_used, mark_use): Likewise.
19683
19684         * vax/vax.c (vax_rtx_cost): Likewise.
19685
19686 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19687
19688         * machmode.h (mode_name): Constify a char*.
19689
19690         * rtl.c (mode_name): Likewise.
19691
19692         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
19693
19694         * optabs.c (init_libfuncs): Constify a char*.
19695
19696         * print-tree.c (mode_name): Remove redundant declaration.
19697         (print_node): Use accessor macro, not `mode_name'.
19698
19699         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
19700         not `mode_name'.
19701         (new_spill_reg): Constify a char*.
19702
19703         * tree.c (mode_name): Remove redundant declaration.
19704
19705 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19706
19707         * rtl.c (rtx_name): Constify a char*.
19708
19709         * rtl.h (rtx_name, fix_sched_param): Likewise.
19710
19711         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
19712         (mypr): Use accessor macro, not `rtx_name'.
19713
19714         * genemit.c (print_code): Constify a char*.
19715
19716         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
19717
19718         * genpeep.c (print_code): Constify a char*.
19719
19720         * genrecog.c (print_code): Likewise.
19721
19722         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
19723         end_bb): Add static prototype.
19724         (draw_edge): Constify a char*.
19725         (end_bb): Remove unused parameter.
19726
19727         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
19728         print_block_visualization): Constify a char*.
19729
19730 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
19731
19732         * c-common.c (c_get_alias_set): Update comment.
19733
19734 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
19735
19736         * linux.h (LIB_SPEC): Added.
19737
19738 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19739
19740         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
19741
19742 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
19743
19744         * tree.c (expr_check): Fix typo in last change.
19745
19746 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
19747
19748         * rtl.def (NOTE): Change format to "iuu0n".
19749         (ADDR_DIFF_VEC): Change format to "eEee0".
19750         (ADDRESSOF): Change format to "eit".
19751
19752         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
19753         (RTVEC_ELT): Change to match.
19754         (XVECEXP): Use XVEC and RTVEC_ELT.
19755         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
19756         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
19757         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
19758         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
19759         TRAP_CONDITION, TRAP_CODE): Use XEXP.
19760         (INTVAL): Use XWINT.
19761         (ADDRESSOF_DECL): Use XTREE.
19762         (SET_ADDRESSOF_DECL): Delete.
19763         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
19764         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
19765         ifdefed out since 2.6 at least.
19766         (gen_rtvec_vv): Delete prototype.
19767
19768         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
19769         not rtunion.
19770         (copy_most_rtx): Handle 't' format letter.
19771         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
19772         (gen_rtvec_vv): Delete function.  All callers changed to use
19773         gen_rtvec_v instead.
19774         * print-rtl.c (print_rtx): Move special casing of NOTEs to
19775         the '0' format letter.
19776
19777         * function.c (gen_mem_addressof): Don't use
19778         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
19779         instead.
19780         * integrate.c (copy_rtx_and_substitute): Likewise.
19781         Copy 't' slots with XTREE.
19782         (subst_constants): Treat 't' slots like '[swi]' slots.
19783         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
19784         * jump.c (rtx_equal_for_thread_p): Likewise.
19785         * rtlanal.c (rtx_equal_p): Likewise.
19786         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
19787         only four arguments.
19788         * gengenrtl.c (type_from_format): Provide correct types for
19789         'b' and 't' slots.
19790
19791
19792         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
19793         If a recent gcc is in use (always in stage2 and beyond), use
19794         statement expressions, so we don't make a function call unless
19795         the check fails.  Evaluate arguments exactly once.
19796         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
19797         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
19798         Delete.
19799         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
19800         they evaluate their arguments exactly once, irrespective of
19801         the compiler in use.
19802
19803         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
19804         is used by the currently-enabled check macros.  This is:
19805         (tree_check_failed, tree_class_check_failed): For gcc.
19806         (tree_check, tree_class_check, cst_or_constructor_check,
19807         expr_check): For other compilers.
19808
19809         * gencheck.c: Do not define any *_CHECK1 macros.
19810
19811 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
19812                           Mark Mitchell <mark@codesourcery.com>
19813
19814         * c-common.c (c_get_alias_set): Fix support for poitners and
19815         references.
19816
19817 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
19818
19819         * alias.c: Include tree.h.
19820         (nonlocal_reference_p, mark_constant_function): New functions.
19821         * flow.c (life_analysis): Call mark_constant_function.
19822         * rtl.h (mark_constant_function): Declare it.
19823
19824 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
19825
19826         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
19827         unrecognisable switches.
19828
19829 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19830
19831         * loop.c (recombine_givs): Set ix field after sorting.
19832         (recombine_givs): Remove bogus index / giv lockstep looping.
19833
19834 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19835
19836         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
19837         on CODE.
19838         (emit_store_flag_force): Use do_compare_rtx_and_jump.
19839         (do_cmp_and_jump): Formatting fixes.
19840         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
19841         do_compare_rtx_and_jump instead of compare_from_rtx.
19842         (do_compare_rtx_and_jump): New function; mostly copied from
19843         compare_from_rtx.
19844         (do_jump_for_compare): Delete.
19845         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
19846         MIN_EXPR.
19847         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
19848         of compare/do_jump_for_compare pairs.
19849         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
19850         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
19851         compare_from_rtx/do_jump_for_compare pairs.
19852         (do_jump_by_parts_equality): Likewise.
19853         (do_jump_by_parts_equality_rtx): Likewise.
19854         * expr.h (do_compare_rtx_and_jump): Declare.
19855         * optabs.c (prepare_cmp_insn): New function, contains most of the code
19856         that used to be in emit_cmp_insn.
19857         (cmp_available_p): New function.
19858         (prepare_operand): New function.
19859         (emit_cmp_and_jump_insn_1): New function, contains some code that used
19860         to be in emit_cmp_insn.
19861         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
19862         parameters to be pointers; don't emit final compare but modify some of
19863         the values pointed to by the args so the caller can perform the
19864         correct comparison.
19865         (expand_binop): Call emit_store_flag_force with signed forms of
19866         comparison code.
19867         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
19868         emit_jump_insn pair.
19869         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
19870         emit_cmp_and_jump_insn_1.  Call emit_queue.
19871         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
19872         arg.
19873         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
19874         jump sets cc0 before deleting it.
19875         * integrate.c (expand_inline_function): Likewise.
19876         * unroll.c (unroll_loop): Similar changes in several places.
19877         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
19878         before deleting it.
19879
19880 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19881
19882         * Makefile.in (insn-recog.o): Update dependencies.
19883         * genrecog.c (main): Make generated file include "function.h".
19884
19885 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
19886
19887         * cse.c (cse_insn): Call never_reached_warning when a jump is
19888         changed to be unconditional.
19889         * flags.h: Declare warn_notreached.
19890         * flow.c (delete_block): Call never_reached_warning when
19891         a block is deleted.
19892         * jump.c (delete_barrier_successors): Call never_reached_warning
19893         when we delete everything after a BARRIER.
19894         (never_reached_warning): New function.
19895         * rtl.h: Declare never_reached_warning.
19896         * toplev.c (warn_notreached): New variable.
19897         (lang_independent_options): Set warn_notreached
19898         when -Wunreachable-code.
19899         (compile_file): We need line numbers for -Wunreachable-code.
19900
19901 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
19902
19903         * haifa-sched.c (insn_unit): Fix typo on out of range test.
19904         * sched.c (insn_unit): Likewise.
19905
19906 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
19907
19908         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
19909
19910 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19911
19912         * flow.c (create_edge_list): Use xmalloc, not malloc.
19913
19914 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
19915
19916         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
19917         C-style comments.  Do not lose the character before double slash.
19918
19919 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19920
19921         * basic-block.h (struct edge_list): Stucture to maintain a vector
19922         of edges.
19923         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
19924          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
19925         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
19926         New function prototypes.
19927         * flow.c (create_edge_list): Function to create an edge list.
19928         (free_edge_list): Discards memory used by an edge list.
19929         (print_edge_list): Debug output showing an edge list.
19930         (verify_edge_list): Internal consistency check for an edge list.
19931         (find_edge_index): Function to find an edge index for a pred and succ.
19932
19933 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
19934
19935         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
19936         hashtable.
19937
19938 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
19939
19940         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
19941
19942 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
19943
19944         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
19945
19946 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
19947
19948         * toplev.c (rest_of_compilation): Allow machine dependent
19949         reorganisation pass to place information into the RTL dump
19950         file if it so wishes.
19951
19952 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
19953
19954         * explow.c (hard_function_value): Use VOIDmode instead of
19955         MAX_MACHINE_MODE.
19956         * stmt.c (expand_return): Likewise.
19957         * stor-layout.c (get_best_mode): Likewise.
19958
19959         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
19960         emit call instead of emit_insn call.
19961
19962 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19963
19964         * configure.in: Handle --disable/enable-win32-registry.
19965         * install.texi: Document --disable/enable-win32-registry.
19966         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
19967         (WIN32_REGISTRY_KEY): New macro.
19968         * prefix.c: Use to enable/disable win32-specific code.
19969         (lookup_key): Use versioned key.
19970         * configure: Regenerate.
19971         * config.in: Likewise.
19972
19973 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
19974
19975         * cpplib.c (read_line_number): New fn, split out of...
19976         (do_line): Here.
19977
19978 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19979
19980         tree.c (lang_unsave_expr_now) : New.
19981         (unsave_expr_now): Call lang_unsave_expr_now.
19982         tree.h (lang_unsave_expr_now) : New.
19983
19984 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
19985
19986         * toplev.c (flag_new_exceptions): On by default.
19987
19988 1999-08-13  Michael Meissner  <meissner@cygnus.com>
19989
19990         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
19991
19992 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
19993
19994         * dwarfout.c (fundamental_type_code): Return FT_boolean for
19995         INTEGER_TYPE with precision==1, it's __java_boolean.
19996
19997 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19998
19999         * global.c (prune_preferences): Move some invariants out of the
20000         inner loop.
20001
20002 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
20003
20004         * configure.in (alpha*-dec-osf*): Add osf5.
20005
20006 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
20007
20008         * configure.in: Rework handling of ARM GNU/Linux slightly.
20009         (arm*-*-linux-gnuoldld): New target.
20010         * configure: Regenerate.
20011         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
20012         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
20013         * config/arm/linux-oldld.h: New file.
20014         * config/arm/linux-elf26.h: Don't include linux-elf.h.
20015         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
20016         Don't define.
20017         * config/arm/linux-elf.h (ASM_SPEC): Define.
20018         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
20019         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
20020         for 26-bit APCS and old linker.
20021         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
20022         `arm_elf'.
20023         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
20024         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
20025         don't define `arm' or `arm_elf'.
20026         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
20027         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
20028
20029 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
20030
20031         * rtl.texi: Fix typo.
20032
20033 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
20034
20035         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
20036
20037 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
20038
20039         * extend.texi (C++ Signatures): Remove node.
20040         * invoke.texi: Remove discussion of -fhandle-signatures,
20041         signature, sigof, __signature__, and __sigof__.
20042
20043 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
20044
20045         * Makefile.in (JAVAGC): Removed.
20046
20047 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20048
20049         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
20050
20051 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
20052
20053         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
20054
20055 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
20056
20057         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
20058         a register that is already known to be a pointer.
20059
20060 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
20061
20062         * fixinc/inclhack.tpl: Only install assert.h conditionally.
20063         * fixinc/inclhack.sh: Regenerated.
20064         * fixinc/fixincl.sh: Regenerated.
20065
20066 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
20067
20068         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
20069         Fix documentation of -ansi flag to describe its C++ behavior.
20070         Remove bogus reference to GCC 2.9.
20071
20072 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
20073
20074         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
20075         note if it is non-NULL.
20076
20077 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20078
20079         * except.h (eh_nesting_info): Add new structure defintion.
20080         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
20081         (reachable_handlers, update_rethrow_references): Add function
20082         prototypes.
20083         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
20084         a rethrow symbol instead of an integer exception region number.
20085         * flow.c (Make_edges): Use new exception nesting routines to determine
20086         which handlers are reachable from a CALL or asynchronous insn.
20087         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
20088         goto receivers.
20089         (delete_eh_regions): Update rethrow labels, and don't delete
20090         regions which are the target of a rethrow.
20091         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
20092         avoid overloading the SYMBOL_REF_USED flag.
20093         (rethrow_symbol_map): Use new rethrow_ref field.
20094         (rethrow_used): Use new rethrow_ref field.
20095         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
20096         of an integer.  Fix formatting.
20097         (output_exception_table_entry): Use new rethrow_ref field.
20098         (can_throw): Check for EH_REGION_NOTE before deciding
20099         whether a CALL can throw or not.
20100         (scan_region): Call rethrow_used() instead of accessing data structure.
20101         (update_rethrow_references): New function to make sure only regions
20102         which are still targets of a rethrow are flagged as such.
20103         (process_nestinfo): New static function to initialize a handler
20104         list for a specific region.
20105         (init_eh_nesting_info): New function to allocate and initialize
20106         the list of all EH handlers reachable from all regions.
20107         (reachable_handlers): New function to retrieve the list of handlers
20108         reachable from a specific region and insn.
20109         (free_eh_nesting_info): New function to dispose of a list of
20110         reachable handlers.
20111
20112 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20113
20114         * flow.c (split_edge): Set JUMP_LABEL field.
20115         (commit_one_edge_insertion): Set head correctly for insert_before.
20116         When inserting insns, update insn block numbers if allocated.
20117
20118 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20119
20120         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
20121         retry_incomplete_types): Add static prototype.
20122         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
20123         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
20124         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
20125         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
20126         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
20127         Constify a char*.
20128
20129         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
20130         dwarf2out_start_source_file, dwarf2out_line): Likewise.
20131
20132 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20133
20134         * output.h (assemble_name): Constify a char*.
20135
20136         * varasm.c (UNIQUE_SECTION, assemble_start_function,
20137         assemble_variable, assemble_name): Likewise.
20138
20139         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
20140
20141         * arm/pe.c (arm_pe_unique_section): Likewise.
20142
20143         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
20144
20145         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
20146
20147         * i386/interix.c (i386_pe_unique_section): Likewise.
20148
20149         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
20150
20151         * i386/winnt.c (i386_pe_unique_section): Likewise.
20152
20153         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
20154
20155         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
20156
20157         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
20158
20159         * pa/pa.c (output_call): Likewise.
20160
20161         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
20162
20163         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
20164
20165         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
20166         Likewise.
20167
20168         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
20169         Likewise.
20170
20171         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
20172
20173         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
20174         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
20175
20176         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
20177
20178 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20179
20180         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
20181
20182 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20183
20184         * tree.h (lang_identify): Constify a char*.
20185         (print_error_function): Add extern prototype.  Constify a char*.
20186
20187         * c-lang.c (lang_identify): Constify a char*.
20188
20189         * objc/objc-act.c (lang_identify): Constify a char*.
20190
20191 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20192
20193         * genpeep.c (main): Make generated file include "function.h".
20194         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
20195
20196 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20197
20198         * Makefile.in: Update dependencies.
20199         * alias.c: Include "function.h"
20200         * c-decl.c: Likewise.
20201         * caller-save.c: Likewise.
20202         * calls.c: Likewise.
20203         * combine.c: Likewise.
20204         * cse.c: Likewise.
20205         * explow.c: Likewise.
20206         * final.c: Likewise.
20207         * global.c: Likewise.
20208         * graph.c: Likewise.
20209         * local-alloc.c: Likewise.
20210         * loop.c: Likewise.
20211         * optabs.c: Likewise.
20212         * profile.c: Likewise.
20213         * recog.c: Likewise.
20214         * regclass.c: Likewise.
20215         * regmove.c: Likewise.
20216         * reload.c: Likewise.
20217         * reorg.c: Likewise.
20218         * resource.c: Likewise.
20219         * sched.c: Likewise.
20220         * stupid.c: Likewise.
20221         * config/1750a/1750a.c: Likewise.
20222         * config/a29k/a29k.c: Likewise.
20223         * config/arc/arc.c: Likewise.
20224         * config/arm/arm.c: Likewise.
20225         * config/arm/thumb.c: Likewise.
20226         * config/c4x/c4x.c: Likewise.
20227         * config/clipper/clipper.c: Likewise.
20228         * config/convex/convex.c: Likewise.
20229         * config/fx80/fx80.c: Likewise.
20230         * config/i860/i860.c: Likewise.
20231         * config/m68k/m68k.c: Likewise.
20232         * config/m88k/m88k.c: Likewise.
20233         * config/mips/mips.c: Likewise.
20234         * config/pdp11/pdp11.c: Likewise.
20235         * config/pyr/pyr.c: Likewise.
20236         * config/romp/romp.c: Likewise.
20237         * config/sh/sh.c: Likewise.
20238         * config/tahoe/tahoe.c: Likewise.
20239         * config/vax/vax.c: Likewise.
20240         * config/we32k/we32k.c: Likewise.
20241         * config/sparc/sparc.c: Include "function.h".
20242         (mem_min_alignment): Test current_function rather than
20243         regno_pointer_align.
20244         * config/pa/pa.c: Likewise.
20245         (compute_frame_size): Delete declaration of
20246         current_function_outgoing_args_size.
20247         * config/arc/arc.h (current_function_varargs): Delete declaration.
20248         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
20249         declaration.
20250         * config/i370/i370.h (current_function_outgoing_args_size): Delete
20251         declaration.
20252         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
20253         current_function_uses_pic_offset_table.
20254         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
20255         of current_function_returns_pointer.
20256         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20257         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20258         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20259         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20260         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20261         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20262         * config/m88k/m88k.c: Include "function.h"
20263         (call_used_regs, current_function_pretend_args_size,
20264         current_function_outgoing_args_size, frame_pointer_needed): Delete
20265         declarations.
20266         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
20267         declaration.
20268         * config/mips/mips.h (current_function_calls_alloca): Delete
20269         declaration.
20270         * config/mn10200/mn10200.h (current_function_needs_context,
20271         rtx_equal_function_value_matters): Delete declarations.
20272         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
20273         flag_pic): Delete declarations.
20274         * config/pa/pa.h (current_function_pretend_args_size,
20275         current_function_decl): Delete declarations.
20276         * config/pa/som.h (current_function_varargs): Delete declaration.
20277         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
20278         declaration.
20279         * config/pyr/pyr.h (current_function_pretend_args_size,
20280         current_function_args_size, current_function_calls_alloca): Delete
20281         declarations.
20282         * config/sh/sh.h (current_function_varargs): Delete declaration.
20283         * config/sparc/sparc.h (current_function_outgoing_args_size,
20284         current_function_calls_alloca, current_function_decl): Delete
20285         declarations.
20286         * config/spur/spur.h (current_function_pretend_args_size,
20287         current_function_calls_alloca): Delete declarations.
20288         * config/v850/v850.c (current_function_outgoing_args_size): Delete
20289         declaration.
20290         * config/vax/vms.h (current_function_name): Delete declaration.
20291         * gcse.c: Include "function.h".
20292         (current_function_name, current_function_calls_setjmp): Delete
20293         declarations.
20294         * haifa-sched.c: Include "function.h".
20295         (forced_labels): Delete declaration.
20296         * jump.c: Likewise.
20297         * reg-stack.c: Likewise.
20298         * reload1.c: Likewise.
20299         * genemit.c (main): Make generated file include function.h.
20300         * genoutput.c (output_prologue): Likewise.
20301
20302         * builtins.c (saveregs_value, apply_args_value): Delete variables.
20303         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
20304         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
20305         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
20306         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
20307         macros for some of them.
20308         (emit_filename, emit_lineno): Delete declarations.
20309         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
20310         regno_pointer_* variables through current_function.
20311         (gen_inline_header_rtx): Delete function.
20312         (save_emit_status): Delete function.
20313         (set_new_last_label_num): New function.
20314         (clear_emit_caches): New function.
20315         (restore_emit_status): Just clear last_labelnum and call
20316         clear_emit_caches.
20317         (get_last_insn_anywhere): Variable sequence_stack is now accessed
20318         through macro seq_stack.
20319         (add_insn_after): Likewise.
20320         (add_insn_before): Likewise.
20321         (remove_insn): Likewise.
20322         (pop_topmost_sequence): Likewise.
20323         (in_sequence_p): Likewise.
20324         (start_sequence_for_rtl_expr): Likewise.
20325         (start_sequence): Likewise, and likewise for
20326         sequence_rtl_expr/seq_rtl_expr.
20327         (push_topmost_sequence): Likewise.
20328         (end_sequence): Likewise.
20329         (init_virtual_regs): Now takes a "struct emit_status *" argument.
20330         All callers changed.  Store into that pointer instead of globals.
20331         (init_emit): Allocate emit elt of current_function.
20332         Changes for sequence_rtl_expr/sequence_stack renaming.
20333         Call clear_emit_caches instead of doing it in-line.
20334         Access regno_pointer_* variables through current_function.
20335         (init_emit_once) Don't clear sequence_stack.
20336
20337         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
20338         Delete variables.
20339         (arg_pointer_save_area): Delete declaration.
20340         (finish_expr_for_function): Renamed from init_queue; no longer static.
20341         (init_expr): Don't call init_queue.
20342         (save_expr_status, restore_expr_status): Delete functions.
20343         (expand_expr): Changes to reflect new layout of struct function.
20344         Don't access current_function_check_memory_usage when current_function
20345         is 0.
20346         * expr.h (forced_labels, save_expr_regs, saveregs_value,
20347         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
20348         current_function_outgoing_args_size, current_function_arg_offset_rtx,
20349         current_function_uses_const_pool, function_call_count,
20350         current_function_uses_pic_offset_table, nonlocal_labels,
20351         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
20352         current_function_check_memory_usage, nonlocal_goto_handler_slots,
20353         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
20354         declarations.
20355         (finish_expr_for_function): Declare.
20356         * flags.h (current_function_has_nonlocal_label,
20357         current_function_has_nonlocal_goto, current_function_is_thunk,
20358         current_function_has_computed_jump): Delete declarations.
20359         * flow.c (forced_labels): Delete declaration.
20360         * function.c (current_function_pops_args,
20361         current_function_returns_struct, current_function_returns_pcc_struct,
20362         current_function_needs_context, current_function_calls_setjmp,
20363         current_function_calls_longjmp, current_function_has_nonlocal_label,
20364         current_function_has_nonlocal_goto, current_function_is_thunk,
20365         current_function_has_computed_jump, current_function_calls_alloca,
20366         current_function_contains_functions, current_function_returns_pointer,
20367         current_function_epilogue_delay_list, current_function_args_size,
20368         current_function_pretend_args_size, current_function_arg_offset_rtx,
20369         current_function_outgoing_args_size, current_function_varargs,
20370         current_function_stdarg, current_function_args_info, cleanup_label,
20371         current_function_name, current_function_uses_const_pool,
20372         current_function_instrument_entry_exit, current_function_return_rtx,
20373         current_function_uses_pic_offset_table, nonlocal_labels,
20374         current_function_internal_arg_pointer, current_function_cannot_inline,
20375         current_function_check_memory_usage, function_call_count,
20376         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
20377         nonlocal_goto_stack_level, return_label, save_expr_regs,
20378         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
20379         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
20380         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
20381         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
20382         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
20383         Delete variables.
20384         (push_function_context_to): Don't save them.  Don't call
20385         save_storage_status, save_emit_status or save_expr_status.
20386         (pop_function_context_from): Don't restore them.  Don't call
20387         restore_storage_status or restore_expr_status.
20388         (get_func_frame_size): New function.
20389         (get_frame_size): Use it.
20390         (assign_outer_stack_local): Reflect some member name changes in struct
20391         function.
20392         (put_reg_into_stack): Likewise.
20393         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
20394         seq_rtl_expr.
20395         (fixup_var_refs): Likewise.
20396         (fix_lexical_addr): Likewise.
20397         (trampoline_address): Likewise.
20398         (prepare_function_start): Clear field inlinable of current_function.
20399         (init_function_for_compilation): New function.
20400         (expand_dummy_function_end): New function.
20401         (expand_function_end): Call finish_expr_for_function.
20402         * function.h (struct emit_status): New; fields moved here from struct
20403         function and from global variables.  Add accessor macros for some of
20404         the fields.
20405         (struct expr_status): Likewise.
20406         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
20407         (struct function): Add fields expr and emit, inlinable, inl_emit,
20408         original_arg_vector, original_decl_initial, inl_last_parm_insn,
20409         inl_max_label_num.  Add many comments.
20410         Add accessor macros for all elts of struct function that no longer
20411         have a global variable.
20412         (cleanup_label, return_label, frame_offset, tail_recursion_label,
20413         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
20414         stack_slot_list): Delete declarations.
20415         (get_func_frame_size): Declare.
20416         (save_expr_status, restore_expr_status, save_emit_status,
20417         save_storage_status, restore_storage_status): Delete declarations.
20418         (init_virtual_regs): Declare.
20419         * output.h (current_function_pops_args,
20420         current_function_returns_struct, current_function_returns_pcc_struct,
20421         current_function_needs_context, current_function_calls_setjmp,
20422         current_function_calls_longjmp, current_function_calls_alloca,
20423         current_function_has_nonlocal_label, current_function_varargs,
20424         current_function_has_computed_jump, current_function_returns_pointer,
20425         current_function_contains_functions, current_function_args_size,
20426         current_function_pretend_args_size, current_function_stdarg,
20427         current_function_outgoing_args_size, current_function_args_info,
20428         current_function_name, current_function_return_rtx,
20429         current_function_epilogue_delay_list,
20430         current_function_uses_const_pool, current_function_cannot_inline):
20431         Delete declarations.
20432         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
20433         regno_reg_rtx): Delete declaration.
20434         (REGNO_POINTER_FLAG): Delete macro.
20435         * stmt.c (expand_goto): Changes to reflect that some fields in struct
20436         function were renamed.
20437         * stor-layout.c (save_storage_status, restore_storage_status): Delete
20438         functions.
20439         * toplev.c: Include "function.h".
20440         (current_function_decl): Delete declaration.
20441         (compile_file): Call init_dummy_function_start and
20442         expand_dummy_function_end around some initializations that need to
20443         emit rtl.
20444         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
20445         Call init_function_for_compilation.
20446         * unroll.c: Include "function.h"
20447         (unroll_loop): Access regno_pointer_* variables through
20448         current_function.
20449
20450         * tree.h (struct tree_decl): Add elt f to saved_insns member.
20451         (DECL_SAVED_INSNS): use it.
20452         (expand_dummy_function_end): Declare.
20453         (init_function_for_compilation): Declare.
20454         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
20455         that it's no longer an INLINE_HEADER.
20456         (expand_call): Likewise.
20457         * integrate.c (finish_inline): Delete function.
20458         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
20459         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
20460         args.  Don't generate an INLINE_HEADER rtx, just return the arg
20461         vector.  All callers changed.
20462         (save_for_inline_copying):  Create a duplicate struct emit_status to
20463         hold the emit state for compiling the current function.  Use this and
20464         the other new fields in struct function that are for integration
20465         instead of an INLINE_HEADER.
20466         Use memcpy instead of bcopy.
20467         Store the current struct function in DECL_SAVED_INSNS of fndecl.
20468         (save_for_inline_nocopy): Similar changes, except no new emit_status
20469         is needed here.
20470         (expand_inline_function): Get information from function structure,
20471         not from an inline header rtx.
20472         (output_inline_function): Lose code to extract the necessary
20473         information from an inline header; simply put back the function
20474         structure into current_function.  Clear its inlinable elt.
20475         * rtl.def (INLINE_HEADER): Delete.
20476         * rtl.h: Delete all accessors for an INLINE_HEADER.
20477         (gen_inline_header_rtx): Delete declaration.
20478         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
20479         Delete declarations.
20480         (REGNO_POINTER_ALIGN): Delete.
20481         (clear_emit_caches): Declare.
20482         (set_new_last_label_num): Declare.
20483
20484 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
20485
20486         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
20487
20488         * except.c (expand_eh_region_start_for_decl): Always start a new block.
20489         * stmt.c (is_eh_region): Make sure current_function is present, too.
20490
20491 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
20492
20493         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
20494         for 64bit PA targets.
20495
20496         * pa.h (SELECT_SECTION): Define.
20497         * som.h (SELECT_SECTION): Delete.
20498
20499 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20500
20501         * alias.c (init_alias_analysis): Wrap call to
20502         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
20503
20504 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
20505
20506         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
20507         <sys/asm.h> contains an asm comment with an apostrophe
20508         * fixinc/inclhack.sh:  regen
20509         * fixinc/fixincl.x:  regen
20510
20511 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
20512
20513         * function.c (init_function_start): Clear prologue & epilogue.
20514         (prologue_epilogue_contains): New function.
20515         * alias.c (init_alias_analysis): Use it.
20516         * rtl.h (prologue_epilogue_contains): Declare it.
20517
20518 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
20519
20520         * jump.c (onlyjump_p): New function.
20521         * rtl.h: Declare it.
20522         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
20523         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
20524
20525 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
20526
20527         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
20528         to invert loops.  Simplify block scanning.
20529
20530 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
20531
20532         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
20533         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
20534
20535 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
20536
20537         * config/sparc/liteelf.h: New file to support sparclite-elf target
20538         * config/sparc/t-sp86x: New file to support sparc86x targets
20539         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
20540         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
20541         * configure.in: Support above target triplets
20542         * configure: Regenerated
20543
20544 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
20545
20546         * fixinc/server.c (server_setup): Do not prefix function used as
20547         parameter with `&'.
20548
20549 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
20550
20551         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
20552         Remove fp reg alternatives.
20553
20554 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
20555
20556         * Makefiin (TAROUTOPTS): Kill.
20557         (install-headers-tar): Use "xpf" for tar headerfile extraction
20558         * i370/x-oe (TAROUTOPTS): Delete.
20559         * m68k/x-apollo68 (TAROUTOPTS): Delete.
20560         * m68k/x-hp320 (TAROUTOPTS): Delete.
20561         * m68k/x-hp320g (TAROUTOPTS): Delete.
20562         * gcc.texi: Update bug reporting text.
20563
20564 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
20565
20566         * reg-stack.c (change_stack) Fixed problem with negative array index.
20567
20568 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
20569
20570         * extend.texi, install.texi: Fix spelling mistakes.
20571
20572         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
20573         (s-attrtab); No longer try to use pre-made insn-attrtab file.
20574         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
20575         PREMADE_ATTRTAB_MD.
20576         * mips/t-ecoff: Likewise.
20577         * mips/t-elf: Likewise.
20578         * mips/t-mips: Likewise.
20579         * mips/t-osfrose: Likewise.
20580         * mips/t-r3900: Likewise.
20581         * mips/t-svr3: Likewise.
20582         * mips/t-svr4: Likewise.
20583         * mips/t-ultrix: Likewise.
20584
20585         * gcc.texi: Document recommend means to provide software floating
20586         point libraries in libgcc.a
20587
20588 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
20589
20590         * c-lex.c (yylex): We can have a number with no digits.
20591
20592 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
20593
20594         * jump.c (delete_prior_computation): New function, broken
20595         out of delete_computation.  Check for side effects with
20596         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
20597         multi-word hard registers.
20598         (delete_computation): Use it.  Check for side effects with
20599         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
20600         missing REG_DEAD note for a register which is both set and
20601         used by an insn.
20602
20603 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
20604
20605         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
20606         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
20607         (ASM_FILE_START): Import _mcount with the right type.
20608         (ASM_DECLARE_FUNCTION_NAME): Define.
20609         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
20610         * pa.c (output_function_prologue): Always emit the function's label
20611         here.
20612         * pa.h (TEXT_SPACE_P): Define.
20613         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
20614         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
20615         * som.h (TEXT_SPACE_P): Delete.
20616         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
20617         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
20618
20619 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
20620
20621         * expr.c (emit_group_load): Allow src to be a CONCAT.
20622
20623 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20624
20625         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
20626         (___mulsi3): Use '!' comment character.
20627
20628 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20629
20630         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
20631
20632 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
20633
20634         * gcc.c: Update URLs and mail addresses.
20635         * gcc.texi: Likewise.
20636
20637 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
20638
20639         * rs6000.c (current_file_function_operand): Return zero for
20640         weak functions.
20641         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
20642         weak symbols.
20643         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
20644         for weak symbols.
20645
20646 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
20647
20648         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
20649         allocate space in the stack frame for the PIC register.
20650
20651 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
20652
20653         * m68k.md (xordi3, anddi3): These patterns are not available on
20654         the coldfire.
20655
20656 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
20657
20658         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
20659         (PUT_REAL): Likewise.
20660
20661 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20662
20663         * final.c (shorten_branches): Don't add an alignment for loops
20664         that have no label inside.
20665
20666 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20667
20668         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
20669         prototypes in macro HAVE_cmpstrsi.
20670
20671         * cpplib.c (cpp_get_token): Remove unused label `op3'.
20672
20673         * emit-rtl.c (operand_subword): Remove unused variable
20674         `bits_per_word'.
20675
20676         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
20677
20678         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
20679
20680 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
20681
20682         * cpphash.c (macroexpand): Delete leading whitespace when arg
20683         is concatenated before.
20684         (unsafe_chars): Correct test for whether + and - can extend a
20685         token.
20686
20687         * cppinit.c (cpp_start_read): Do dependencies for
20688         -include/-imacros files also.
20689
20690         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
20691         tokenizing non-directive lines.
20692         (cpp_expand_to_buffer): Temporarily disable no-output mode.
20693         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
20694         the input file.
20695
20696 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
20697
20698         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
20699
20700         * c-lex.c: Sync with C++ frontend.
20701         (linemode): New variable.
20702         (parse_float): imag, conversion_errno, and type are output only.
20703         (yylex): Adjust.  Move initial '.' case into main switch.
20704         Use linemode.
20705         (handle_generic_pragma): Just deal with tokens.
20706         (readescape): Use ISXDIGIT and ISGRAPH.
20707         * c-parse.in: Add END_OF_LINE token.
20708
20709         * c-lex.c (lang_init): Generalize.
20710         (nextchar): Remove.  Replace uses with UNGETC.
20711         (skip_white_space): Handle linemode here.  Optimize for cpplib.
20712         (skip_white_space_on_line): Remove.
20713         (extend_token_buffer_to): New fn.
20714         (extend_token_buffer): Use it.
20715         (read_line_number, check_newline): Just deal with tokens.
20716         (token_getch, token_put_back): New fns.
20717         (yylex): Use them.  More cpplib optimizations.  Simplify.
20718
20719 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
20720                           Jason Merrill  <jason@yorick.cygnus.com>
20721
20722         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
20723         (consume_string): Make this smart about USE_CPPLIB.
20724         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
20725         (yylex): Rewrite to be intelligent about USE_CPPLIB.
20726         Also, clean up cases where we redundantly set token_buffer[0].
20727         (read_line_number): New fn.
20728         (ignore_escape_flag): New variable.
20729
20730 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
20731
20732         * a29k/t-a29kbare: Fix some comments.
20733         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
20734         (FPBIT, DPBIT): Define.
20735         * a29k/t-vx29k: Likewise.
20736         * arc/t-arc: Likewise.
20737         * arm/t-arm-elf: Likewise.
20738         * arm/t-bare: Likewise.
20739         * arm/t-pe: Likewise.
20740         * arm/t-pe-thumb: Likewise.
20741         * arm/t-semi: Likewise.
20742         * arm/t-thumb: Likewise.
20743         * arm/t-thumb-elf: Likewise.
20744         * arm/t-thumb-linux: Likewise.
20745         * h8300/t-h8300: Likewise.
20746         * i960/t-i960: Likewise.
20747         * i960/t-vxworks960: Likewise.
20748         * m32r/t-m32r: Likewise.
20749         * mips/t-ecoff: Likewise.
20750         * mips/t-elf: Likewise.
20751         * mips/t-r3900: Likewise.
20752         * pa/t-pro: Likewise.
20753         * rs6000/t-aix43: Likewise.
20754         * rs6000/t-beos: Likewise.
20755         * rs6000/t-newas: Likewise.
20756         * rs6000/t-ppccomm: Likewise.
20757         * rs6000/t-rs6000: Likewise.
20758         * rs6000/t-winnt: Likewise.
20759         * rs6000/t-xnewas: Likewise.
20760         * rs6000/t-xrs6000: Likewise.
20761         * sh/t-sh: Likewise.
20762         * sparc/t-elf: Likewise.
20763         * sparc/t-sparcbare: Likewise.
20764         * sparc/t-sparclite: Likewise.
20765         * sparc/t-splet: Likewise.
20766         * v850/t-v850: Likewise.
20767         * mn10200/t-mn10200: Fix comments.
20768         * mn10300/t-mn10300: Likewise.
20769
20770         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
20771         dummy operand.  Allocate a new pseudo for the dummy operand.
20772         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
20773
20774         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
20775
20776 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
20777
20778         * configure: Rebuilt.
20779         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
20780
20781 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
20782
20783         * recog.c (preproces_constraints): Zero recog_op_alt before
20784         processing the constraints.
20785
20786         * arm.c (typedef minipool_node): Renamed from pool_node.
20787         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
20788         (add_minipool_constant): New function.
20789         (dump_minipool): New function.
20790         (find_barrier): Remove special case for getting the insn size of
20791         an insn that references the constant pool.
20792         (minipool_fixup): New structure.
20793         (push_minipool_barrier): New function.
20794         (push_minipool_fix): New function.
20795         (note_invalid_constants): New function.
20796         (add_pool_constant, dump_table, fixit, broken_move): Delete.
20797         (arm_reorg): Rewrite code to fix up the constant pool into a
20798         series of mini-pools embedded in the insn stream.
20799         (arm_output_epilogue): New function, made mainly from the body
20800         of output_func_epilogue.
20801         (output_func_epilogue): Move insn generation part of epilogue code
20802         to arm_output_epilogue.
20803         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
20804         * arm.md (pool_range): New attribute.
20805         (zero_extendqidi2): Add attribute pool_range.
20806         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
20807         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
20808         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
20809         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
20810         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
20811         (epilogue): New expand.
20812         (epilogue_insn): New insn.  Call arm_output_epilogue.
20813
20814         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
20815         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
20816
20817 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
20818
20819         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
20820
20821 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
20822
20823         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
20824
20825 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
20826
20827         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
20828
20829 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
20830
20831         * global.c: Fix comment.
20832
20833 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
20834
20835         * gcc.c (access_check): New static function.
20836         (find_a_file): Use it when searching a directory list.
20837         * collect2.c (find_a_file): Don't accept directories found when
20838         searching a directory list.
20839
20840 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
20841
20842         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
20843         function parameters with `&'.
20844         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
20845
20846 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
20847
20848         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
20849         or tidy_fallthru_edge if the last insn in the block is not
20850         an unconditional jump or a simple conditional jump.
20851
20852 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20853
20854         * Makefile.in (c-decl.o): Depends on defaults.h.
20855
20856 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
20857
20858         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
20859         PA1.1 and above.
20860         (CLASS_MAX_NREGS): Likewise.
20861
20862 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
20863
20864         * cse.c (cse_insn): Fix dumb thinko in last change.
20865
20866 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20867
20868         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
20869         "const char *".
20870
20871 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
20872
20873         * dwarf2out.c (add_location_or_const_value_attribute): Correct
20874         test for sizes of passed and declared parameter types.
20875
20876 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20877
20878         * fixincludes: Fix the return type of bsearch, char* -> void*.
20879
20880         * fixinc/inclhack.def: Likewise.
20881
20882 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
20883
20884         * invoke.texi (-fdump-translation-unit): New option.
20885
20886 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
20887
20888         * expr.h (PROMOTE_PROTOTYPES): Move ...
20889         * defaults.h: ... to here.
20890         * c-decl.c: Include defaults.h instead of expr.h.
20891         * c-typeck.c: Include defaults.h.
20892
20893 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
20894
20895         * toplev.h (errorcount): Declare.
20896         (warningcount): Likewise.
20897         (sorrycount): Likewise.
20898         * c-lex.c (errorcount): Don't declare.
20899         * dwarf2out.c (errorcount): Don't declare.
20900
20901 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
20902
20903         * config/libgloss.h: Add a note discouraging use with ELF.
20904         * configure.in: Don't use libgloss.h for ELF targets.
20905         Always use_collect2 on a.out targets.
20906
20907 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
20908
20909         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
20910         (force_to_mode, case ASHIFTRT): Add shiftrt label.
20911
20912 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20913
20914         * loop.c (strength_reduce): When doing biv->giv conversion, update
20915         reg note of NEXT->insn.
20916
20917 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20918
20919         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
20920
20921 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20922
20923         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
20924         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
20925         Ensure expr.h is included.
20926         * c-typecheck.c (convert_arguments): Ditto.
20927
20928         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
20929
20930         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
20931         * config/convex/convex.h: Ditto.
20932         * config/dsp16xx/dsp16xx.h: Ditto.
20933         * config/fx80/fx80.h: Ditto.
20934         * config/gmicro/gmicro.h: Ditto.
20935         * config/i370/i370.h: Ditto.
20936         * config/i386/i386.h: Ditto.
20937         * config/m32r/m32r.h: Ditto.
20938         * config/m68k/m68k.h: Ditto.
20939         * config/m88k/m88k.h: Ditto.
20940         * config/mips/mips.h: Ditto.
20941         * config/pa/pa.h: Ditto.
20942         * config/pyr/pyr.h: Ditto.
20943         * config/tahoe/tahoe.h: Ditto.
20944         * config/we32k/we32k.h: Ditto.
20945
20946         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
20947         based on arch size.
20948
20949         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
20950
20951         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
20952         from comment.
20953
20954         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
20955
20956 1999-08-02  Richard Henderson  <rth@cygnus.com>
20957
20958         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
20959         for the register spill block.
20960         (m32r_va_arg): New.
20961         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
20962         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
20963
20964         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
20965         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
20966         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
20967
20968 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20969
20970         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
20971         MAX_WCHAR_TYPE defined in sparc.h.
20972         * config/sparc/linuxaout.h: Likewise.
20973         * config/sparc/linux64.h: Likewise.
20974         Also default to -mvis if CPU is UltraSPARC.
20975
20976 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20977
20978         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
20979         (RTX_OK_FOR_OLO10): Likewise.
20980         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
20981         %lo(), allow it in addresses...
20982         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
20983         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
20984         does not make sense.
20985         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
20986         (sparc_output_scratch_registers): New function.
20987         (output_function_prologue, sparc_flat_output_function_prologue): Use
20988         it.
20989         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
20990         defined.
20991         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
20992         * configure.in: Add check for .register pseudo-op support in as and
20993         check for offsetable %lo().
20994         * acconfig.h: Add templates for the above checks.
20995         * configure: Regenerate.
20996
20997 1999-08-02  Richard Henderson  <rth@cygnus.com>
20998
20999         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
21000         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
21001         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
21002
21003 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21004
21005         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
21006         reg_biv_class.
21007
21008 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21009
21010         * config/float-sparc.h: New file.
21011         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
21012         sparc-*-linux-gnu and sparc64-*-linux*.
21013
21014 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
21015
21016         * rs6000.c (rs6000_va_list): Type is an array.
21017         (rs6000_va_start): Don't doubly adjust for varargs.
21018         (rs6000_va_arg): Evaluate long long GPR adjustment.
21019
21020 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
21021
21022         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
21023         -maix64 and -maix32.
21024         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
21025         LINK_SPEC): Change appropriately.
21026         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
21027         (u_short_cint_operand): Likewise.
21028         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
21029         for 64-bit hosts.
21030         * rs6000/t-aix43 (MULTILIB): Change to -m64.
21031
21032         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
21033
21034 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
21035
21036         * rs6000/rs6000.c (num_insns_constant_wide): Correct
21037         for type promotion.
21038         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
21039         (non_add_cint_operand): Likewise.
21040         (logical_operand): Likewise.
21041         (non_logical_cint_operand): Likewise.
21042         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
21043         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
21044         (rs6000_select_rtx_section): Suppress warning.
21045         (small_data_operand): Suppress warning.
21046         (rs6000_got_register): Suppress warning.
21047         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
21048         type, so `J' is generally the wrong constraint for a SImode value;
21049         use `L' instead.
21050         (andsi3_internal2): Likewise.
21051         (andsi3_internal3): Likewise.
21052         (iorsi3_internal1): Likewise.
21053         (xorsi3_internal1): Likewise.
21054         (movsi): Likewise.
21055         (movsf_softfloat): Likewise.
21056         (scc insns): Likewise.
21057         (movsi+2): Preserve sign bits of SImode constant.
21058         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
21059         (movdf+1): Sign-extend properly.
21060         (movdi_32+1): Sign-extend properly.
21061         (scc insns): Sign-extend properly.
21062
21063         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
21064         K, L, and T.
21065
21066 1999-08-02  Richard Henderson  <rth@cygnus.com>
21067
21068         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
21069         -mcpu parsing code.
21070         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
21071         * alpha.md (all fp insns): Likewise.
21072
21073 1999-08-02  Nick Clifton  <nickc@cygnus.com>
21074
21075         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
21076         already defined.
21077
21078 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
21079
21080         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
21081         pic_load_label generator directly.
21082         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
21083         No longer a named pattern.
21084
21085 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
21086
21087         * explow.c (force_reg): Call force_operand if X does not
21088         satisfy general_operand.
21089
21090 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
21091
21092         * fix-header.c (main): When testing for CONTINUED, use string
21093         equality, not pointer equality.
21094
21095 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
21096
21097         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
21098
21099 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
21100
21101         * cse.c (cse_insn): Fix loop which deletes insns after a jump
21102         that has become an unconditional jump.
21103
21104         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
21105         (output_function_epilogue): Similarly.
21106
21107 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21108
21109         * tree.h (init_dummy_function_start): Declare.
21110
21111 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21112
21113         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
21114         last_expr_type, last_expr_value, block_start_count, block_stack,
21115         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
21116         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
21117         dynamically in stmt elt of struct function for each function.
21118         (struct nesting): Rename function_call_count elt to n_function_calls,
21119         target_temp_slot_level to block_target_temp_slot_level.  All users
21120         changed.
21121         (struct stmt_status): New structure definition.
21122         Add many accessor macros for stmt_status elements which previously
21123         were global variables.
21124         (init_stmt_for_function): Allocate stmt elt for current_function.
21125         Reflect that block_start_count was renamed to
21126         current_block_start_count.
21127         (save_stmt_status, restore_stmt_status): Delete functions.
21128         (preserve_subexpressions_p): Don't access loop_stack when outside
21129         a function.
21130         (expand_start_bindings): Reflect that block_start_count was renamed to
21131         current_block_start_count.
21132         (expand_fixup): Likewise.
21133         (expand_decl): Don't access block_stack when outside a function.
21134         (expand_decl_cleanup): Likewise.
21135         (expand_dcc_cleanup): Likewise.
21136         (expand_dhc_cleanup): Likewise.
21137         (expand_anon_union_decl): Likewise.
21138         (set_file_and_line_for_stmt): New function.
21139         (in_control_zone_p): New function.
21140
21141         * function.h (struct function): Add new elt stmt.
21142         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
21143         case_stack, nesting_stack, nesting_depth, block_start_count,
21144         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
21145         emit_lineno, goto_fixup_chain.
21146         (save_eh_status, restore_eh_status, save_stmt_status,
21147         restore_stmt_status): Delete declarations.
21148         * function.c (push_function_context_to): Don't call save_stmt_status.
21149         (pop_function_context_to): Don't call restore_stmt_status.
21150         * tree.h (in_control_zone_p): Declare.
21151         * rtl.h (set_file_and_line_for_stmt): Declare.
21152
21153         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
21154         call set_file_and_line_for_stmt.
21155
21156 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
21157
21158         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
21159         Also update copyright.
21160
21161 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21162
21163         * c-pragma.c: Don't include "except.h".
21164         * emit-rtl.c: Likewise.
21165         * stor-layout.c: Likewise.
21166         * tree.c: Likewise.
21167         * varasm.c: Likewise.
21168
21169         * flow.c: Include "function.h".
21170         * tree.h (init_dummy_function_start): Declare new function.
21171
21172         * except.h (struct eh_status): New structure.
21173         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
21174         been included.
21175         (eh_return_stub_label, ehstack, catchstack, ehqueue,
21176         catch_clauses, false_label_stack, caught_return_label_stack,
21177         protect_list, current_function_ehc): Add accessor macros for the
21178         corresponding fields in current_function->eh; delete declarations
21179         for all items that used to be declared here.
21180         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
21181         catch_clauses, false_label_stack, caught_return_label_stack,
21182         protect_list, current_function_ehc): Delete variables.
21183         (init_eh_for_function): Allocate current_function->eh.
21184         (save_eh_status, restore_eh_status): Delete functions.
21185
21186         * function.h (struct function): Add fields next_global and eh.
21187         Delete all exception handling related fields.
21188         * function.c (current_function): New variable.
21189         (all_functions): New variable.
21190         (push_function_context_to): Don't allocate a struct function,
21191         use current_function instead.  Call init_dummy_function_start when
21192         outside a function.  Clear current_function before returning.
21193         (pop_function_context_from): Restore current_function.
21194         Don't free the restored struct function.
21195         (prepare_function_start): New function.
21196         (init_dummy_function_start): New function.
21197         (init_function_start): Break out some code into prepare_function_start
21198         and call it here.
21199
21200         * stmt.c (save_stmt_status): Don't call save_eh_status.
21201         (restore_stmt_status): Don't call restore_eh_status.
21202
21203         * Makefile.in: Update dependencies.
21204
21205 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
21206
21207         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
21208         of depending on a magic constant value.  Update comments.
21209         (hppa_expand_prologue): Similarly.
21210
21211         * pa.md (reload_indi, reload_outdi): Allow any register for the
21212         original reload register.
21213
21214 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
21215
21216         * cccp.c (print_help): Change marcos to macros.
21217
21218 1999-07-30  Richard Henderson  <rth@cygnus.com>
21219
21220         * c-typeck.c (initializer_constant_valid_p): Move ...
21221         * c-common.c (initializer_constant_valid_p): ... here.  Use
21222         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
21223         of label addresses.
21224         * c-common.h (initializer_constant_valid_p): Declare.
21225         * c-tree.h (initializer_constant_valid_p): Remove.
21226
21227 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
21228
21229         * config/i386/sol2-c1.asm: Align the stack.
21230         * config/i386/sol2-gc1.asm: Likewise.
21231
21232 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
21233
21234         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
21235         -Asparclite for sparc86x.
21236         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
21237         sparc86x.
21238         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
21239
21240 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
21241
21242         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
21243         the user if using the non-default arch size in BI_ARCH configuration.
21244         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
21245
21246         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
21247         Fix patterns so that they actually match.
21248         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
21249         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
21250         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
21251         TARGET_HARD_MUL32.
21252         (mulsidi3): Reflect this in the expand.
21253         (smulsi3_highpart): Only on TARGET_ARCH32.
21254         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
21255         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
21256         (umulsidi3): Reflect this in the expand.
21257         (umulsi3_highpart): Only on TARGET_ARCH32.
21258         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
21259         don't require g0 to be zero.
21260         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
21261         ({,u}divsi3): New expands.
21262         ({,u}divsi3_sp64): New patterns.
21263         (after lshrdi3_v8plus): Four new patterns to help combiner
21264         optimizing nested mixed mode shifts.
21265
21266         * config/sparc/sparc.c (sparc_override_options): Use deprecated
21267         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
21268         speed things up. Don't use them by default on plain v9 in 64bit
21269         mode, according to what SPAMv9 sais.
21270
21271         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
21272         top 32 bits of %[og][0-7] in signal handlers.
21273         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
21274
21275 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
21276
21277         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
21278         (ashlsi3): Corresponding changes.
21279
21280         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
21281
21282 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
21283
21284         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
21285
21286 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21287
21288         * arm.h (Hint): Delete macro.
21289         Substitute HOST_WIDE_INT for Hint in some prototypes.
21290         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
21291
21292 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
21293
21294         * builtins.c (expand_builtin_setjmp): Use force_operand to
21295         make sure that the buffer address is in a suitable form to be
21296         passed to force_reg.
21297
21298 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
21299
21300         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
21301         them here.
21302
21303 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
21304
21305         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
21306         proper mode in the condition string.
21307         (icacheflush, dcacheflush): Remove modes from match_operands.
21308
21309         * pa.c (emit_move_sequence): Always convert scratch_reg to the
21310         proper mode before using it.
21311
21312         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
21313         pair.
21314
21315         * pa.c (store_reg): Do not call add_high_const generator directly.
21316         (load_reg, set_reg_plus_d): Likewise.
21317         * pa.md (add_high_const): No longer a named pattern.
21318
21319         * pa.c (legitimize_address): Consistently use Pmode rather than
21320         SImode.  Do not call gen_pic2_highpart directly anymore.
21321         * pa.md (pic2_highpart): No longer a named pattern.
21322         (pic2_lo_sum): Similarly.  Reformat to make more readable.
21323
21324         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
21325         needed.
21326
21327         * README: Update.
21328
21329 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
21330
21331         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
21332
21333 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
21334
21335         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
21336         and tag the spill mems.
21337         (hppa_va_start): New.
21338         (hppa_va_arg): New.
21339         * pa.h (EXPAND_BUILTIN_VA_START): New.
21340         (EXPAND_BUILTIN_VA_ARG): New.
21341
21342 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
21343
21344         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
21345         and tag the spill mems.
21346         (mn10300_va_start): New.
21347         (mn10300_va_arg): New.
21348         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
21349         (EXPAND_BUILTIN_VA_ARG): New.
21350
21351 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
21352
21353         * mn10200.c (mn10200_va_arg): New.
21354         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
21355
21356 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
21357
21358         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
21359         rather than play with TREE_INT_CST_LOW.
21360
21361 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
21362
21363         * config/arm/telf.h: Include dbxelf.h.
21364         (CPP_PREDEFINES): Only define if not already defined.
21365         (ASM_IDENTIFY_GCC): Likewise.
21366         (SUBTARGET_EXTRA_SECTIONS): Likewise.
21367         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
21368         * config/arm/thumb.h (LINK_SPEC): Only define if not already
21369         defined.
21370         (DBX_DEBUGGING_INFO): Don't define.
21371         * config/arm/linux-telf.h: New file.
21372         * config/arm/linux-tgas.h: New file.
21373         * config/arm/t-thumb-linux: New file.
21374         * config/arm/uclinux-elf.h: New file.
21375         * config/arm/uclinux-telf.h: New file.
21376         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
21377         thumb-*-uclinux): New targets.
21378         * configure: Regenerate.
21379
21380 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
21381
21382         * pa.md (post_store, pre_load): New expanders.
21383         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
21384         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
21385         need to directly generate RTL for them.
21386         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
21387         changes.
21388
21389 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
21390
21391         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
21392         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
21393         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
21394         (secndary_reload_class): Make TARGET_ELF conditional compile.
21395         (print_operand_address): Similar.
21396         (output_toc): Print all values as hex.
21397         (get_issue_rate): Rearrange and add RS64A and PPC630.
21398         * rs6000.h (processor_type): Add RS64A and PPC630.
21399         (PROCESSOR_POWERPC64): New.
21400         (PROMOTE_MODE): Use word_mode.
21401         (RTX_COSTS): Add RS64A and PPC630.
21402         * rs6000.md (scheduling information): Add lmul and ldiv
21403         representing 64-bit integer multiply and divide.  Add rs64a and
21404         PPC630 information.
21405         (ashldi3): Add support for "rldic" instruction.
21406         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
21407
21408 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
21409
21410         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
21411         instead of V8 for sparclite86x in cpu_table.
21412
21413 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21414
21415         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
21416         output_file_directive.
21417
21418 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
21419
21420         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
21421         tree for op1, not the rtl.
21422
21423 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
21424
21425         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
21426         to m88k_va_start, leaving only the register spill.
21427         (m88k_build_va_list): New.
21428         (m88k_va_start): New.
21429         (m88k_va_arg): New.
21430         * m88k.h (BUILD_VA_LIST_TYPE): New.
21431         (EXPAND_BUILTIN_VA_START): New.
21432         (EXPAND_BUILTIN_VA_ARG): New.
21433
21434 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
21435
21436         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
21437         Rename from expand_builtin_saveregs.
21438         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
21439
21440 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
21441
21442         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
21443         for the register spill block.
21444         (i960_build_va_list): New.
21445         (i960_va_start): New.
21446         (i960_va_arg): New.
21447         * i960.h (BUILD_VA_LIST_TYPE): New.
21448         (EXPAND_BUILTIN_VA_START): New.
21449         (EXPAND_BUILTIN_VA_ARG): New.
21450         * i960.md (store_multiple): Use change_address on individul mems.
21451
21452 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
21453
21454         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
21455         an ARRAY_TYPE.
21456         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
21457         (expand_builtin_va_end): Evaluate arg for side effects.
21458         * c-common.c (c_common_nodes_and_builtins): Construct a
21459         va_list_arg_type_node to handle array decomposition to pointer.
21460
21461 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
21462
21463         * except.c (st_dynamic_cleanup): Use force_operand on the
21464         buffer's address.
21465
21466 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
21467
21468         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
21469         * c4x.c (c4x_va_arg): New.
21470
21471 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
21472
21473         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
21474         has manual_pop set.
21475
21476 1999-07-26  Nathan Sidwell  <nathan@acm.org>
21477
21478         * eh-common.h (__eh_matcher): Prototype correctly.
21479
21480 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
21481
21482         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
21483         (TARGET_SINGLE_PIC_BASE): Likewise.
21484         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
21485         definitions.
21486         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
21487         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
21488         (TARGET_OPTIONS): Add -mpic-register=N.
21489         (OUTPUT_INT_ADDR_CONST): New macro.
21490         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
21491         LEGITIMATE_PIC_OPERAND_P): Likewise.
21492         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
21493         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
21494         output_addr_const directly.
21495         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
21496         ARM port.
21497         (thumb_pic_register, thumb_pic_register_string): Declare.
21498
21499         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
21500         from arm.c.
21501         (label_mentioned_p): New function: Imported from arm.c.
21502         (legitimize_pic_address): New function: Imported from arm.c.
21503         (is_pic):New function: Imported from arm.c.
21504         (thumb_finalize_pic):New function: Imported from arm.c.
21505         (add_constant): Cope with PIC constants.
21506         (fixit): Cope with PIC constants.
21507         (output_return): Do not treat the PIC register as live if
21508         TARGET_SINGLE_PIC_BASE is true.
21509         (thumb_function_prologue): Do not treat the PIC register as live if
21510         TARGET_SINGLE_PIC_BASE is true.
21511         (thumb_expand_prologue): Do not treat the PIC register as live if
21512         TARGET_SINGLE_PIC_BASE is true.
21513         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
21514         TARGET_SINGLE_PIC_BASE is true.
21515         (thumb_print_operand): Accept '|'.
21516         (thumb_override_options): Process PIC options.
21517
21518         * config/arm/thumb.md (movsi): Support PIC.
21519         (call_insn): Change "i" constraint to "X".
21520         (call_value_insn): Likewise.
21521         (consttable_4, consttable_8, consttable_end): Set and clear
21522         "making_const_table" as appropriate.
21523         (pic_load_addr, pic_add_dot_plus_four): New insns.
21524
21525         * invoke.texi (Thumb Options): Fix spelling.  Document new
21526         options -msingle-pic-base and -mpic-register=.
21527
21528 1999-07-26  Andrew Haley  <aph@cygnus.com>
21529
21530         * config/m32r/initfini.c (__init): Use a full word immediate for
21531         __fini: this allows it to be placed in any memory region.
21532
21533         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
21534         -mmodel=medium.  This is OK for all memory models.
21535
21536 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
21537
21538         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
21539         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
21540
21541 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
21542
21543         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
21544         defined.
21545
21546         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
21547
21548 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
21549
21550         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
21551         (BUILD_VA_LIST_TYPE): New.
21552         (EXPAND_BUILTIN_VA_START): New.
21553         (EXPAND_BUILTIN_VA_ARG): New.
21554         * i860.c (output_delayed_branch): Disable.
21555         (output_delay_insn): Likewise.
21556         (i860_saveregs): New.
21557         (i860_build_va_list): New.
21558         (i860_va_start): New.
21559         (i860_va_arg): New.
21560         * i860.md: Disable all peepholes using output_delayed_branch.
21561         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
21562
21563 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
21564
21565         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
21566         (BUILD_VA_LIST_TYPE): New.
21567         (EXPAND_BUILTIN_VA_START): New.
21568         (EXPAND_BUILTIN_VA_ARG): New.
21569         * clipper.c (clipper_builtin_saveregs): Only dump registers.
21570         Return the address of the save area.
21571         (clipper_build_va_list): New.
21572         (clipper_va_start): New.
21573         (clipper_va_arg): New.
21574
21575 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
21576
21577         * arc.h (EXPAND_BUILTIN_VA_START): New.
21578         (EXPAND_BUILTIN_VA_ARG): New.
21579         * arc.c (arc_setup_incoming_varargs): Set alias set of
21580         varargs save area.
21581         (arc_va_start): New.
21582         (arc_va_arg): New.
21583
21584 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
21585
21586         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
21587         (BUILD_VA_LIST_TYPE): New.
21588         (EXPAND_BUILTIN_VA_START): New.
21589         (EXPAND_BUILTIN_VA_ARG): New.
21590         * alpha.c (alpha_builtin_saveregs): Delete.
21591         (alpha_build_va_list): New.
21592         (alpha_va_start): New.
21593         (alpha_va_arg): New.
21594
21595 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
21596
21597         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
21598         column zero.
21599         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
21600         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
21601
21602         * gcc.texi: More changes related to list conversion.
21603         * invoke.texi: Likewise.
21604
21605 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
21606
21607         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
21608         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
21609         (expand_builtin_next_arg): Accept ARGLIST not EXP.
21610         (stabilize_va_list): New function.
21611         (std_expand_builtin_va_start): New function.
21612         (expand_builtin_va_start): New function.
21613         (get_varargs_alias_set): New function.
21614         (std_expand_builtin_va_arg): New function.
21615         (expand_builtin_va_arg): New function.
21616         (expand_builtin_va_end): New function.
21617         (expand_builtin_va_copy): New function.
21618         (expand_builtin): Call them.
21619         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
21620         __builtin_{varargs_start,stdarg_start,end,copy}.
21621         (build_va_arg): New function.
21622         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
21623         (build_va_arg): Declare.
21624         * c-decl.c (ptr_type_node, va_list_type_node): New.
21625         * c-parse.gperf (__builtin_va_arg): New.
21626         * c-parse.in (VA_ARG): New token.
21627         (unary_expr): Recognize it.
21628         * expr.c (expand_expr): Expand VA_ARG_EXPR.
21629         * expr.h (std_expand_builtin_va_start): Declare.
21630         (std_expand_builtin_va_arg): Declare.
21631         (expand_builtin_va_arg): Declare.
21632         (get_varargs_alias_set): Declare.
21633         * tree.def (VA_ARG_EXPR): New.
21634         * tree.h (BUILT_IN_VARARGS_START): New.
21635         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
21636         (ptr_type_node, va_list_type_node): Declare.
21637         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
21638         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
21639         * m88k.h, m88k.c: Likewise.
21640         * mn10300.h, mn10300.c: Likewise.
21641         * pa.h, pa.c: Likewise.
21642         * rs6000.h, rs6000.c: Likewise.
21643         * sh.h, sh.c: Likewise.
21644         * sparc.h, sparc.c: Likewise.
21645
21646         * emit-rtl.c (operand_subword): Copy alias set.
21647         (change_address): Likewise.
21648
21649 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
21650
21651         * pa.c (compute_frame_size): Scan all the used callee saved registers,
21652         not just the first one.
21653
21654 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
21655
21656         * config/arm/arm.h (TARGET_SWITCHES): Add
21657         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
21658         (TARGET_OPTIONS): Add -mpic-register=.
21659         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
21660         (arm_pic_register_string): Declare.
21661         (NEED_PLT_GOT): Delete, replace with ...
21662         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
21663         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
21664         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
21665         * config/arm/arm.c (arm_override_options): Add new option
21666         -mpic-register=N.
21667         (arm_pic_register_string): New variable.
21668         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
21669         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
21670         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
21671         (output_return_instruction): Likewise.
21672         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
21673         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
21674         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
21675
21676         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
21677         mention of -msched-prolog.  Document new options -msingle-pic-base
21678         and -mpic-register=.
21679
21680 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
21681
21682         * haifa-sched.c (reemit_notes): Tidy.
21683         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
21684         haifa's routine.
21685
21686 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
21687
21688         * explow.c (trunc_int_for_mode): New function.
21689         (plus_constant_wide): Use it.
21690         * combine.c (simplify_and_const_int): Likewise.
21691         (merge_outer_ops): Likewise.
21692         (simplify_shift_const): Likewise.
21693         * cse.c (simplify_unary_operation): Likewise.
21694         (simplify_binary_operation): Likewise.
21695         * emit-rtl.c (operand_subword): Likewise.
21696         * rtl.h: Declare it.
21697
21698 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21699
21700         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
21701         (use NUM_REGS instead of NUM_INTS).
21702
21703 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21704
21705         * builtins.c: New file.
21706         * expr.c (saveregs_value, apply_args_value):  Delete definition,
21707         moved into builtins.c.
21708         (string_constant): No longer static.
21709         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
21710         apply_args_size, apply_result_size, result_vector,
21711         expand_builtin_apply_args, expand_builtin_apply,
21712         expand_builtin_return): Delete functions, moved into builtins.c.
21713         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
21714         * expr.h (saveregs_value, apply_args_value): Declare variables.
21715         (expand_builtin, string_constant): Declare functions.
21716         * Makefile.in: Update to build builtin.o.
21717
21718 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
21719
21720         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
21721         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
21722         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
21723         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
21724         false.
21725         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
21726         Define to zero.
21727
21728 1999-07-21  Michael Meissner  <meissner@cygnus.com>
21729
21730         * print-rtl.c (print_rtx): Print the names of the virtual
21731         registers.
21732
21733 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
21734
21735         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
21736         introduced in previous delta.
21737
21738 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21739
21740         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
21741         to avoid name clash.
21742
21743 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21744
21745         * c-lex.c (yylex) : Correct the test for overflow when lexing
21746         integer literals.
21747
21748 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
21749
21750         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
21751         (adjust_priority): Always call ADJUST_PRIORITY.
21752         (schedule_insn): Only put insns into the ready at cost 0.
21753         (schedule_block): Remove redundant initial sort.  Give clock_var
21754         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
21755         is not 0.
21756         * tm.texi (MD_SCHED_REORDER): Update docs.
21757
21758         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
21759         * sparc.c (ultra_reorder_called_this_block): Delete.
21760         (ultrasparc_sched_init): Don't set it.
21761         (ultrasparc_sched_reorder): Don't check it.
21762
21763 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
21764
21765         * rs6000.h (struct rs6000_args): Add sysv_gregno.
21766         * rs6000.c (init_cumulative_args): Init sysv_gregno.
21767         (function_arg_boundary): Align DFmode.
21768         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
21769         to get fp reg and stack overflow correct.
21770         (function_arg): Likewise.
21771         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
21772         (setup_incoming_varargs): Restructure for ABI_V4; use
21773         function_arg_advance to skip final named argument.
21774         (expand_builtin_saveregs): Properly unskip the last integer arg
21775         when doing varargs.  Adjust overflow location calculation.
21776
21777         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
21778         explicitly unsigned.
21779         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
21780         (__VA_GP_REGSAVE): Similarly.
21781         (__va_longlong_p): Delete.
21782         (__va_arg_type_violation): New declaration.
21783         (va_arg): Restructure.  Flag promotion errors.  Align double.
21784         TFmode passed by reference.
21785
21786         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
21787         in the HOST_BITS_PER_WIDE_INT > 32 case.
21788
21789 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
21790
21791         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
21792
21793 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
21794
21795         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
21796         * toplev.c (documented_lang_options): Add -fpreprocessed.
21797         * cpplib.h (struct cpp_buffer): Add preprocessed.
21798         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
21799         (cpp_start_read): Don't expand macros or emit an initial #line
21800         directive if -fpreprocessed.
21801
21802 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21803
21804         * cpplib.h (struct cpp_buffer): Added manual_pop for
21805         better C++ tokenization.
21806         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
21807         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
21808         * c-common.c (cpp_token): Make non-static.
21809
21810 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21811
21812         * c-common.h: New file.
21813         * c-common.c (permanent_obstack): Delete unused declaration.
21814         (c_global_trees): New array.
21815         (c_common_nodes_and_builtins): New function; split off common code
21816         from init_decl_processing in both c-decl.c and cp/decl.c.
21817         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
21818         c_global_trees and accessor macros defined in c-common.h.
21819         Include c-common.h.
21820         * c-decl.c: Delete definitions for tree nodes that were replaced by
21821         c_global_trees.
21822         (init_decl_processing): Build void_list_node.
21823         Call c_common_nodes_and_builtins; delete code to generate the common
21824         builtins here.
21825         * objc/objc-act.c (build_module_descriptor): Rename variable
21826         void_list_node to avoid clash with c-common.h.
21827
21828         * Makefile.in: Update dependencies.
21829         * objc/Make-lang.in: Likewise.
21830
21831 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
21832
21833         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
21834         (UNIQUE_SECTION_P): Likewise.
21835         (UNIQUE_SECTION): Likewise.
21836
21837 1999-07-19  Linas Vepstas  <linas@linas.org>
21838
21839         * config/i370/README: New file.
21840         * config/i370/linux.h: New file.
21841         * config/i370/mvs.h: New file.
21842         * config/i370/oe.h: New file.
21843         * config/i370/t-linux: New file.
21844         * config/i370/t-mvs: New file.
21845         * config/i370/t-oe: New file.
21846         * config/i370/x-oe: New file.
21847         * config/i370/xm-linux.h: New file.
21848         * config/i370/xm-mvs.h: New file.
21849         * config/i370/xm-oe.h: New file.
21850
21851         * i370.c (label_node_t): Add first_ref_page, label_addr,
21852         label_first_ref, label_last_ref members.
21853         (mvs_need_base_reload): Renamed from mvs_label_emitted.
21854         (MAX_MVS_LABEL_SIZE): Define.
21855         (MAX_LONG_LABEL_SIZE): Define.
21856         (alias_node_t, alias_anchor, alias_number): New.
21857         (mvs_function_table): Reorder for EBCDIC.
21858         (ascebc, ebcasc): Unconditionally define.
21859         (i370_branch_dest, i370_branch_length): New functions.
21860         (i370_short_branch, i370_label_scan): New functions.
21861         (mvs_get_label): Renamed from mvs_add_label.  Search for
21862         an existing label before creating a new one.
21863         (mvs_add_label): New function.
21864         (mvs_get_label_page): New function.
21865         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
21866         over the entire list.
21867         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
21868         (mvs_check_page) [TARGET_ELF_ABI]: New function.
21869         (mvs_add_alias, mvs_need_alias): New functions.
21870         (mvs_get_alias, mvs_check_alias): New functions.
21871         (handle_pragma): New function.
21872         (mvs_function_check): New function.
21873         (unsigned_jump_follows_p): Search harder.
21874         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
21875         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
21876         * i370.h (TARGET_VERSION): Delete.
21877         (CPP_SPEC, CPP_PREDEFINES): Delete.
21878         (mvs_label_emitted): Delete.
21879         (TARGET_EBCDIC): Delete.
21880         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
21881         (HANDLE_PRAGMA): Define.
21882         (HARD_REGNO_NREGS): Handle complex modes.
21883         (HARD_REGNO_MODE_OK): Likewise.
21884         (CLASS_MAX_NREGS): Likewise.
21885         (RET_REG): Likewise.
21886         (EXTRA_CONSTRAINT): Define.
21887         (RETURN_IN_MEMORY): True for DImode.
21888         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
21889         (FUNCTION_PROFILER): Delete.
21890         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
21891         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
21892         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
21893         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
21894         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
21895         (ASM_FILE_START): Add "RMODE ANY".
21896         (ASM_OUTPUT_EXTERNAL): Check for aliases.
21897         (ASM_GLOBALIZE_LABEL): Likewise.
21898         (ASM_OUTPUT_LABELREF): Likewise.
21899         (ASM_OUTPUT_COMMON): Likewise.
21900         (PRINT_OPERAND): Handle 'K', 'W', default.
21901         (PRINT_OPERAND_ADDRESS): New.
21902         (Lots of defines): Add support for TARGET_ELF_ABI.
21903         * i370.md (attr length): New.  Define for all patterns.
21904         (*): Lots of tweeks to assembly output and constraints.
21905
21906 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
21907
21908         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
21909         Disable patterns performing SImode comparisons with SImode values
21910         if TARGET_POWERPC64 and instruction does not sign-extend or does
21911         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
21912         differ for signed quantities.
21913         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
21914         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
21915         (decrement_and_branch_on_count): Add 64-bit variant.
21916
21917 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21918
21919         * final.c (output_asm_insn): When searching for the matching string
21920         for a given dialect, don't run past the end of the list of
21921         alternatives if there are fewer alternatives in the template than
21922         dialects.
21923
21924 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
21925
21926         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
21927         Removed paragraph about compression of files and size limitation,
21928         duplicated in the FAQ.  Use gcc-patches for posting patches.
21929         * gcc.c (main): Updated URL with bug reporting instructions to
21930         gcc.gnu.org.  Removed e-mail address.
21931         * system.h (abort): Likewise.
21932
21933 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21934
21935         * Makefile.in (stmp-multilib-sub): Make the files extracted
21936         from $(LIBGCC1) writable.
21937
21938 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
21939
21940         * config/arm/aout.h: Reformat for improved readability.
21941
21942         * config/arm/arm.h: Reformat for improved readability.
21943         Replace uses of fprintf with asm_fprintf where appropriate.
21944         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
21945         function declaration assembler actions.
21946         (NUM_INTS): New macro: Convert from bytes to words.
21947         (NUM_REGS): New macro: Compute number of registers required to
21948         hold a quanitity of tyep MODE.
21949         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
21950         types.
21951         (NUM_ARG_REGS): New macro: The number of argument registers
21952         available.
21953         (ARG_REGISTER): New macro: Compute the register number of the Nth
21954         argument register.
21955         (LAST_ARG_REGNUM): New macro: The number of the last argument
21956         register.
21957         (SP_REGNUM): New macro: Register number of the stack pointer.
21958         (FP_REGNUM): New macro: Register number of the frame pointer.
21959         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
21960         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
21961         CUMULATIVE_ARGS so that it counts registers not bytes.
21962
21963         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
21964         TARGET_INTERWORK.
21965         Replace uses of fprintf with asm_fprintf where appropriate.
21966         (output_ascii_pseudo_op): Replace with version from thumb.c
21967
21968         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
21969
21970         * config/arm/elf.h (CPP_PREDEFINES): Replace with
21971         SUBTARGET_CPP_SPEC.
21972         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
21973         (ASM_FILE_START): Emit ASM_APP_OFF.
21974
21975 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
21976
21977         * pa.c (compute_frame_size): Round frame according to
21978         STACK_BOUNDARY rather than a hardwired value.
21979
21980         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
21981
21982         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
21983         of "1".
21984         * configure: Rebuilt.
21985
21986         * configure.in (hppa*-*-linux*): New configuration.
21987         * configure: Rebuilt.
21988         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
21989         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
21990         * pa/pa-linux.h: New file.
21991         * pa/t-linux: New file.
21992         * pa/xm-linux.h: New file.
21993
21994         * pa.c (hppa_legitimize_address): Change references from SImode to
21995         either Pmode or word_mode as appropriate.
21996         (emit_move_sequence, store_reg, load_reg): Likewise.
21997         (set_reg_plus_d, hppa_expand_prologue): Likewise.
21998         (output_mul_insn): Likewise.
21999         * pa.h (PROMOTE_MODE): Likewise.
22000         (INITIALZE_TRAMPOLINE): Likewise.
22001         (Pmode): Define to word_mode.
22002
22003         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
22004         value of 4.  Allocate 8 bytes for each FP register save.
22005         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
22006         value of 4.
22007         (hppa_expand_prologue): Likewise.
22008         * pa.h (PROMOTE_MODE): Likewise.
22009         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
22010         (FUNCTION_ARG_BOUNDARY): Likewise.
22011
22012         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
22013
22014         * pa.c (out_of_line_prologue_epilogue): Delete.
22015         (override_options): Remove -mspace related code.
22016         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
22017         (compute_frame_size): Only allocate space for register that
22018         actually need to be saved.
22019         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
22020         (TARGET_SWITCHES): Remove -mspace, -mno-space
22021         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
22022         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
22023         * pa/ee.asm, pa/ee_fp.asm: Delete.
22024
22025         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
22026
22027         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
22028         directive in column zero.
22029
22030 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
22031
22032         * m68k.c (output_function_prologue): Fix computation of save mask
22033         when generating PIC code.
22034
22035 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
22036
22037         * tree.c (build_type_attribute_variant): Move current_obstack restore
22038         after build_qualified_type call.
22039
22040 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
22041
22042         * configure.in: Use t-iris6, even with GNU LD.
22043         * config/mips/iris6gld.h: Fix typo in linker spec.
22044         * config/mips/t-iris6gld: Remove.
22045
22046 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
22047
22048         * rs6000.md (insv, extzv): Remove SImode dependence in named
22049         patterns.  Explicitly generate DImode RTL if PowerPC64 and
22050         operand is DImode.
22051         (insvdi): Reverse start and size in instruction template.
22052
22053 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
22054
22055         * invoke.texi: Typo fixes.
22056
22057 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
22058
22059         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
22060         handle at this time instead of silently generating incorrect code.
22061         (gen_imagpart): Likewise.
22062
22063         * reload.c (find_reloads): Emit a USE for a pseudo register without
22064         a hard register if we could not create an optional reload for the
22065         pseudo.
22066
22067 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22068
22069         * c-typeck.c (output_init_element, process_init_element):
22070         When advancing constructor_unfilled_fields for a RECORD_TYPE,
22071         check for nameless bit fields.
22072
22073 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
22074
22075         * regclass.c (scan_one_insn): Notice subregs that change the
22076         size of their operand.
22077         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
22078
22079 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
22080
22081         * configure.in (alpha*-*-*): Include alpha/t-ieee.
22082         * configure: Rebuilt.
22083         * alpha/t-ieee: New file.
22084
22085 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
22086
22087         * rs6000.c (find_addr_reg): Do not select r0 as an address
22088         register.
22089
22090 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
22091
22092         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
22093
22094 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
22095
22096         * rs6000.md (movsf): Do not force easy FP constants into memory.
22097
22098         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
22099         immed_double_const to ensure they are properly truncated then
22100         sign extended.
22101
22102 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
22103
22104         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
22105         always unless NO_DEBUG is used.  Compile this code
22106         unconditionally.
22107         (replace_symbols_in_block): Compile it unconditionally.
22108
22109 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
22110
22111         * configure.in (i?86-*-elf*): New target.
22112         * configure: Rebuilt.
22113         * i386/i386elf.h, i386/t-i386elf: New files.
22114
22115 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
22116
22117         * toplev.c (main): Don't complain about saying -gdwarf.
22118         (rest_of_compilation): Remove redundant code.
22119
22120 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
22121
22122         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
22123
22124 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
22125
22126         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
22127         "Li960R:", to avoid name clash.
22128
22129 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22130
22131         * loop.c (check_dbra_loop): When reversing a loop, delete all
22132         REG_EQUAL notes referencing the reversed biv except those which are
22133         for a giv based on it.
22134
22135 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
22136
22137         * version.c: Drop "gcc-" prefix from version #.
22138
22139 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
22140
22141         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
22142         the label if we're being verbose.
22143
22144 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
22145
22146         * m68k.c (output_function_prologue): Add pic register to mask
22147         if live and flag_pic.
22148         (output_function_epilogue): Likewise.
22149
22150 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
22151
22152         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
22153         directives in column zero.
22154
22155         * pa/elf.h (ASM_FILE_START): Define.
22156         * pa/som.h (ASM_FILE_START): Include .level directives.
22157         * pa/hpux10.h (ASM_FILE_START): Delete.
22158         * pa/hpux11.h (ASM_FILE_START): Delete.
22159
22160         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
22161
22162 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22163
22164         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
22165         when reload_out equals reload_in.
22166
22167 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
22168
22169         * invoke.texi (Spec Files): New node: Describe the contents of
22170         spec files.
22171
22172 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
22173
22174         * invoke.texi (DEC Alpha Options): Put @end table at
22175         beginning of line, to avoid confusing texi2html.
22176
22177 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
22178
22179         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
22180         introduced in previous delta.
22181
22182 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22183
22184         * reload1.c (gen_reload): When synthesizing a 3 operand add
22185         sequence, improve test for when to reload OP1 into the reload
22186         register instead of OP0.
22187
22188 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
22189
22190         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
22191
22192 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
22193
22194         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
22195         string literal.
22196
22197 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
22198
22199         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
22200         (va_dcl): Use __builtin_va_alist_t.
22201
22202 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
22203
22204         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
22205         on the permanent_obstack.
22206         * dwarfout.c (output_type): Likewise.
22207
22208 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22209
22210         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
22211         Merged from c-typeck.c and cp/typeck.c.
22212         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
22213         Merged into c-common.
22214
22215 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
22216
22217         * c-lex.c (errorcount): Declare it.
22218         (finish_parse): Update errorcount when using CPPLIB.
22219
22220 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
22221
22222         * fixinc/inclhack.def(end_else_label): Double the backslash so
22223         sed gets a chance to see it.
22224         * fixinc/inclhack.sh: regen
22225         * fixinc/fixincl.x: regen
22226
22227 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
22228
22229         Add framework to support armv5 architecture when it becomes
22230         available:
22231
22232         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
22233         (arm_arch5): New variable.
22234         (all_architectures): Add armv5 line.
22235         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
22236         -march=armv5 is specified on the command line.
22237         (arm_arch5): Export this variable.
22238         * invoke.texi: Document new string accepted by -march= switch for
22239         ARM ports.
22240
22241         * config/arm/arm.h: Replace use of constant 12 as a register
22242         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
22243         * config/arm/arm.c: Replace use of constant 12 as a register
22244         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
22245
22246         * config/arm/elf.h: Tidy up.
22247         * config/arm/coff.h: Tidy up.
22248
22249 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
22250
22251         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
22252         * gcc/config/mips/t-iris6gld: New file.
22253         * gcc/config/mips/iris6gld.h: Likewise.
22254
22255 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22256
22257         * c-decl.c (widest_integer_literal_type_node,
22258         widest_unsigned_literal_type) : New.
22259         (init_decl_processing): Handle/use the two new types.
22260         * c-common.c (type_for_size,type_for_mode) : Same.
22261         * c-lex.c (yylex) : Same.
22262         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
22263         Same.
22264         * c-tree.h (widest_integer_literal_type_node,
22265         widest_unsigned_literal_type) : New.
22266
22267 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
22268
22269         * dwarfout.c (field_byte_offset): Correctly compute the object's
22270         byte offset for the first bit of a field which crosses an alignment
22271         boundary on a !BYTES_BIG_ENDIAN target.
22272
22273 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
22274
22275         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
22276         ntohs.
22277
22278 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
22279                           Jeff Law <law@cygnus.com>
22280
22281         * ginclude/varargs.h (va_dcl): Use word_mode for type of
22282         __builtin_va_list.
22283
22284         * except.c: Include intl.h.
22285         (expand_eh_return): Set current_function_cannot_inline.
22286         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
22287         * function.h (struct function): Add eh_return_stub_label.
22288         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
22289         * Makefile.in (except.o): Depend on intl.h.
22290
22291 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
22292
22293         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
22294         same as offsettable in cases 1 and 2.
22295
22296 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
22297
22298         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
22299         (extlh, extwh): Likewise.
22300
22301 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22302
22303         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
22304
22305 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
22306
22307         * configure.in: Add arm-pe and thumb-pe targets.
22308         * configure: Regenerate.
22309
22310         * thumb.c (arm_naked_function_p): New function: Determines if
22311         a function is naked (has no gcc generated prologue/epilogue).
22312         (is_called_in_ARM_mode): Return true if the func has the
22313         interfacearm attribute.
22314         (output_return): Do not generate a return for naked functions.
22315         (thumb_function_prologue): Do not generate a prologue for
22316         naked functions.
22317         (thumb_expand_prologue): Do not generate a prologue for naked
22318         functions.
22319         (thumb_expand_epilogue): Do not generate an epilogue for naked
22320         functions.
22321         (arm_valid_machine_decl_attribute): New function, copied from
22322         arm.c:  Permit naked and interfacearm attributes.
22323
22324         * config/arm/pe.c: New file: Support code for arm-pe target.
22325         * config/arm/pe.h: New file: Header file for arm-pe target.
22326         * config/arm/tpe.h: New file: Header file for thumb-pe target.
22327         * config/arm/t-thumb-pe: New file: Makefile fragment for
22328         thumb-pe target.
22329
22330 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
22331
22332         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
22333         -fPIC or -fpic is specified.
22334
22335 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
22336
22337         * expr.c (emit_block_move): Use copy_to_mode_reg for
22338         !TARGET_MEM_FUNCTIONS case too.
22339
22340         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
22341         appropriate.
22342         * configure: Rebuilt.
22343         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
22344         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
22345         definitions made redundant by dbxelf.h inclusion.  Delete
22346         lots of definitions related to assembly output that are
22347         specific to the SOM object format.
22348         * pa.c (output_function_prologue): Do not emit the function's
22349         name for OBJ_ELF.
22350         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
22351         * pa-pro.h: Deleted.
22352         * som.h: New file with SOM specific definitions.
22353         * elf.h: New file with ELF specific definitions.
22354
22355         * elfos.h (const_section): Output a tab before assembler directives.
22356         (ctors_section, dtors_section): Likewise.
22357         (ASM_OUTPUT_SECTION_NAME): Likewise.
22358
22359         * pa/pa1.h: Delete unused file.
22360
22361 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
22362
22363         * configure.in (hppa*-hp-hpux11*): New configuration.
22364         * configure: Rebuilt.
22365         * pa/pa-hpux11.h: New file.
22366         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
22367         command line.
22368
22369         * mips.md (leasi, leadi): New patterns.
22370
22371         * expr.c (emit_block_move): Properly handle case where one of the
22372         block move arguments has a queued increment or decrement.
22373         (clear_storage): Similarly.  Fix formatting goof.
22374
22375 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
22376
22377         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
22378         semicolon from the BSD VA_LIST replacement expression.
22379
22380         * fixinc/inclhack.sh: regen
22381         * fixinc/fixincl.x: regen
22382
22383         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
22384         now use the fixincl program.
22385
22386 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
22387
22388         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
22389         case.  Also make the PIC register call_used.
22390
22391         * m68k.h (FINALIZE_PIC): Delete.
22392         * m68k.c (finalize_pic): Delete.
22393
22394 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
22395
22396         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
22397         to memory.
22398
22399 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
22400
22401         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
22402
22403 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
22404
22405         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
22406
22407 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
22408
22409         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
22410
22411 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
22412
22413         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
22414
22415 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
22416
22417         * rs6000.c (output_toc): Always use hex values for floating-point
22418         constants.  Store single-precision values in upper-half of TOC
22419         entry in 64-bit mode.
22420         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
22421         to final constraints.
22422         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
22423         (fctiwz): Improve accuracy of RTL for pattern.
22424
22425 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22426
22427         * expr.c (expand_expr): Allow RTL_EXPR's through the
22428         MAX_INTEGER_COMPUTATION_MODE checks.
22429
22430 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
22431
22432         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
22433         such that MASK_SUPPORT_ARCH is not negative.
22434
22435 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
22436
22437         * loop.c (verify_dominator): Properly handle ADDR_VEC and
22438         ADDR_DIFF_VEC insns that appear inside loops.
22439
22440 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
22441                           Jeff Law <law@cygnus.com>
22442
22443         * rs6000.md (movdf_hardfloat32): Revert previous patch.
22444         Handle LO_SUM the same as offsettable in cases 1 and 2.
22445         * rs6000.c (find_addr_reg): Revert previous patch.
22446
22447 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
22448
22449         * system.h (strstr): New external function declaration.
22450         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
22451         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
22452         * config.in, configure: Rebuilt.
22453
22454 1999-06-24  Tom Tromey  <tromey@cygnus.com>
22455
22456         * gcc.c (main): Read user-specified specs files after computing
22457         additional startfile_prefixes.
22458
22459 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
22460
22461         Revert these two patches:
22462
22463         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22464         * loop.c (strength_reduce): When doing biv->giv conversion, update
22465         reg note of NEXT->insn.
22466
22467         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22468         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22469         reg_biv_class.
22470         (recombine_givs): Set ix field after sorting.
22471
22472 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22473
22474         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
22475         for the parts of an UNSPEC / UNSPEC_VOLATILE.
22476
22477 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
22478
22479         *fixinc/inclhack.def:  Add fix development commentary
22480         (read_ret_type): reactivate and add selection clause
22481         (zzz_*): tweak output file name to match what is used in hackshell.tpl
22482         *fixinc/{fixincl.x|inclhack.sh}: regen
22483
22484 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
22485
22486         * expr.c (expand_expr): STRIP_NOPS before checking against
22487         MAX_INTEGER_COMPUTATION_MODE
22488         (check_max_integer_computation_mode): Likewise.
22489
22490 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
22491
22492         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
22493
22494 1999-06-22  Jim Wilson  <wilson@cygnus.com>
22495
22496         * expr.c (store_expr): When target is a promoted subreg, return a
22497         promoted subreg as a result.
22498
22499 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
22500
22501         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
22502         coding standards.
22503         (dwarf2out_define): Mark unused parameters appropriately.
22504         (gen_unspecified_parameters_die): Ditto.
22505         (gen_subprogram_die): Fix signed/unsigned warnings.
22506         (gen_variable_die): Ditto.
22507
22508 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
22509
22510         * fixinc/inclhack.def(end_else_label): combined else_label
22511         and endif_label and fixed the sed expression.
22512         *fixinc/{fixincl.x|inclhack.sh}: regen
22513
22514 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
22515
22516         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
22517         'x' when handling non-offsettable addresses
22518
22519 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
22520
22521         * final.c (shorten_branches): Don't try to split an insn that has
22522         been deleted.
22523
22524 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
22525
22526         * config/mips/mips.c (symbolic_expression_p): New function.
22527         (mips_select_rtx_section): Put symbolic expressions in the
22528         data section, not the read-only data section.
22529
22530 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
22531
22532         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
22533
22534 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
22535
22536         * collect2.c (main): Log frame table count.
22537         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
22538         (scan_prog_file) [COFF]: Handle frame tables.
22539
22540         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
22541         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
22542         * alpha/elf.h: Undef them again.
22543         * alpha/vms.h: Remove their definitions.
22544
22545 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22546
22547         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
22548         remove the clobber of r0 and change the REG_UNUSED note to
22549         REG_INC.
22550
22551 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
22552
22553         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
22554         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
22555         fits in HOST_WIDE_INT and one uses union to access a long constant
22556         as double.
22557
22558 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
22559
22560         * sparc.c (sparc_override_options): Don't allow profiling for
22561         code models other than medlow.
22562         (sparc_function_profiler): New function from old FUNCTION_PROFILER
22563         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
22564         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
22565         (sparc_block_profiler): Likewise.
22566         (sparc_function_block_profiler_exit): Likewise.
22567         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
22568         (FUNCTION_BLOCK_PROFILER): Likewise.
22569         (BLOCK_PROFILER): Likewise.
22570         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
22571         (MCOUNT_FUNCTION): New.
22572         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
22573         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
22574         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
22575         (MCOUNT_FUNCTION): New.
22576         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
22577         (BLOCK_PROFILER): Delete.
22578         (MCOUNT_FUNCTION): New.
22579
22580 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
22581
22582         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
22583
22584 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
22585
22586         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22587         Add the macros.
22588
22589         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22590         Ditto.
22591
22592         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22593         Ditto.
22594
22595         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22596         Ditto.
22597
22598 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
22599
22600         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
22601         types.
22602
22603 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
22604
22605         * i386/djgpp.h (LIB_SPEC): New.
22606         (STARTFILE_SPEC): New.
22607
22608         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
22609
22610 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
22611
22612         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
22613         compiler flags.
22614
22615         * system.h (WSTOPSIG): New macro.
22616
22617 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22618
22619         * c-pragma.c (push_alignment): Don't ignore alignments greater than
22620         4 bytes.
22621         (insert_pack_attributes): Take into account member natural
22622         alignment.
22623
22624         * i386/winnt.c (exports_head): New static variable.
22625         (i386_pe_record_exported_symbol): New function.
22626         (i386_pe_asm_file_end): Use.
22627         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
22628         symbols to be emitted at end of assembly.
22629         (ASM_DECLARE_OBJECT_NAME): Likewise.
22630         (ASM_DECLARE_FUNCTION_NAME): Likewise.
22631
22632         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
22633         -iwithprefix.
22634
22635 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
22636
22637         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
22638         in last change.
22639
22640 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
22641
22642         * haifa-sched.c (sched_analyze_1): Use free_list instead of
22643         zapping reg_last_uses directly.
22644         (sched_analyze_2, sched_analyze_insn): Likewise.
22645         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
22646
22647 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
22648
22649         * rs6000.md (movdf_hardfloat32): Use worst case insn length
22650         attributes for cases 1 and 2.
22651
22652 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
22653
22654         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
22655         instead of set.
22656
22657 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
22658
22659         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
22660
22661 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
22662
22663         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
22664         PIC_OFFSET_TABLE_REGNUM for general alloaction.
22665         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
22666         must be stacked if it is used for PIC accesses.
22667         * arm.c (use_return_insn): Handle PIC register specially.
22668         (output_return_instruction): Likewise.
22669         (output_func_{prologue,epilogue}): Likewise.
22670         (output_expand_prologue): Likewise.
22671
22672         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
22673         (*strsi_predec): Renamed from *strqi_predec.
22674         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
22675         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
22676
22677         * arm.c (arm_override_options): Remove warning about PIC code
22678         not being supported.
22679
22680 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
22681
22682         * rs6000.c (find_addr_reg): New function.
22683         * rs6000.h (find_addr_reg): Declare.
22684         (offsettable_addr_operand): Delete.
22685         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
22686         from and stores to GPRs.
22687
22688 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
22689
22690         * alpha.c (alpha_expand_block_move): Use get_insns rather than
22691         gen_sequence as argument to emit_no_conflict_block.
22692
22693 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22694
22695         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
22696         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
22697         *fixinc/fixincl.x: regen
22698         *fixinc/inclhack.sh: regen
22699
22700 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
22701
22702         * added support for -mpcrel (PC relative addressing for m68k)
22703         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
22704         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
22705         * m68k.c (print_operand_address): Handle 32-bit PIC case.
22706         (comments for general_src_operand): Add some explanation
22707         about EXTRA_CONSTRAINTS.
22708         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
22709         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
22710         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
22711         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
22712         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
22713         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
22714         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
22715         if not already set.
22716         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
22717         * m68k.h (TARGET_PCREL): New target flag.
22718         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
22719         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
22720         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
22721         contains a SYMBOL_REF.  Relax this constraint during reload, since
22722         we want to use the predicates, not reload's built-in concept of a
22723         valid memory address, to control what insns need reloading.
22724         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
22725         operands (essentially 'g', 'm', and 's' under normal circumstances).
22726         * m68k.c (print_operand): Cause printing of pc-relative addresses
22727         to include pc register.
22728         (print_operand_address): Ditto.
22729         (general_src_operand): Accept operands that are not only
22730         general_operands, but are also valid when used as a pc-relative
22731         source.
22732         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
22733         (memory_src_operand): Similar, for memory_operands.
22734         (pcrel_address): New predicate to accept the special case of a
22735         pc-relative address.
22736         * m68k.md (many patterns): Rewrite common SImode, HImode, and
22737         QImode insns to accept *_src_operand instead of *_operand where
22738         pc-relative operands can fit.  For example, a pc-relative operand
22739         can be used as a memory source operand for addsi3, but not as a
22740         memory destination.
22741         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
22742
22743 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
22744
22745         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
22746         .thumb_set pseudo op to mark aliases of thumb functions.
22747
22748 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
22749
22750         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
22751         preference to ASM_OUTPUT_DEF, if it is defined.
22752
22753         * tm.texi: Document new, optional target macro
22754         ASM_OUTPUT_DEF_FROM_DECLS.
22755
22756 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22757
22758         * fixincludes: ISCNTL patch
22759         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
22760         (dgux_int_varargs): new for DG/UX
22761         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
22762
22763 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
22764
22765         * invoke.texi (ia32 options): Fix typo.
22766
22767 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22768
22769         * loop.c (strength_reduce): When doing biv->giv conversion, update
22770         reg note of NEXT->insn.
22771
22772 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
22773
22774         * loop.c (move_movables): Note issues with replacing REGs with
22775         SUBREGs.
22776         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
22777
22778 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
22779
22780         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
22781
22782         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
22783         the reference to `mcount' was not correct for the ELF on FreeBSD.
22784
22785 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22786
22787         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22788         reg_biv_class.
22789
22790         (recombine_givs): Set ix field after sorting.
22791
22792 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
22793
22794         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
22795         to safe to extract a subword out of a REG.
22796
22797 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22798
22799         * sh.md (mulsi3): Don't add a no-op move at the end.
22800
22801 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22802
22803         * cse.c (cse_insn): Don't put hard register source into tables for
22804         the last insn of a libcall.
22805
22806 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22807
22808         * loop.c (strength_reduce): Insert sets of derived givs at every
22809         biv increment, even if it's the only one.
22810
22811 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
22812
22813         * dwarfout.c (add_incomplete_type): New fn.
22814         (output_type): Call it.
22815         (retry_incomplete_types): New fn.
22816         (dwarfout_finish): Call it.
22817
22818         From Eric Raskin <ehr@listworks.com>:
22819         (output_type): Output types for bases.
22820
22821 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22822
22823         * mips.c (mips_output_conditional_branch): Add `break'
22824         between `default' label and `close braces'.
22825
22826 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
22827
22828         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
22829         specifications and make it realistic.
22830         (LIB_SPEC): Likewise.
22831
22832 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
22833
22834         * config/mips/mips.c (mips_secondary_reload_class): Check for
22835         (PLUS (SP) (REG)) and return appropriate register class.
22836         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
22837         Handle (PLUS (SP) (REG)).
22838         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
22839         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
22840         of emit_insn for tablejump.
22841
22842 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
22843
22844         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
22845         asm_fprintf format string by itself.
22846         (output_function_profiler): Likewise.
22847
22848 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
22849
22850         * combine.c (simplify_logical, case AND): Only call
22851         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
22852         or the constant is positive.
22853
22854 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
22855
22856         * configure.in: Fix typo in rs6000-ibm-aix4 case.
22857         * configure: Regenerate.
22858
22859 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
22860
22861         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
22862         require a sub-version #.
22863         * configure: Rebuilt.
22864
22865 1999-06-14  Robert Lipe  (robertlipe@usa.net)
22866
22867         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
22868
22869 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
22870
22871         * c-typeck.c (process_init_element): Detect excess elements in
22872         char array initializer.
22873
22874 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
22875
22876         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
22877
22878 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22879
22880         * invoke.texi (Option Summary): Add -fpermissive flag.
22881
22882 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
22883
22884         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
22885         that require PIC code sequences.
22886
22887 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
22888
22889         * configure.in: Add new target: thumb-elf.
22890         * configure: Regenerate.
22891         * config/arm/t-thumb-elf: New file: Makefile fragment for
22892         thumb-elf build.
22893         * config/arm/telf.h: New file: Header file for thumb-elf
22894         build.
22895
22896 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
22897
22898         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
22899         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
22900         initializers is some circumstances.
22901
22902         * fixinc/inclhack.def (endif_label): Add additional selector for
22903         more bogus stuff after #endif statements.
22904         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
22905
22906 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22907
22908         * i386/cygwin.h (SET_ASM_OP): Define.
22909
22910 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22911
22912         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
22913
22914 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22915
22916         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
22917         latter.
22918
22919         * sh.md (ic_invalidate_line_i): Remove second alternative.
22920
22921 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22922
22923         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
22924         test for the presence of valid prototypes.  Delete bypass expr.
22925         (ioctl_fix_ctrl): Correct the selection expression.
22926         (no_double_slash): Correct quoting rules
22927         *fixinc/fixincl.x: regen
22928         *fixinc/inclhack.sh: regen
22929
22930 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
22931
22932         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
22933
22934 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22935
22936         * rs6000.md (movsi_got_internal_mem): Delete.
22937         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
22938         (GOT_TOC_REGNUM): Delete.
22939         (PIC_OFFSET_TABLE_REGNUM): Define.
22940         (FINALIZE_PIC): Disable.
22941         * rs6000.c (rs6000_got_register): New code for fixed pic register.
22942         (rs6000_replace_regno): Delete.
22943         (rs6000_finalize_pic): Likewise.
22944         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
22945
22946 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22947
22948         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
22949         is a note; use <= for the compare; advance P while it is
22950         a NOTE.
22951
22952 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
22953
22954         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
22955         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
22956
22957         * varasm.c (remove_from_pending_weak_list): Verify t->name
22958         is non-NULL before passing it to strcmp.
22959
22960 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22961
22962         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
22963         the typed arguments are not part of a comment
22964         (ioctl_fix_ctrl): Added a purpose comment
22965         *fixinc/fixincl.x: regenerate
22966         *fixinc/inclhack.sh: regenerate
22967
22968 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22969
22970         * invoke.texi: Add C4x invocation docs.
22971
22972 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22973
22974         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
22975         Define new macros.
22976         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
22977         TARGET_EXPOSE_LDP.
22978         (c4x_legitimize_reload_address): New function.
22979         * config/c4x/c4x.md: Update docs.
22980
22981 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
22982
22983         * fixincludes: Avoid removing '.'.
22984         * fixinc/fixinc.svr4: Likewise.
22985         * fixinc/fixinc.winnt: Likewise.
22986         * fixinc/inclhack.tpl: Likewise.
22987         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
22988
22989 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22990
22991         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
22992         pattern.
22993         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
22994
22995 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22996
22997         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
22998         correctly.
22999
23000 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
23001
23002         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
23003         * configure: Regenerate.
23004
23005 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
23006
23007         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
23008         values.
23009
23010 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
23011
23012         * fixinc/inclhack.def (avoid_bool): Also catch
23013         "typedef [unsigned] int bool".
23014         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
23015
23016         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
23017         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
23018         * configure: Rebuilt.
23019
23020 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
23021
23022         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
23023         such that we can override its definitions if necessary.
23024         (CPP_SPEC): New define.  Support processor specific predefines via
23025         %(cpp_cpu).
23026         (CC1_SPEC): New define.  Support processor specific compiler
23027         options via %(cc1_cpu).
23028         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
23029         -static.
23030
23031 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23032
23033         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
23034         between sed's -e flag, and the open-quote following it.
23035         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
23036
23037 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
23038                           Jeffrey A Law  (law@cygnus.com)
23039
23040         * varasm.c (assemble_start_function): Remove the function
23041         from the pending weak decls list when we define a function.
23042         (assemble_variable): Similarly for variables.
23043         (weak_finish): Ignore items on the list with a NULL name.
23044         (remove_from_ending_weak_list); New function to "remove" an item
23045         from the pending weak declarations list.
23046
23047 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
23048
23049         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
23050
23051 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
23052
23053         * c-lex.c (GETC): Redefine to call getch.
23054         (UNGETC): Redefine to call put_back.
23055         (putback_buffer): New structure type.
23056         (putback): New static structure.
23057         (getch): New function.
23058         (put_back): New function.
23059         (yylex): Replace unused bytes from bad multibyte character.
23060
23061 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
23062
23063         * cpplib.c (do_define): Cast `alloca' return value.
23064         (do_include, do_undef, do_pragma): Likewise.
23065         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
23066         values.
23067         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
23068         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
23069
23070 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
23071
23072         * sparc.md (abstf2): This should be an expand.
23073         (split after abstf2_notv9): Fix mode.
23074         (abstf2_hq_v9): New pattern.
23075         (abstf2_v9): Only use when no hard quad.
23076         (absdf2_v9): Fix if target is not the same as source.
23077         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
23078         Add correct output constraints.
23079
23080 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
23081
23082         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
23083         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
23084
23085 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
23086
23087         * mips.h (mips_output_conditional_branch): New function.
23088         (mips_adjust_insn_length): Likewise.
23089         (ASSEMBLER_SCRATCH_REGNUM): New macro.
23090         (ADJUST_INSN_LENGTH): Likewise.
23091         * mips.c (print_operand): Add `F' and `W' for floating-point
23092         comparison opcodes.
23093         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
23094         are now in bytes.
23095         (mips_adjust_insn_length): New function.
23096         (mips_output_conditional_branch): New function.
23097         * mips.md (length): Adjust attribute definition to handle
23098         conditional branches.  Change lengths to bytes, rather than
23099         instructions throughout.  Remove length attribute from
23100         instructions whose length is four bytes, and rely on the default
23101         instead.
23102         (dslot): Fix typo in comment.
23103         Reword conditional branch patterns to use
23104         mips_output_conditional_branch.
23105
23106 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
23107
23108         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
23109         (LIB_SPEC): Likewise.
23110         Link with -lprof1_r for -g/-pg.
23111
23112 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
23113
23114         * loop.c (check_dbra_loop): Fix change of Jan 19.
23115
23116 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
23117
23118         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
23119         (STARTFILE_SPEC):  Define, override the svr4.h version.
23120         (ENDFILE_SPEC):  Likewise.
23121
23122 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
23123
23124         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
23125         * fixinc/fixincl.x: Regenerated.
23126         * fixinc/inclhack.sh: Regenerated.
23127
23128 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23129
23130         * sh.c (barrier_align): Don't return early for normal branch/barrier
23131         when optimizing for SH2.
23132
23133 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
23134
23135         * i386/udk.h (LINK_SPEC): Correct linker search path for
23136         system libraries.
23137
23138 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23139
23140         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
23141         (braf_label_ref_operand): Delete.
23142         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
23143         * sh.md (casesi_jump_2): Operand1 is now the inside of a
23144         label_ref, and has no predicate.
23145         The patten has a predicate to guard against invalid substitutions.
23146         (dummy_jump): Delete.
23147         (casesi): Update use of casesi_jump_2.
23148
23149 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23150
23151         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
23152         *fixinc/fixincl.x: regenerate
23153         *fixinc/inclhack.sh: regenerate
23154
23155 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
23156
23157         * dwarf2out.c (add_incomplete_type): New fn.
23158         (gen_struct_or_union_type_die): Call it.
23159         (retry_incomplete_types): New fn.
23160         (dwarf2out_finish): Call it.
23161
23162 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
23163
23164         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
23165         current block starts with a CODE_LABEL and ends with a CALL and
23166         we can not find all the argument setup instructions for the CALL.
23167
23168 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
23169
23170         Revert this change:
23171         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
23172         something is a candidate for optimize_bit_field_compare.
23173
23174 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23175
23176         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
23177
23178 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
23179
23180         * alpha.c (override_options): Thinko in last patch.
23181
23182         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
23183         (LIB_SPEC): Recognize -pthread.
23184
23185 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
23186
23187         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
23188         definition in config/arm/coff.h
23189         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
23190
23191 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23192
23193         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
23194         fixes that need "file=xxx\n" prepended before invocation
23195         (start_fixer - new): starting the fixer process is complex enough
23196         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
23197         (process): uses the new routine; omit usage of putenv()
23198         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
23199         * fixinc/fixincl.x: regenerate
23200
23201 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
23202
23203         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
23204         and version #s (1.1 -> 2.96) as needed.
23205         * README.g77: Kill way out of date file in the toplevel directory.
23206
23207 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
23208
23209         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
23210         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
23211         * configure: Rebuilt.
23212         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
23213         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
23214         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
23215         (SWITCH_TAKES_ARG): Likewise.
23216         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
23217         * config/t-freebsd: Moved from config/i386/ so it can used for all
23218         FreeBSD targets.
23219
23220 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
23221
23222         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
23223
23224 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
23225
23226         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
23227         * configure: Rebuilt.
23228
23229 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
23230
23231         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
23232         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
23233         * rs6000/rs6000.c (rs6000_file_start): Use putc.
23234         (rs6000_output_load_toc_table): Same.
23235         (output_prolog, output_mi_thunk): Same.
23236         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
23237         (ASM_GLOBALIZE_LABEL): Use putc.
23238
23239 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
23240
23241         * alpha.md (reload_*_help): New patterns and splitters.
23242         (reload_*): Use them.
23243         (mov[qh]i): Likewise.
23244
23245 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
23246
23247         * cccp.c (handle_directive): Handle backslash-newlines in quoted
23248         strings correctly.
23249
23250 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
23251
23252         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
23253
23254 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
23255
23256         * flow.c (mark_regs_live_at_end, insn_dead_p,
23257         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
23258         and HARD_FRAME_POINTER_REGNUM special treatment if reload
23259         hasn't run or the frame pointer is needed.
23260         * haifa-sched.c (attach_deaths): Likewise.
23261         * sched.c (attach_deaths): Likewise.
23262
23263 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
23264
23265         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
23266         calculate_can_reach_end returns nonzero.
23267
23268         * configure.in (native gas tests): Search for an assembler in the
23269         same manner that the installed compiler will.
23270         * configure: Rebuilt.
23271         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
23272
23273         * alias.c (find_base_term): Improve handling of addresses
23274         constructed from binary operations.
23275
23276 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
23277
23278         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
23279
23280 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
23281
23282         * function.h (cleanup_label, frame_offset): Declare.
23283         (tail_recursion_label, tail_recursion_reentry): Likewise.
23284         (arg_pointer_save_area, rtl_expr_chain): Likewise.
23285         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
23286         (tail_recursion_label, tail_recursion_reentry): Likewise.
23287         (arg_pointer_save_area, rtl_expr_chain): Likewise.
23288
23289 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
23290
23291         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
23292         defined.
23293         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
23294         (MAX_OFILE_ALIGNMENT): Define.
23295
23296 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
23297
23298         * fixincl.c: Replace local include scheme with #includes of
23299         gansidecl.h and system.h.
23300         * procopen.c:  Likewise.
23301         * server.c:  Likewise.
23302
23303 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
23304
23305         * i386/t-dgux (EXTRA_PARTS): Add crti.o
23306         (crti.o): Add build rule and dependencies.
23307         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
23308
23309 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23310
23311         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
23312         (LIB_LINUX_SPEC): Likewise.
23313         (LIB_LINUX_SPEC): Add support for -pthread
23314         (CPP_OS_LINUX_SPEC): Likewise.
23315         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
23316         specified.
23317
23318 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
23319
23320         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
23321         conditional move.
23322         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
23323         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
23324         for IEEE math and CC_FCOMI.
23325         (put_jump_code): No IEEE if CC_FCOMI is set.
23326
23327 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
23328
23329         * fold-const.c (fold_truthop): Make the field reference unsigned
23330         when converting a single bit compare.
23331
23332 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23333
23334         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
23335
23336 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
23337
23338         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
23339         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
23340         version did.
23341
23342         * reload.c (push_reload): Do not call remove_address_replacements
23343         when presented with identical optional reloads.
23344
23345 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
23346
23347         * alpha.h (MASK_FIX, TARGET_FIX): New.
23348         (MASK_*): Reorganize constants.
23349         (CPP_AM_FIX_SPEC): New.
23350         (TARGET_SWITCHES): Add FIX.
23351         (EXTRA_SPECS): Likewise.
23352         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
23353         (SECONDARY_MEMORY_NEEDED): Likewise.
23354         (REGISTER_MOVE_COST): Likewise.
23355         * alpha.c (override_options): Add FIX support.  Always use
23356         ALPHA_TP_PROG for ev6.
23357         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
23358         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
23359         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
23360
23361 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
23362
23363         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
23364         something is a candidate for optimize_bit_field_compare.
23365
23366 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
23367
23368         * gcc.texi (Passes): Document branch-shortening.
23369         * invoke.texi (Debugging Options): Document the fact that `-dp'
23370         outputs length information for instructions.
23371
23372 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
23373
23374         * flow.c: Revert previous delta.
23375
23376 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
23377
23378         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
23379         FRAME_POINTER_REGNUM.
23380         (mark_set_1): Ditto.
23381         (mark_used_regs): Ditto.
23382
23383 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
23384
23385         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
23386         (GOT_PCREL): New macro.  Define to 1 if not already defined.
23387         * arm/elf.h (GOT_PCREL): Define to 0.
23388         * arm.c (arm_finalize_pic): Take into account the setting of
23389         GOT_PCREL.
23390
23391 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
23392
23393         * output.h (STRIP_NAME_ENCODING): Provide default definition.
23394         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
23395
23396         * flow.c (mark_set_1): Do not record BLKmode stores as dead
23397         store elimination candidates.
23398
23399 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23400
23401         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
23402         TARGET_GAS.
23403
23404 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
23405
23406         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
23407         Add use of x-aix41-gld.
23408
23409 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
23410
23411         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
23412         (ASM_OUTPUT_DESTRUCTOR): Define.
23413
23414 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
23415
23416         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
23417         last CODE_LABEL in a loop if we have previously passed a jump
23418         to the top of the loop.
23419
23420 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
23421
23422         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
23423         applying Philip's patch.
23424
23425 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
23426
23427         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
23428         are not VAR_DECLs.
23429
23430 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
23431
23432         * loop.c (strength_reduce): Grow reg_single_usage as needed.
23433
23434 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
23435
23436         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
23437         Also remove a useless comment.
23438
23439 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
23440
23441         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
23442
23443 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
23444
23445         * collect2.c (main): Only generate import or export file and add
23446         to link arguments if non-empty.  Use xmalloc not alloca.
23447         (write_{export,import}_file): Delete.
23448         (write_aix_file): New function.
23449         (locatelib): Use xmalloc not malloc.
23450         (GCC_OK_SYMBOL): Do not check type if aix64.
23451
23452 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
23453
23454         Based on patch by Scott Bambrough and Pat Beirne:
23455         * config/arm/arm.c (making_const_table): New variable.
23456         * config/arm/arm.h (making_const_table): Declare.
23457         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
23458         appropriate.
23459         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
23460         Keep track of when we are building the constant table.
23461
23462 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
23463
23464         * config/arm/arm.c (arm_override_options): Fix erroneous warning
23465         message.
23466
23467 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
23468
23469         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
23470         defined.
23471
23472 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
23473
23474         * tm.texi (FUNCTION_ARG): Correct description of a stack element
23475         in a PARALLEL.
23476
23477 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
23478
23479         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
23480
23481 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23482
23483         * rs6000.c (output_mi_thunk): Enable full support again.
23484
23485 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23486
23487         * sh.h (BRANCH_COST): Define.
23488
23489 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
23490
23491         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
23492
23493 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
23494
23495         * function.c (assign_stack_local): Align stack slot propertly.
23496         (assign_outer_stack_local): Likewise.
23497
23498 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
23499
23500         * expr.h (lang_expand_constant): Declare.
23501         * toplev.c (lang_expand_constant): Define it.
23502         * varasm.c (output_constant): Use it.
23503
23504 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23505
23506         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
23507         Change function definitions to K&R style.
23508
23509 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23510
23511         * fixinc/fixincl.c: We must not ignore SIGCLD now.
23512
23513 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
23514
23515         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
23516         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
23517         (several places): omit static initialization
23518         (process): use single fd, since only the read fd is used
23519         * fixinc/gnu-regex.c: define 'const' away, if not supported
23520         * fixinc/procopen.c(several places): omit static initialization
23521         * fixinc/server.c: define 'volitile' away, if not supported
23522
23523 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
23524
23525         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
23526         asm_fprintf and %L to generate the label name.
23527         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
23528         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
23529
23530 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
23531
23532         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
23533         insn for a conditional jump can not be found.
23534
23535 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
23536
23537         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
23538         on variables in specific sections other than .sbss and .sdata.
23539
23540 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
23541
23542         * stmt.c (expand_return): Call start_cleanup_deferral and
23543         end_cleanup_deferral around conditional code.
23544
23545 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23546
23547         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
23548         filename lists.  Utilizes new "krstr" AutoGen function.
23549         * fixinc/fixincl.x: Rebuilt.
23550
23551 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
23552
23553         * i386.c (output_float_compare): Avoid GNU-C extensions.
23554
23555 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
23556
23557         * version.c: Bump to distinguish mainline tree from the
23558         gcc-2.95 branch.
23559
23560 See ChangeLog.1 for earlier changes.