OSDN Git Service

* c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2
3         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
4         * c-typeck.c (convert_for_assignment): Likewise.
5
6         * expmed.c (init_expmed): Don't free objects we make.
7         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
8
9         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
10         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
11
12         * gcse.c (expr_hash_table_size): Now unsigned.
13         (compute_ae_gen): Local variable `i' now unsigned.
14         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
15         (compute_transout, hoist_code): Likewise.
16         (compute_local_properties): Likewise, also hash_table_size.
17         (alloc_expr_hash_table): N_INSNS now unsigned.
18         (delete_null_pointer_checks): Mark arg F as unused.
19
20         * regrename.c: Minor cleanups, including chang some variables
21         to unsigned int.
22
23 2000-04-10  Neil Booth  <NeilB@earthling.net>
24
25         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
26         than GETC ().
27         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
28
29 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
30
31         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
32         __classof__, and __headof__ from the list of gnu keywords.
33         (-ansi): Remove -foperator-names from list of implied options. 
34         Do not call it ANSI C++.
35         (-foperator-names): Document as -fno-operator-names.
36
37 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
38
39         * cpphash.c (timestamp): Delete.
40         (del_HASHNODE): If type is T_MCONST, free value.cpval.
41         (special_symbol): Remove unnecessary braces.  Remove
42         T_VERSION.  Treat T_STDC like T_CONST unless
43         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
44         when one is encountered, then convert them into T_MCONST
45         nodes.
46         * cppinit.c (builtin_array): version_string is T_MCONST.
47         __STDC__ has a "1" in its cpval.  Don't have a terminator
48         entry.  Clean up which entries are dumped.
49         (initialize_builtins): Only __STDC__ gets the special
50         -traditional treatment.  Count the length of builtin_array.
51         Render version_string here.
52         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
53         * cpplib.h (struct cpp_reader): Remove timebuf. 
54
55 2000-04-09  Richard Henderson  <rth@cygnus.com>
56
57         * genrecog.c (pred): Update comparison_operator for the unordered
58         operators.
59
60         * config/i386/i386.c (no_comparison_operator): Disallow unordered
61         operators.
62         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
63         (uno_comparison_operator): New.
64         (put_condition_code): Handle UNORDERED/ORDERED.
65         (unsigned_comparison): Likewise.
66         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
67         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
68         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
69         update all callers.  Handle all 8 unordered operators.
70         (ix86_expand_setcc): Lose the unordered argument, update all callers.
71         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
72         * config/i386/i386.h (PREDICATE_CODES): Update.
73         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
74         (ix86_expand_branch, ix86_expand_setcc): Update.
75         * config/i386/i386.md (sunordered, sordered): New.
76         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
77         (bunordered, bordered): New.
78         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
79         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
80         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
81
82 2000-04-09  Philip Blundell  <philb@gnu.org>
83
84         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
85         
86 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
87
88         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
89         fix_truncxfhi2): New patterns.
90         * i386.c (output_fix_trunc): Handle converting to HImode.
91
92 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
93
94         * ssa.c (convert_to_ssa): Eliminate dead code when calling
95         life_analysis.  
96         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
97         (for_each_successor_phi): Change parameter to basic_block.
98         (coalesce_regs_in_successor_phi_nodes): Likewise.
99         (coalesce_regs_in_copies): Likewise.
100         (compute_coalesced_reg_partition): Use basic_block instead of index.
101         * rtl.h (convert_to_ssa): Delete.
102         (convert_from_ssa): Likewise.
103         (successor_phi_fn): Likewise.
104         (for_each_successor_phi): Likewise.
105         (in_ssa_form): Likewise.
106         * basic-block.h (convert_to_ssa): Moved from rtl.h.
107         (convert_from_ssa): Likewise.
108         (successor_phi_fn): Likewise.
109         (in_ssa_form): Likewise.
110         (for_each_successor_phi): Likewise.  Change parameter to basic_block. 
111         * flow.c (calculate_global_regs_live): Pass a basic_block to
112         for_each_successor_phi.
113
114 2000-04-08  Richard Henderson  <rth@cygnus.com>
115
116         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
117         was modified in the current insn.
118
119 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
120
121         * arm/thumb.md: Delete.
122         * arm/thumb-protos.h: Delete.
123
124 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
125
126         Merge changes from merged-arm-thumb-backend-branch onto trunk.
127
128         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
129
130         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
131         into branch.
132
133         * arm.md (nop): Use the standard RTL expression.  Don't code as a
134         define_expand.
135         (*arm_nop, *thumb_nop): Delete.
136
137         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
138         constants.  Use casts instead.
139         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
140         output_multi_immediate, arm_poke_function_name): Likewise.
141         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
142         MASK_RETURN_ADDDR): Likewise.
143
144         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
145
146         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325 
147         into branch.
148         
149         * arm.md (eh_epilogue): New function.
150         * arm.h (struct machine_function): Move to here ...
151         * arm.c: ... from here.
152         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
153         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
154         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
155
156         2000-03-30  Nick Clifton  <nickc@cygnus.com>
157
158         * config/arm/semi.h (ASM_SPEC): Restore definition.
159         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
160
161         * config/arm/elf.h (ASM_SPEC): Restore definition.
162         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
163
164         * config/arm/arm.h (ASM_SPEC): Remove definition.
165         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
166
167         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
168
169         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
170
171         2000-03-24  Nick Clifton  <nickc@cygnus.com>
172
173         Various formating tidyups, elimination of compile time
174         warnings and synchronisation with internal sources:
175         
176         * config/arm/arm-protos.h (assemble_align): Add prototype.
177         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
178         (gen_comapre_reg): Rename to arm_gen_compare_reg.
179         (arm_return_addr_rtx): Rename to arm_return_addr.
180
181         * config/arm/arm.c: Include except.h.
182         Define shorter typenames for strict minipool_node and struct
183         minipool_fix.
184         (arm_return_in_memory): For WinCE return all structures <= 32 bits
185         in memory.
186         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
187         (gen_comapre_reg): Rename to arm_gen_compare_reg.
188
189         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
190         already defined.
191         (ASM_SPEC): Define if not already defined.
192         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
193
194         * config/arm/arm.md: Rename references to gen_rotated_half_load to
195         arm_gen_rotated_half_load, and references to gen_comapre_reg to
196         arm_gen_compare_reg.
197         (indirect_jump):  Only accept register operands.
198         (load_indirect_jump): Keep this pattern since combine can generate
199         it.
200
201         * config/arm/coff.h: Include aout.h.
202         (MULTILIB_DEFAULTS): Only define if not already defined.
203
204         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
205         into arm.h (so that COFF ports can support thumb based aliases).
206         (ASM_SPEC): Move definition into arm.h
207         
208         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
209         redundant apcs spec.
210         (ASM_SPEC): Move definition to arm.h
211
212         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
213
214         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
215         for entries in the .bss section
216
217         2000-03-23  Nick Clifton  <nickc@cygnus.com>
218
219         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
220         to thumb_far_jump_used_p.
221
222         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
223         single integer parameter.
224
225         * config/arm/arm.c (struct machine_function): Add two new
226         fields, 'far_jump_used' and 'arg_pointer_live'.
227         (thumb_far_jump_used_p): Once the decision has been made that
228         far jumps might be used, always return true.
229         If being called from the initial elimination offset macro then
230         do not bother to perform the test if the arg pointer is not
231         being used.
232         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
233         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
234
235         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
236
237         * arm.c (output_return_instruction): Handle more cases where we can
238         return from a function with an ldr instruction.
239         (arm_output_epilogue): Likewise.
240
241         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
242         if we need to push a large stack frame and there are no callee-saved
243         registers.
244
245         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
246         in ARM code if the frame pointer has been eliminated.
247
248         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
249         unspec_volatile arguments to avoid duplicates.
250         (consttable_1, consttable_2): Fixes for big-endian mode.
251
252         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
253         as appropriate.
254
255         Re-write constant pool code.
256         * arm.c (minipool_node, minipool_fix): New types.
257         (minifix): Delete type.
258         (arm_add_minipool_constant): Delete.
259         (arm_compute_minipool_offsets, arm_find_barrier, 
260         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
261         (get_jump_table_size): Now returns HOST_WIDE_INT.
262         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
263         functions.
264         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
265         (assign_minipool_offsets, arm_print_value): Likewise.
266         (dump_minipool): Rewrite.
267         (arm_barrier_cost): New function.
268         (create_fix_barrier): New function.
269         (push_minipool_barrier): New function.
270         (push_minipool_fix): Record additional information about the fixup 
271         required.
272         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
273         check the mode of what needs fixing.
274         (arm_reorg): Rewrite.
275
276         2000-03-08  Nick Clifton  <nickc@cygnus.com>
277
278         * config/arm/arm.md (indirect_jump): Force constant addresses into
279         a register. 
280
281         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
282
283         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
284
285         2000-02-24  Nick Clifton  <nickc@cygnus.com>
286
287         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
288         adjust is word aligned.
289         (thumb_expand_epilogue): Make sure that stack adjust is word
290         aligned.
291
292         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
293         
294         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
295
296         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
297         pointer relative addresses.
298
299         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
300
301         * arm.c (find_barrier): Find the last barrier within the allowed 
302         range.
303
304         2000-02-09  Nick Clifton  <nickc@cygnus.com>
305
306         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
307
308         2000-02-09  Nick Clifton  <nickc@cygnus.com>
309
310         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
311         ARM_FUNCTION_PROFILER. 
312
313         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
314         ARM_FUNCTION_PROFILER. 
315
316         * config/arm/linux-oldld.h: Imported from mainline sources.
317
318         2000-02-07  Nick Clifton  <nickc@cygnus.com>
319
320         * config/arm/lib1funcs.asm: Merge in thumb functions from
321         lib1thumb.asm.
322         
323         * config/arm/lib1thumb.asm: Delete.
324
325         2000-02-04  Nick Clifton  <nickc@cygnus.com>
326
327         * config/arm/arm.c: Sychronised with current Red hat local
328         sources. 
329         * config/arm/arm.h: Ditto.
330         * config/arm/arm-protos.h: Ditto.
331
332         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
333
334         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
335
336         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
337         byte stores.
338
339         2000-02-02  Nick Clifton  <nickc@cygnus.com>
340
341         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
342
343         * config/arm/arm.md (epilogue): Fix rtl checking abort because
344         (return) was emited using an emit_insn() call. 
345         
346         2000-01-31  Nick Clifton  <nickc@cygnus.com>
347
348         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
349         thumb stack frame.
350         (thumb_exit): Move frame pointer back into hard frame pointer
351         register if backtracing is being used.
352
353         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
354
355         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113 
356         into branch.
357
358         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
359
360         * config/arm/arm.md (neg_pool_offset): Provide default for new
361         attribute.
362         (arm_movsi_insn): Add neg_pool_offset attribute.
363         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
364         rtx for the insn that starts the scan and an unsigned long for its
365         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
366         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
367         instructions in *PINSERTED.
368         (struct minipool_fixup): Add MIN_ADDRESS elt.
369         (sort_fixups): Compute it.
370         (arm_reorg): Changes to support inserting pools before the insn to be
371         fixed up.
372
373         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
374
375         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
376         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
377         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
378
379         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
380
381         * config/arm/semi.h (TARGET_VERSION): Do not define if already
382         defined.
383         (TARGET_DEFAULT): Do not define if already defined.
384
385         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
386
387         * config/arm/arm.md (anddi3): Allow disjoint source operands.
388         (iordi3): Allow disjoint source operands.
389         (xordi3): Allow disjoint source operands.
390         (negdi2): Permit construction for ARM and Thumb.
391         (arm_negdi2): Renamed version of old negdi2 pattern.
392         (thumb_negdi2): New pattern: Only permit non-overlapping
393         source and destination.
394
395         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
396
397         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
398         scratch low register so that it will not be deleted.
399
400         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
401
402         * config/arm/pe.h (ARM_PE): Define.
403         
404         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
405         interfacearm attribute if this is a PE toolchain.
406         (output_return_instruction): Do not emit anything if the function
407         has the naked attribute set.
408         (is_called_in_ARM_mode): If the function has the interfacearm
409         attribute then return true.
410         (thumb_expand_prologue): Do not generate a prologue for naked
411         functions.
412         (thumb_expand_epilogue): Do not generate an epilogie for a naked
413         function.
414         (output_thumb_prologue): Do not bother if the function is naked.
415         Strip PE encoding from function name before emitting.
416
417         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
418
419         * arm.md (pic_load_addr): Fix constraints.
420
421         * arm.md (casesi_insn): Fix mis-applied patch.
422
423         * arm.md ("core" function unit): Add rules for single- and
424         multi-cycle insns.
425         (All TARGET_THUMB patterns): Add "type" attribute information
426         where needed.
427         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
428         the following insn is a CALL.
429
430         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
431         pointer.
432         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the 
433         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
434         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
435         
436         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
437
438         * config/arm/linux-gas.h: oops - this file was missed out when the
439         branch was created...
440
441         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
442
443         * thumb.c: Deleted.  Move contents to ...
444         * arm.c: ... here.
445         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
446         rule for thumb.o
447         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
448         * configure: Regen.
449
450         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
451         declare a prototype for asm_output_align();
452
453         * arm.c (thumb_condition_code): Delete.
454         (arm_print_operand): Always use arm_condition_code array.
455
456         * arm.c (thumb_return_addr_rtx): Delete.
457         (arm_save_machine_status, arm_restore_machine_status): Delete.
458         (arm_init_machine_status, arm_mark_machine_status): New functions.
459         (arm_init_expanders): Update accordingly.
460         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
461         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
462         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
463         
464         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
465
466         * configure.in : Fix arm-*-aout target to use new t-arm-aout
467         script. 
468         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
469         targets.
470
471         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
472
473         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
474         stack backtrace structure.
475
476         * config/arm/arm-protos.h: Add prototypes for functions defined in
477         arm/pe.h.
478         
479         * config/arm/arm.c (arm_override_options): Fix selection of 
480         attributes of default processor.
481         
482         * config/arm/coff.h: Delete needless #include.
483         
484         * config/arm/pe.c: Delete unused code.
485         
486         * config/arm/pe.h (CPP_DEFINES): Delete
487         (SUBTARGET_CPP_SPEC): Define.
488         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
489         
490         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
491
492         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
493
494         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
495         updated.
496         (CAN_DEBUG_WITHOUT_FP): Define.
497         (FIXED_REGISTERS): Make r11 call-saved.
498         (CALL_USED_REGISTERS): Likewise.
499         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
500         (FRAME_POINTER_REQUIRED): Correct logic for determining when a 
501         frame-pointer is required.
502         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
503         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
504         if the target normally needs a stack frame in non-leaf functions.
505         (use_return_insn): Correct logic for determining when a return
506         instruction can be used.
507         (output_return_instruction): Handle the frame-pointer register as
508         a normal register when not TARGET_APCS_FRAME.
509         (arm_output_prologue): Likewise.
510         (arm_output_epilogue): Likewise.
511         (output_func_epilogue): Likewise.
512         (arm_expand_prologue): Likewise.
513         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
514
515         * arm.c (use_return_insn): No need to check floating point regs if
516         TARGET_SOFT_FLOAT.
517         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
518         the code of value stored in the minipool array.
519         (arm_add_minipool_constant): Likewise.
520
521 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
522
523         * basic-block.h (conflict_graph_enum_fn): K&R fix.
524
525 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
526
527         * tree.c (tree_expr_nonnegative_p): New function.
528
529         * tree.h (tree_expr_nonnegative_p): Declare.
530
531         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
532         elide some sign_compare warnings.
533         (build_conditional_expr): Likewise.
534
535 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
536
537         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
538
539         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
540         * i386.c (print_operand): Use the proper suffix for a 387 HImode
541         operand.  Abort if a 387 operand has an unsupported size.
542
543 2000-04-08  Neil Booth  <NeilB@earthling.net>
544
545         * cppexp.c (parse_charconst): Null does not end character
546         constants.
547         * cppinit.c (ISTABLE): Null character handled as whitespace.
548         * cpplex.c (null_warning):  new function.
549         (skip_string): Emit warning if nulls encountered.
550         (_cpp_skip_hspace): Emit warning if nulls encountered.
551         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
552         them.
553         * cpp.texi: Update.
554
555 2000-04-07  Richard Henderson  <rth@cygnus.com>
556
557         * flow.c (loop_depth): Remove.
558         (reg_next_use, cc0_live, mem_set_list): Replace with ...
559         (struct propagate_block_info): New.
560         (life_analysis): Don't allocate reg_next_use.
561         (propagate_block_delete_insn): Break out of propagate_block.
562         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
563         (propagate_block_delete_libcall): Likewise.
564         (propagate_block): Create a propagate_block_info struct to pass
565         to subroutines.  Allocate one not two temporary regsets.  Don't
566         clobber memory for const calls.  Look for clobbers in
567         CALL_INSN_FUNCTION_USAGE.
568         (mark_set_regs): Recognize COND_EXEC.
569         (mark_set_reg): Break out of mark_set_1.
570         (mark_used_reg): Break out of mark_used_regs.
571         (mark_used_regs): Recognize COND_EXEC.
572         (insn_dead_p): Use propagate_block_info struct.
573         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
574         (find_auto_inc, try_pre_increment_1): Likewise.
575         (print_rtl_with_bb): Dump regs live at end too.
576         (count_reg_sets_1): Pass in loop_depth.
577         (count_reg_sets, count_reg_references): Likewise.
578         (recompute_reg_usage): Provide it.
579
580 2000-04-07  Richard Henderson  <rth@cygnus.com>
581
582         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
583         not the raw files.
584
585 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
586
587         * cpplib.c (do_elif): Skip the rest of the line if we're
588         not going to bother evaluating it.
589         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
590         to avoid pointless calls to the lexer.
591
592 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
593
594         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
595
596 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
597
598         * calls.c (expand_call): emit_queue if we're trying a sibcall.
599
600 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
601
602         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
603
604 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
605
606         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
607         crtend so they can be multilibbed.
608         (STAGESTUFF): Remove s-crt and s-crtS.
609
610 2000-04-07  Richard Henderson  <rth@cygnus.com>
611
612         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
613         if we discover we need a pseudo and no_new_pseudos is true.
614         * config/alpha/alpha.md (ne:DI insn): New.
615         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
616
617 2000-04-07  Richard Henderson  <rth@cygnus.com>
618
619         * rtl.def (COND_EXEC): New.
620         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
621         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
622
623         * genconfig.c (have_cond_arith_flag): Remove.
624         (have_cond_exec_flag): New.
625         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
626         (main): Print HAVE_conditional_execution.
627
628         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
629         (sched_analyze_insn, print_pattern): Likewise.
630         * reload.c (find_equiv_reg): Likewise.
631         * rtlanal.c (reg_referenced_p): Likewise.
632         (note_stores, dead_or_set_regno_p): Likewise.
633         (reg_overlap_mentioned_p): Rewrite to use a switch.
634
635         * ggc.h (struct rtx_def): Forward declare.
636
637         * print-rtl.c (debug_rtx_range): New.
638         * rtl.h (debug_rtx_range): Declare.
639
640         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
641
642         * gcse.c (gcse_main): Don't rebuild the CFG here.
643         (delete_null_pointer_checks): Likewise.
644         * ssa.c (convert_to_ssa): Likewise.
645         * toplev.c (rest_of_compilation): Do it here instead.  Combine
646         sequential calls to TIMEVAR.  Consistently use `insns' instead of
647         `get_insns()'.  Always split insns after reload when optimizing.
648
649         * basic-block.h (merge_blocks_nomove): Declare.
650         (tidy_fallthru_edge): Declare.
651         * flow.c (merge_blocks_nomove): Document as merging into previous
652         blocks.  Remove cruft from between blocks; remove all edges out of A.
653         (tidy_fallthru_edge): Export.
654
655 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
656
657         * ssa.c (compute_conservative_reg_partition): Declare with
658         void arguments.
659         * toplev.c (clean_dump_file): Remove previously-deleted function
660         inadvertantly merged back in.
661         * conflict.c (conflict_graph_add): Use a single call to
662         htab_find_slot to look up and insert.
663
664 2000-04-06  Richard Henderson  <rth@cygnus.com>
665
666         * genrecog.c (*): Rename _last_insn to last_insn.
667         (make_insn_sequence): Set the position of the peephole2 C test
668         to be at the last insn.
669
670 2000-04-06  Richard Henderson  <rth@cygnus.com>
671
672         * flow.c (compute_flow_dominators): Free worklist.
673
674 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
675
676         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
677
678 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
679
680         * rtl.h (INSN_P): New macro.
681         (successor_phi_fn): New typedef.
682         (for_each_successor_phi): New prototype.
683         (in_ssa_form): New variable.
684         (PHI_NODE_P): Likewise.
685         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
686         phi nodes in successors.
687         (mark_used_regs): Add PHI case.
688         (set_phi_alternative_reg): New function.
689         (life_analysis): Assert that dead code elimination is not selected
690         when in SSA form.
691         * toplev.c (to_ssa_time): New variable.
692         (from_ssa_time): Likewise.
693         (compile_file): Zero to_ssa_time and from_ssa_time.
694         Print time to convert to and from SSA.
695         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
696         (print_time): Compute percent fraction as integer.
697         * ssa.c (PHI_NODE_P): Moved to rtl.h.
698         (convert_to_ssa): Check if we're already in SSA.  
699         Don't eliminate dead code in life_analysis.
700         Rerun flow and life analysis at bottom.
701         (eliminate_phi): Use canonical regnos when adding nodes.
702         (mark_reg_in_phi): New function.
703         (mark_phi_and_copy_regs): Likewise.
704         (convert_from_ssa): Rerun life analysis at top.  
705         Use coalesced partition.
706         Check for removing a phi node at the end of the block.
707         (compute_coalesced_reg_partition): New function.
708         (coalesce_regs_in_copies): Likewise.
709         (coalesce_reg_in_phi): Likewise.
710         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
711         (for_each_successor_phi): Likewise.
712         (rename_context): New struct.
713         (rename_block): Use a rename_context with rename_insn_1.  When
714         renaming sets of a subreg, emit a copy of the entire reg first.
715         (rename_insn_1): Treat data as a rename_context *.  Save current
716         insn in set_data.
717         (rename_set_data): Add field set_insn.
718         * Makefile.in (HASHTAB_H): Move up in file.
719         (OBSTACK_H): New macro.
720         (collect2.o): Use OBSTACK_H in dependencies.
721         (sdbout.o): Likewise.
722         (emit-rtl.o): Likewise.
723         (simplify-rtx.o): Likewise.
724         (fix-header.o): Likewise.
725         (OBJS): Add conflict.o.
726         (conflict.o): New rule.
727         * basic-block.h: Include partition.h.
728         (conflict_graph): New typedef.
729         (conflict_graph_enum_fn): Likewise.
730         (conflict_graph_new): New prototype.
731         (conflict_graph_delete): Likewise.
732         (conflict_graph_add): Likewise.
733         (conflict_graph_conflict_p): Likewise.
734         (conflict_graph_enum): Likewise.
735         (conflict_graph_merge_regs): Likewise.
736         (conflict_graph_print): Likewise.
737         (conflict_graph_compute): Likewise.
738         * conflict.c: New file.
739
740 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
741
742         * tlink.c (read_repo_files): Don't look for .rpo info for
743         linker flags.
744
745 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
746
747         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
748
749 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
750
751         * config/sh/lib1funcs.asm (___udivsi3_i4):
752         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
753         only depends on FMOVD_WORKS.
754
755 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
756
757         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
758         make double constant 8-byte aligned.
759
760 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
761
762         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
763         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
764         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
765         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
766         Accept storing GENERAL_REGS into offsetable memory.
767         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
768         building a TFmode constant other than 0.0L into GENERAL_REGS.
769
770 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
771
772         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
773         
774 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
775
776         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
777         (macro_cleanup): No need to cast pbuf->macro.
778         (collect_expansion): Use _cpp_get_define_token.  Goto done if
779         it returns VSPACE.  Remove check for trailing space after
780         CPP_COMMENT.
781         (_cpp_create_definition): Don't diddle flags here.  Return
782         directly on error.
783         (unsafe_chars): Handle c1 being EOF.
784         (push_macro_expansion): Use unsafe_chars for both accidental-paste
785         checks.  Don't push the buffer till after we're done with
786         them.
787         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
788         (PEEKN, FORWARD, GETC, PEEKC): Use them.
789         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
790         appropriately.
791         (_cpp_parse_assertion): Don't NUL terminate.
792         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
793         hspace before calling _cpp_parse_assertion.  Remove all sets
794         of only_seen_white. Treat '\f' as hspace.  Don't do anything
795         special with '\n' here.
796         (maybe_macroexpand): Handle T_EMPTY hash entries without
797         pushing a buffer at all.
798         (cpp_get_token): Handle clearing only_seen_white here.  Handle
799         incrementing the line number here.  Clear
800         potential_control_macro as well as only_seen_white, if
801         appropriate.
802         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
803         (_cpp_get_define_token): New function, basically like
804         _cpp_get_directive_token was but doesn't eat horizontal space.
805         Don't do anything with only_seen_white here.
806         (_cpp_get_directive_token): Just call _cpp_get_define_token
807         repeatedly till it returns non-hspace.
808
809         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
810         (conditional_skip, skip_if_group): Return int.
811         (DIRECTIVE_TABLE): Change origin of all conditional directives
812         to "COND".
813         (TRAD_DIRECT_P): New macro.
814         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
815         an error for a bogus directive, unless -lang-asm.  Use
816         TRAD_DIRECT_P. Loop calling handler functions till one returns
817         zero.
818         (get_macro_name): Don't diddle flags here.
819         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
820         Create T_EMPTY nodes for #define macro /* nothing */.
821         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
822         Use hp->name when calling pass_thru_directive.
823         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
824         Return the result of conditional_skip and/or skip_if_group.
825         Don't call _cpp_output_line_command.
826         (consider_directive_while_skipping): Use _cpp_get_directive_token.
827         Issue -Wtraditional warnings as appropriate.  Don't complain
828         about unrecognized directives.  If we are to stop skipping,
829         return the number of the directive that ended the skip.
830         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
831         expansion and line commands while skipping.  Return the result
832         of consider_directive_while_skipping, if nonzero.
833         (do_endif): Just set potential_control_macro here.
834         (validate_else): Use _cpp_get_directive_token.
835         (do_assert, do_unassert): Don't save pointers into the
836         token_buffer across calls to the lexer.  Use
837         _cpp_get_directive_token.  
838
839         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
840         pointer, not an offset.  Replace 'data', which was a generic
841         pointer, with 'macro', which points to a struct hashnode.
842         (cpp_reader): Add 'potential_control_macro' pointer.
843         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
844         (CPP_BUF_GET, CPP_FORWARD): Delete.
845         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
846         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
847         ACTIVE_MARK_P): Update.
848         (_cpp_get_define_token): New internal function.
849         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
850
851 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
852
853         * configure.in: And here.
854         * configure: Regenerate.
855         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
856         --enable-libstdcxx-v3 is passed at configure time.
857         * config.h.in: Regenerate.
858
859 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
860
861         * final.c (final): Use xcalloc to allocate line_note_exists.
862         * function.c (free_after_compilation): Free the temp_slots.
863         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
864         (combine_temp_slot): Free temp_slots when they get combined.
865         (purge_addressof): Fix typo in comment.
866         * stmt.c (mark_goto_fixup): Mark the fixup itself.
867         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
868
869         * ggc.h: Include varray.h.
870         (ggc_pending_trees): Declare.
871         (ggc_mark_tree_children): Remove declaration.
872         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
873         * ggc-common.c (ggc_pending_trees): New variable.
874         (ggc_mark_roots): Call ggc_mark_trees.
875         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
876         the ggc_pending_trees.
877         * Makefile.in (GGC_H): New variable.  Use it throughout in place
878         of ggc.h.
879         
880 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
881
882         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
883         GET_MODE_SIZE.
884
885 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
886
887         * sh.c (sh_insn_length_adjustment): New function.
888         * sh-protos.h (sh_insn_length_adjustment): Declare.
889         * sh.h (ADJUST_INSN_LENGTH): Use it.
890
891 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
892
893         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
894         from the insn where REG_RETVAL is added.
895         (emit_no_conflict_block): Ditto.
896
897         * md.texi (Standard Names): Clarify when movX is needed.
898
899         * combine.c (simplify_comparison) [MINUS]: Do not replace
900         all (op (minus A B) 0) with (op A B).
901
902 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
903                           J"orn Rennecke <amylaar@cygnus.co.uk>
904
905         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
906         (block_lump_real): Likewise.
907
908 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
909
910         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
911         remaining non-zero debugging masks.
912
913 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
914
915         * basic-block.h (verify_flow_info): Declare.
916         (flow_loop_outside_edge_p): Declare.
917         * flow.c (verify_flow_info): Remove declaration.
918         (clear_log_links, flow_loop_outside_edge_p): Likewise.
919
920 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
921
922         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
923         not C++ comments.
924
925 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
926
927         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
928         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
929         seqdi_zero_trunc+1): Allow splits only if registers are
930         different.
931
932 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
933
934         * acconfig.h: Add HAVE_GAS_HIDDEN.
935         * config.in: Regenerated.
936         * configure.in: Add test for .hidden pseudo-op in gas.
937         * configure: Regenerated.
938         * crtstuff.c: Include auto-host.h.
939         Emit additional .hidden pseudo-op for __dso_handle if the
940         assembler knows about it.
941
942 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
943
944         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
945         before freeing argnames.
946         * cpplib.c (do_ifndef): Cast return value of xstrdup.
947
948 2000-04-05  Michael Meissner  <meissner@redhat.com>
949
950         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
951         Walton <jonboy@gordian.com> to make memory references with update
952         work wtih -mregnames.
953
954 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
955
956         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
957         (regrename_optimize): Rename variables `def_uses' and
958         `ext_basic_blocks' to avoid conflicts with similarly named
959         typedefs in traditional C.
960
961         * calls.c (initialize_argument_information): Fix typo in previous
962         change.
963
964 2000-04-04  Richard Henderson  <rth@cygnus.com>
965
966         * regrename.c (consider_available): Test fixed_regs not
967         PIC_OFFSET_TABLE_REGNUM.
968
969 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
970
971         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
972         crtend.
973         (CRTSTUFF_T_CFLAGS_S): Delete definition.
974         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
975         (ENDFILE_LINUX_SPEC): Always use crtend.
976         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
977         (powerpc-*-linux-gnu): Likewise.
978         * configure: Regenerate.
979
980         * config/rs6000/eabi.h: Don't include sysv4.h.
981         (MULTILIB_DEFAULTS): Don't define.
982         * config/rs6000/eabiaix.h: Don't include eabi.h.
983         * config/rs6000/eabile.h: Delete.
984         * config/rs6000/eabilesim.h: Delete.
985         * config/rs6000/eabisim.h: Don't include eabi.h.
986         * config/rs6000/linux.h: Don't include sysv4.h.
987         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
988         (MULTILIB_DEFAULTS): Don't redefine.
989         * config/rs6000/rtems.h: Don't include eabi.h.
990         * config/rs6000/sol2.h: Don't include sysv4le.h.
991         * config/rs6000/sysv4le.h: Don't include sysv4.h.
992         * config/rs6000/t-ppc: Delete.
993         * config/rs6000/t-ppcgas: Correct comment.
994         * config/rs6000/t-ppcos: Correct comment.  Don't build 
995         multilibs for -fPIC, rather use -fPIC -mstrict-align 
996         as default.
997         * config/rs6000/t-ppc: Delete.
998         * config/rs6000/vxppc.h: Don't include sysv4.h.
999         * config/rs6000/vxppcle.h: Delete.
1000         * configure.in: Use multiple header files for p2pc ELF targets
1001         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
1002         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
1003         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
1004         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
1005         always available for these platforms.
1006
1007 2000-04-04  Richard Henderson  <rth@cygnus.com>
1008
1009         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
1010
1011 2000-04-04  Stan Cox  <scox@cygnus.com> 
1012
1013         * Makefile.in: Add rules for regrename.o
1014         * regrename.c: New file.
1015         * rtl.h (regrename_optimize): Add prototype.
1016         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
1017         (compile_file, decode_d_option): Add support for -frename-registers.
1018         (rest_of_compilation): Call regrename_optimize.
1019         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
1020         New macros.     
1021         
1022 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1023
1024         * Makefile (gccbug): New target.
1025         (doc): Depend on it.
1026         * gcc.texi (Bugs): Link subnodes.
1027         (gccbug): New node.
1028         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
1029         Document severities, priorities, and classes in bug form.
1030
1031 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
1032
1033         * cpplex.c (trigraph_map, speccase): Combine into single
1034         table, chartab.
1035         (NORMAL, NONTRI): New macros.
1036         (_cpp_read_and_prescan): Change to use unified table.  Use
1037         is_hspace to test for whitespace.
1038
1039         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
1040         definition that doesn't provoke the "empty body in an
1041         if-statement" warning.
1042
1043 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
1044
1045         * builtins.c (expand_builtin_strlen): Force the source to
1046         be a memory address.
1047
1048 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1049
1050         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
1051
1052 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1053
1054         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1055          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
1056         (ECF_IS_CONST): Rename to ECF_CONST.
1057         (special_function_p): Make static, change interface.
1058         (flags_from_decl_or_type, try_to_integrate): Break out from ...
1059         (expand_call) ... here; convert number of variables to flags.
1060         (emit_library_call_vlue_1): Likewise.
1061         (setjmp_call_p): New function.
1062         (initialize_argument_information): Accepts flags as argument;
1063         return flags.
1064         (precompute_arguments): Likewise.
1065         * tree.h (special_function_p): Remove.
1066         (setjmp_call_p): Add prototype.
1067
1068 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
1069
1070         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1071         so that addresses are offsetable by up to 16 bytes.
1072         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1073         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1074         offsetable.
1075
1076         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1077         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1078         (movsf): Don't force any constant to memory if target is integer
1079         hard register.
1080         Move fp_zero_operand check below the const0_rtx check.
1081         (movtf): Likewise. Also allow fp_zero_operand for stores into
1082         memory.
1083         (movdf): Likewise. Also allow fp_zero_operand for stores into
1084         memory and into integer hard registers.
1085         (clear_df, clear_dfp, movdf_const_intreg_sp32,
1086         movdf_const_intreg_sp64): Remove.
1087         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
1088         conditions.
1089         (movdf_no_e_insn_v9_sp32): New pattern.
1090         (movdf_insn_v9only): Remove.
1091         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
1092         (movdf_insn_sp64): Remove.
1093         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
1094         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
1095         (following splits): Rewrite conditions. Add two new splits
1096         for storing 0.0 into memory and registers.
1097         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
1098         (movtf_insn_sp32): Redo constraints and conditions.
1099         (movtf_insn_vis_sp32): New pattern.
1100         (movtf_no_e_insn_sp32): Redo constraints and conditions.
1101         (movtf_insn_hq_sp64): Likewise.
1102         (movtf_insn_hq_vis_sp64): New pattern.
1103         (movtf_insn_sp64): Redo constraints and conditions.
1104         (movtf_insn_vis_sp64): New pattern.
1105         (movtf_no_e_insn_sp64): Redo constraints and conditions.
1106         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
1107         or memory.
1108         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
1109         -mvis or -m64 to take down the number of various reload patterns.
1110
1111 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
1112
1113         * pa/pa-64.h: New file.
1114         * pa/pa64-regs.h: New file.
1115         * pa/pa64-start.h: New file.
1116         * pa/t-pa64: New file.
1117         * pa/xm-pa64hpux.h: New file.
1118
1119 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1120
1121         * sparc.c (output_restore_regs): Prototype.
1122         (sparc_emit_float_lib_cmp): Constification.
1123
1124         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
1125
1126         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
1127         Prototype.
1128
1129         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
1130         (get_value_hash, hash_rtx): Likewise.
1131
1132         * ssa.c (compute_conservative_reg_partition): Prototype.
1133
1134         * tree.c (mark_hash_entry): Prototype.
1135
1136 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
1137
1138         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
1139         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
1140         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
1141
1142         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
1143         * objc/lang-specs.h: Likewise.
1144
1145 2000-04-03  Neil Booth  <NeilB@earthling.net>
1146
1147         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
1148         and SYNTAX_ERROR2. Replace `' in messages with ''.
1149         (op_to_str): Make re-entrant.
1150         (_cpp_parse_expr): Implement new error macros. Use | rather
1151         than || to logically or 2 boolean integers.  Simply expression
1152         checking we have a left operand iff needed.
1153
1154 2000-04-03  Nick Clifton  <nickc@cygnus.com>
1155
1156         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
1157
1158 2000-04-03  Philip Blundell  <philb@gnu.org>
1159
1160         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
1161
1162 2000-04-03  Felix Lee  <flee@cygnus.com>
1163
1164         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
1165         (run_shell): Use it. 
1166
1167 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
1168
1169         * Makefile.in (stmp-int-hdrs): Make include subdir here...
1170         (stmp-fixproto): ...rather than here.
1171
1172 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
1173
1174         * pa.c (print_operand): Compute 'base' only inside the code paths
1175         that use it.
1176
1177 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
1178
1179         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
1180         CEIL_DIV_EXPR.
1181
1182 2000-04-03  Philipp Thomas  <pthomas@suse.de>
1183
1184         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
1185
1186 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
1187
1188         * Makefile.in (alias.o): Depend on $(TREE_H).
1189
1190 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
1191
1192         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
1193         processing C++.
1194         * cpplib.c (_cpp_handle_directive): Improve warnings for
1195         traditional C and indented directives.
1196
1197         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
1198         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
1199         fixinc/inclhack.def: Indent the # of #include_next one space.
1200         * cp/rtti.c: Un-indent #if and #endif.
1201
1202         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
1203         syntax error, but an error has already been printed.
1204         * cpplex.c (_cpp_parse_assertion): Give a more specific error
1205         message when called with nothing remaining on the line.
1206         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
1207         OTHER token, not an ASSERTION.
1208         * cpplib.c (do_assert): When we create a 'base' node, clear
1209         its aschain pointer.
1210
1211 2000-04-02  Neil Booth <NeilB@earthling.net>
1212
1213         * cppexp.c:  New typedef op_t.  struct operation and struct 
1214         token updated to use it.
1215         (op_to_str): New function.
1216         (_cpp_parse_expr): Error messages modified to use op_to_str.
1217
1218 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1219
1220         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
1221         before checking MUST_PASS_IN_STACK.
1222
1223 2000-04-02  Neil Booth <NeilB@earthling.net>
1224
1225         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
1226         flags and initial priority into a single constant.  New
1227         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
1228         (_parse_cpp_expr): Implement new constants.  Take left operand
1229         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
1230         parse indicated by reducing FINISHED token.  Remove new lines
1231         from cpp_error messages.
1232
1233 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
1234
1235         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
1236         permanent obstack.
1237
1238 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
1239
1240         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
1241         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
1242         the strings and function names on the fly.  Take the #sccs
1243         entry out of the table if SCCS_DIRECTIVE is not defined.
1244         (_cpp_handle_directive): Decide if the # was at the beginning
1245         of the line here.  Issue -pedantic warnings for extended
1246         directives here.  Warn about K+R directives with the #
1247         indented, and C89/extended directives with the # not indented,
1248         here.
1249         (do_import, do_include_next, do_warning, do_ident, do_sccs,
1250         do_assert, do_unassert): Don't issue pedantic warning here.
1251
1252         * cpphash.h: Add CPP_WTRADITIONAL macro.
1253         * cpplib.h (struct cpp_options): Rename warn_stringify to
1254         warn_traditional; update comments.
1255         * cppinit.c (handle_option): Set warn_traditional not
1256         warn_stringify.
1257         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
1258         CPP_WTRADITIONAL (pfile).
1259         * cpplex.c (_cpp_lex_token): Don't decide if directives should
1260         be ignored in -traditional mode here.
1261
1262         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
1263         to initialize speccase[] and trigraph_map[].  Delete all
1264         references to pfile->input_speccase.  Always treat '?' as a
1265         special character.  Remove table-initialization code from
1266         _cpp_init_input_buffer.
1267
1268         * cpplib.h (struct cpp_reader): Remove input_speccase field.
1269         * cppinit.c (cpp_cleanup): Don't free input_speccase.
1270
1271 2000-04-01  Richard Henderson  <rth@cygnus.com>
1272
1273         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
1274         (mostlyclean): Likewise.
1275
1276         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
1277         (struct dump_file_info, enum dump_file_index, dump_file): New.
1278         (open_dump_file): Take a dump_file_index not a suffix, and a decl
1279         not a string.  Clean out file if we havn't yet done so.  Do nothing
1280         if the dump isn't enabled.
1281         (close_dump_file): Do nothing if the dump isn't open.  Dump 
1282         graph data if requested.
1283         (dump_rtl, clean_dump_file): Remove.
1284         (compile_file): Don't clean the dump files.  Only finalize .bp dump
1285         if flag_test_coverage or flag_branch_probabilities.  Only finalize
1286         .combine dump if optimizing.  Iterate over dump_file to finalize the
1287         graph dumps.
1288         (rest_of_compilation): Update for open_dump_file/close_dump_file.
1289         Convert all uses of dump_rtl.
1290         (decode_d_option): Iterate over dump_file to implement 'a' and to
1291         locate pass-specific dumps.
1292
1293 2000-04-01  Neil Booth <NeilB@earthling.net>
1294
1295         * cppexp.c: Redefine priority constants.
1296         (_cpp_parse_expr): Replace left and right priority scheme with
1297         single priority logic.  Move LOGICAL to same place as COMPARE.
1298         Remove bogus check for multiple unary +/- operators.
1299
1300 2000-04-01  Neil Booth <NeilB@earthling.net>
1301
1302         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
1303         within the switch statement.  Binary operations break out of
1304         the switch naturally.  '(' tokens handled by forcing
1305         immediate shift.  ')' handled by forcing immediate reduce to
1306         the previous '('.  New error messages.
1307         
1308 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
1309
1310         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
1311         part', it's already in use.  Use %K instead.  Add a return at the
1312         end of what is now %K.
1313         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
1314
1315 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1316
1317         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
1318         allocate_dynamic_stack_space.
1319         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
1320         update stack_pointer_delta; do not update arg_size_so_far.
1321         (compute_argument_block_size): Use stack_delta instead of
1322         stack_pointer_pending and arg_size_so_far.
1323         (expand_call): Add sanity checking for stack_pointer_delta;
1324         save and restore stack_pointer_delta for SIB, use
1325         stack_pointer_delta for alignment; do not update arg_space_so_far.
1326         (emit_library_call_value): Use stack_pointer_delta for alignment.
1327         (store_one_arg): Do not update arg_space_so_far.
1328         * explow.c (adjust_stack, anti_adjust_stack): Update
1329         stack_pointer_delta.
1330         (allocate_dynamic_stack_space): Add sanity checking for
1331         stack_pointer_delta.
1332         * expr.c (init_expr, clear_pending_stack_adjust): Clear
1333         stack_pointer_delta.
1334         (emit_push_insn): Update stack_pointer_delta.
1335         * function.h (struct expr_status): Add x_stack_pointer_delta;
1336         remove x_arg_space_so_far.
1337         (arg_space_so_far): Remove.
1338         (stack_pointer_delta): New macro.
1339
1340 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
1341
1342         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
1343         Reorder struct cpp_options and struct cpp_reader for better 
1344         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
1345         takes two args.  Change all 'char' flags to 'unsigned char'.
1346         Move show_column flag into struct cpp_options.  Don't
1347         prototype cpp_options_init.
1348         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
1349         cppinit.c, cpplex.c, cpplib.c:
1350         Replace CPP_OPTIONS (pfile)->whatever with
1351         CPP_OPTION (pfile, whatever), and likewise for
1352         opts = CPP_OPTIONS (pfile); ... opts->whatever;
1353
1354         * cppinit.c (merge_include_chains): Take a cpp_reader *.
1355         Extract CPP_OPTION (pfile, pending) and work with that
1356         directly.
1357         (cpp_options_init): Delete.
1358         (cpp_reader_init): Turn on on-by-default options here.
1359         Allocate the pending structure here.              
1360         (cl_options, enum opt_code): Define these from the same table,
1361         kept in a large macro.  Add -fshow-column and -fno-show-column
1362         options.
1363
1364         * cpperror.c (v_message): If show_column is off, don't print
1365         the column number.
1366
1367         * cppmain.c: Update for new interface.
1368         * fix-header.c: Likewise.
1369
1370 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
1371
1372         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
1373         definition.
1374         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
1375         are passed to any invocation of AR_FOR_TARGET.
1376         (AR_CREATE_FOR_TARGET): New macro.
1377         (AR_EXTRACT_FOR_TARGET): New macro.
1378         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
1379         AR_EXTRACT_FOR_TARGET.
1380         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
1381         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
1382         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
1383         AR_EXTRACT_FOR_TARGET to sub-makes.
1384
1385 2000-03-31  Neil Booth <NeilB@earthling.net>
1386
1387         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
1388         PAREN_INNER_PRIO.
1389         (_cpp_parse_expr): Check for multiple unary +/- operators.
1390         Correct priorities of ':' and '?'.  Treat ')' as having a
1391         value.  Ensure conditional expression is not void.
1392         
1393 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
1394
1395         * alias.c (canon_rtx): Make it global.
1396         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
1397         equality.
1398         * cse.c (struct table_elt): Add canon_exp.
1399         (insert): Clear it.
1400         (invalidate): Canonicalize expressions only once.
1401         * rtl.h (canon_rtx): Declare.
1402
1403 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
1404
1405         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
1406         * alias.c (reg_known_value): Add comments.
1407         (init_alias_analysis): Likewise.
1408         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
1409         address.
1410         (cse_basic_block): Fix typo in comment.
1411         * emit-rtl.c: Include hashtab.h.
1412         (const_int_htab): New variable.
1413         (const_int_htab_hash): New function.
1414         (const_int_htab_eq): Likewise.
1415         (rtx_htab_mark_1): Likewise.
1416         (rtx_htab_mark): Likewise.
1417         (gen_rtx_CONST_INT): Cache all CONST_INTs.
1418         (unshare_all_rtx): Fix formatting.
1419         (init_emit_once): Initialize const_int_htab.
1420         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
1421         address.
1422         * rtl.texi: Document the fact that all CONST_INTs with the same
1423         value are shared.
1424
1425 2000-03-30  Richard Henderson  <rth@cygnus.com>
1426
1427         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
1428
1429 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
1430
1431         * configure.in: Comment out --enable-c-cpplib stanza.
1432         * configure: Regenerate.
1433
1434 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1435
1436         * expr.c (store_constructor): Properly compute displacement and
1437         alignment when offset is variable.
1438
1439         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
1440         cases of alignment in bytes.
1441
1442 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
1443
1444         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
1445         since it is used to generate c-parse.y.
1446         * objc-parse.c, objc-parse.y: Regenerated.
1447
1448         * function.c (expand_function_end): Pass alignment argument to
1449         emit_block_move in bits, not bytes.
1450
1451 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1452
1453         * expr.c (move_by_pieces_ninsns): Fix one more missing align
1454         correction.
1455
1456         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
1457
1458         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
1459         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
1460         * function.c (assign_parms): Likewise.
1461         * integrate.c (expand_inline_function): Likewise.
1462         * stmt.c (expand_decl): Likewise.
1463         (copy_rtx_and_substitute): Likewise.
1464         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
1465         (clear_by_pieces): Fix error in last change.
1466         * emit-rtl.c (init_emit): Set known registers alignment in bits.
1467         * function.h (regno_pointer_align): Now unsigned.
1468         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
1469         is in bits.
1470         * config/i386/i386.c (aligned_operand): Likewise.
1471         * config/sparc/sparc.c (mem_min_alignment): Likewise.
1472         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
1473         (unaligned_memory_operand): Likewise.
1474         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
1475         Also make alignments and sizes unsigned and some whitespace cleanup.
1476         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
1477
1478         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
1479         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
1480         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
1481         (expand_builtin_memset): Likewise, but to clear_storage.
1482         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
1483         (restore_fixed_argument_area): Likewise.
1484         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
1485         (load_register_parameters): Likewise, to emit_group_load.
1486         (expand_call): Likewise, to emit_group_store and emit_block_move.
1487         (emit_library_call_value_1): Likewise, to emit_block_move.
1488         (store_one_arg): Likewise, and to emit_push_insn.
1489         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
1490         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
1491         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
1492         (emit_block_move, emit_group_load, emit_group_store): Likewise.
1493         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
1494         (expand_assigment, store_expr, store_constructor_field): Likewise.
1495         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
1496         (store_constructor, store_field, get_inner_reference): Likewise.
1497         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
1498         (expand_expr, case COMPONENT_REF): Likewise.
1499         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
1500         and positions; reindent code.
1501         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
1502         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
1503         (assign_parms): Likewise to emit_group_store.
1504         * optabs.c (prepare_cmp_insn): Alignment is in bits.
1505         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
1506         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
1507         (expand_return): Likewise to {extract,store}_bit_field.
1508         * stor-layout.c (get_mode_alignment): Minor cleanup.
1509         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
1510         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
1511         
1512 2000-03-29  Nick Clifton  <nickc@cygnus.com>
1513
1514         * config/arm/arm.h: Undo effects of previous delta:
1515         (ASM_SPEC): Do not define.
1516         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
1517
1518         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
1519         typo. 
1520
1521 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1522
1523         * cppinit.c (cpp_start_read): Call initialize_dependency_output
1524         only after reading in the primary source file.
1525
1526 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
1527
1528         * c-common.c (c_common_nodes_and_builtins): The first parameter to
1529         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
1530         or a reference to a va_list.
1531         * builtins.c (stabilize_va_list): Simplify now we don't have to
1532         work around C array address decay.
1533         * c-typeck.c (convert_for_assignment): Handle assignment to
1534         a reference parameter by taking the address of the RHS.
1535         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
1536         (va_copy): Likewise.
1537         (__va_copy): Likewise.
1538         * ginclude/varargs.h (va_start): Likewise.
1539         (__va_copy): Likewise.
1540
1541 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
1542
1543         * i386/djgpp.h: Remove extraneous "+".
1544
1545         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
1546
1547         * calls.c (expand_call): Fix typo in last change.
1548
1549 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
1550
1551         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
1552         been expanded.
1553
1554 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1555
1556         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
1557         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
1558         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
1559         * tree.c (bit_position, byte_position): Likewise.
1560         * tree.h: Declare new functions.
1561
1562 2000-03-29  Nick Clifton  <nickc@cygnus.com>
1563
1564         * config/arm/arm.c: Minor formatting changes/
1565         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1566         already defined.
1567         (ASM_SPEC): Define if not already defined.
1568
1569 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1570
1571         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
1572         _cpp_calc_hash.
1573
1574 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
1575
1576         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
1577         value, don't output it as unsigned.
1578
1579 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
1580
1581         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
1582
1583 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1584
1585         * c-common.c (c_common_nodes_and_builtins): Don't special case
1586         cplus_mode when declaring builtin bzero/bcmp, always avoid
1587         prototype arguments.
1588
1589 2000-03-29  Bruce Korb  <bkorb@gnu.org>
1590
1591         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
1592         to a non-file
1593
1594 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1595
1596         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
1597         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
1598         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
1599         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
1600         (save_fixed_argument_area, restore_fixed_argument_area):
1601         conditionize by #ifdef REG_PARM_STACK_SPACE only.
1602         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
1603         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
1604         (precompute_register_parameters): Avoid #ifdefs on
1605         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
1606         (stire_one_args): Likewise.
1607         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
1608         (emit_library_call_value_1): Likewise.
1609         (compute_argument_block_size): Align to STACK_BOUNDARY only for
1610         ACCUMULATE_OUTGOING_ARGS.
1611         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
1612         value.
1613         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
1614         (use_crosses_set_p): Likewise.
1615         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
1616         #define ACCUMULATE_OUTGOING_ARGS 1.
1617         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
1618         frames.
1619         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
1620         constants.
1621         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
1622         (TARGET_SWITCHES): Add push-args, no-push-args,
1623         accumulate-outgoing-args and no-accumulate-outgoing-args.
1624         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
1625         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
1626         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
1627         and PUSH_ROUNDING.
1628         (emit_push_insn): Likewise.
1629         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1630         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
1631         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1632         (STACK_DYNAMIC_OFFSET): Define correctly for both
1633         ACCUMULATE_OUTGOING_ARGS and normal mode.
1634         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
1635         * tm.texi (PUSH_ARGS): Document.
1636         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
1637
1638 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1639
1640         * flags.h (flag_optimize_sibling_calls): Declare.
1641         * calls.c (expand_call): Fail sibcall when
1642         !flag_optimize_sibling_calls
1643         * invoke.texi (flag_optimize_sibling_calls): Document.
1644         * toplev.c (flag_optimize_sibling_calls): New global variable.
1645         (f_options): Add flag_optimize_sibling_calls.
1646         (rest_of_compilation): Conditionize
1647         optimize_sibling_and_tail_recursive_calls by
1648         flag_optimize_sibling_calls.
1649         (main): Set flag_optimize_sibling_calls for -O2.
1650         * stmt.c (expand_return): Conditionize tail recursion by
1651         flag_optimize_sibling_calls.
1652
1653 2000-03-29  Richard Henderson  <rth@cygnus.com>
1654
1655         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
1656         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
1657
1658 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
1659
1660         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
1661
1662 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1663
1664         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
1665         is given.
1666         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
1667         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
1668         * config/rs6000/aix.h: then modified likewise.
1669
1670 2000-03-28  Richard Henderson  <rth@cygnus.com>
1671
1672         * rtl.h: Redistribute enum reg_note documentation. 
1673         Kill trailing whitespace.
1674         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
1675         Kill trailing whitespace.
1676
1677 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
1678
1679         * cppfiles.c (hash_IHASH): Just return i->hash.
1680         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
1681         htab_find_with_hash.
1682         (cpp_read_file): Likewise.
1683         (find_include_file): Likewise.  Properly initialize
1684         ih->nshort.  Share ih->name and ih->nshort if possible.
1685         * cpphash.c (_cpp_calc_hash): New function.
1686         (hash_HASHNODE): Just return h->hash.
1687         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
1688         htab_find_with_hash.
1689         * cpphash.h: Prototype _cpp_calc_hash.
1690         * cppinit.c (initialize_builtins): Provide a valid hash
1691         to _cpp_make_hashnode, using _cpp_calc_hash.
1692
1693         * cpphash.c (collect_expansion): # is not a special character
1694         in object-like macros.  In -traditional mode, /**/ is not
1695         token paste at the beginning or end of the line.
1696         * cpplib.c (do_include, do_import, do_include_next): If
1697         parse_include fails, return immediately.
1698
1699 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
1700
1701         * config/arm/arm.md (return peepholes): Update to reflect the new
1702         call insn patterns.
1703         * config/arm/arm.c (arm_volatile_func): Also check
1704         current_function_nothrow.
1705         (output_return_instruction, output_func_prologue): Use it.
1706         (arm_output_epilogue, arm_expand_prologue): Likewise.
1707
1708 2000-03-27  Tom Tromey  <tromey@cygnus.com>
1709
1710         * gcc.c (handle_braces): In {x*...} case, break out of loop if
1711         switch is found.
1712
1713 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1714
1715         * expr.c (store_constructor): SIZE now signed.
1716         For EXPR_SIZE, don't evaluate size; just needed if constant.
1717         * fold-const.c (fold): Fix a number of cases when folded tree is
1718         wrong type.
1719         * function.c (flush_addressof): Reenable.
1720         * tree.h (flush_addressof): Likewise.
1721         * toplev.c (independent_decode_option): Look at strings_processed.
1722         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
1723
1724 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
1725
1726         * sibcall.c (indentify_call_return_value): Find last call in the chain;
1727         Allow stack adjustment after function call.
1728
1729         * regmove.c (struct csa_memlist): Make mem field rtx *.
1730         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
1731         (try_apply_stack_adjustment): Replace whole MEM rtx.
1732         (combine_stack_adjustments_for_block): Update calls
1733         to record_one_stack_ref.
1734
1735 2000-03-28  Neil Booth  <NeilB@earthling.net>
1736
1737         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
1738         '\\' rather than a null character, so nulls are not special.  Fix
1739         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
1740         speed trigraph conversion.
1741         (_cpp_init_input_buffer): Initialize trigraph map.
1742
1743 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1744
1745         * config/i386/i386.c (output_387_binary_op): Correct intel
1746         mode assembly output, and add spaces after commas in AT&T
1747         output.  Correct Unixware assembler comment.  Document input
1748         constraints.  Comment fp operations.  Reduce profligate buffer
1749         size.  Remove extraneous abort.  Localize temp var.
1750         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
1751         (output_fix_trunc): Add spaces after commas in assembly output.
1752
1753 2000-03-27  Richard Henderson  <rth@cygnus.com>
1754
1755         * i386-protos.h (ix86_match_ccmode): Declare.
1756         * i386.c (ix86_match_ccmode): New.
1757         (ix86_expand_fp_compare): Update for pattern renames.
1758         (ix86_expand_strlensi_unroll_1): Likewise.
1759         * i386.h (EXTRA_CC_MODES): Add CCZ.
1760         (SELECT_CC_MODE): Use it for EQ/NE zero.
1761         * i386.md (cmpsi_ccz_1): New.
1762         (cmpqi_ccz_1): New.
1763         (*testsi_ccz_1): New.
1764         (testqi_ccz_1): New.
1765         (cmpsi_ccno_1): Rename from cmpsi_0.
1766         (testsi_ccno_1): Rename from testsi_1.
1767         (testqi_ccno_1): Rename from testqi_1.
1768         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
1769         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
1770         (*cmphi_0): Use ix86_match_ccmode.
1771         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
1772         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
1773         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
1774         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
1775         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
1776         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
1777         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
1778         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
1779         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
1780         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
1781         (appropriate peepholes): Likewise.
1782         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
1783         (*subsi_3, *subhi_3, *subqi_3): Remove.
1784         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
1785         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
1786         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
1787         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
1788         (x86_shift_adj_1): Use CCZ.
1789         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
1790
1791 2000-03-27  Stan Cox  <scox@cygnus.com> 
1792
1793         * resource.h (mark_resource_type): New.
1794         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
1795         find_free_register): Use mark_resource_type.
1796         (mark_set_resources): Change include_delayed_effects
1797         to mark_resource_type.
1798         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
1799         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
1800         Use mark_resource_type.
1801         
1802 2000-03-27  Richard Henderson  <rth@cygnus.com>
1803
1804         * i386.md (call_pop_0, call_value_pop_0): New.
1805         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
1806         (call_value_pop_1): Likewise.
1807         (call_0, call_value_0): New.
1808         (call_1, call_value_1): Remove constraint from unused arg.
1809
1810 2000-03-27  Nick Clifton  <nickc@cygnus.com>
1811
1812         * invoke.texi (Spec Files): Document new spec % command created by
1813         Tom Tromey's recent patch.
1814
1815 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
1816
1817         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
1818         if not defined.
1819
1820 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1821
1822         * expr.c (expand_assignment): Fix typo in last change.
1823
1824         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
1825
1826 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1827
1828         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
1829         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
1830         and DECL_INLINE if FUNCTION_DECL.
1831         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
1832         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
1833         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
1834         (combine_parm_decls): Likewise.
1835         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
1836         * print-tree.c (print_node): Likewise.
1837         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
1838         DECL_TRANSPARENT_UNION on proper decl types.
1839         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
1840         * stor-layout.c (layout_decl): Only check DECL_PACKED and
1841         DECL_BIT_FIELD of FIELD_DECL.
1842         * tree.h (DECL_RESULT_FLD): New macro.
1843         
1844         * expr.c (expand_assignment): Add code to handle variable-sized
1845         BLKmode case.
1846
1847 2000-03-26  Richard Henderson  <rth@cygnus.com>
1848
1849         * calls.c (expand_call): Pass parms not original exp to
1850         optimize_tail_recursion.  Mind return value instead of looking
1851         for a barrier.
1852         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
1853         call_expr.  Move checks for call_expr and current_function_decl ...
1854         (expand_return): ... here.
1855
1856 2000-03-26  Tom Tromey  <tromey@cygnus.com>
1857
1858         * gcc.c (handle_braces): Recognize `%{<S}' construct.
1859         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
1860         defines.
1861         (process_command): Use them.
1862         (check_live_switch): Likewise.
1863         (give_switch): Skip ignored switches.
1864
1865 2000-03-26  Jan Hubicka  <jh@suse.cz>
1866
1867         * jump.c (jump_optimize_1): Fix typo in elide optimizations
1868         for minimal jump pass test.
1869
1870 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
1871
1872         * integrate.c (function_cannot_inline_p): Do inline functions that
1873         return `void'.
1874
1875 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1876
1877         * stor-layout.c (layout_type, set_sizetype): early_type_list is
1878         now a list of TREE_LIST entries, not types.
1879         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
1880
1881         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
1882         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
1883         int_bit_position.
1884         * config/mips/mips.c (function_arg): Likewise; also remove cast
1885         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
1886         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
1887         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
1888         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
1889         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
1890         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
1891         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
1892         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
1893         num_adjusts now unsigned.
1894         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
1895         * config/sparc/sparc.c (struct function_arg_record_value_parms):
1896         NREGS now unsigned.
1897         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
1898         as is BITPOS variable; use host_integerp and int_bit_position.
1899         (function_arg_record_value_2): Likewise.
1900         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
1901         Variable REGNO now unsigned.
1902         (function_arg_record_value): NREGS now unsigned.
1903
1904 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
1905
1906         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
1907
1908 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1909
1910         * Rework fields used to describe positions of bitfields and
1911         modify sizes to be unsigned and use HOST_WIDE_INT.
1912         * alias.c (reg_known_value_size): Now unsigned.
1913         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
1914         (really_start_incremental_init): Use bitsize_zero_node.
1915         (push_init_level, pop_init_level, output_init_element): Likewise.
1916         Use bitsize_unit_node and bitsize_one_node.
1917         (output_pending_init_elements, process_init_element): Likewise.
1918         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
1919         (make_extraction): Position and length HOST_WIDE_INT and unsigned
1920         HOST_WIDE_INT, respectively.
1921         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
1922         (num_sign_bit_copies): Returns unsigned.
1923         BITWIDTH now unsigned; rework arithmetic.
1924         Remove recursive call from arg to MAX.
1925         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
1926         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
1927         REGNO now unsigned.
1928         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
1929         (find_split_point, expand_compound_operation, make_extraction): LEN
1930         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
1931         (make_field_assignment): Likewise.
1932         (combine_simplify_rtx): Add cast.
1933         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
1934         (force_to_mode): WIDTH now unsigned; add cast.
1935         (if_then_else_cond): SIZE now unsigned.
1936         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
1937         (extended_count): Now returns unsigned.
1938         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
1939         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
1940         (simplify_comparison): MODE_WIDTH now unsigned.
1941         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
1942         (mark_used_regs_combine): Likewise; rework arithmetic.
1943         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
1944         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
1945         (record_promoted_value): REGNO now unsigned.
1946         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
1947         (get_last_value): REGNO now unsigned.
1948         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
1949         (reg_dead_regno, reg_dead_endregno): Now unsigned.
1950         (remove_death): Arg REGNO now unsigned.
1951         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
1952         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
1953         now unsigned.
1954         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
1955         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
1956         (struct cse_reg_info): REGNO now unsigned.
1957         (cached_regno): Now unsigned.
1958         (REGNO_QTY_VALID_P): Add cast.
1959         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
1960         (remove_invalid_regs): Likewise.
1961         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
1962         as are variables END and I.
1963         (get_cse_reg_info, insert): Likewise.
1964         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
1965         (canon_hash): Likewise.
1966         (insert_regs, lookup_for_remove): REGNO now unsigned.
1967         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
1968         New variable RN.
1969         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
1970         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
1971         * emit-rtl.c (subreg_realpart_p): Add cast.
1972         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
1973         (operand_subword_force): Arg I is now unsigned.
1974         * except.c (eh_regs): Variable I is now unsigned.
1975         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
1976         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
1977         length is unsigned HOST_WIDE_INT; likewise for internal variables.
1978         (store_split_bit_field, extract_fixed_bit_field): Likewise.
1979         (extract_split_bit_field, store_bit_field, extract_bit_field):
1980         Likewise.
1981         * expr.c (store_constructor_fields, store_constructor, store_field):
1982         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
1983         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
1984         (do_jump): Likewise.
1985         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
1986         MAX_SIZE is now unsigned.
1987         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
1988         (emit_group_store): Likewise.
1989         (emit_move_insn): I now unsigned.
1990         (store_constructor): Use host_integerp, tree_low_cst, and
1991         bitsize_unit_node.
1992         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
1993         Rework all calculations to use trees and new fields.
1994         * expr.h (promoted_input_arg): Regno now unsigned.
1995         (store_bit_field, extract_bit_field): Adjust types of pos and size.
1996         (mark_seen_cases): Arg is HOST_WIDE_INT.
1997         * flow.c (verify_wide_reg_1): REGNO now unsigned.
1998         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
1999         precisions and alignments are unsigned.
2000         (optimize_bit_field_compare, fold_truthop): Likewise.
2001         (int_const_binop): Adjust threshold for size_int_type_wide call.
2002         (fold_convert): Likewise.
2003         (size_int_type_wide): Make table larger and fix thinko that only
2004         had half of table used.
2005         (all_ones_mask_p, fold): Precisions are unsigned.
2006         * function.c (put_reg_info_stack): REGNO is unsigned.
2007         (instantiate_decl): Size is HOST_WIDE_INT.
2008         (instantiate_virtual_regs): I is unsigned.
2009         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
2010         (promoted_input_arg): REGNO is unsigned.
2011         * function.h (struct function): x_max_parm_reg is now unsigned.
2012         * gcse.c (max_gcse_regno): Now unsigned.
2013         (struct null_pointer_info): min_reg and max_reg now unsigned.
2014         (lookup_set, next_set): REGNO arg now unsigned.
2015         (compute_hash_table): REGNO and I now unsigned.
2016         (handle_avail_expr): regnum_for_replacing now unsigned.
2017         (cprop_insn): REGNO now unsigned.
2018         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
2019         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
2020         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
2021         * hard-reg-set.h (reg_class_size): Now unsigned.
2022         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
2023         * jump.c (mark_modified_reg): I now unsigned; add cast.
2024         (rtx_equal_for_thread_p): Add cast.
2025         * loop.c (max_reg_before_loop): Now unsigned.
2026         (struct_movable): REGNO now unsigned.
2027         (try_copy_prop): REGNO arg unsigned.
2028         (regs_match_p): XN and YN now unsigned.
2029         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
2030         (strength_reduce): Likewise; NREGS also unsigned.
2031         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
2032         * loop.h (struct iv_class): REGNO now unsigned.
2033         (max_reg_before_loop, first_increment_giv, last_increment_giv):
2034         Now unsigned.
2035         * machmode.h (mode_size, mode_unit_size): Now unsigned.
2036         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
2037         * optabs.c (expand_binop): I and NWORDS now unsigned.
2038         (expand_unop): I now unsigned.
2039         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
2040         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
2041         * real.c (significand_size): Now returns unsigned.
2042         * real.h (significand_size): Likewise.
2043         * regclass.c (reg_class_size): Now unsigned.
2044         (choose_hard_reg_mode): Both operands now unsigned.
2045         (record_reg_classes): REGNO and NR now unsigned.
2046         (reg_scan): NREGS now unsigned.
2047         (reg_scan_update): old_max_regno now unsigned.
2048         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
2049         * reload.c (find_valid_class): BEST_SIZE now unsigned.
2050         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
2051         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
2052         Likewise for variable R.
2053         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2054         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2055         (find_equiv_reg): Add casts.
2056         (regno_clobbered_p): Arg REGNO now unsigned.
2057         * reload.h (struct reload): NREGS now unsigned.
2058         (refers_to_regno_for_reload_p): Regno args are unsigned.
2059         (regno_clobbered_p): Likewise.
2060         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2061         (compute_use_by_pseudos): REGNO now unsigned.
2062         (find_reg): I and J now unsigned, new variable K, and change loop
2063         variables accordingly; THIS_NREGS now unsigned.
2064         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2065         (spill_hard_reg): REGNO arg now unsigned; add casts.
2066         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2067         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2068         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2069         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2070         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2071         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2072         (emit_reload_insns): REGNO now unsigned.
2073         (reload_cse_move2add): Add cast.
2074         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2075         and rework loop.
2076         * resource.c (mark_referenced_resources, mark_set_resources): New
2077         variable R; REGNO and LAST_REGNO now unsigned.
2078         (mark_target_live_regs): J and REGNO now unsigned.
2079         * rtl.c (mode_size, mode_unit_size): Now unsigned.
2080         * rtl.h (union rtunion_def): New field rtuint.
2081         (XCUINT): New macro.
2082         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2083         (operand_subword, operand_subword_force): Word number is unsigned.
2084         (choose_hard_reg_mode): Operands are unsigned.
2085         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2086         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2087         (regno_use_in, combine_instructions, remove_death): Likewise.
2088         (reg_scan, reg_scan_update): Likewise.
2089         (extended_count): Return is unsigned.
2090         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
2091         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
2092         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
2093         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
2094         (reg_reg_last_1): FIRS and LAST now unsigned.
2095         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
2096         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
2097         now unsigned.
2098         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
2099         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
2100         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
2101         (replace_regs): Arg NREGS now unsigned.
2102         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
2103         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
2104         (simplify_binary_operation): Likewise.
2105         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
2106         THIS_LAST now unsigned.
2107         (cselib_record_set): Add cast.
2108         * ssa.c (ssa_max_reg_num): Now unsigned.
2109         (rename_block): REGNO now unsigned.
2110         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
2111         sizes now unsigned.
2112         (all_cases_count): Just return -1 not -2.
2113         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
2114         Rework tests to use trees whenever possible.
2115         Use host_integerp and tree_low_cst.
2116         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
2117         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
2118         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
2119         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
2120         (smallest_mode_for_size): Likewise.
2121         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
2122         KNOWN_ALIGN is now an alignment, so simplify code.
2123         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
2124         (start_record_layout): Renamed from new_record_layout_info.
2125         Update to new fields.
2126         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
2127         New functions.
2128         (place_union_field): Renamed from layout_union_field.
2129         Update to use new fields in rli.
2130         (place_field): Renamed from layout_field.
2131         Major rewrite to use new fields in rli; pass alignment to layout_decl.
2132         (finalize_record_size): Rework to use new fields in rli and handle
2133         union.
2134         (compute_record_mode): Rework to simplify and to use new DECL fields.
2135         (finalize_type_size): Make rounding more consistent.
2136         (finish_union_layout): Deleted.
2137         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
2138         (layout_type, case RECORD_TYPE): Call new function names.
2139         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
2140         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
2141         (get_best_mode): UNIT is now unsigned; remove casts.
2142         * tree.c (bit_position): Compute from new fields.
2143         (byte_position, int_byte_position): New functions.
2144         (print_type_hash_statistics): Cast to remove warning.
2145         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
2146         (build_index_type): Likewise; make subtype of sizetype.
2147         (build_index_2_type): Pass sizetype to build_range_type.
2148         (build_common_tree_nodes): Use size_int and bitsize_int to
2149         initialize nodes; add bitsize_{zero,one,unit}_node.
2150         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
2151         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
2152         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
2153         (DECL_FIELD_BITPOS): Deleted.
2154         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
2155         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
2156         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
2157         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
2158         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
2159         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
2160         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
2161         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
2162         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
2163         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
2164         (DECL_ALIGN): Adjust to new field in union.
2165         (DECL_OFFSET_ALIGN): New field.
2166         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
2167         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
2168         (union tree_decl): Add struct for both aligns.
2169         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
2170         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
2171         (struct record_layout_info): Rework fields to have offset
2172         alignment and byte and bit position.
2173         (start_record_layout, place_field): Renamed from old names.
2174         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
2175         (byte_position, int_byte_position): Likewise.
2176         (get_inner_reference): Change types of position and length.
2177         * unroll.c (unroll_loop): New variable R; use for some loops.
2178         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
2179         (calculate_giv_inc): Arg REGNO now unsigned.
2180         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
2181         * varasm.c (assemble_variable): Clean up handling of size using
2182         host_integerp and tree_low_cst.
2183         (decode_addr_const): Use byte, not bit, position.
2184         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
2185         use tree_low_cst and int_bit_position.
2186         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
2187         
2188 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
2189
2190         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
2191         (reorder_block_def): New members eff_head and eff_end.
2192         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
2193         (verify_insn_chain): New function.
2194         (skip_insns_between_block): Add code to skip deleted insns.
2195         Check for note before using.
2196         (chain_reorder_blocks): Replace calls to skip_insns_between_block
2197         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
2198         Check for note before using.
2199         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
2200         (fixup_reorder_chain): Restructure, clean up, defect removal.
2201         (reorder_basic_blocks): Remove last_insn and references to it.
2202         Moved insn chain verification code into a new function (see above).
2203         Delete defective code that sets last insn.
2204         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
2205         all blocks.
2206
2207 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2208
2209         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
2210
2211 2000-03-24  Richard Henderson  <rth@cygnus.com>
2212
2213         * tree.c (lang_safe_for_unsave): Remove.
2214         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
2215         allowing for two levels of unsafeness.  Remove lang hook.
2216         * tree.h: Update declarations.
2217         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
2218         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
2219         Always fail sibcalls when there are pending cleanups.
2220
2221 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
2222
2223         * flow.c (propagate_block): When we delete an ADDR_VEC,
2224         also delete the BARRIER following it if there is one.
2225
2226 2000-03-24  Richard Henderson  <rth@cygnus.com>
2227
2228         * builtins.c (expand_builtin_bzero): Convert `length' argument
2229         to sizetype.
2230
2231 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
2232
2233         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
2234         comparison if regno's are equal.
2235         * calls.c (initialize_argument_informat): Add ecf_flags argument.
2236         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2237         (expand_call): Update caller.
2238         Avoid making a sibling call if argument size of the callee is larger
2239         than argument size of the caller.
2240         Call hard_function_value with outgoing set if in sibcall pass.
2241         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2242
2243         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
2244         Change LEAF_REGISTERS from an array initializer to actual array
2245         identifier. Move static global variable into the function.
2246         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
2247         sequences for leaf functions.
2248         * global.c (global_alloc): Likewise.
2249         * tm.texi (LEAF_REGISTERS): Update documentation.
2250
2251         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
2252         TARGET_FLAT leaf disabling hack.
2253         (LEAF_REGISTERS): Changed from an array initializer to actual array
2254         identifier to avoid duplication and remove the above hack.
2255         (FUNCTION_OK_FOR_SIBCALL): Define.
2256         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
2257         always like call attribute.
2258         (eligible_for_sibcall_delay): New attribute.
2259         (sibcall): New delay type.
2260         (sibcall, sibcall_value, sibcall_epilogue): New expands.
2261         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
2262         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
2263         * config/sparc/sparc.c (sparc_leaf_regs): New array.
2264         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
2265         New functions.
2266         (output_function_epilogue): Move part of the code into
2267         output_restore_regs.
2268         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
2269         TYPE_SIBCALL.
2270         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
2271         prototypes.
2272
2273         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
2274         until infrastructure is finished.
2275
2276 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
2277
2278         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
2279         (save_parm_insns): Not here.
2280
2281 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2282
2283         * builtins.c (expand_builtin_bzero): New function.
2284         (expand_builtin): Handle bzero.
2285
2286         * builtins.def: Add BUILT_IN_BZERO.
2287
2288         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2289         prototype & function for bzero.
2290
2291 2000-03-23  Michael Meissner  <meissner@redhat.com>
2292
2293         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
2294         change adding TARGET_FP to the TF floating point insns, except for
2295         trunctfsf2, which generates direct calls to truncdfsf2.
2296
2297 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
2298
2299         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
2300         try to protect against middle-end changes that break binary
2301         compatibility.
2302         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
2303
2304 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2305
2306         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
2307
2308 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2309
2310         * calls.c (expand_call): If TARGET is passed by reference and
2311         is readonly, write a CLOBBER.
2312
2313 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2314
2315         * builtins.c (expand_builtin): Handle bcmp.
2316
2317         * builtins.def: Add BUILT_IN_BCMP.
2318
2319         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2320         prototype & function for bcmp.
2321
2322 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
2323
2324         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
2325         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
2326         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
2327
2328 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
2329
2330         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
2331         alternative when using -fp64 -gp32.
2332
2333 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2334
2335         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
2336         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
2337         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
2338
2339         * frame.h (frame_state): Revert last change.
2340         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
2341         * libgcc2.c (throw_helper): Revert last change.
2342         
2343 2000-03-22  Richard Henderson  <rth@cygnus.com>
2344
2345         * stmt.c (expand_asm_operands): Don't promote the temporary.
2346
2347 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2348
2349         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
2350         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
2351           c_get_alias_set): Likewise.
2352         * c-decl.c (duplicate_decls): Likewise.
2353         * c-typeck.c (default_conversion,build_unary_op): Likewise.
2354         * calls.c (initialize_argument_information): Likewise.
2355         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
2356         Likewise.
2357         * dwarfout.c (decl_class_context,output_type): Likewise.
2358         * expr.c (get_inner_reference): Likewise.
2359         * fold-const.c (simple_operand_p,fold): Likewise.
2360         * function.c (aggregate_value_p): Likewise.
2361         * stmt.c (expand_asm_operands): Likewise.
2362         * varasm.c (named_section): Likewise.
2363
2364 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2365
2366         Implement dwarf2 exception handling for the ARM.
2367         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
2368         (DWARF_FRAME_RETURN_COLUMN): Define.
2369         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
2370         REG_FRAME_RELATED_EXPR note.
2371         (emit_sfm): Likewise.
2372         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
2373         * dwarf2out.c (reg_save): Handle saving a register to itself.
2374         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
2375         * except.c (eh_regs): Don't use the static chain reg if it's
2376         callee-saved.
2377         * frame.h (frame_state): Add cfa_saved field.
2378         * frame.c (execute_cfa_insn): Set it.
2379         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
2380         the epilogue.
2381         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
2382         Now takes a parm.
2383         (instantiate_virtual_regs): Adjust.
2384         * tm.texi: Adjust.
2385         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2386         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2387         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
2388
2389         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
2390         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
2391
2392 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2393
2394         * builtins.def: New file.
2395
2396         * Makefile.in (TREE_H): Depend on builtins.def.
2397
2398         * builtins.c (built_in_names): Use builtins.def.
2399
2400         * tree.h (built_in_function): Likewise.
2401
2402 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
2403
2404         * tree.c (size_in_bytes): Return size_zero_node, not
2405         integer_zero_node.
2406
2407 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
2408
2409         * config/fp-bit.c (pack_d): Correct the case when a denormal
2410         is rounded up and stops being denormal.
2411
2412 2000-03-21  Richard Henderson  <rth@cygnus.com>
2413
2414         * config/alpha/alpha.c (function_arg): Check for void_type_node
2415         before using MUST_PASS_IN_STACK.
2416
2417 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
2418
2419         * regmove.c (combine_stack_adjustments_for_block): Check that
2420         the stack pointer is a valid memory address.
2421
2422 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
2423
2424         * calls.c: re-install Mar 16 emit_library_call merge.
2425
2426 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
2427
2428         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
2429         we cannot be sure that if reload_completed base register will
2430         be properly aligned.
2431
2432 2000-03-21  Richard Henderson  <rth@cygnus.com>
2433
2434         * flow.c (delete_block): Fix typo last change.
2435
2436 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
2437
2438         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
2439         not COMPLETE_TYPE_P, to check the type of the expression.
2440
2441 2000-03-21  Michael Meissner  <meissner@redhat.com>
2442
2443         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
2444         all floating point insns that just tested the macro
2445         TARGET_HAS_XFLOATING_LIBS.
2446         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
2447         used to only use the gprs.
2448
2449 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
2450
2451         * tree.h (COMPLETE_TYPE_P): New macro.
2452         (COMPLETE_OR_VOID_TYPE_P): New macro.
2453         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
2454         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
2455         * c-aux-info.c (gen_type): Use them.
2456         * c-common.c (c_expand_expr_stmt): Likewise.
2457         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
2458         grokdeclarator, grokparms, finish_struct, start_function,
2459         store_parm_decls, combine_parm_decls): Likewise.
2460         * c-parse.y (cast_expr): Likewise.
2461         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
2462         c_size_in_bytes, c_alignof, build_component_ref,
2463         build_indirect_ref, build_array_ref, convert_arguments,
2464         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
2465         * calls.c (initialize_argument_information): Likewise.
2466         * convert.c (convert_to_integer): Likewise.
2467         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
2468         * dwarfout.c (location_or_const_value_attribute,
2469         output_enumeration_type_die, output_structure_type_die,
2470         output_union_type_die, output_type): Likewise.
2471         * expr.c (safe_from_p, expand_expr): Likewise.
2472         * function.c (assign_parms): Likewise.
2473         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
2474         * tree.c (build_array_type, build_function_type,
2475         build_method_type, build_offset_type, build_complex_type): Likewise.
2476         * c-parse.c, c-parse.h: Regenerated.
2477
2478 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2479
2480         * config/c4x/rtems.h: Include config/rtems.h.
2481
2482 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
2483
2484         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
2485         decl is a FUNCTION_DECL
2486
2487 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
2488
2489         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
2490         function uses output registers.  Don't save RP for leaf functions.
2491         Do save RP even if no epilogue.
2492         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
2493         (CALL_USED_REGISTERS): Unmark in registers.
2494         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
2495         to near the middle.
2496
2497 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
2498
2499         * config/rs6000/rs6000.md (bunordered): New expander.
2500         (bordered): New expander.
2501         (buneq): New expander.
2502         (bunge): New expander.
2503         (bungt): New expander.
2504         (bunle): New expander.
2505         (bunlt): New expander.
2506         (bltgt): New expander.
2507  
2508         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
2509         (ccr_bit_negated_p): New function.
2510         (print_operand): For %C, generate appropriate cror for UNEQ,
2511         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
2512
2513 2000-03-20  Andreas Jaeger  <aj@suse.de>
2514
2515         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
2516         warning.
2517
2518         * tree.h (safe_for_unsave): Prototype.
2519
2520 2000-03-20  Richard Henderson  <rth@cygnus.com>
2521
2522         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
2523         (combine_stack_adjustments_for_block): Don't allow sp references
2524         in the side of a set we're not fixing up.
2525         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
2526         after life_analysis.
2527
2528 2000-03-20  Richard Henderson  <rth@cygnus.com>
2529
2530         * calls.c (expand_call): Don't bother generating tail call
2531         sequences if there are pending cleanups.  Use
2532         expand_start_target_temps/expand_end_target_temps to elide
2533         cleanups created during sibcall expansion.
2534
2535 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
2536
2537         * configure.in: Set $IFS to a value if it doesn't already have one
2538         in the --enable-checking handling.
2539         * configure: Regenerate.
2540
2541 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2542
2543         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
2544         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2545         Regenerated.
2546
2547 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
2548
2549         * jump.c (delete_noop_moves): Remove code attempting to
2550         combine stack adjustments.
2551
2552 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2553
2554         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
2555         * except.c (emit_cleanup_handler): Use them.
2556         (expand_end_all_catch): Likewise.
2557         * function.c (fixup_var_refs): Likewise.
2558         (expand_function_end): Clear catch_clauses_last.
2559         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
2560         * except.h (struct eh_status): New field x_catch_clauses_last.
2561         (catch_clauses_last): New define.
2562
2563         * Makefile.in (tree.o): Depend on HASHTAB_H.
2564         * tree.c: Include hashtab.h.
2565         (struct type_hash): Remove next field.
2566         (TYPE_HASH_SIZE): Remove.
2567         (TYPE_HASH_INITIAL_SIZE): New define.
2568         (type_hash_table): Change type to htab_t.
2569         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
2570         mark_hash_entry): New functions.
2571         (init_obstacks): Allocate type hash.
2572         (type_hash_lookup): Use htab functions.
2573         (type_hash_add, mark_type_hash): Likewise.
2574         (dump_tree_statistics): Call print_type_hash_statistics.
2575
2576 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2577
2578         * rs6000/t-aix41: New file.
2579
2580         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
2581
2582 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
2583
2584         * tm.texi (Driver): Fix typos and tweak entry for
2585         INCLUDE_DEFAULTS.
2586         Move misplaced STRUCT_FORCE_BLK entry ...
2587         (Storage Layout): ... to here.
2588         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
2589
2590 2000-03-19  Richard Henderson  <rth@cygnus.com>
2591
2592         * flow.c (delete_block): Delete the addr_vec along with the block.
2593         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
2594         reference labels.
2595
2596         * fold-const.c (extract_muldiv): Apply type check for defined
2597         overflow to multiply as well as divide.
2598
2599         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
2600
2601 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
2602
2603         * emit-rtl.c (remove_unncessary_notes): Check that all
2604         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
2605         associated NOTE_BLOCK.
2606         * function.h (identify_blocks): Update comments.
2607         (reorder_blocks): Declare.
2608         * function.c (identify_blocks): Don't take paramters.
2609         (reorder_blocks): Don't take parameters.
2610         * loop.h (find_loop_tree_blocks): Remove.
2611         (unroll_block_trees): Likewise.
2612         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
2613         reorder_blocks instead of unroll_block_trees.h
2614         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
2615         * stmt.c (find_loop_tree_blocks): Remove.
2616         (unroll_block_trees): Likewise.
2617         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
2618         in whole-function mode.
2619         * tree.h (reorder_blocks): Remove declaration.
2620
2621         * expr.c: Include intl.h.
2622         * Makefile.in (expr.o): Depend on intl.h.
2623         
2624 2000-03-18  Richard Henderson  <rth@cygnus.com>
2625
2626         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
2627
2628 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
2629
2630         * tree.h (tree_index): Remove enumerals for integer types.
2631         (integer_type_kind): New type.
2632         (integer_types): New variable.
2633         (char_type_node): Adjust.
2634         (signed_char_type_node): Likewise.
2635         (unsigned_char_type_node): Likewise.
2636         (short_integer_type_node): Likewise.
2637         (short_unsigned_type_node): Likewise.
2638         (integer_type_node): Likewise.
2639         (unsigned_type_node): Likewise.
2640         (long_integer_type_node): Likewise.
2641         (long_unsigned_type_node): Likewise.
2642         (long_long_integer_type_node): Likewise.
2643         (long_long_unsigned_type_node): Likewise.
2644         * tree.c (integer_types): New variable.
2645         (init_obstacks): Register it as a root.
2646
2647 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
2648
2649         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
2650         NEXT_INSN. Update last insn in chain.
2651
2652 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
2653
2654         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
2655         with TYPE_DECL_SUPPRESS_DEBUG set.
2656
2657 2000-03-18  Richard Henderson  <rth@cygnus.com>
2658
2659         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
2660
2661 2000-03-18  Richard Henderson  <rth@cygnus.com>
2662
2663         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
2664         care for HALF_PIC_P.
2665         (expander_call_insn_operand): Remove.
2666         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
2667         * i386.h (PREDICATE_CODES): Update.
2668         * i386.md (all call expanders): Remove predicates, remove special
2669         handling for half-pic.
2670         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
2671         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
2672         (sibcall_epilogue): New.
2673
2674 2000-03-17  Richard Henderson  <rth@cygnus.com>
2675
2676         * rtlanal.c (single_set): Reject if the parallel has anything
2677         except SET or USE or CLOBBER.
2678
2679 2000-03-17  Jeff Law  <law@cygnus.com>
2680             Richard Henderson  <rth@cygnus.com>
2681
2682         * Makefile.in (OBJS): Add sibcall.o.
2683         (sibcall.o): New.
2684         * sibcall.c: New file.
2685         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
2686         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
2687         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
2688         Emit sibcall patterns when requested.  Update all callers.
2689         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
2690         elimination seems feasable.
2691         * final.c (leaf_function_p): Sibling calls don't discount being
2692         a leaf function.
2693         * flow.c (HAVE_sibcall_epilogue): Provide default.
2694         (find_basic_blocks_1): Sibling calls don't throw.
2695         (make_edges): Make edge from sibling call to EXIT.
2696         (propagate_block): Don't remove sibcall_epilogue insns.
2697         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
2698         (sibcall_epilogue): New.
2699         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
2700         (identify_blocks_1): Likewise.  Break out from ...
2701         (identify_blocks): ... here.
2702         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
2703         (reorder_blocks): ... here.
2704         (init_function_for_compilation): Zap prologue/epilogue as varrays.
2705         (record_insns): Extend a varray instead of mallocing new memory.
2706         (contains): Read a varray not array of ints.
2707         (sibcall_epilogue_contains): New.
2708         (thread_prologue_and_epilogue_insns): Emit and record
2709         sibcall_epilogue patterns.
2710         (init_function_once): Allocate prologue/epilogue varrays.
2711         * genflags.c (gen_insn): Treat sibcall patterns as calls.
2712         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
2713         Broken out from ...
2714         (save_for_inline_nocopy): ... here.
2715         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
2716         Broken out from ...
2717         (expand_inline_function): ... here.
2718         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
2719         (subst_constants): Handle 'n' formats.
2720         * jump.c (jump_optimize_minimal): New.
2721         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
2722         optimizations if it's set.
2723         * rtl.c (copy_rtx): Do copy jump & call for insns.
2724         * rtl.h (struct rtx_def): Document use of jump and call for insns.
2725         (SIBLING_CALL_P): New.
2726         (sibcall_use_t): New.
2727         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
2728         Invoke optimize_sibling_and_tail_recursive_calls.
2729         * tree.c (lang_safe_for_unsave): New.
2730         (safe_for_unsave): New.
2731         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
2732
2733         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
2734         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
2735         (*sibcall_osf_1, *sibcall_value_osf_1): New.
2736
2737 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
2738
2739         * objc/objc-act.c (encode_method_prototype): Pass types, not
2740         PARM_DECLs, to int_size_in_bytes.
2741
2742 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
2743
2744         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
2745
2746         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2747         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
2748
2749 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2750
2751         * Clean up usages of TREE_INT_CST_LOW.
2752         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
2753         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2754         Regenerated.
2755         * c-tree.h (min_precision): Move declaration to here.
2756         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
2757         (build_unary_op, add_pending_init): Use bit_position.
2758         (pending_init_member, process_init_element): Likewise.
2759         (really_start_incremental_init, push_init_level, pop_init_level):
2760         Don't make copies of nodes or modify them in place, use consistent
2761         types when tracking positions, and use tree routines computations.
2762         (set_init_index, output_init_element): Likewise.
2763         (output_pending_init_elements, process_init_element): Likewise.
2764         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
2765         tree_low_cst and int_bit_position; also minor cleanup.
2766         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
2767         (print_cst_octal): Precision is unsigned.
2768         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
2769         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
2770         (simple_type_align_in_bits): Result is unsigned int.
2771         Use tree_int_low_cst and host_integerp.
2772         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
2773         (field_byte_offset): Result is HOST_WIDE_INT.
2774         Change types of internal variables so alignments are unsigned int,
2775         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
2776         Use host_integerp, tree_low_cst, and int_bit_position.
2777         (add_bit_offset_attribute): Likewise.
2778         (add_data_member_location_attribute): Use tree_cst_low.
2779         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
2780         (add_bit_size_attribute): Use tree_low_cst.
2781         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
2782         * dwarfout.c: Similar changes to dwarf2out.c.
2783         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
2784         * genoutput.c (n_occurences): Return -1 for null string.
2785         (strip_whitespace): Accept null string and make into function.
2786         (scan_operands): Reflect above changes.
2787         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
2788         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
2789         * ssa.c (rename_registers): Add missing cast of arg to bzero.
2790         * tree.c (int_size_in_bytes): Check for too big to represent.
2791         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
2792         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
2793         New declarations.
2794         (min_precision): Delete from here.
2795         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
2796         and int_bit_position.
2797         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
2798         (encode_method_def): Likewise.
2799         (build_ivar_list_initializer): Use int_bit_position.
2800         (generate_shared_structures): Convert size.
2801         (encode_type, encode_complete_bitfield): Use integer_zerop.
2802         (encode_bitfield): Use tree_low_cst and int_bit_position.
2803         
2804 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2805
2806         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
2807
2808 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2809
2810         * call.c (special_function_p): It is only malloc if it returns
2811         Pmode.
2812
2813 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2814
2815         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
2816         (C33_FLAG, TARGET_C3X): Add macros.
2817         (TARGET_SWITCHES): Add -m33 option.
2818         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
2819         
2820 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2821         
2822         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
2823         (PARALLEL_PACK_FLAG): Delete.
2824         (TARGET_SWITCHES): Update.
2825         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
2826
2827 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2828
2829         * fold-const.c (fold): Fix a few cases when the returned result
2830         is not of the same type as the input.
2831
2832 2000-03-16  Nick Clifton  <nickc@cygnus.com>
2833
2834         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
2835         warning.
2836
2837 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2838
2839         * libgcc2.h: Move prototypes above macros with the same name.
2840         Wrap some function prototypes in the conditional which indicates
2841         whether they are supported, i.e. "BITS_PER_UNIT == 8".
2842
2843 2000-03-16  Richard Henderson  <rth@cygnus.com>
2844
2845         * calls.c: Revert last two changes.
2846
2847 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
2848
2849         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
2850         has exponent 0 is a zero.
2851
2852         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
2853         HASH may already be nonzero.  Add code/mode into hash value
2854         immediately after repeat label.
2855         (cselib_lookup): Don't leave the hash table in an inconsistent
2856         state before a hash lookup operation.
2857
2858 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
2859
2860         * i386.md (all HI and QI mode non-move patterns):  Conditionize
2861         by TARGET_[HQ]IMODE_MATH.
2862         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2863         x86_promote_qi_regs): Declare.
2864         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
2865         TARGET_PROMOTE_QI_REGS): New macros.
2866         (PROMOTE_MODE): New macro.
2867         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2868         x86_promote_qi_regs): New global variables.
2869
2870 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
2871
2872         * calls.c (emit_library_call_value_1): Break out from ...; handle
2873         VOIDmode function calls too.
2874         (emit_library_call_value): ... here.
2875         (emit_library_call): Implement by calling emit_library_call_value_1.
2876
2877 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
2878
2879         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
2880         Update arg_space_so_far on stack adjustments.
2881         (emit_library_call, emit_library_call_value): Likewise; take into
2882         account arg_space_so_far and pending_stack_adjust when calculcating
2883         the boundary.
2884
2885 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
2886
2887         * flow.c: Move all basic block reordering code into its own file.
2888         (create_basic_block): Externalize.
2889         * bb-reorder.c: New file. Copy all basic block reordering code from
2890         flow.c to this file.
2891         (reorder_basic_blocks): Fix fencepost error in for-loop.
2892         (reorder_basic_blocks): Remove braces from single statement for-loops.
2893         * basic-block.h: Add declaration for create_basic_block.
2894         * Makefile.in: Add rules for bb-reorder.o.
2895
2896 2000-03-16  Neil Booth  <NeilB@earthling.net>
2897
2898         * cppinit.c (handle_option):  Implement #unassert directive
2899         as -A- command line option.
2900         (print_help):  Update.
2901         * cpptexi.c:  Update.
2902
2903 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2904
2905         * md.texi (Standard Names): Document `jump'.
2906
2907 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
2908
2909         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
2910         gotos.
2911
2912 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
2913
2914         See the ChangeLog on the branch for more details.
2915         
2916         * configure.in: Merge in changes from newppc-branch.
2917         * configure: Regenerate.
2918         * config/rs6000/*: Merge in changes from newppc-branch.
2919         Also correct copyright notices.
2920
2921 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
2922
2923         * acconfig.h (HAVE_GAS_WEAK): New define.
2924         * configure.in (assembler weak support): Check for .weak support.
2925         * config.in, configure: Rebuilt.
2926         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
2927         HAVE_GAS_WEAK is defined.
2928
2929 2000-03-15  Nick Clifton  <nickc@cygnus.com>
2930
2931         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
2932         asm_fprintf().
2933
2934 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
2935
2936         * cppfiles.c (open_include_file): New function.
2937         (find_include_file, cpp_read_file): Use it.
2938
2939 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
2940
2941         * cpphash.c (dump_hash_helper): Take the slot, not the element.
2942
2943 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
2944
2945         * flow.c (verify_flow_info): Check for unconditional return.
2946
2947 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
2948
2949         * config/ia64/ia64.md (restore_stack_nonlocal): New.
2950         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
2951         (__ia64_restore_stack_nonlocal): New.
2952         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
2953
2954 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2955
2956         * cpphash.c (collect_formal_parameters): Do not complain about
2957         parameter names that just start with `__VA_ARGS__'.
2958
2959 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
2960
2961         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
2962         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
2963         * i386.c (pentiumpro_cost): Set mul cost to 4.
2964         (x86_use_movx): Set for PPro.
2965
2966 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
2967
2968         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
2969         STACK_BOUNDARY for empty frames now.
2970
2971 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
2972
2973         * stor-layout.c (layout_union): Remove.
2974         (layout_union_field): New function, split out from layout_union.
2975         (finish_union_layout): Likewise.
2976         (layout_field): Handle unions by calling layout_union_field.
2977         (finish_record_layout): Handle unions.
2978         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
2979         QUAL_UNION_TYPE handling.
2980
2981 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
2982
2983         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
2984         end of basic block is jump_insn, not barrier; use create_basic_block
2985         instead of creating basic block by hand.
2986
2987 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
2988
2989         * flow.c (reorder_basic_blocks): Account for barriers when writing
2990         over NEXT_INSN (last_bb->end).
2991         (verify_flow_info): Add check for missing barriers.
2992
2993 2000-03-14  Greg McGary  <gkm@gnu.org>
2994
2995         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
2996         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
2997         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
2998         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
2999         __unbounded, __unbounded__): New keywords.
3000         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
3001         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
3002         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
3003
3004 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
3005
3006         * cselib.h: New file.
3007         * alias.c: Include "cselib.h".
3008         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
3009         MEMs as two new arguments.
3010         (get_addr): New static function.
3011         (find_base_term): Handle VALUEs.
3012         (memrefs_conflict_p): Likewise.
3013         (true_dependence): Call get_addr on the addresses.
3014         Call fixed_scalar_and_varying_struct_p with addresses that have been
3015         passed through get_addr and canon_rtx.
3016         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
3017         with true_dependence.
3018         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
3019         * loop.c: Include "cselib.h".
3020         (load_mems): Process extended basic block that enters the loop with
3021         cselib.  Use that information to change initialization of the shadow
3022         register so that a constant equivalence is seen by later passes.
3023         * reload1.c: Include "cselib.h".
3024         (reload_cse_invalidate_regno): Delete function.
3025         (reload_cse_mem_conflict_p): Likewise.
3026         (reload_cse_invalidate_mem): Likewise.
3027         (reload_cse_invalidate_rtx): Likewise.
3028         (reload_cse_regno_equal_p): Likewise.
3029         (reload_cse_check_clobber): Likewise.
3030         (reload_cse_record_set): Likewise.
3031         (reg_values): Delete static variable.
3032         (invalidate_regno_rtx): Likewise.
3033         (reload_cse_delete_noop_set): New static function.
3034         (reload_cse_simplify): New static function, broken out of
3035         reload_cse_regs_1.
3036         (reload_cse_noop_set_p): Delete unused argument INSN.
3037         Just call rtx_equal_for_cselib_p on set source and destination.
3038         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
3039         reload_cse_delete_noop_set.  Delete code to keep track of values; use
3040         cselib functions instead.  Delete code to push/pop obstacks.
3041         (reload_cse_simplify_set): Use cselib to find equivalent values.
3042         Delete code to push/pop obstacks.
3043         (reload_cse_simplify_operands): Likewise.
3044         * rtl.def (VALUE): New rtx code.
3045         * rtl.h (union rtunion_def): New elt rt_cselib.
3046         (X0CSELIB, CSELIB_VAL_PTR): New macros.
3047         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
3048         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
3049         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
3050         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
3051         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
3052         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
3053         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
3054         cselib_record_set, cselib_record_sets): New static functions.
3055         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
3056         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
3057         references_value_p): New functions.
3058         (MAX_USELESS_VALUES, REG_VALUES): New macros.
3059         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
3060         n_useless_values, reg_values, callmem, cselib_obstack,
3061         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
3062         New static variables.
3063         * varray.h (union varray_data_tag): New elt te.
3064         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
3065         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
3066         dependencies.
3067
3068 2000-03-14  Nick Clifton  <nickc@cygnus.com>
3069
3070         * gcc.c (do_spec_1): Catch the case where %* is used in a
3071         substitution pattern, but it has not been initialised.
3072         Issue a meaningful error message if an unrecognised operator
3073         is encountered in a spec string.
3074
3075 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
3076
3077         * function.c (prepare_function_start): Correctly initialize
3078         cfun->stack_alignment_needed.
3079
3080 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
3081
3082         * cppfiles.c (find_include_file): Don't assume nshort is a
3083         substring of name.
3084
3085 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
3086
3087         * configure.in (hppa configurations): Add pa32-regs.h to the
3088         list of tm files as appropriate.
3089         * configure: Rebuilt.
3090         * pa.c (compute_frame_size): Remove explicit knowledge about FP
3091         register numbering.
3092         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
3093         (fmpyaddoperands, fmpysuboperands): Likewise.
3094         * pa.h: Remove various definitions which depend on knowing
3095         how registers are numbered.
3096         * pa32-regs.h: New file with PA32 register numbering specific
3097         definitions.
3098
3099 2000-03-14  Richard Henderson  <rth@cygnus.com>
3100
3101         * regmove.c (combine_stack_adjustments): New.
3102         (stack_memref_p, single_set_for_csa): New.
3103         (free_csa_memlist, record_one_stack_memref): New.
3104         (try_apply_stack_adjustment): New.
3105         (combine_stack_adjustments_for_block): New.
3106         * rtl.h (combine_stack_adjustments): Declare.
3107         * toplev.c (rest_of_compilation): Call it.
3108
3109         * i386.md: Revert 2000-01-16 change.
3110
3111 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3112
3113         * gccbug.in: Add web category, gcc specific classes.
3114
3115 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
3116
3117         * stor-layout.c (finalize_record_size): Fix typo.
3118
3119 2000-03-14  Stan Shebs  <shebs@apple.com>
3120
3121         * c-typeck.c (c_alignof): Error on incomplete types.
3122         * extend.texi (Alignment): Document this.
3123
3124 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
3125
3126         * cppfiles.c: Include mkdeps.h.
3127         (find_include_file, read_include_file): Remove _cpp_ prefix
3128         from name, make static.
3129         (_cpp_execute_include): New function, broken out of
3130         do_include.
3131
3132         * cpplib.c: Don't include mkdeps.h.
3133         (struct directive): Remove type field. Reorder entries.  The
3134         function takes only one argument.
3135         (struct if_stack): Make type field an int.
3136         (directive_table): Rename to dtable.  Generate it, the
3137         prototypes of the directive handlers, and the enum for the
3138         directive numbers, from a template macro.
3139         (do_ifndef, do_include_next, do_import): New functions.
3140         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
3141         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
3142         do_ident, do_assert, do_unassert, do_sccs): Take only one
3143         argument.
3144         (do_sccs): Define always, but alter behavior based on
3145         SCCS_DIRECTIVE.
3146         (_cpp_handle_directive, consider_directive_while_skipping):
3147         Restructure for new directive table layout.
3148
3149         (pass_thru_directive): Take a directive number, not a pointer
3150         to a struct directive.
3151         (parse_include): New function, broken out of do_include.
3152         (do_include, do_import, do_include_next): Use parse_include
3153         and _cpp_execute_include.
3154         (do_elif, do_else): Test for T_ELSE specifically when checking
3155         for #elif/#else after #else.
3156         (parse_ifdef): New function, broken out of do_ifdef.
3157         (validate_else): Expect a name arg without a leading #.
3158         (if_directive_name): Delete.
3159         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
3160         directive handlers with only one argument.
3161
3162         * cpphash.h: Update prototypes.
3163         (enum node_type): Remove entries for directives.
3164         * Makefile.in: Update dependencies.
3165
3166         * cpphash.c (dump_hash_helper): Only dump nodes of type
3167         T_MACRO.  Emit a newline after each definition.
3168
3169 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3170
3171         * gccbug.in: New file.
3172         * configure.in (all_outputs): Add gccbug.
3173         * Makefile.in (install-common): Install gccbug.
3174         (GCCBUG_INSTALL_NAME): New variable.
3175         * configure: Rebuilt.
3176         
3177 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
3178
3179         * function.c (put_var_into_stack): Use type_for_mode to calculate
3180         part_type.  Use MEM_SET_IN_STRUCT_P.
3181         * expr.c (store_field): Handle CONCAT.
3182         (store_constructor): Use fields_length.
3183         * tree.c (fields_length): New fn.
3184         * tree.h: Declare it.
3185
3186 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
3187
3188         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
3189         (cpplex.o): New target.
3190         * po/POTFILES.in: Add cpplex.c.
3191
3192         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
3193         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
3194         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
3195         skip_block_comment, skip_line_comment, skip_comment,
3196         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
3197         _cpp_parse_name, skip_string, parse_string,
3198         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
3199         _cpp_get_directive_token, find_position,
3200         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
3201         (maybe_macroexpand, _cpp_lex_token): New functions.
3202
3203         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
3204         parse_goto_mark): Delete.
3205         (_cpp_handle_eof): New function.
3206         (_cpp_handle_directive): Rename from handle_directive.
3207         (_cpp_output_line_command): Rename from output_line_command.
3208         (do_if, do_elif): Call _cpp_parse_expr directly.
3209         * cppfiles.c (_cpp_read_include_file): Don't call
3210         init_input_buffer here.
3211         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
3212         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
3213         here; pop the token_buffer and skip the rest of the line here.
3214         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
3215         here.
3216
3217         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
3218         Define here.
3219         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
3220         CPP_GOTO_MARK): New macros.
3221         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
3222         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
3223         _cpp_read_and_prescan, _cpp_init_input_buffer,
3224         _cpp_grow_token_buffer, _cpp_get_directive_token,
3225         _cpp_handle_directive, _cpp_handle_eof,
3226         _cpp_output_line_command): Prototype them here.
3227         * cpplib.h (enum cpp_token): Add CPP_MACRO.
3228         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
3229         quote_string, output_line_command): Remove.
3230
3231 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
3232
3233         * stmt.c (expand_end_case): RANGE may be signed, and when checking
3234         whether it is too large we must also verify that it isn't negative.
3235
3236 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
3237
3238         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
3239         (movsi_zero_liveg0): Remove.
3240         (movsf_insn_novis_liveg0): Remove.
3241         (negsi2): Remove.
3242         (negsi2_not_liveg0): Rename to negsi2.
3243         (one_cmplsi2): Remove.
3244         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
3245         (one_cmplsi2_liveg0): Remove.
3246         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
3247         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
3248         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
3249         (PREDICATE_CODES): Remove zero_operand.
3250         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
3251         TARGET_BROKEN_SAVERESTORE.
3252         (zero_operand): Remove.
3253         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
3254         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
3255         options.
3256         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
3257         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
3258         TARGET_BROKEN_SAVERESTORE): Remove.
3259         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
3260         Remove.
3261         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
3262         Remove.
3263         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
3264         Remove.
3265
3266         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
3267
3268 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
3269
3270         * cpplib.c (do_pragma_implementation): Fix off-by-one error
3271         truncating a string.  Don't assume tokens are nul terminated.
3272         Problem noted by Andreas Jaeger <aj@suse.de>
3273
3274 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
3275
3276         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
3277         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
3278         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
3279
3280 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
3281
3282         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
3283         STRUCTURE_SIZE_BOUNDARY.
3284
3285 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
3286
3287         * tree.h (record_layout_info_s): New structure.
3288         (record_layout_info): New type.
3289         (new_record_layout_info): New function.
3290         (layout_field): Likewise.
3291         (finish_record_layout): Likewise.
3292         * stor-layout.c (layout_record): Remove.
3293         (new_record_layout_info): New function.
3294         (layout_field): New function, broken out from layout_record.
3295         (finalize_record_size): Likewise.
3296         (compute_record_mode): Likewise.
3297         (finalize_type_size): New function, broken out from layout_type.
3298         (finish_record_layout): Likewise.
3299         (layout_type): Use them.
3300         
3301 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
3302
3303         * cpphash.c: Don't include version.h.
3304         (special_symbol) [case T_VERSION]: Look for the string in
3305         hp->value.cpval; don't use version_string.
3306         * cppinit.c (initialize_builtins): Set hp->value.cpval for
3307         __VERSION__ to version_string.
3308         * Makefile.in (cpphash.o): Update deps.
3309
3310 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
3311
3312         Convert cpplib to use libiberty/hashtab.c.
3313
3314         * cpplib.h (struct cpp_reader): Make hashtab and
3315         all_include_files of type 'struct htab *'.  Delete HASHSIZE
3316         and ALL_INCLUDE_HASHSIZE macros.
3317
3318         * cpphash.h: Update prototypes.
3319         (struct hashnode): Remove next, prev, and bucket_hdr members.
3320         Make length a size_t.  Add hash member.
3321         (struct ihash): Remove next member.  Add hash member.  Make
3322         name a flexible array member.
3323
3324         * cppfiles.c: Include hashtab.h.
3325         (include_hash): Delete.
3326         (IHASHSIZE): New macro.
3327         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
3328         (cpp_included): Do the hash lookup here.
3329         (_cpp_find_include_file): Rewrite.
3330         (cpp_read_file): Put the "fake" hash entry into the hash
3331         table.  Honor the control_macro, if it turns out we've seen
3332         the file before.  Don't push the buffer here.
3333         (_cpp_read_include_file): Push the buffer here.
3334         (OMODES): New macro.  Use it whenever we call open(2).
3335
3336         * cpphash.c: Include hashtab.h.
3337         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
3338         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
3339         _cpp_lookup_slot): New functions.
3340         (HASHSIZE): new macro.
3341         (hashf, _cpp_install, _cpp_delete_macro): Delete.
3342         (_cpp_lookup): Use hashtab.h routines.
3343
3344         * cppinit.c: Include hashtab.h.
3345         (cpp_reader_init): Call _cpp_init_macro_hash and
3346         _cpp_init_include_hash.  Don't allocate hashtab directly.
3347         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
3348         pfile->all_include_files.
3349         (initialize_builtins): Use _cpp_make_hashnode and
3350         htab_find_slot to add hash entries.
3351         (cpp_finish): Just call _cpp_dump_macro_hash.
3352         * cpplib.c: Include hashtab.h.
3353         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
3354         create hash entries.
3355         (do_pragma_poison, do_assert): Likewise.
3356         (do_include): Don't push the buffer here.  Don't increment
3357         system_include_depth unless _cpp_read_include_file succeeds.
3358         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
3359         or htab_remove_elt.
3360         (do_pragma_implementation): Use alloca to create copy.
3361
3362         * Makefile.in: Update dependencies.
3363
3364 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3365
3366         * cppinit.c (cl_directive_handler): More K&R fixing.
3367
3368 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
3369
3370         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
3371         STACK_BOUNDARY.
3372         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
3373
3374 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3375
3376         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
3377         Change from char[] to macros.
3378
3379 2000-03-12  Neil Booth  <NeilB@earthling.net>
3380
3381         * cppinit.c (cpp_start_read): Update indirect function
3382         call to K&R C.
3383
3384 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
3385
3386         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
3387         entry.
3388
3389         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3390         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
3391
3392 2000-03-11  Neil Booth  <NeilB@earthling.net>
3393
3394         * cppinit.c (struct pending option): Replace undef with a 
3395         pointer to a directive handling routine.
3396         (struct cpp_pending): Replace separate assert_ and define_ 
3397         lists with one directive_ list.
3398         (new_pending_define): Rename new_pending_directive. Extra
3399         argument is the directive's handling routine.
3400         (handle_option): Update to use new_pending_directive.
3401
3402 2000-03-11  Neil Booth  <NeilB@earthling.net>
3403
3404         * cppfiles.c (file_cleanup, _cpp_find_include_file,
3405         remap_filename, _cpp_read_include_file, actual_directory,
3406         hack_vms_include_specification): Replace bcopy(), index() etc
3407         calls.  Add casts to some allocations.  Make some variables
3408         pointers to const [unsigned] char.
3409         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
3410         collect_formal_parameters): Similarly.
3411         * cppinit.c (struct pending_option, append_include_chain,
3412         cpp_options_init, cpp_reader_init, initialize_standard_includes,
3413         cpp_start_read, new_pending_define, handle_option): Similarly.
3414         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
3415         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
3416         do_pragma_implementation, detect_if_not_defined,
3417         do_ifdef, skip_if_group, cpp_get_token, parse_string,
3418         do_assert, do_unassert): Similarly.
3419         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
3420         function prototypes.
3421         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
3422
3423 2000-03-10  Richard Henderson  <rth@cygnus.com>
3424
3425         * builtins.c (expand_builtin_strlen): Revert last change.
3426         Use emit_insn_before if we're at the beginning of a sequence.
3427
3428 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
3429
3430         * builtins.c (expand_builtin_strlen): Make sure that we have something
3431         at the beginning of the sequence.
3432
3433         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
3434         deferred inlines.
3435
3436         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
3437
3438 2000-03-10  Richard Henderson  <rth@cygnus.com>
3439
3440         * except.c (can_throw): Use INTVAL on a CONST_INT.
3441         (reachable_handlers): Likewise.
3442         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
3443
3444 2000-03-10  Andreas Jaeger  <aj@suse.de>
3445
3446         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
3447         MD_STARTFILE_PREFIX since those are not needed on linux.
3448         (ASM_FILE_START): New, from mips/gnu.h.
3449
3450 2000-03-09  Richard Henderson  <rth@cygnus.com>
3451             Alex Samuel  <samuel@codesourcery.com> and others
3452         
3453         * Makefile.in (ssa.o): New rule.
3454         (OBJS): Add ssa.o.
3455         (STAGESTUFF): Add *.ssa and *.ussa.
3456         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
3457         * rtl.def (PHI): New RTL expression.
3458         * rtl.h (clear_log_links): New declaration.
3459         (convert_to_ssa): Likewise.
3460         (convert_from_ssa): Likewise.
3461         * flow.c (split_edge): If the entry node falls through to the
3462         split edge's source block, split the entry edge.
3463         (clear_log_links): New function.
3464         * toplev.c (ssa_dump): New variable.
3465         (flag_ssa): Likewise.
3466         (f_options): Add "ssa".
3467         (compile_file): Create SSA dump files.
3468         (rest_of_compilation): Go to and from SSA if enabled.
3469         (decide_d_option): Handle -de for SSA dump files.
3470         * ssa.c: New file.
3471         
3472 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
3473
3474         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
3475         same as VAR_DECL.
3476
3477 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
3478
3479         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
3480
3481 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
3482
3483         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
3484         (MD_STARTFILE_PREFIX_1): New macro.
3485
3486 2000-03-09  Robert Lipe  <robertl@sco.com>
3487
3488         * config/ia64/ia64.c: Include system.h.
3489
3490 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
3491
3492         * except.c (nothrow_function_p): If -fno-exceptions, just return.
3493         (init_eh_nesting_info): Likewise.
3494
3495         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
3496         (TREE_NOTHROW): Rename from TREE_RAISES.
3497         * toplev.c (rest_of_compilation): Set it.
3498         * print-tree.c (print_node): Adjust.
3499         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
3500         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
3501         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
3502         REG_EH_REGION note as appropriate.
3503         (libfunc_nothrow): New fn.
3504         (emit_library_call, emit_library_call_value): Use it.
3505         (expand_call): Check TREE_NOTHROW.
3506
3507         * varasm.c (make_decl_rtl): Skip initial '*' when setting
3508         DECL_ASSEMBLER_NAME.
3509
3510 2000-03-09  Andreas Jaeger  <aj@suse.de>
3511
3512         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
3513         (TARGET_MEM_FUNCTIONS): Define.
3514
3515 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
3516
3517         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
3518
3519         * except.c (can_throw): See through a SEQUENCE.
3520         (nothrow_function_p): New fn.
3521         * except.h: Declare it.
3522         * function.c (current_function_nothrow): New var.
3523         (prepare_function_start): Initialize it.
3524         * output.h: Declare it.
3525         * toplev.c (rest_of_compilation): Set it.
3526         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
3527
3528 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
3529
3530         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
3531         match.  (cpp_compare_defs): Count the nul separator when
3532         advancing over argument names.
3533
3534 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
3535
3536         * recog.c (preprocess_constraints): Matching constraints affect
3537         same alternative/different operand, not same operand/different
3538         alternative.
3539         
3540         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
3541         register and a constant specially.
3542
3543 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3544
3545         * libgcc2.h: New file.
3546         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
3547
3548 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
3549
3550         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
3551         * configure: Regenerate.
3552         * config/ia64: New.
3553
3554 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
3555
3556         * Makefile.in (LIBCPP_DEPS): New macro.
3557         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
3558         it to declare deps.
3559         * cpperror.c: Include cpphash.h.
3560         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
3561         dingleberry.
3562         (lex): Don't use CPP_WARN_UNDEF.
3563         (_cpp_parse_expr): Return an int, the truth value.
3564         * cppfiles.c: Include cpphash.h.
3565         (_cpp_merge_include_chains): Move to cppinit.c and make static.
3566         * cppinit.c (include_defaults_array): Disentangle.
3567         (cpp_cleanup): Don't free the if stack here.
3568         (cpp_finish): Pop off all buffers, not just one.
3569         * cpplib.c (eval_if_expr): Return int.
3570         (do_xifdef): Rename do_ifdef.
3571         (handle_directive): Don't use CPP_PREPROCESSED. 
3572         (cpp_get_token): Don't use CPP_C89.
3573         * fix-header.c: Don't use CPP_OPTIONS.
3574
3575         * cpplib.h: Move U_CHAR, enum node_type, struct
3576         file_name_list, struct ihash, is_idchar, is_idstart,
3577         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
3578         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
3579         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
3580         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
3581         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
3582         of _cpp_simplify_pathname, _cpp_find_include_file,
3583         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
3584         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
3585         cppinit.c.
3586         Change all uses of U_CHAR to be unsigned char instead.
3587         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
3588
3589 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
3590
3591         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
3592         (dwarf2out_begin_prologue): Set it.
3593         (output_call_frame_info): Don't emit EH unwind info for leaves.
3594
3595         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
3596         can occur outside of an EH region.
3597         * except.c: Correct comments about rethrow behavior.
3598         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
3599
3600 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
3601
3602         * flow.c (make_edges): Always call make_eh_edge for calls.
3603
3604 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
3605
3606         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
3607         (struct cpp_buffer): Remove fname and underflow fields.
3608         (struct cpp_reader): Remove get_token field.
3609         (struct include_hash): Rename to struct ihash.  Add typedef to
3610         IHASH.
3611         (struct if_stack): Remove fname field.
3612         (IF_STACK_FRAME): Rename to IF_STACK.
3613
3614         * cpperror.c (print_containing_files): Trust that there are no
3615         macro buffers below the top file buffer.
3616         * cppfiles.c: Replace all references to 'struct include_hash'
3617         with 'IHASH'.  Rename initialize_input_buffer to
3618         init_input_buffer.  Don't set or reference cpp_buffer->fname,
3619         use buffer->ihash->name instead.
3620         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
3621         not CPP_NULL_BUFFER.
3622         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
3623         IF_STACK_FRAME, IHASH not struct include_hash.
3624         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
3625         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
3626         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
3627         references to cpp_buffer->fname (delete entirely, or use
3628         ->ihash->name instead) and IF_STACK->fname.
3629         (cpp_push_buffer): Don't set new->underflow.
3630         (do_include): Use cpp_file_buffer.
3631
3632         * cpphash.c (collect_formal_parameters): Remove duplicate
3633         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
3634         used as a macro argument name.  Don't append "..." to namebuf
3635         for varargs macros.  After we're done scanning, go through
3636         namebuf and make it NUL separated, not comma separated.
3637         (_cpp_compare_defs): Remove register tag from variables.
3638         Expect defn->argnames to be NUL separated.
3639         (_cpp_dump_definition): Expect defn->argnames to be NUL
3640         separated and in forward order.
3641         * cpphash.h: Update documentation of argnames field.
3642
3643 2000-03-08  Richard Henderson  <rth@cygnus.com>
3644
3645         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
3646         to fail.  Don't pre-expand the source operand.
3647
3648         * i386.md (strlensi): Initialize eoschar and align before use.
3649
3650 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
3651
3652         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
3653         CONSTRUCTOR element.
3654
3655 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
3656
3657         * mips.c (mips_expand_prologue): If the last 
3658         named argument is the vararg marker "va_list", treat it as
3659         an unnamed argument.
3660
3661 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
3662
3663         * dbxout.c (dbxout_parms): When correcting for promoted 
3664         big-endian parameters, use the mode of the DECL_RTL rather 
3665         than UNITS_PER_WORD.
3666
3667 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
3668
3669         * c-common.h (make_fname_decl): Declare.
3670         * c-common.c (make_fname_decl): Define.
3671         (declare_hidden_char_array): Remove.
3672         (declare_function_name): Use make_fname_decl.
3673         * c-decl.c (c_make_fname_decl): New function.
3674         (init_decl_processing): Set make_fname_decl.
3675
3676 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
3677
3678         * cccp.c (handle_directive): Initialize backslash_newlines_p.
3679
3680 2000-03-07  Philipp Thomas  <pthomas@suse.de>
3681
3682         * po/POTFILES.in: Remove cppalloc.c from file list.
3683
3684 2000-03-07  Steve Chamberlain  <sac@pobox.com>
3685
3686         * pj.c (pj_expand_prologue): current_function->args_info is
3687         now current_function_args_info.  
3688
3689         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
3690         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
3691         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
3692
3693 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3694
3695         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
3696         output as hexadecimal rather than the default octal.
3697
3698 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
3699
3700         * cpphash.c (special_symbol): Fix thinko in previous commit.
3701
3702 2000-03-07  Neil Booth  <NeilB@earthling.net>
3703
3704         * cppexp.c (struct operation, left_shift, right_shift,
3705         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
3706         "int"s to "unsigned int"s.
3707         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
3708         Similarly.
3709         * cpplib.h: Update for above.
3710         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
3711         returned from allocations.
3712
3713         * cppinit.c (opt_comp, parse_options): New functions.
3714         (handle_option): Use parse_option to parse a single command
3715         line option, that possibly takes an argument.
3716         (cpp_handle_options): Sort the array of command line options on
3717         first invocation (non-ASCII hosts only).
3718         (print_help): Update.
3719
3720 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
3721
3722         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
3723         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
3724         
3725         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
3726         initialized.
3727         * cppinit.c (cpp_cleanup): Free imp->nshort also.
3728
3729         * cpperror.c (cpp_print_containing_files,
3730         cpp_print_file_and_line, v_cpp_message): Rename to
3731         print_containing_files, print_file_and_line, and v_message.
3732         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
3733         to _cpp_parse_expr, parse_escape, and lex.
3734         (parse_charconst): Remove broken multibyte support.
3735         * cppfiles.c (include_hash): Make static.
3736         (cpp_included): New function.
3737         (merge_include_chains, find_include_file, finclude,
3738         simplify_pathname): Rename to _cpp_merge_include_chains,
3739         _cpp_find_include_file, _cpp_read_include_file, and
3740         _cpp_simplify_pathname.
3741         * cpphash.c (cpp_lookup, free_definition, delete_macro,
3742         cpp_install, create_definition, macroexpand, compare_defs,
3743         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
3744         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
3745         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
3746         * cppinit.c (cpp_handle_option): Rename to handle_option, make
3747         static.
3748         * cpplib.c: Remove extern prototype of cpp_parse_expr.
3749
3750         * cpphash.h: Update prototypes.
3751         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
3752
3753 2000-03-07  Andrew Haley  <aph@cygnus.com>
3754
3755         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
3756         PTRDIFF_TYPE should be based solely on Pmode.
3757         (SIZE_TYPE): ditto.
3758
3759 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3760
3761         * rtl.h (rtunion_def): Constify member `rtstr'.
3762         (emit_line_note_after, emit_line_note, emit_line_note_force,
3763         emit_note, decode_asm_operands): Constify.
3764         
3765         * cse.c (canon_hash): Likewise.
3766
3767         * dbxout.c (dbxout_block): Likewise.
3768
3769         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
3770         v_warning_for_asm): Likewise.
3771
3772         * dwarfout.c (function_start_label): Likewise.
3773
3774         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
3775         emit_line_note_force): Likewise.
3776
3777         * final.c (last_filename, asm_insn_count, final_scan_insn,
3778         output_source_line): Likewise.
3779
3780         * function.h (struct emit_status): Likewise.
3781
3782         * gcse.c (hash_expr_1): Likewise.
3783
3784         * genattr.c (gen_attr, main): Likewise.
3785
3786         * genattrtab.c (struct function_unit, current_alternative_string,
3787         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
3788         attr_numeral, check_attr_test, check_attr_value,
3789         convert_set_attr_alternative, convert_set_attr,
3790         compute_alternative_mask, simplify_by_exploding, gen_attr,
3791         gen_unit): Likewise.
3792
3793         * genflags.c (gen_insn): Likewise.
3794
3795         * gengenrtl.c (type_from_format): Likewise.
3796
3797         * genopinit.c (gen_insn): Likewise.
3798
3799         * genoutput.c (n_occurrences, process_template, process_template):
3800         Likewise.
3801
3802         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3803         Likewise.
3804
3805         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3806         Likewise.
3807
3808         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
3809         ggc_set_mark, ggc_get_size): Likewise.
3810
3811         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
3812
3813         * optabs.c (init_one_libfunc): Likewise.
3814
3815         * output.h (assemble_start_function): Likewise.
3816
3817         * recog.c (decode_asm_operands): Likewise.
3818
3819         * toplev.c (rest_of_compilation): Likewise.
3820
3821         * tree.h (emit_line_note_after, emit_line_note,
3822         emit_line_note_force): Likewise.
3823
3824         * varasm.c (asm_output_bss, asm_output_aligned_bss,
3825         asm_emit_uninitialised, assemble_start_function,
3826         assemble_variable, const_hash, compare_constant_1,
3827         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
3828
3829         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
3830
3831         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
3832
3833         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
3834
3835         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
3836
3837         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
3838         arm_dllimport_name_p): Likewise.
3839
3840         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
3841         Likewise.
3842
3843         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
3844
3845         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3846
3847         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
3848         arm_mark_dllexport, arm_mark_dllimport,
3849         arm_pe_encode_section_info): Likewise.
3850
3851         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
3852         ASM_FINISH_DECLARE_OBJECT): Likewise.
3853
3854         * arm/thumb.c (thumb_function_prologue): Likewise.
3855
3856         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
3857
3858         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3859
3860         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
3861
3862         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
3863
3864         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
3865
3866         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3867
3868         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
3869         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
3870
3871         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
3872
3873         * i386/i386.c (asm_output_function_prefix): Likewise.
3874
3875         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
3876
3877         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3878
3879         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
3880
3881         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
3882         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
3883         ASM_OUTPUT_SECTION_NAME): Likewise.
3884
3885         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
3886
3887         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
3888
3889         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
3890
3891         * m32r/m32r.c (m32r_encode_section_info): Likewise.
3892
3893         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3894
3895         * mcore/mcore.c (mcore_encode_section_info): Likewise.
3896
3897         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3898
3899         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3900
3901         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3902
3903         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
3904
3905         * mips/mips.md (movdi, movsi): Likewise.
3906
3907         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3908
3909         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3910
3911         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3912
3913         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
3914         ASM_OUTPUT_ASCII): Likewise.
3915
3916         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
3917         output_mi_thunk, output_toc): Likewise.
3918
3919         * rs6000/rs6000.md (movsi): Likewise.
3920
3921         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
3922
3923         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
3924
3925         * v850/v850.c (print_operand, print_operand_address,
3926         v850_encode_data_area): Likewise.
3927
3928 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
3929         
3930         * config/mips/mips.md (zero_extendsidi2): Always force operand
3931         one to memory for mips16.
3932
3933 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3934
3935         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
3936         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
3937         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
3938         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
3939         (min_precision): Result is unsigned.
3940         (add_double, neg_double, mul_double): Low word is unsigned.
3941         (lshift_double, rshift_double, lrotate_double): Likewise.
3942         (rrotate_double, div_and_round_double): Likewise.
3943         (tree_floor_log2, compare_tree_int): New functions.
3944         (preserve_rtl_expr_temps): New declaration.
3945         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
3946         (decl_attributes): Use tree_log2 to find alignment.
3947         Check for TREE_INT_CST_HIGH for format args.
3948         (min_precision): Now unsigned.
3949         Use tree_floor_log2.
3950         (truthvalue_conversion): Delete long-disabled code.
3951         * c-decl.c (finish_struct): Clean up tests on field width.
3952         (finish_function): Use compare_tree_int.
3953         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
3954         * c-typeck.c (comptypes): Use tree_int_cst_equal.
3955         (default_conversion, digest_init): Use compare_tree_int.
3956         (build_binary_op): Use integer_all_onesp and compare_tree_int.
3957         Fix type errors in forming masks.
3958         * calls.c (initialize_argument_information): Use compare_tree_int.
3959         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3960         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
3961         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
3962         (store_field): Use compare_tree_int.
3963         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
3964         (expand_expr, case ARRAY_REF): Use compare_tree_int.
3965         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
3966         (do_store_flag): Use compare_tree_int.
3967         * fold-const.c (encode, decode): Low part is always unsigned.
3968         (force_fit_type, add_double, neg_double, mul_double): Likewise.
3969         (lshift_double, rshift_double, lrotate_double): Likewise.
3970         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
3971         (fold_convert): Use compare_tree_int.
3972         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
3973         (invert_truthvalue, case INTEGER_CST): Likewise.
3974         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
3975         * mkdeps.c (deps_dummy_targets): Make I unsigned.
3976         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
3977         (lshift_double, rshift_double, lrotate_double, rrotate_double):
3978         Likewise.
3979         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
3980         (expand_end_case): Use compare_tree_int.
3981         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3982         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
3983         (layout_decl): Likewise.
3984         (layout_record, layout_union): Make sizes unsigned.
3985         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
3986         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
3987         * tree.c (struct type_hash): hashcode is unsigned.
3988         (build_type_attribute_variant, type_hash_list): Likewise.
3989         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
3990         (attribute_hash_list, build_array_type, build_method_type): Likewise.
3991         (build_complex_type): Likewise.
3992         (real_value_from_int_cst): Remove unneeded casts.
3993         (integer_all_onesp): Add casts.
3994         (tree_floor_log2, compare_tree_int): New functions.
3995         (build_index_type): Use tree_int_cst_sgn.
3996         * varasm.c (assemble_variable): Use compare_tree_int.
3997
3998 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
3999
4000         * cpphash.c (collect_expansion): Also catch ## at start of macro.
4001
4002         * varasm.c (make_decl_rtl): Don't add a number to members of
4003         local classes.
4004         (make_function_rtl): Likewise.
4005
4006 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4007
4008         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
4009         patch from 2000-01-28.
4010
4011 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
4012
4013         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
4014         filled with an insn from the jump target.
4015
4016 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4017
4018         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
4019         (c4x_external_ref): Likewise.
4020         * config/c4x/c4x.c (struct name_list): Likewise.
4021
4022 1999-12-16  Ben Collins  <bcollins@debian.org>
4023
4024         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
4025         argument to genmultilib.
4026         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
4027         the contents into the multilib.h header.
4028         * gcc.c: Declare multilib_exclusions for the specs file.
4029         (set_multilib_dir): Use it.
4030         (print_multilib_info): Likewise.
4031         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
4032         to pass to genmultilib.
4033
4034 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4035
4036         * builtins.c (built_in_class_names, built_in_names): Constify a
4037         char*.
4038
4039         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
4040         int.
4041         (_mcleanup): Ensure value matches format specifier in sprintf.
4042
4043         * cpphash.c (special_symbol): Don't needlessly cast away
4044         const-ness.
4045
4046         * cppinit.c (base_name): Delete unused prototype.
4047
4048         * mkdeps.c (deps_init): Make definition K&R safe.
4049
4050         * tree.h (built_in_class_names, built_in_names): Constify a
4051         char*.
4052
4053 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
4054
4055         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
4056         floating point instructions for epilogue delay.
4057
4058         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
4059         to gas if it supports .register pseudo.
4060
4061         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
4062         LONG_DOUBLE_TYPE_SIZE if not defined.
4063         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
4064         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
4065         * real.c: Likewise.
4066         * gengenrtl.c: Likewise.
4067         * print-rtl.c: Likewise.
4068         * rtl.c: Likewise.
4069         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
4070         MASK_LONG_DOUBLE_128.
4071         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
4072         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
4073         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
4074         (SUBTARGET_SWITCHES): Define.
4075         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
4076         with -mlong-double-128.
4077         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
4078         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
4079         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
4080         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
4081         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
4082         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
4083         with -mlong-double-128.
4084         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
4085         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
4086         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
4087         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
4088         TARGET_LONG_DOUBLE_128): Define.
4089         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
4090         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
4091         long double on TARGET_ARCH64.
4092
4093 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
4094
4095         * function.c (free_temps_for_rtl_expr): Don't free slots
4096         that have been pushed into a higher level.
4097         
4098         Revert this patch:
4099         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
4100
4101 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
4102
4103         * basic-block.h (ALLOCA_REG_SET): Remove.
4104         (INITIALIZE_REG_SET): New macro.
4105         * flow.c (update_life_info): Use it.
4106         (calculate_global_regs_live): Likewise.
4107         (propagate_block): Likewise.
4108         * global.c (build_insn_chain): Likewise.
4109         * haifa-sched.c (schedule_region): Likewise.
4110
4111 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
4112
4113         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
4114         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
4115         (DWARF_ARANGES_PAD_SIZE): New define.
4116         (output_aranges): Use it to pad the address range header.
4117         (DWARF_ROUND): Fix for non power of 2 rounding.
4118
4119 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
4120
4121         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
4122
4123 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
4124
4125         * tree.def (RTL_EXPR): Update documentation.
4126         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
4127         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
4128         * function.c (preserve_rtl_expr_temp): New function.
4129         (preserve_rtl_expr_temps): Likewise.
4130         (preserve_rtl_expr_result): Use it.
4131
4132         Revert this patch:
4133         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
4134
4135 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
4136
4137         * regmove.c (copy_src_to_dest)  Do not create src->dest move
4138         for unchanging destination.
4139
4140 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
4141
4142         * function.h (struct sequence_stack): Remove rtl_expr.
4143         (struct emit_staus): Likewise.
4144         (seq_rtl_expr): Remove.
4145         * tree.h (free_temps_for_rtl_expr): Don't declare.
4146         (start_sequence_for_rtl_expr): Likewise.
4147         * rtl.h (preserve_rtl_expr_result): Likewise.
4148         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
4149         (start_sequence_for_rtl_expr): Remove.
4150         (push_topmost_sequence): Don't save sequence_rtl_expr.
4151         (pop_topmost_sequence): Remove comment about not restoring it.
4152         (end_sequence): Don't set seq_rtl_expr.
4153         (init_emit): Don't initialize it.
4154         (mark_sequence_stack): Don't mark it.
4155         (mark_emit_status): Likewise.
4156         * except.c (protect_with_terminate): Use
4157         start_sequence_for_rtl_expr, not start_sequence.
4158         * expr.c (expand_expr, case RTL_EXPR): Don't call
4159         preserve_rtl_expr_result or free_temps_for_rtl_expr.
4160         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
4161         (preserve_rtl_expr_result): Remove.
4162         (free_temps_for_rtl_expr): Likewise.
4163         (pop_temp_slots): Likewise.
4164         (mark_temp_slot): Don't mark the rtl_expr.
4165         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
4166         start_sequence_for_rtl_expr.
4167         
4168 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
4169
4170         * mkdeps.c, mkdeps.h: New files.
4171         * po/POTFILES.in: Add them.
4172         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
4173         (cpplib.o, cppinit.o): Depend on mkdeps.h.
4174         (mkdeps.o): New target.
4175
4176         * cppfiles.c: Delete deps_output.
4177         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
4178         OBJECT_SUFFIX, and base_name.
4179         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
4180         the include hash.
4181         (initialize_dependency_output): Use deps_init,
4182         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
4183         all the unnecessary string bashing.
4184         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
4185         level.
4186         * cpplib.c (do_include): Use deps_add_dep.
4187         * cpplib.h (struct cpp_reader): Replace deps_buffer,
4188         deps_allocated_size, deps_size, deps_column members with
4189         single pointer to a struct deps.  Delete prototype of
4190         deps_output.
4191
4192         * cppinit.c: Fix thinko in previous patch.
4193
4194 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4195
4196         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
4197         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
4198         (mode_for_size_tree): New function.
4199         (layout_decl, layout_type): Call it and clean up BLKmode checks.
4200         * tree.h (mode_for_size_tree): New declaration.
4201         
4202         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
4203
4204 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
4205
4206         * stmt.c (is_body_block): Move...
4207         * dwarfout.c, dwarf2out.c: ...from here.
4208         * tree.h: Declare it.
4209         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
4210         * final.c (final_start_function): Do call remove_unnecessary_notes
4211         when scheduling.
4212
4213 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
4214
4215         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
4216         
4217         * cpplib.h (_dollar_ok): New macro.
4218         (is_idchar, is_idstart): Use it.
4219         (IStable): Rename to _cpp_IStable.  Declare it const if
4220         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
4221         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
4222         is_space): Update for renamed IStable.
4223
4224         * cppinit.c: Delete all references to FAKE_CONST and CAT
4225         macros. Define init_IStable as empty macro if gcc >=2.7 or
4226         C99. Change TABLE() to ISTABLE and hardcode name of table.
4227         (cpp_start_read): Don't change the IStable based on
4228         dollars_in_ident.
4229
4230         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
4231         changed.  Handle '$' for char1 correctly.
4232         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
4233
4234         * cppexp.c (tokentab2): Make const.
4235         (cpp_lex): Make toktab const.
4236         * cppinit.c (include_defaults_array): Make const.
4237         (initialize_standard_includes): Make default_include const.
4238
4239 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
4240
4241         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
4242         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
4243         (gen_decl_die): Likewise.
4244         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
4245         (output_decl): Likewise.
4246
4247         * varasm.c (make_function_rtl): If we change the name used in the
4248         rtl, update DECL_ASSEMBLER_NAME accordingly.
4249         (make_decl_rtl): Likewise.
4250
4251         * toplev.c (rest_of_compilation): Tweak formatting.
4252
4253         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
4254         remove_unnecessary_notes.
4255         (debug_ignore_block): New fn.
4256         * toplev.h: Declare it.
4257         * emit-rtl.c (remove_unncessary_notes): Call it.
4258         * dwarf2out.c (dwarf2out_ignore_block): New fn.
4259         * dwarf2out.h: Declare it.
4260         * final.c (final_start_function): Don't call remove_unnecessary_notes
4261         if we did insn scheduling.
4262
4263 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
4264
4265         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
4266         * cpplib.h: Delete SET_CPP_PEDANTIC.
4267
4268 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4269
4270         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
4271         result is a RECORD_TYPE.
4272
4273 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
4274
4275         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
4276
4277 2000-03-03  Richard Henderson  <rth@cygnus.com>
4278
4279         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
4280         addition over compliments over shifts.
4281
4282 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4283
4284         * reload1.c (reload_combine_note_use): Handle return register USEs.
4285         REG case: Handle multi-hard-register hard regs.
4286
4287 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4288
4289         * md.texi: Document use of '*' in insn pattern name.
4290
4291 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
4292
4293         * calls.c (special_function_p): operator new may not be malloc-like.
4294
4295         * gcse.c (dump_hash_table): Really fix error in last change.
4296
4297 2000-03-02  Denis Chertykov  <denisc@overta.ru>
4298
4299         * avr.c (print_operand): Use print_operand_address instead of
4300         output_addr_const.
4301         * avr/libgcc.S: Cleanup code.
4302
4303 2000-03-02  Richard Henderson  <rth@cygnus.com>
4304
4305         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
4306
4307 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
4308
4309         * tree.h (TYPE_ALIGN_UNIT): New macro.
4310
4311 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
4312
4313         * i386.c: (constant_call_address_operand): Reject CONST_INT.
4314
4315 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
4316
4317         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
4318         for the buffer.
4319         (SET_CPP_PEDANTIC): New macro.
4320         * cpplib.c (do_include): Don't bother checking system_header_p.
4321         (do_warning, do_ident, do_assert, do_unassert): Likewise.
4322         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
4323
4324         * function.h (struct expr_status): Add x_arg_space_so_far.
4325         (arg_space_so_far): New macro.
4326         * expr.c (init_expr): Initialize it.
4327         * calls.c (emit_call_1): Reset it.
4328         (compute_argument_block_size, expand_call): Use it.
4329         (expand_call, store_one_arg): Increment it.
4330
4331 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4332
4333         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
4334         a UNION_TYPE.
4335
4336 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
4337
4338         * cppfiles.c (cpp_read_file): New function.
4339
4340         * cpphash.c (collect_expansion): Make sure to reset last_token
4341         to NORM when we hit a string.  Handle trailing whitespace
4342         properly when the expansion is empty.
4343         (create_definition): Disable line commands while parsing the
4344         directive line.
4345         (dump_definition): If pfile->lineno == 0, output a line
4346         command ahead of the dump, and add a trailing newline.
4347
4348         * cppinit.c (append_include_chain): Add fifth argument, which
4349         indicates whether or not system headers are C++ aware.
4350         (initialize_standard_includes): New function,
4351         broken out of read_and_prescan.  Pass 'cxx_aware' value from
4352         the include_defaults_array on to append_include_chain.
4353         (dump_special_to_buffer): Const-ify char array.
4354         (builtin_array): Don't dump __BASE_FILE__.
4355         (cpp_start_read): Use cpp_read_file.  Reorder code for
4356         clarity.  Don't output line commands here for -D/-A/-U
4357         switches.  Don't call deps_output for files included with
4358         -include or -imacros.
4359
4360         * cpplib.c (do_define): Don't pay any attention to the second
4361         argument.
4362         (cpp_expand_to_buffer): Disable line commands while scanning.
4363         (output_line_command): Work in the file buffer.
4364         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
4365         Fix formatting of comments.  Prototype cpp_read_file.
4366
4367 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4368
4369         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
4370         reference the language-equivalent of sizetype.
4371         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
4372         * fold-const.c (size_binop, size_diffop): Put back checks.
4373         * gcse.c (dump_hash_table): Fix minor error in last change.
4374         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
4375         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
4376         all sizetypes.
4377
4378 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
4379
4380         * calls.c (expand_call)  Do not attempt to combine stack adjustments
4381         with inhibit_defer_pop set.
4382
4383 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
4384
4385         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
4386         the DECL_SIZE for a FIELD_DECL.
4387
4388 2000-03-01  Bruce Korb  <bkorb@gnu.org>
4389
4390         * fixinc/inclhack.tpl: remove unused symlinks
4391         * fixinc/README: GCC Maintainer info
4392         * fixinc/inclhack.sh: regen
4393         * fixinc/fixincl.sh: regen
4394
4395 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
4396
4397         * cpphash.c (collect_expansion): Trim trailing white space
4398         from macro definitions, but don't go past the last insertion
4399         point.
4400
4401 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
4402
4403         * i386.md (mulqi3): New pattern.
4404
4405 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
4406
4407         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
4408         token types.
4409         (struct cpp_reader): Add parsing_if_directive and
4410         parsing_define_directive flags.               
4411         (struct cpp_options): Remove output_conditionals flag.
4412         (check_macro_name): Delete prototype.
4413
4414         * cpphash.h (struct macrodef): Delete.
4415         (struct reflist): Separate from struct definition.
4416         (struct definition): Remove unused fields.  Add column number.
4417         (create_definition): Returns a DEFINITION *.  Takes a
4418         cpp_reader * and an int.
4419
4420         * cpphash.c (SKIP_WHITE_SPACE): Delete.
4421         (PEEKC): Copy defn from cpplib.c.
4422         (rest_extension, REST_EXTENSION_LENGTH): Delete.
4423         (struct arg): New.
4424         (struct arglist): Simplify.
4425         (collect_expansion): Rewrite.  Get tokens by calling
4426         cpp_get_token.  Add more error checking.
4427         (collect_formal_parameters): New function, broken out of
4428         create_definition and reworked to use get_directive_token.
4429         (create_definition): All real work is now in collect_expansion
4430         and collect_formal_parameters.  do_define handles finding the
4431         macro name.  Return a DEFINITION, not a MACRODEF.
4432         (macroexpand): Replace bcopy with memcpy throughout.  Replace
4433         character-at-a-time copy loop with memcpy and pointer increments.
4434         (compare-defs): d1->argnames / d2->argnames might be null.
4435
4436         * cpplib.c (copy_rest_of_line): Delete function.
4437         (skip_rest_of_line): Do all the work ourselves.
4438         (skip_string): New function.
4439         (parse_string): Use skip_string.
4440         (get_macro_name): New function.
4441         (check_macro_name): Delete.
4442         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
4443         (cpp_skip_hspace): Use CPP_BUMP_LINE.
4444         (handle_directive): ICE if we're called on a macro buffer.
4445         (do_define): Determine macro name and type (funlike/objlike)
4446         here.  Expunge all uses of MACRODEF.
4447         (cpp_push_buffer): Set line_base to NULL.
4448         (do_undef, read_line_number): Don't worry about getting a POP token.
4449         (eval_if_expression): Set/reset parsing_if_directive around
4450         cpp_parse_expr. Don't clear only_seen_white.
4451         (skip_if_group): Remove output_conditionals logic.  Use
4452         skip_rest_of_line.
4453         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
4454         tokens under appropriate conditions.
4455         (cpp_unassert): Call do_unassert not do_assert.  Oops.
4456
4457         * cppexp.c (parse_defined): New function, break out of
4458         cpp_lex.
4459         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
4460         ourselves, with cpp_defined.
4461         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
4462
4463         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
4464         * gcc.dg/strpaste-2.c: New.
4465
4466 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
4467
4468         * fold-const.c (size_binop): Don't asert inputs are the same and
4469         have TYPE_IS_SIZETYPE set.
4470         (size_diffop): Likewise.
4471
4472 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
4473
4474         * dwarfout.c (output_block): Output abstract blocks even if they
4475         don't have TREE_ASM_WRITTEN set.
4476
4477         * calls.c (emit_library_call): Check for null REG.
4478
4479 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
4480
4481         * c-decl.c (current_function_decl): Move to toplev.c.
4482         (init_decl_processing): Don't add current_function_decl as a ggc
4483         root here.
4484         * dbxout.c (dbxout_symbol): Change return type to int.
4485         (dbxout_symbol_location, dbxout_syms): Likewise.
4486         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
4487         any locals. Use current_function_func_begin_label if set.
4488         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
4489         * dwarf2out.c (dwarf2out_begin_prologue): Set
4490         current_function_func_begin_label.
4491         * final.c (final_start_function): Reset it.
4492         * toplev.c (current_function_decl): Define it here.
4493         (current_function_func_begin_label): New variable.
4494         (main): Add both as ggc roots.
4495         * tree.h (current_function_func_begin_label): Declare.
4496
4497 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4498
4499         * gcse.c: Cleanups throughout: mostly white-space, but also
4500         some minor rearrangement of code.
4501
4502 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
4503
4504         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
4505         returns a PARALLEL.  Use emit_group_load and use_group_regs
4506         as needed.  
4507         (emit_library_call_value): Similarly.
4508
4509         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
4510         * pa/quadlib.asm: Remove.
4511         * pa/quadlib.c: New file.
4512
4513         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
4514         * configure: Rebuilt.
4515
4516 2000-02-29  Philip Blundell  <pb@futuretv.com>
4517
4518         * config/arm/conix-elf.h: New file.
4519         * configure.in (arm*-*-conix*): New configuration.
4520         * configure: Regenerate.
4521
4522 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
4523
4524         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
4525         don't have TREE_ASM_WRITTEN set.
4526
4527 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4528
4529         * Eliminate DECL_FIELD_SIZE.
4530         * builtins.c (built_in_class_names, built_in_names): New variables.
4531         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
4532         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
4533         DECL_SIZE, not DECL_FIELD_SIZE.
4534         * print-tree.c (print_node): Remove code that prints extra blank
4535         lines in some cases.
4536         Properly handle inline and builtin function cases.
4537         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
4538         * tree.h (built_in_class_named, built_in_names): New declarations.
4539         (union tree_decl): Rename internal unions to u1 and u2 and change
4540         some of their components.
4541         Add new field built_in_class.
4542         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
4543         Reflect above changes.
4544         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
4545         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
4546         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
4547         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
4548
4549 2000-02-28  Dmitri Makarov  <dim@windriver.com>
4550
4551         * extend.texi: Document ARM's support for long/short calls.
4552
4553         * invoke.texi: Document ARM's -mlong-calls command line switch.
4554         
4555         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
4556         (arm_encode_call_attribute): Add prototype.
4557         (arm_set_default_type_attribute): Add prototype.
4558         (arm_strip_name_encoding): Add prototype.
4559
4560         * config/arm/arm.c (arm_init_cumulative_args): replace
4561         initialisation og 'long_calls' field with initialisation of
4562         'call_cookie' field.
4563         (enum arm_pragma_enum): New enum.
4564         (arm_pragma_long_calls): New static variable.
4565         (arm_process_pragma): Also process "#pragma long_calls_off".
4566         (arm_valid_type_attribute_p): Accept short_call attribute.
4567         (arm_comp_type_attributes): Check long/short call attributes.
4568         (arm_encode_call_attribute):  New function:  Encode long_call
4569         or short_call attribute in function name.
4570         (arm_set_default_type_attributes): New function: Assign
4571         default attributes to newly defined type.
4572         (current_file_function_operand): New function: Return true if
4573         the symbol is a function which has already been compiled.
4574         (arm_is_longcall_p): New function: Return true if the
4575         indicated function should be called via a long call.
4576         (arm_get_strip_length): New function.  Returns number of
4577         prefix characters to be stripped from a function's name.
4578         (arm_strip_name_encoding): New function.  Strip prefix characters
4579         from a function's name.
4580
4581         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
4582         with 'call_cookie'.
4583         (SHORT_CALL_FAG_CHAR): Define.
4584         (LONG_CALL_FAG_CHAR): Define.
4585         (ENCODED_SHORT_CALL_ATTR_P): Define.
4586         (ENCODED_LONG_CALL_ATTR_P): Define.
4587         (ARM_NAME_ENCODING_LENGTHS): Define.
4588         (STRIP_NAME_ENCODING): Define.
4589         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
4590         (ARM_ENCODE_CALL_TYPE): Define.
4591         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
4592         (ARM_DECLARE_FUNCTION_SIZE): Define.
4593         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
4594
4595         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
4596         if a long call is needed.
4597         (call_value): Ditto.
4598         (call_symbol): Ditto.
4599
4600         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
4601         ARM_DECLARE_FUNCTION_SIZE.
4602
4603         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
4604         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
4605         (ARM_STRIP_NAME_ENCODING): Undefine.
4606         (STRIP_NAME_ENCODING): Undefine.
4607         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
4608         (ASM_DECLARE_FUNCTION_NAME): Ditto.
4609         (ASM_OUTPUT_COMMON): Ditto.
4610         (ASM_DECLARE_OBJECT_NAME): Ditto.
4611
4612         * config/arm/pe.c (arm_dllexport_name_p): Check for
4613         ARM_PE_FLAG_CHAR.
4614         (arm_dllimport_name_p): Ditto.
4615         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
4616         (arm_mark_dllimport): Ditto.
4617         
4618 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4619
4620         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
4621
4622 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
4623
4624         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
4625
4626 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
4627
4628         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
4629         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
4630         NO_BUILTIN_WCHAR_TYPE is not defined.
4631         (CPP_WCHAR_TYPE): Delete.
4632         * cccp.c (main): Don't change wchar_type if cplusplus.
4633         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
4634
4635 2000-02-28  Nick Clifton  <nickc@cygnus.com>
4636
4637         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
4638
4639 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
4640
4641         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
4642         (ASM_WEAKEN_LABEL): Define.
4643  
4644 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
4645
4646         * expr.c (store_constructor): Do not emit USE.
4647         * rtl.h (stupid_life_analysis): Remove.
4648
4649 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4650
4651         * function.c (number_blocks): Reset next_block_index based on
4652         what debugging format is used, not what is defined.
4653         
4654         * lcm.c: Minor reformatting throughout.
4655         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
4656         
4657         * toplev.c (rest_of_compilation): Account for time in
4658         optimize_mode_switching.
4659
4660         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
4661         if only marking labels.
4662
4663 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
4664
4665         * calls.c (expand_call): Attempt to combine stack adjustments with
4666         pending stack adjustments.
4667
4668 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4669
4670         * loop.c (reg_in_basic_block_p): Don't abort when falling through
4671         to the end of the function.
4672
4673 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
4674
4675         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
4676         blocks.
4677         * final.c (next_block_index): Remove.
4678         (max_block_depth): Likewise.
4679         (pending_blocks): Likewise.
4680         (init_final): Don't initialize them.
4681         (final_start_function): Don't set next_block_index.  Set up
4682         BLOCK_NUMBER.
4683         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
4684         * function.h (number_blocks): New function.
4685         * function.c (get_block_vector): New function.
4686         (identify_blocks): Use it.
4687         (reorder_blocks): Set NOTE_BLOCK.
4688         (number_blocks): New function.
4689         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
4690         * tree.h (BLOCK_NUMBER): New macro.
4691         (tree_block): Add block_num field.
4692         * dbxout.c (next_block_number): Remove.
4693         (dbxout_init): Don't set it.
4694         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
4695         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
4696         block numbers.
4697         * toplev.c (rest_of_compilation): Always call
4698         find_loop_tree_blocks.  Fix indentation.
4699         * dwarf2out.c (next_block_number): Remove.
4700         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4701         to determine block numbers.
4702         (gen_inlined_subroutine_die): Likewise.
4703         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
4704         (decls_for_scope): Don't increment next_block_number.
4705         * dwarfout.c (next_block_number): Remove.
4706         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4707         to determine block numbers. 
4708         (output_inlined_subroutine_die): Likewise.
4709         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
4710         (output_decls_for_scope): Don't increment next_block_number.
4711         * sdbout.c (next_block_number): Remove.
4712         (sdbout_block): Use BLOCK_NUMBER.
4713         (sdbout_begin_block): Simplify.
4714         * xcoffout.c (next_block_number): Remove.
4715         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
4716         (xcoffout_begin_block): Don't set next_block_number.
4717         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
4718         next_block_number.
4719         
4720 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4721
4722         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
4723         (expand_builtin_strcpy): Pass correct type to size_binop.
4724         (expand_builtin_strcmp): Likewise.
4725         Clean up conditional structure.
4726         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
4727         (complete_array_type): Don't use size_binop for MAXINDEX.
4728         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
4729         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
4730         (c_alignof): Use size_one_node.
4731         (build_unary_op): Pass arg of proper type to size_binop.
4732         (really_start_incremental_init, push_init_level): Use sizetype for
4733         constructor{,_bit,_unfilled}_index.
4734         (pop_init_label, output_init_element): Likewise.
4735         (output_pending_init_elements, process_init_element): Likewise.
4736         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
4737         * expr.c (store_expr): Use size_int.
4738         (store_constructor): Use proper types for size_binop args.
4739         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
4740         (expand_expr_unaligned): Likewise.
4741         (string_contant): Return object of sizetype.
4742         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
4743         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
4744         (ARGS_SIZE_TREE): Pass proper types to size_binop.
4745         * fold-const.c (int_const_binop): Refine when size_int is called.
4746         (fold_convert): Likewise.
4747         (size_int_wide): Rework to take KIND as arg, only take low order
4748         bits, handle new sizetype_tab datatype, and chain entries in
4749         size_table.
4750         (size_int_type_wide): New function.
4751         (size_binop): Validate types of arguments.
4752         (ssize_binop): Deleted.
4753         (size_diffop): New function.
4754         (extract_muldiv): Only fold division into multiplication for sizetypes.
4755         * function.c (assign_parms): Use size_diffop and make sure
4756         VAR field is of ssizetype; also pass proper type to size_binop.
4757         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
4758         (round_down): Deleted from here.
4759         * store-layout.c (sizetype_tab): Now an array.
4760         (sizetype_set, early_root_list): New variables.
4761         (variable_size): Use size_one_node.
4762         (round_up): Pass proper type to size_binop.
4763         (round_down): Moved to here and corrected as above.
4764         (layout_record): Pass proper arg types to size_binop.
4765         (layout_type): Likewise.
4766         If sizetype_set is zero, record the type just laid out.
4767         (make_unsigned_type): Don't call set_sizetype;
4768         (make_signed_type): Likewise; also, call fixup_signed_type.
4769         (initialize_sizetypes): New function.
4770         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
4771         set name of bitsizetype to "bit_size_type".
4772         Fix up type of sizes of all types made before call.
4773         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
4774         * tree.c (fix_sizetype): Deleted.
4775         (build_common_tree_nodes): Call initialize_sizetypes.
4776         (build_common_tree_nodes_2): Don't call fix_sizetype.
4777         * tree.h (TYPE_IS_SIZETYPE): New macro.
4778         (initialize_sizetype): New declaration.
4779         (enum size_type_kind): New type.
4780         (struct sizetype_tab): Deleted.
4781         (sizetype_tab): Now array; adjust sizetype macros.
4782         (size_diffop, size_int_type_wide): New functions.
4783         (size_int_wide): Change number of args and type; access macros changed.
4784         (ssize_int, sbitsize_int): New macros.
4785         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
4786         (ROUND_TYPE_SIZE_UNIT): New macro.
4787
4788 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
4789
4790         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
4791
4792 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4793
4794         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
4795         Mark as possibly unused.
4796
4797         * cse.c (cse_insn): Delete dead code involving tablejump.
4798         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
4799
4800         * Makefile.in (libcpp.a): Start by deleting it.
4801
4802 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4803
4804         * cpplib.h (enum file_change_code): Added rename_file.
4805         * cpplib.c (do_line): If a filename is given, set file_change to
4806         rename_file.
4807         (output_line_command): If file_change is rename_file, always
4808         output a # directive with the file name.
4809
4810         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
4811
4812 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
4813
4814         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
4815         when copying a PARM_DECL or RESULT_DECL.
4816
4817 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4818
4819         * fix-header.c (recognized_function): Also fix prototypes for
4820         functions taking "void".
4821
4822 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
4823
4824         * reload1.c (do_output_reload): Check reg_reloaded_valid before
4825         looking at reg_reloaded_contents.
4826
4827 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
4828
4829         * Makefile.in (STMP_FIXINC): New toggle.
4830         (LIBGCC2_DEPS): Delete all references.
4831         (stmp-headers): Delete target.  All references either deleted
4832         or changed to stmp-int-headers.
4833         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
4834         (LIBCPP_OBJS): Take out cppalloc.o.
4835         (cppalloc.o): Delete target.
4836         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
4837         (gen-protos, fix-header): Link with libiberty.a.
4838         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
4839         to empty.
4840
4841         * configure.in: Remove refs to strerror.
4842         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
4843         * system.h: Take out strerror stanza.
4844
4845         * cpperror.c (my_strerror): Delete function.
4846         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
4847         * cppmain.c (main): Call xmalloc_set_program_name first thing.
4848         * cppalloc.c: Delete file.
4849         * gen-protos.c: Don't provide xrealloc.
4850
4851         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
4852         xstrerror throughout.
4853
4854 2000-02-26  Bruce Korb  <bkorb@gnu.org>
4855
4856         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
4857         match for DOS headers, too.
4858         * fixinc/inclhack.sh,fixincl.x: Regenerate.
4859
4860 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
4861
4862         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
4863         is right for most ELF targets.
4864         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
4865         Let the default file use %U properly.
4866         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
4867         default.
4868
4869         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
4870         numbers.
4871
4872 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4873
4874         * toplev.c (documented_lang_options): Correct spelling error.
4875         (decode_d_option, decode_f_option, main): Likewise.
4876
4877         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
4878
4879         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
4880         to tell assembler it is permitted to expand large constants.
4881
4882 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
4883
4884         * protoize.c: (AUX_INFO_SUFFIX): New macro.
4885         (aux_info_suffix): Use.
4886         (SAVE_SUFFIX): New macro.
4887         (save_suffix): Use.
4888         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
4889         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
4890         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
4891
4892         * invoke.texi (Running Protoize): Update documentation.
4893
4894 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
4895
4896         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
4897
4898 2000-02-25  John Wehle  (john@feith.com)
4899
4900         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
4901
4902 2000-02-25  Anthony Green  <green@cygnus.com>
4903
4904         * toplev.c (rest_of_compilation): Rebuild jump labels if
4905         combine_instructions has created a new direct jump.
4906         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
4907         when appropriate.
4908         (combine_instructions): Call try_combine with new argument.
4909         Return non-null value when new direct jump instruction is created.
4910         * rtl.h: combine_instructions returns an int.
4911
4912 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
4913
4914         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
4915         jump when changing a computed jump into a jump to a known
4916         target.
4917
4918 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
4919
4920         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
4921         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
4922
4923         * i386.md (define_expand "clrstrsi"): Fix typo.
4924
4925 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
4926
4927         * rtl.texi: Fix typo.
4928
4929 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4930
4931         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
4932         UNITS_PER_WORD.  Change caller initial_elimination_offset.
4933         (rounded_frame_size): Take into account that argument pushed has
4934         changed.  Fix TARGET_ALIGN_DOUBLE problem.
4935
4936 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
4937
4938         * haifa-sched.c (schedule_block): Explain the real reason
4939         we delete REG_SAVE_NOTEs on the first insn of a block.
4940         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
4941
4942 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
4943
4944         * input.h (push_srcloc): New function.
4945         (pop_srcloc): Likewise.
4946         * toplev.c (push_srcloc): Define it.
4947         (pop_srcloc): Likewise.
4948
4949 2000-02-24  Richard Henderson  <rth@cygnus.com>
4950
4951         * flow.c (life_analysis): When collecting reg info, clear
4952         regs_ever_live.
4953
4954 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4955
4956         Fix bug exposed by reload.c no longer rounding the frame
4957         size to BIGGEST_ALIGNMENT:
4958         * sh.c (rounded_frame_size): New function.
4959         (sh_expand_prologue, sh_expand_epilogue): Use it.
4960         (initial_elimination_offset): Likewise.
4961
4962 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4963
4964         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
4965         * sh-protos.h (sh_need_epilogue): Declare.
4966         * sh.c (sh_need_epilogue_known): New static variable.
4967         (sh_need_epilogue): New function.
4968         (function_epilogue): Clear need_epilogue_known.
4969         * sh.md (return): Split into expander / insn pattern.
4970         Make the expander conditional on ! sh_need_epilogue ().
4971
4972 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
4973
4974         * machmode.h (get_mode_alignment): Declare.
4975         (GET_MODE_ALIGNMENT): Call it.
4976         * stor-layout.c (get_mode_alignment): New function. Make
4977         sure alignment is always power of 2.
4978
4979 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4980
4981         * i386.h: Remove useless definition of "I386" and misleading
4982         comment above it.
4983
4984 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4985
4986         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
4987         under which TREE_PERMANENT will be set.
4988         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
4989         build1): Use TREE_SET_PERMANENT.
4990         * print-tree.c (print_node): Don't report value of
4991         TREE_PERMANENT if ggc_p is true.
4992
4993         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
4994         decide whether to give a type a new alias set.
4995         * objc/objc-act.c (build_objc_string_object): Never copy the string.
4996         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
4997         of value of 'obstack'.
4998
4999
5000 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5001
5002         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
5003
5004 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5005
5006         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
5007         * cpplib.c (cpp_get_token): Produce them.
5008         * cppexp.c (cpp_lex): Handle them.
5009
5010 2000-02-23  Nick Clifton  <nickc@cygnus.com>
5011
5012         * config/arm/arm.c (arm_comp_type_attributes): Simply and
5013         comment tests on type attributes.
5014
5015 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5016
5017         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
5018         conform to documentation.
5019         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
5020         to check for special cases.
5021         * sh-protos.h (sh_loop_align): Declare.
5022         * sh.c (sh_loop_align): Define.
5023
5024 2000-02-22  Andrew Haley  <aph@cygnus.com>
5025
5026         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
5027         (SIZE_TYPE): Is 32 bits when using -mgp32.
5028         (PTRDIFF_TYPE): Ditto.
5029
5030 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5031
5032         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
5033
5034 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
5035
5036         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
5037         BIGGEST_FIELD_ALIGNMENT a constant.
5038
5039 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
5040
5041         * dwarf2out.c (output_line_info): Put the marker for the end of
5042         the line number info at the actual end.
5043         (gen_struct_or_union_type_die): Use decl_function_context 
5044         to check for local classes.
5045         * dwarfout.c (output_type): Likewise.
5046
5047 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
5048
5049         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
5050         for arguments with a mode, but no type.
5051         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
5052         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
5053         * pa/long_double.h: New file.
5054         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
5055         both have 128bit wide long doubles.
5056         * configure: Rebuilt.
5057
5058 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5059
5060         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
5061
5062         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
5063         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
5064         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
5065
5066         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
5067
5068         * integrate.c (compare_blocks, find_block): Likewise.
5069
5070         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
5071
5072         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
5073
5074         * stmt.c (stmt_status, set_file_and_line_for_stmt,
5075         expand_asm_operands): Likewise.
5076
5077 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
5078
5079         * predict.c (estimate_probability): Added the pointer heuristic to
5080         the collection of static branch predictors.
5081
5082 2000-02-21  Catherine Moore  <clm@cygnus.com>
5083
5084         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
5085         * invoke.texi (-mfix7000): Document.
5086
5087 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
5088
5089         * diagnostic.c (init_output_buffer): Make it possible to output at
5090         least 32 characters if we're given a too long prefix.
5091
5092 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
5093
5094         * varasm.c (initializer_constant_valid_p): Call
5095         lang_expand_constant to simplify the constant.
5096
5097 2000-02-20  Bruce Korb  <bkorb@gnu.org>
5098
5099         * fixinc/inclhack.def(stdio_va_list):
5100         typedef needs to be disabled.
5101         * fixinc/inclhack.sh: regen
5102         * fixinc/fixincl.x: regen
5103
5104 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
5105
5106         * print-rtl.c (print_rtx): Don't print addresses when
5107         flag_dump_unnumbered.
5108
5109 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5110
5111         * sparc.c (sparc_output_scratch_registers): Mark parameter with
5112         ATTRIBUTE_UNUSED.
5113         (sparc_va_arg, sparc_flat_output_function_prologue,
5114         sparc_flat_output_function_epilogue): Cast value to unsigned in
5115         comparison.
5116         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
5117         
5118         * sparc.md: Add default case in switch.
5119
5120 2000-02-19  Richard Henderson  <rth@cygnus.com>
5121
5122         * c-typeck.c (add_pending_init): Don't abort for multiple
5123         fields at the same offset.
5124         (pending_init_member): Test the correct member.
5125
5126 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5127
5128         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
5129         instead of SImode.
5130         (start_catch_handler) : Same.
5131
5132 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
5133
5134         * Makefile.in: Have flow.o depend on $(EXPR_H)
5135
5136 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5137
5138         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
5139         * c-decl.c (duplicate_decls, finish_enum): Likewise.
5140         (finish_decl): Remove -Wlarger-than code from here.
5141         * flags.h (id_clash_len): Now int.
5142         (larger_than_size): Now HOST_WIDE_INT.
5143         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
5144         Clean up checking to see if in table.
5145         (make_bit_field_ref): Remove extra parm to bitsize_int.
5146         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
5147         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
5148         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
5149         and for computing size of decl.
5150         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
5151         Move -Wlarger-than code to here.
5152         (layout_record): Remove extra arg to bitsize_int.
5153         Set TYPE_BINFO_SIZE_UNIT.
5154         (layout_union): Remove extra arg to bitsize_int.
5155         Use proper type for size of QUAL_UNION.
5156         (layout_type): Remove extra arg to bitsize_int.
5157         * toplev.c (id_clash_len): Now int.
5158         (larger_than_size): Now HOST_WIDE_INT.
5159         (decode_W_option): Clean up id-clash and larger-than- cases.
5160         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
5161         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
5162         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
5163         (struct tree_decl): New field size_unit.
5164         (size_int_wide): No HIGH operand; NUMBER is now signed.
5165         (size_int_2): Deleted.
5166         (size_int, bitsize_int): Don't use it and rework args.
5167         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
5168
5169 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
5170
5171         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
5172
5173 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
5174
5175         * invoke.texi (Warning Options): Add an explanation of why
5176         you might want the -Wfloat-equal flag.
5177
5178 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5179
5180         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
5181         * cppinit.c (new_pending_define): Add cast to avoid warning.
5182         * expmed.c (extract_bit_field): Likewise.
5183         * flow.c (enum reorder_skip_type): New type.
5184         (skip_insns_between_blcok): New it.
5185         Rework to avoid warning about possibly undefined variable.
5186         * function.c (assign_parms): Make thisparm_boundary unsigned.
5187         * genrecog.c (write_switch): Cast XWINT result to int.
5188         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
5189         * mips-tfile.c (init_file): Make two versions of FDR intializer:
5190         one for MIPS and one for Alpha.
5191         (get_tag, copy_object): Add casts to avoid warnings.
5192         * optabs.c (init_one_libfunc): Cast NAME to (char *).
5193         * reload.c (find_reloads): Make TYPE enum reload_type.
5194         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
5195         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
5196         * varasm.c (compare_constant_1): Add cast to avoid warning.
5197         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
5198         to (char *).
5199         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
5200         Cast switch operand of size to int.
5201         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
5202         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
5203         in unhandled case.
5204
5205 2000-02-18  Nick Clifton  <nickc@cygnus.com>
5206
5207         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
5208         anything for an alignment of zero.
5209
5210         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
5211         anything for an alignment of zero.
5212
5213 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
5214
5215         * gcc.texi (Bug Reporting): Refer to bugs.html.
5216         (Bug Lists): Likewise.
5217         * system.h (GCCBUGURL): New preprocessor define.
5218         * rtl.c (fancy_abort): Use it.
5219         * gcc.c (main): Likewise.
5220
5221 2000-02-18  Richard Henderson  <rth@cygnus.com>
5222
5223         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
5224         (life_analysis_1): Subsume into ...
5225         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
5226         Use update_life_info for the relaxation.
5227         (update_life_info): Update REG_BASIC_BLOCK for registers live on
5228         entry and regs_live_at_setjmp.
5229         (set_noop_p): Simplify.
5230         (notice_stack_pointer_modification_1): Renamed from s/_1//.
5231         (record_volatile_insns): Split into ...
5232         (delete_noop_moves): ... here,
5233         (notice_stack_pointer_modification): ... here,
5234         (insn_dead_p): ... and here.
5235         (propagate_block): Don't query INSN_VOLATILE.
5236         (mark_used_regs): Mind !PROP_REG_INFO.
5237         * toplev.c (rest_of_compilation): Call mark_constant_function here,
5238         not in life_analysis.
5239
5240 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
5241
5242         * loop.c (canonicalize_condition): New function,
5243         broken out of get_condition.
5244         (get_condition): Use it.
5245         * expr.h (canonicalize_condition): Prototype it.
5246
5247         * tree.h (tree_int_cst_msb): Declare.
5248         * tree.c (tree_int_cst_msb): New function.
5249
5250 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
5251
5252         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
5253         isn't set.
5254
5255         * invoke.texi (-fmessage-length=n): Document.
5256
5257 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
5258
5259         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
5260
5261 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
5262
5263         * function.c (thread_prologue_and_epilogue_insns): Put a line note
5264         after the prologue.
5265
5266 2000-02-17  Nick Clifton  <nickc@cygnus.com>
5267
5268         * config/arm/thumb.c: Replace includes of system headers with
5269         #include "system.h".
5270
5271 2000-02-16  Richard Henderson  <rth@cygnus.com>
5272
5273         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
5274         Add crtbeginS.o and crtendS.o.
5275         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
5276         (ENDFILE_SPEC): Use crtendS.o.
5277         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
5278
5279         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
5280         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
5281         shared and present.
5282         (__dso_handle): New variable.
5283         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
5284         bias to __CTOR_END__.
5285         
5286 2000-02-16  Richard Henderson  <rth@cygnus.com>
5287
5288         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
5289
5290 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5291
5292         * longlong.h (__clz_tab): Declare as static to match definition.
5293
5294 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
5295         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
5296         (XREF_FILE_NAME): Define.
5297
5298         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
5299         (EH_FRAME_SECTION_ASM_OP): Define.
5300         (IDENT_ASM_OP): Define.
5301         (TEXT_SECTION_ASM_OP): Define.
5302         (CPP_SPEC): Define.
5303         (CTORS_SECTION_ASM_OP): Define.
5304         (CTOR_SECTION_FUNCTION): Use it.
5305         (DTORS_SECTION_ASM_OP): Define.
5306         (DTOR_SECTION_FUNCTION): Use it.
5307
5308 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
5309
5310         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
5311         NOTE_BASIC_BLOCK.
5312
5313         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
5314         debug_bb_n): New functions.
5315         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
5316         * basic-block.h: Prototype new functions.
5317
5318 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
5319
5320         * configure.in: Add support for avr target.
5321         * configure: Rebuilt.
5322
5323         * invoke.texi: Add AVR invocation docs.
5324         * install.texi: Add information about AVR.
5325         * md.texi: Add AVR constraint letters description.
5326         * extend.texi: Add description for AVR specific attributes.
5327
5328 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
5329
5330         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
5331
5332 2000-02-16  Nick Clifton  <nickc@cygnus.com>
5333
5334         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
5335         (make_insn_raw): Move RTL check here.
5336
5337 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5338
5339         * version.c: Include gansidecl.h and version.h.
5340
5341         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
5342         
5343         * configure.in (gcc_version): When setting, narrow search to
5344         lines containing `version_string'.
5345
5346         * Makefile.in (mainversion): Likewise. 
5347         (GCC_H): New variable.
5348         (gcc.h): Delete target.
5349         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
5350         (version.o): Depend on version.h.
5351         (dbxout.o): Don't depend on gcc.h.
5352
5353 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5354                           Michael Meissner  <meissner@cygnus.com>
5355
5356         * md.texi (Simple Constraints): Add item about whitespace.
5357         * genoutput.c (strip_whitespace): New.
5358         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
5359         strip_whitespace for constraints.
5360         Test pointer using NULL, not 0.
5361
5362 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5363
5364         * cpplib.c (do_line): Pedwarn for #line > 32767.
5365
5366         * c-lex.c (readescape): Warn about '\x', but do not reject it.
5367
5368 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
5369
5370         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
5371         to default cpp spec.
5372         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
5373         * cpp.texi: Document __GNUC_PATCHLEVEL__.
5374         * cpp.1: Likewise.
5375
5376         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
5377         default spec.
5378
5379 2000-02-15  Denis Chertykov  <denisc@overta.ru>
5380
5381         * configure.in: Add support for avr target.
5382
5383 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5384
5385         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
5386         (sh_addr_diff_vec_mode): Don't declare.
5387         * sh.c (sh_addr_diff_vec_mode): Delete.
5388
5389 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5390
5391         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
5392
5393 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5394
5395         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
5396         (smulsi3_highpart_i): Name.
5397         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
5398         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
5399         (smulsi3_highpart, umulsi3_highpart): Likewise.
5400
5401         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
5402         correctly independent of endianness.
5403         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
5404         confuse the optimizers.
5405         (mulsidi3+1, umulsidi3+1): New define_split.
5406
5407 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
5408
5409         * config/sh/sh.md: Guard insn splits against illegal registers.
5410         * config/sh/sh.h: Correct comment about macros.
5411
5412 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5413                           Andrew MacLeod  <amacleod@cygnus.com>
5414
5415         * Makefile.in (lcm.o): Depend on insn-attr.h.
5416         * basic-block.h (optimize_mode_switching): Declare.
5417         * lcm.c (tm_p.h, insn-attr.h): #include.
5418         (seginfo, bb_info): New structs.
5419         (antic, transp, comp, delete, insert) : New file-scope static variables.
5420         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
5421         (reg_becomes_live, optimize_mode_switching): Likewise.
5422         * tm.texi: Add description of mode switching macros.
5423         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
5424
5425         * sh-protos.h (remove_dead_before_cse): Remove prototype.
5426         (fldi_ok, fpscr_set_from_mem): New prototypes.
5427         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
5428         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
5429         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
5430         (sh_flag_remove_dead_before_cse): Remove declaration.
5431         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
5432         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
5433         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
5434         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
5435         (barrier_align): Allow for JUMP_INSNS containing a parallel.
5436         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
5437         (fldi_ok): New function.
5438         (get_fpscr_rtx): Add fpscr_rtx as GC root.
5439         (emit_sf_insn): Only generate fpu switches when optimize < 1.
5440         (emit_df_insn): Likewise.
5441         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
5442         (sh_flag_remove_dead_before_cse): Delete.
5443         (get_free_reg, fpscr_set_from_mem): New functions.
5444         * sh.md (movdf, movsf): Remove no_new_pseudos code.
5445         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
5446
5447 2000-02-15  Loren Rittle  <ljrittle@acm.org>
5448
5449         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
5450
5451 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5452
5453         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
5454         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
5455
5456         * cccp.c: Include version.h and/or don't declare `version_string'.
5457         * collect2.c: Likewise.
5458         * alpha.c: Likewise.
5459         * arm/aof.h: Likewise.
5460         * arm/coff.h: Likewise.
5461         * arm/elf.h: Likewise.
5462         * arm/pe.h: Likewise.
5463         * arm/tcoff.h: Likewise.
5464         * arm/telf.h: Likewise.
5465         * arm/tpe.h: Likewise.
5466         * arm/vxarm.h: Likewise.
5467         * convex/convex.c: Likewise.
5468         * i386/dgux.c: Likewise.
5469         * i386/sun386.h: Likewise.
5470         * m88k/m88k.c: Likewise.
5471         * mcore/mcore-pe.h: Likewise.
5472         * mips/mips.h: Likewise.
5473         * romp/romp.h: Likewise.
5474         * sh/sh.c: Likewise.
5475         * cpphash.c: Likewise.
5476         * cppinit.c: Likewise.
5477         * dwarf2out.c: Likewise.
5478         * dwarfout.c: Likewise.
5479         * gcc.c: Likewise.
5480         * gcc.h: Likewise.
5481         * mips-tfile.c: Likewise.
5482         * protoize.c: Likewise.
5483         * toplev.c: Likewise.
5484         * tree.h: Likewise.
5485         
5486         * version.c (version_string): Constify a char*.
5487
5488         * version.h: New file.
5489
5490 2000-02-14  Nick Clifton  <nickc@cygnus.com>
5491
5492         * configure.in: Add mcore-elf and mcore-pe targets.
5493         * configure: Regenerate.
5494
5495         * NEWS: Add note that MCore port has been contributed.
5496
5497         * invoke.texi: Document command line switches for MCore port.
5498         * install.texi: Add MCore to list of supported targets.
5499
5500 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
5501
5502         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
5503         then we will need to import the frame handling functions.
5504         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
5505         to import the frames themselves.
5506
5507 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
5508                           Jason Eckhardt  <jle@cygnus.com>
5509
5510         * basic_block.h: Added prototype for reorder_basic_blocks.
5511         * toplev.c: Changes to add -freorder-blocks and graph dump after
5512         block reordering is done.
5513         * flow.c (reorder_block_def): New structure for use during block
5514         reordering.
5515         (REORDER_BLOCK_*): New macros to access members of above structure.
5516         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
5517         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
5518         functions for block reordering.
5519
5520 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5521
5522         * gcc.texi (Passes): Fix typo.
5523         * md.texi (Standard Names): Ditto.
5524         * tm.texi (Storage Layout): Ditto.
5525
5526 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
5527
5528         * cpplib.c (do_define): Only free the old definition if it
5529         actually had one.
5530
5531 2000-02-13   Neil Booth  <NeilB@earthling.net>
5532
5533         * cppfiles.c (read_and_prescan): When emitting deferred
5534         newlines, test speccase[] again instead of checking each
5535         possible whitespace character in turn.  When we encounter \r,
5536         look behind for \n first, then ahead.
5537
5538 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
5539
5540         * cse.c (cse_altered): New internal flag.
5541         (cse_insn): Set it if we changed an insn.
5542         (cse_main): Clear cse_altered before each basic block.
5543         Only garbage collect if cse_altered is true afterward.
5544
5545 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5546
5547         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
5548
5549 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
5550
5551         * combine.c (simplify_comparison): Fix typo.
5552
5553 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
5554
5555         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
5556         consistently.
5557
5558 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5559
5560         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
5561         previously inserted node instead of root node.  Caller changed.
5562
5563 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5564
5565         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
5566
5567 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5568
5569         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
5570         __dereg_frame_dtor): Add prototype argument.
5571
5572         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
5573
5574         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
5575
5576         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
5577
5578         * gthr-vxworks.h (__gthread_once): Likewise.
5579
5580         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
5581
5582 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
5583
5584         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
5585         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
5586         stack pointer in functions w/o saved registers, output LEAVE more often
5587         on TARGET_USE_LEAVE machines.
5588
5589 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
5590
5591         * config/arm/arm.c (arm_init_cumulative_args); New function:
5592         Initlaise the CUMULATIE_ARGS strcuture for a function
5593         defintion. 
5594         (arm_function_arg): New function: Determine where to place a
5595         function's argument.  Also handles deciding the function's
5596         call cookie.
5597         (current_file_function_operand): New function: Return true if
5598         the symbol is a function which has already been compiled.
5599         (arm_is_long_call_p): New function: Return true if the
5600         indicated function should be called via a long call.
5601         (arm_valid_type_attribute_p): New function: Return true if the
5602         attribute is a valid, arm specific, attribute.
5603         (arm_comp_type_attribute): New function: Return true if the
5604         two types have compatable, arm specific, attributes.
5605
5606         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
5607         structure.
5608         (FUNCTION_ARG): Redefine to call arm_function_arg.
5609         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
5610         structure field.
5611         (INIT_CUMULATIVE_ARGS): Redefine to call
5612         arm_init_cumulative_args.
5613         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
5614         field. 
5615         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
5616         field. 
5617         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
5618         functions.
5619         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
5620         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
5621         (COMP_TYPE_ATTRIBUTES): Define.
5622
5623         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
5624         if a long call is needed.
5625         (call_value): Call arm_is_long_call_p to decide if a long call
5626         is needed.
5627         (call_symbol): Call arm_is_long_call_p to decide if a long call
5628         is needed.
5629
5630         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
5631
5632 2000-02-11  Denis Chertykov  <denisc@overta.ru>
5633
5634         * README.AVR: New file with information about the avr ports.
5635         * config/avr: New directory with avr port files.
5636
5637 2000-02-11  Andreas Jaeger  <aj@suse.de>
5638
5639         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
5640
5641 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
5642
5643         * cpphash.c: Fix formatting, update commentary.
5644         (dump_definition): Take three separate arguments instead of a
5645         MACRODEF structure argument.
5646         * cpphash.h: Update prototype of dump_definition.
5647         * cppinit.c (cpp_finish): Update call of dump_definition.
5648
5649         * cpplib.c (do_define): Always create new hash entry with
5650         T_MACRO type.  Remove redundant check for redefinition of
5651         poisoned identifier.  Update call of dump_definition.
5652         (do_undef): Don't call check_macro_name.  Rename sym_length to
5653         len.
5654         (do_error, do_warning): Don't use copy_rest_of_line or
5655         SKIP_WHITE_SPACE.
5656         (do_warning): Don't use pedwarn for the actual warning,
5657         only the notice about its not being in the standard.  (Fixes
5658         bug with #warning in system headers.)
5659         (do_ident): Stricter argument checking - accept only a single
5660         string after #ident.  Also, macro-expand the line.
5661         (do_xifdef): Use cpp_defined.  De-obfuscate.
5662
5663         (do_pragma): Split out specific pragma handling to separate
5664         functions.  Use get_directive_token.  Update commentary.  Do
5665         not pass on #pragma once or #pragma poison to the front end.
5666         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
5667         do_pragma_default): New.
5668
5669 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
5670
5671         * jump.c (jump_optimize_1): The first operand in a relational
5672         can be a CONST_INT.
5673         * optabs.c (emit_conditional_move): Handle relationals which
5674         have a known true/false result.
5675
5676 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5677
5678         * function.c (thread_prologue_and_epilogue_insns): Don't insert
5679         a RETURN insn into a block which already ends with a jump.
5680
5681 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5682
5683         * haifa-sched.c (BUF_LEN): Increase a lot.
5684
5685 2000-02-11  Nick Clifton  <nickc@cygnus.com>
5686
5687         * configure.in: Add tm_p_file specification for thumb targets.
5688         * configure: Regenerate.
5689
5690         * config/arm/thumb-protos.h: New file: Prototypes for exported
5691         functions defined in thumb.c.
5692
5693 2000-02-11  Robert Lipe  <robertl@sco.com>
5694
5695         * Makefile.in (bootstrap-lean): Remove additional files.
5696         (bootstrap2-lean): Likewise.
5697         (VOL_FILES): List of files for above.
5698
5699 2000-02-11  Nathan Sidwell  <nathan@acm.org>
5700
5701         * cpphash.c (special_symbol): Remove spurious argument to
5702         cpp_lookup.
5703
5704 2000-02-11  Joel Sherrill (joel@OARcorp.com>
5705
5706         * configure.in: (i*86-*-rtems*): Swapped elf and coff
5707         stanzas.
5708         * configure: Rebuilt.
5709
5710 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
5711         
5712         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
5713
5714 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
5715
5716         * pa.c, pa.h: Remove trigraph sequences within comments.
5717
5718 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
5719
5720         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
5721
5722 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
5723
5724         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
5725
5726 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5727         
5728         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
5729
5730 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5731
5732         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
5733         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
5734         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
5735         (ASM_FILE_END): Use c4x_file_end.
5736         * config/c4x/c4x.c (c4x_global_label): New function.
5737         (c4x_external_ref, c4x_file_end): Likewise.
5738
5739         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
5740         (c4x_external_ref, c4x_end_file): Likewise.
5741
5742 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
5743
5744         * cppexp.c: Don't include cpphash.h.
5745         (parse_charconst, cpp_lex): Use cpp_defined.
5746         (cpp_lex): Use get_directive_token throughout.  Remove
5747         unnecessary cases from switch.  Move assertion-handling code
5748         down to OTHER case.
5749         (cpp_parse_expr): If we see '+' or '-', check the context to
5750         determine if they are unary or binary operators.  Streamline
5751         the jumps a bit.  Do not call skip_rest_of_line.
5752
5753         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
5754         static.  Export get_directive_token.  Update commentary.
5755         (cpp_defined): New function.
5756         (do_define): Remove reference to T_PCSTRING.  Call
5757         free_definition to release memory for old definition, when
5758         redefining a macro.
5759         (eval_if_expression): Set only_seen_white to 0 before calling
5760         cpp_parse_expr.  Call skip_rest_of_line after it returns.
5761         (cpp_read_check_assertion): Don't preserve a pointer into the
5762         token buffer across a call to cpp_get_token.
5763
5764         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
5765         * cppfiles.c (redundant_include_p): Use cpp_defined.
5766         * cpphash.c (free_definition): New function.
5767         (delete_macro): Use it.  Update commentary.
5768         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
5769         free_definition.
5770         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
5771         from enum node_type.  Prototype cpp_defined and get_directive_token.
5772         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
5773
5774         * fix-header.c (check_macro_names): Use cpp_defined.
5775         (read_scan_file): Set inhibit_warnings and inhibit_errors in
5776         the options structure.
5777
5778 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5779
5780         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
5781
5782 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
5783
5784         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
5785         rather than die->die_tag.
5786
5787 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5788
5789         * combine.c (make_extraction, force_to_mode): Avoid warning on
5790         mixed-signedness conditionals.
5791         (make_field_assignment, nonzero_bits): Likewise.
5792         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
5793         (store_split_bit_field, extract_split_bit_field): Likewise.
5794         (extract_fixed_bit_field, store_bit_field, 
5795         * expr.c: Change alignment to be unsigned everywhere.
5796         (move_by_pieces, store_constructor_field, store_constructor): 
5797         Alignment parm is unsigned.
5798         (emit_block_move, emit_group_load, emit_group_store): Likewise.
5799         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5800         (do_compare_rtx_and_jump): Likewise.
5801         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
5802         Compare align with GET_MODE_ALIGNMENT.
5803         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
5804         (get_inner_reference): Likewise.
5805         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
5806         (expand_assignment): Local vars for alignment now unsigned.
5807         (store_constructor, store_field, expand_expr, do_jump): Likewise.
5808         (do_compare_and_jump): Likewise.
5809         (store_field): Call new function expr_align.
5810         * expr.h (emit_block_move, emit_group_load, emit_group_store):
5811         Alignment arg now unsigned.
5812         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5813         (do_compare_rtx_and_jump, store_bit_field): Likewise.
5814         (extract_bit_field): Likewise.
5815         * fold-const.c (add_double): Add cast to eliminate signedness warning.
5816         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
5817         (get_best_mode): Alignment arg is unsigned.
5818         * rtl.h (move_by_pieces): Likewise.
5819         * store-layout.c (maximum_field_alignment, set_alignment):
5820         Now unsigned.
5821         (layout_decl): Alignment arg is now unsigned.
5822         Remove unneeded casts.
5823         (layout_record, layout_union, layout_type): Remove unneeded casts.
5824         Local alignment variables now unsigned.
5825         (get_best_mode): Alignment arg now unsigned.
5826         * tree.c (expr_align): New function.
5827         * tree.h (expr_align): Likewise.
5828         (maximum_field_alignment, set_alignment): Now unsigned.
5829         (get_inner_reference): Alignment argument is now pointer to unsigned.
5830         * varasm.c (assemble_variable): Add cast to eliminate warning.
5831
5832 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
5833
5834         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
5835         then store directly into op0.
5836
5837         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
5838         the CALL_INSN, and emit the note immediately after it.
5839
5840 2000-02-10  Nick Clifton  <nickc@cygnus.com>
5841
5842         * config/arm/thumb.md (epilogue): Include a (return) in the
5843         generated insn, and emit it using emit_jump_insn not
5844         emit_insn. 
5845
5846 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
5847
5848         * function.c (assign_temp): Change zero-sized arrays to size 1.
5849         * integrate.c (expand_inline_function): Do not update
5850         stack_alignment_needed
5851         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
5852         add some sanity checking, remove optimization for function with
5853         zero frame size.
5854
5855 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5856
5857         * flow.c (mark_regs_live_at_end): Delete unused variables.
5858
5859         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
5860
5861         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
5862         in macro FRAME_GROWS_DOWNWARD.
5863
5864         * stmt.c (expand_end_bindings): Delete unused variable.
5865
5866         * unroll.c (iteration_info): Mark parameter `loop' with
5867         ATTRIBUTE_UNUSED.
5868
5869 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5870
5871         * fixinc/server.c (load_data): Return NULL if the marker line is
5872         not found.
5873         (run_shell): If load_data returns NULL, retry the command once, in
5874         a new shell.
5875
5876         * configure: Rebuilt.
5877
5878 2000-02-09  Bruce Korb  <bkorb@gnu.org>
5879
5880         * gcc/fixincludes:  ** DELETED **
5881         * gcc/fixcpp:  ** DELETED **
5882         * gcc/fixinc-nt.sed:  ** DELETED **
5883         * gcc/just-fixinc:  ** DELETED **
5884         * gcc/Makefile.in:  Removed out-dated commentary
5885         * gcc/configure.in: Removed fast-fixincludes disablement.
5886         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
5887
5888 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5889         * function.c (thread_prologue_and_epilogue_insns): Uncomment
5890         last change.
5891
5892 2000-02-09  Richard Henderson  <rth@cygnus.com>
5893
5894         * jump.c (delete_insn): Don't delete user labels at -O0.
5895
5896 2000-02-09  Robert Lipe  <robertl@sco.com>
5897
5898         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
5899         Don't link with HOST_LIBS. 
5900
5901 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5902
5903         * configure.in: Correct --help text for --with-dwarf2.
5904         Put tm-dwarf2.h after other tm files, if it's requested.
5905         * configure: Regenerate.
5906         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
5907         defining it.
5908
5909 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5910
5911         * cpplib.h: Provide HASHNODE typedef and forward decl of
5912         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
5913         DEFINITION, struct hashnode, struct macrodef, struct
5914         definition, scan_decls prototype, default defn of
5915         INCLUDE_LEN_FUDGE moved elsewhere.
5916
5917         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
5918         definition, and struct hashnode moved here. Remove the unused
5919         'predefined' field from struct definition.  Replace the 'args'
5920         union with its sole member.  All users updated (cpphash.c).
5921         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
5922         multiple include guard.
5923
5924         * cpphash.c (hashf): Make static; use better algorithm; drop
5925         HASHSIZE parameter; return an unsigned int.
5926         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
5927         used. Calculate HASHSIZE modulus here.
5928         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
5929         here.
5930         (create_definition): Drop PREDEFINITION parameter.
5931         * cpplib.c (do_define): Don't calculate a hash value here.
5932         Don't pass (keyword == NULL) to create_definition.
5933
5934         * scan.h: Prototype scan_decls here.
5935         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
5936         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
5937         callers of cpp_lookup and cpp_install updated.
5938         
5939         * cpphash.c (macarg): Hoist all the flag diddling out of the
5940         function...
5941         (macroexpand): ... and out of the loop that calls macarg.
5942         Skip over the initial paren before macro arguments with
5943         cpp_get_non_space_token; point may be some distance before
5944         that paren.  Abort if it's not there.
5945
5946         * cpplib.c (parse_clear_mark): Delete function.
5947         (parse_set_mark, parse_goto_mark): Make static.
5948         (ACTIVE_MARK_P): New macro.
5949         (skip_block_comment, skip_line_comment): Do not bump the line
5950         if ACTIVE_MARK_P is true.
5951         (cpp_pop_buffer): The buffer to be popped may not have an
5952         active mark.
5953         (cpp_get_token): When looking for the initial paren before
5954         macro arguments, only set a mark in a file buffer, Always
5955         return to that mark before proceeding to call macroexpand or
5956         return a NAME token.
5957
5958         * cpplib.h: Remove prototypes of parse_set_mark,
5959         parse_clear_mark, parse_goto_mark.
5960         (struct cpp_options): Rename 'put_out_comments' to
5961         'discard_comments' and invert its sense.
5962         * cppinit.c, cpphash.c, cpplib.c: All users of
5963         put_out_comments changed to use discard_comments, with
5964         opposite sense.
5965
5966 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5967
5968         * function.c (thread_prologue_and_epilogue_insns): Don't delete
5969         the edge from a block that both jumps and falls through to the
5970         fallthru block.
5971
5972 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
5973
5974         * config/arm/arm.md (movsi): In PIC mode, make sure that a
5975         constant source address is legitimate.
5976
5977 2000-02-09  Philip Blundell  <pb@futuretv.com>
5978
5979         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
5980         correctly.
5981
5982         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
5983         generating PIC.
5984         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
5985
5986 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5987
5988         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
5989         ends with a newline and a NUL.  Don't be so clever manipulating
5990         strings.
5991
5992 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
5993
5994         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
5995         not to BIGGEST_ALIGNMENT.
5996
5997 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
5998
5999         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
6000         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
6001         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
6002         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
6003         * frame.c (execute_cfa_insn): Handle 
6004         DW_CFA_GNU_negative_offset_extended.
6005
6006 2000-02-08  Richard Henderson  <rth@cygnus.com>
6007
6008         * flow.c (tidy_fallthru_edges): Split out from ...
6009         (delete_unreachable_blocks): ... here.
6010         (find_basic_blocks): Use it.
6011
6012 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6013
6014         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
6015
6016 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
6017
6018         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
6019         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
6020         (fix-header.o): Don't depend on cpphash.h.
6021
6022         * scan.c (hashstr): New function. 
6023         * scan.h: Prototype it.
6024         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
6025         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
6026         hashstr.  Report hash table statistics.  Add private     
6027         definition of xrealloc.
6028
6029 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6030
6031         * i386.h (TARGET_SWITCHES): Fix typo in option name.
6032
6033 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
6034
6035         * function.c (thread_prologue_and_epilogue_insns): Don't replace
6036         jumps with returns unless they are jumps to the fallthru block.
6037
6038 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
6039
6040         * i386.md (addqi3_cc): Fix contraints.
6041
6042 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6043
6044         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
6045
6046 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
6047
6048         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
6049         carriage return after a macro name.
6050
6051 2000-02-07  Fred Fish  <fnf@be.com>
6052
6053         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
6054         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
6055
6056 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
6057
6058         * cppfiles.c (deps_output): Count spacers in deps_column.
6059
6060 2000-02-07  Neil Booth  <NeilB@earthling.net>
6061
6062         * cppinit.c (initialize_dependency_output): If there is no
6063         suffix, don't try to look for known suffixes.  Use strrchr.
6064         (cpp_start_read): Remove duplicate initialization.
6065
6066 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
6067
6068         * calls.c (compute_argument_block_size): New argument
6069         preferred_stack_boundary.
6070         (expand_call): update cfun->preferred_stack_boundary, update call of
6071         compute_argument_block_size
6072         (emit_library_call): Increate cfun->preferred_stack_boundary
6073         to PREFERRED_STACK_BOUNDARY
6074         (emit_library_call_value): Likewise.
6075         * explow.c (allocate_dynamic_stack_spave): Likewise.
6076         * function.c (prepare_function_start): Set
6077         cfun->preferred_stack_boundary
6078         * function.h (struct function): Add preferred_stack_boundary field.
6079         * integrate.c (expand_inline_function): Update
6080         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
6081         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
6082         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
6083
6084 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
6085
6086         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
6087         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
6088         cpp_pedwarn, cpp_pedwarn_with_line,
6089         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
6090         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
6091         v_cpp_error_with_line, v_cpp_warning_with_line,
6092         cpp_message_from_errno, cpp_perror_with_name): Delete.
6093
6094         * cpperror.c (cpp_print_containing_files): Take starting
6095         buffer as argument.
6096         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
6097         (v_cpp_message): Now called directly by all entry points.
6098         Remove -1 case.
6099         (cpp_pfatal_with_name, cpp_message): Delete.
6100         (cpp_notice_from_errno, cpp_ice): New functions.
6101         (cpp_notice): Is now for reporting error conditions, just
6102         without an associated file.
6103         (cpp_error, cpp_error_with_line): Don't do anything if
6104         opts->inhibit_errors is on.
6105         (cpp_pedwarn_with_file_and_line): Take column argument also.
6106
6107         * cpplib.h: Update prototypes of exported functions.
6108         (struct cpp_options): Add inhibit_errors.
6109
6110         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
6111         non-error messages.  Include intl.h.
6112
6113         * cppinit.c, cppmain.c: Likewise.  Also, use
6114         cpp_notice_from_errno instead of cpp_perror_with_name or
6115         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
6116
6117         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
6118         report internal errors.
6119
6120         * cpplib.c (do_define): Switch bcopy to memcpy.
6121         Give cpp_pedwarn_with_file_and_line a dummy column argument.
6122
6123         * cpplib.c (copy_rest_of_line): Revert previous change: don't
6124         bail out early if we hit a line comment.
6125
6126 2000-02-06  Richard Henderson  <rth@cygnus.com>
6127
6128         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
6129         * basic-block.h: Declare them.
6130         * emit-rtl.h (active_insn_p): New.
6131         (next_active_insn, prev_active_insn): Use it.
6132         * rtl.h: Declare it.
6133         * function.c (emit_return_into_block): New.
6134         (thread_prologue_and_epilogue_insns): Insert return insns instead
6135         of epilogues when possible.
6136         * jump.c (jump_optimize_1): Remove code to insert a return insn
6137         on the fallthru to the exit block.
6138
6139         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
6140         and for non-empty stack frames.
6141         * i386.md (return): Expand to return-pop as needed.
6142
6143 2000-02-06  Richard Henderson  <rth@cygnus.com>
6144
6145         * simplify-rtx.c (simplify_relational_operation): Canonicalize
6146         constant to op1 for testing.
6147
6148 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6149
6150         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
6151         (fixuns_truncqfqi2): Use it.
6152
6153 2000-02-06  Richard Henderson  <rth@cygnus.com>
6154
6155         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
6156         as a TYPE_LEA insn.
6157
6158         * i386.md (widening and peepholes): Mask the constant instead of
6159         using gen_lowpart.
6160
6161 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
6162
6163         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
6164         input pointer before possibly branching off to the backslash
6165         code.
6166         * cpphash.c (macroexpand): Correctly delete \r escapes when
6167         stringifying parameters.
6168         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
6169         if we can; bail out early if we hit a line comment.
6170         (handle_directive): Treat '# 123' in an .S file just like
6171         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
6172         Return 1 for '# not_a_directive'.
6173         (get_directive_token): Pop macro buffers here, so that
6174         cpp_get_token can't sneakily move past a newline.
6175         Add sanity checks. 
6176         (cpp_get_token): goto randomchar if handle_directive returns 0.
6177
6178         * cppalloc.c: Update copyright.
6179         * cpplib.c: Merge all the static function prototypes into one
6180         block.
6181         * cpplib.h: Remove #if 0 block.
6182
6183         * cpperror.c: Remove #ifdef EMACS block.
6184         * cppmain.c: Likewise.
6185         * cpphash.c: Remove #if 0 blocks.
6186         * cppinit.c: Remove #if 0 blocks, and the -lint option.
6187         * cpplib.c: Remove #if 0 blocks and code referencing
6188         pcp_inside_if or for_lint.  Remove duplicate error message.
6189         Fix error messages for #else after #else or #elif.  Reformat.
6190         Remove archaic TODO list.
6191         * cpplib.h: Remove pcp_inside_if and for_lint flags.
6192
6193 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
6194
6195         * i386/osf1elf.h: Add missing backslash to multiline string.
6196
6197 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6198
6199         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
6200
6201 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6202
6203         * Makefile.in (c-common.o): Depend on $(EXPR_H).
6204
6205         * c-common.c: Include expr.h.
6206
6207         * c-pragma.c (mark_align_stack): Add prototype.
6208
6209         * caller-save.c (add_stored_regs): Likewise.
6210
6211         * combine.c (record_promoted_value): Likewise.
6212
6213         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
6214         Likewise.
6215
6216         * cppinit.c (new_pending_define): Likewise.
6217
6218         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
6219
6220         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
6221         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
6222         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
6223         class_scope_p): Likewise.
6224
6225         * dwarf2out.h (dwarf2out_set_demangle_name_func,
6226         dwarf2out_add_library_unit_info): Likewise.
6227
6228         * ggc.h (ggc_page_print_statistics): Likewise.
6229
6230         * haifa-sched.c (propagate_deps): Likewise.
6231
6232         * reg-stack.c (next_flags_user, record_label_references): Likewise.
6233
6234         * rtl.h (set_stack_check_libfunc): Likewise.
6235
6236         * toplev.h (set_fatal_function): Likewise.
6237
6238         * toplev.c (set_fatal_function): Delete prototype.
6239         
6240         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
6241         
6242 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
6243
6244         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
6245         (FUNC_END): Likewise.
6246
6247 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6248
6249         * caller-save.c: Include tm_p.h.
6250
6251 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6252
6253         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
6254
6255 2000-02-04  Neil Booth  <NeilB@earthling.net>
6256
6257         * cccp.c (main): Check 'dir' for a NULL pointer before passing
6258         it to strcmp.
6259
6260 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
6261
6262         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
6263         * genflags.c: Use the max_operand_1 logic from genemit.c to
6264         calculate how many arguments gen_insn prototypes have.  Remove
6265         NO_MD_PROTOTYPES ifdefs from the generated file.
6266         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
6267         file.  Cast gen_insn initializers to insn_gen_fn.
6268         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
6269         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
6270
6271 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6272
6273         * fixinc/Makefile.in (HDR): Add machname.h.
6274         (clean): Likewise.
6275
6276 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6277
6278         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
6279         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
6280         (c4x_cpu_version): Ditto.
6281         * config/c4x/c4x-protos.h: ... here.
6282
6283 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
6284
6285         * dwarf2out.c (add_abstract_origin_attribute): Don't call
6286         gen_abstract_function on our context if we're a nested function.
6287
6288 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6289
6290         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
6291         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
6292
6293 2000-02-04  Bruce Korb  <bkorb@gnu.org>
6294
6295         * fixinc/genfixes(machname.h):
6296         Move the functionality from gen-machine.h into this file.
6297         UNdef MN_NAME_PAT if there are no names to change.
6298         Also, be a little kinder when AutoGen is not present.
6299
6300         * fixinc/Makefile.in(machname.h):
6301         Change the generation rule to use genfixes.
6302
6303         * fixinc/fixfixes.c(machine_name):
6304         machine_name_fix's functionality now dependent upon whether
6305         MN_NAME_PAT is defined.
6306
6307         * fixinc/fixtests.c(machine_name):
6308         ditto.
6309
6310         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
6311         of MN_NAME_PAT.
6312
6313         * fixinc/fixlib.h(mn_get_regexps):
6314         ditto
6315
6316         * fixinc/gen-machine.h: DELETED
6317
6318 2000-02-04  Jan Hubicka  <jh@suse.cz>
6319             Richard Henderson  <rth@cygnus.com>
6320
6321         * i386.c (SAVE_REGS_FIRST): Remove.
6322         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
6323         (ix86_compute_frame_size): Likewise.
6324         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
6325         (ix86_emit_restore_regs): Remove.
6326         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
6327         when a frame pointer is in use.
6328         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
6329         instead of pop to restore a register when profitable; emit leave
6330         when profitable.
6331         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
6332         as a TYPE_LEA insn.
6333         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
6334         * i386.md (prologue_allocate_stack): Remove.
6335         (epilogue_deallocate_stack): Remove.
6336         (pro_epilogue_adjust_stack): New.
6337
6338 2000-02-04  Richard Henderson  <rth@cygnus.com>
6339
6340         * function.c (diddle_return_value): Rework to use a callback function.
6341         Use current_function_return_rtx if it's been set up.
6342         (do_clobber_return_reg, clobber_return_register): New.
6343         (do_use_return_reg, use_return_register): New.
6344         (expand_function_end): Use them.
6345         * stmt.c (expand_null_return): Likewise.
6346         * function.h: Declare them.
6347         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
6348         (mark_reg): Change arguments as appropriate for callback.
6349         * integrate.c (expand_inline_function): Revert 19 Jan change.
6350
6351 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6352
6353         * tm.texi (Values in Registers): Fix typo: "fo" "for".
6354         (Misc): Say the scheduler, not the Haifa scheduler.
6355
6356 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
6357
6358         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
6359         when in_mem is set.  Update all callers.
6360
6361 2000-02-04  Richard Henderson  <rth@cygnus.com>
6362
6363         * i386/openbsd.h (INT_ASM_OP): Define.
6364
6365 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6366
6367         * tm.texi: Fix various typos.
6368
6369 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
6370
6371         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
6372         (MD_STARTFILE_PREFIX_1): New macro.
6373
6374 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
6375
6376         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
6377         destination when needed.
6378         (strmovsi, strsetsi): New expander.
6379         (strmovsi_1, strsetsi_1): New pattern.
6380         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
6381         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
6382         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
6383         * invoke.texi (align-stringops, inline-all-stringops): Document.
6384
6385 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
6386
6387         * i386/netbsd.h (INT_ASM_OP): Define.
6388
6389 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
6390
6391         * cpplib.h (cpp_reader): Add new flag, no_directives.
6392         * cpphash.c (macarg): Set it.
6393         * cpplib.c (handle_directive): If no_directives is on and we
6394         find a directive, issue an error and discard the line.
6395
6396 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
6397
6398         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
6399         FP constants.  Add ! TARGET_FPU check for FP constants.
6400
6401 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
6402         
6403         * flow.c (find_basic_blocks): Don't kill label_value_list
6404         here.
6405         (cleanup_cfg): Kill it here.
6406
6407 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6408
6409         * expr.c (store_field): Ensure ALIGN is no stricter than the
6410         alignment of EXP.
6411
6412 2000-02-02  Richard Henderson  <rth@cygnus.com>
6413
6414         * jump.c (delete_insn): Partially revert 19 Jan change; 
6415         don't convert unused code labels to notes at -O0.
6416
6417 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6418
6419         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
6420         split_all_insns to recreate REG_LABEL notes for flow2 pass.
6421
6422 2000-02-01  Richard Henderson  <rth@cygnus.com>
6423
6424         * i386.c (general_no_elim_operand): New.
6425         (nonmemory_no_elim_operand): New.
6426         (ix86_expand_move): Copy eliminable operands before a push.
6427         * i386-protos.h: Declare new functions.
6428         * i386.h (CAN_ELIMINATE): Simplify.
6429         (PREDICATE_CODES): Update.
6430         * i386.md (push insns): Don't allow eliminable register operands.
6431
6432 2000-02-01  Richard Henderson  <rth@cygnus.com>
6433
6434         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
6435         replace BLKmode with DECL_RTL's mode.
6436
6437 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
6438
6439         * frame.c (find_fde): Convert for loop to do-while so compiler
6440         sees it's always executed at least once.
6441         * libgcc2.c (BBINBUFSIZE): Kill.
6442         (__bb_init_prg): Use fgets.
6443         (__bb_exit_trace_func): Don't paste strings.
6444         * unroll.c (unroll_loop): Initialize unroll_type, not
6445         unroll_number, and tweak logic to match.
6446
6447         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
6448         all failure paths.
6449         (ix86_flags_dependant): Likewise.  Disentangle control flow.
6450         (ix86_sched_reorder): Break guts out to
6451         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
6452         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
6453         any possible use.
6454
6455         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
6456         use string concatenation.  Don't save and restore esi.
6457
6458         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
6459         (machname.h): Remove script to separate file.  Use two-step
6460         sequence so target is not created if script fails.
6461         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
6462         identifiers are defined.
6463         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
6464         an empty string, machine_name doesn't need to do anything at
6465         all.
6466         (is_cxx_header): Add more cases to regexp.
6467         * fixinc/fixlib.h: Update prototype.
6468         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
6469         mn_get_regexps.
6470         * fixinc/fixincl.c: Define NO_BOGOSITY.
6471
6472         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
6473         (hp_sysfile): Add missing comma.
6474         (math_exception): Put the wrapper ifdefs at the beginning and
6475         the end of the file.
6476         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
6477
6478 2000-02-01  Richard Henderson  <rth@cygnus.com>
6479
6480         * sparc.c (fp_zero_operand): Turn into a normal predicate.
6481         Use CONST0_RTX.  Update all callers.
6482         * sparc.h, sparc-protos.h: Update accordingly.
6483         * sparc.md (fp mov insns): Use fp_zero_operand directly
6484         where applicable.
6485
6486 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6487
6488         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
6489         example.
6490
6491 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6492
6493         * Makefile.in (specs.ready): New target.
6494         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
6495
6496 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6497
6498         * fixinc.irix: Use unique filenames for writing into /tmp,
6499         * fixinc.ptx: Likewise.
6500         * fixinc.sco: Likewise.
6501         * fixinc.svr4: Likewise.
6502         * fixinc.winnt: Likewise.
6503
6504 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6505
6506         * tsystem.h: New file.
6507
6508         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
6509         s-crtS): Depend on tsystem.h.
6510
6511         * crtstuff.c: Include tsystem.h.
6512         * frame.c: Likewise.
6513         * libgcc2.c: Likewise.
6514
6515 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
6516
6517         * builtins.c (expand_builtin_memset): Expand for variable sized
6518         lengths too.
6519
6520 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
6521
6522         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
6523         on ABI.
6524
6525 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6526
6527         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
6528
6529         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
6530
6531 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
6532
6533         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
6534         case 3->2 combining (combining with splitting) in which 2 is CC0
6535         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
6536         checked at the begining of the function with the aid of calling 
6537         function 'can_combine_p'. 
6538
6539 2000-01-31  Dave Brolley  <brolley@redhat.com>
6540
6541         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
6542
6543 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
6544
6545         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
6546         new label.
6547
6548 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6549
6550         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
6551         
6552         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
6553         PROTO -> PARAMS.
6554
6555 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
6556
6557         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
6558         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
6559         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
6560         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
6561         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
6562         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
6563         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
6564         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
6565         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
6566         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
6567         
6568         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
6569         Add %(cpp_cpu) to CPP_SPEC.
6570
6571         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
6572         Add %(cc1_cpu) to CC1_SPEC.
6573
6574 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
6575
6576         * c-decl.c (c_decode_option): Accept optional numeric argument to
6577         -Wformat and set warn_format.
6578         * c-common.c: Don't emit warning about non-constant printf format
6579         string unless warn_format > 1.
6580
6581 2000-01-30  Richard Henderson  <rth@cygnus.com>
6582
6583         * alpha.md (return_internal): Allow after reload only.
6584
6585 2000-01-30  Richard Henderson  <rth@cygnus.com>
6586
6587         * i386.c (ix86_compute_frame_size): Omit padding1 if the
6588         local frame size is zero.
6589
6590 2000-01-30  Richard Henderson  <rth@cygnus.com>
6591
6592         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
6593         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
6594         * alpha.md (return): Turn into an expander.
6595         (return_internal): Don't use $26.
6596         (epilogue): Emit the return insn.
6597
6598 2000-01-30  Richard Henderson  <rth@cygnus.com>
6599
6600         * alpha.md (negtf2, abstf2): Fix word order thinko.
6601         (extendsftf2): New.
6602         (trunctfsf2): Avoid intermediate rounding errors.
6603
6604 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
6605
6606         * cppfiles.c (find_position): Drop 'colp' argument, return the
6607         new line base.
6608         (read_and_prescan): Adjust to match.  Don't ever manipulate
6609         line or line_base except via find_position.
6610
6611 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
6612
6613         * c-parse.in: Apply Ulrich's changes from c-parse.y.
6614         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
6615         Regenerate.
6616
6617 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
6618
6619         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
6620         just print "<command line>".  If 'filename' is null or an
6621         empty string, print "<stdin>" for the filename.
6622         * cpplib.c (do_define): Don't print the 'location of the
6623         previous definition' message if we're still parsing the
6624         command line.
6625         (cpp_pedwarn_with_file_and_line): Always call
6626         cpp_file_line_for_message.
6627
6628 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
6629
6630         * flow.c (mark_regs_live_at_end): Fix typo.
6631
6632 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
6633
6634         * c-common.c: Adjust variable names, comments, help strings to c99.
6635         * c-lex.c: Likewise.
6636         * c-parse.y: Likewise.
6637         * c-tree.h: Likewise.
6638         * cccp.c: Likewise.
6639         * cpplib.h: Likewise.
6640         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
6641         * cppinit.c: Likewise.
6642
6643 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6644
6645         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
6646         * c4x.c: Define the optab rtx values.
6647         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
6648         (c4x_emit_libcall): Use new optab rtx values.
6649         (c4x_emit_libcall3): Likewise.
6650         (c4x_emit_libcall_mulhi): Likewise.
6651         * c4x-protos.h: Add prototypes for optab rtx values and change
6652         prototypes for above c4x_emit_libcall functions.
6653
6654 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6655
6656         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
6657         syntax is used.
6658         (c4x_function_prologue): Use regnames intead of float_reg_names when
6659         TI syntax is used.
6660         (c4x_function_epilogue): Likewise.
6661         (c4x_print_operand): Likewise.
6662         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
6663         * c4x.md (set_high): Disable for TARGET_TI.
6664
6665 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6666
6667         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
6668         of framepointer + constant to ADDR_REGS class.
6669         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
6670         * c4x.c (std_or_reg_operand): New function.
6671         * c4x-protos.h (std_or_reg_operand): Prototype it.
6672
6673 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6674
6675         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
6676                 object names as libgcc2.c.
6677         * libgcc.S: Use newly defined names.
6678
6679 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
6680         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
6681         function.
6682         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
6683         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
6684         (FLOW_LOOP_LAST_BLOCK): Likewise.
6685
6686 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6687
6688         * basic-block.h (struct loop): New fields 'first' and 'last'.
6689         * flow.c (flow_loops_find): Compute loop->first and loop->last.
6690         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
6691         and loop->last to check for NOTE_INSN_LOOP_END.
6692
6693 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
6694
6695         * predict.c (estimate_probability): Use the new FIRST and LAST fields
6696         of the loop descriptor rather than HEADER and LATCH. Also added
6697         missing break statements as well making some coding style modifications
6698         as suggested by Michael Hayes.
6699
6700 2000-01-28  Richard Henderson  <rth@cygnus.com>
6701
6702         * flow.c (find_basic_blocks): Remove do_cleanup argument.
6703         Break out that code ...
6704         (cleanup_cfg): ... here.
6705         (commit_one_edge_insertion): Detect a return instruction being
6706         emitted to an edge.  Emit a barrier following; clear fallthru.
6707         (commit_edge_insertions): Verify CFG consistency.
6708         * function.c (expand_function_start): Kill unused variable.
6709         (expand_function_end): Likewise.
6710         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
6711         to insert the epilogue.
6712
6713         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
6714         (delete_null_pointer_checks): Likewise.
6715         * output.h: Likewise.
6716         * reg-stack.c (reg_to_stack): Likewise.
6717         * toplev.c (rest_of_compilation): Likewise.  Run
6718         thread_prologue_and_epilogue_insns after rebuilding the CFG.
6719
6720 2000-01-28  Richard Henderson  <rth@cygnus.com>
6721
6722         * Makefile.in (flow.o): Revert 24 Jan change.
6723         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
6724         FUNCTION_VALUE result to DECL_RESULT's mode.
6725
6726         * haifa-sched.c (schedule_insns): Don't recompute reg info
6727         after reload.
6728
6729 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
6730
6731         * configure.in: Make --enable-cpplib the default.
6732         * configure: Regenerate.
6733         * gcc.dg/990119-1.c: No longer expected to fail.
6734
6735 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
6736
6737         * jump.c (jump_optimize_1): Delete an optimization that is also done
6738         by merge_blocks in flow.
6739
6740 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6741
6742         * diagnostic.c (build_message_string, output_printf,
6743         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
6744         (build_location_prefix): Fix non-literal format string.
6745
6746 2000-01-27  Richard Henderson  <rth@cygnus.com>
6747
6748         * alpha.md (trunctfsf2): New.
6749
6750 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
6751
6752         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
6753
6754 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
6755
6756         * cppinit.c (cpp_handle_option): Recognize C++ comments under
6757         -std=gnu89.
6758         * cpplib.c (skip_block_comment, skip_line_comment): Split code
6759         out of...
6760         (skip_comment) ... here.  Permit C++ comments in system
6761         headers always.  Warn about C++ comments in user code under
6762         -std=gnu89 -pedantic.
6763         (copy_comment): Use skip_comment.
6764         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
6765         return EOF.
6766         (consider_directive_while_skipping, do_else, do_endif): Call
6767         validate_else unconditionally.
6768         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
6769         text after the conditional in a system header.
6770         * cpplib.h (struct cpp_buffer): Add flag
6771         warned_cplusplus_comments.
6772
6773 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
6774
6775         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
6776         Use unshare_all_rtl_1.
6777         (unshare_all_rtl_again): New function.
6778         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
6779
6780         * function.c (purge_addressof_1): Use unshare_all_rtl_again
6781         rather than resetting the 'used' flags ourself.
6782
6783         * toplev.c (rest_of_compilation): Add current_function_decl
6784         to the unshare_all_rtl call.
6785         * tree.h: Prototype unshare_all_rtl.
6786         * rtl.h: Prototype unshare_all_rtl_again here.
6787
6788 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
6789
6790         * genoutput.c (output_prologue): Include ggc.h in generated
6791         files.
6792         * Makefile.in (insn-output.o): Depends on ggc.h.
6793
6794 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
6795             Hans-Peter Nilsson  <hp@bitrange.com>
6796
6797         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
6798         Remove redundant include of xm-ns32k.h.
6799         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
6800         Remove redundant include of xm-ns32k.h.
6801         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
6802         Remove redundant include of xm-ns32k.h.
6803         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
6804
6805         * ns32k/ns32k.h: Update comment on multiply-add instructions.
6806         (TARGET_SWITCHES): Add documentation strings.
6807         (DWARF_FRAME_REGNUM): Override default definition.
6808         (REG_CLASS_CONTENTS): Add comments.
6809         (SUBSET_P): Format to reduce line length.
6810         (SMALL_REGISTER_CLASSES): Make a run time option.
6811         (GO_IF_NONINDEXED_ADDRESS): Reformat.
6812         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
6813         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
6814         (regclass_map): fix typo in comment.
6815         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
6816         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
6817         (trace, reg_or_mem_operand): Delete, unused function.
6818         (calc_address_cost): Small offsets are cheaper than large ones.
6819         (expand_block_move): Generate more efficient code when bytes is a
6820         known at compile time.
6821         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
6822         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
6823         instead of reg_or_mem_operand.
6824
6825         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
6826         not general_operand.  Similarly use "=rm" or stricter, not "=g".
6827         For input operands, use stricter constraints than "g" if not
6828         general_operand.  Similarly use stricter predicate than
6829         "general_operand" when stricter constraints than "g" are present,
6830         except for matching constraints.
6831         (movstrsi): Use "memory_operand" for operands 0 and 1.
6832         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
6833         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
6834         not reg_or_mem_operand.
6835         (udivmoddisi4): Ditto.
6836         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
6837         Use nonimmediate_operand for operand 3, not register_operand.
6838         (udivmoddiqi4_internal): Use register_operand for operand 1, not
6839         reg_or_mem_operand.
6840
6841 2000-01-27  Fred Fish  <fnf@be.com>
6842
6843         * gthr-posix.h: Fix typo; compatibily -> compatibility.
6844         * gthr-single.h: Likewise.
6845         * gthr-solaris.h: Likewise.
6846         * gthr-vxworks.h: Likewise.
6847         * gthr-win32.h: Likewise.
6848         * gthr.h: Likewise.
6849
6850 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
6851
6852         * cppinit.c: Add " (cpplib)" to end of string printed by
6853         -v / --version.
6854
6855 2000-01-27  Richard Henderson  <rth@cygnus.com>
6856
6857         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
6858         testing for a signed comparison.
6859         (alpha_emit_floatuns): New.
6860         * alpha-protos.h: Declare it.
6861         * alpha.md (floatunsdisf2, floatunsdidf2): New.
6862         (extendsfdf2): Tidy.
6863
6864 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
6865
6866         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
6867         no -g option specifying debugging format, default to -gstabs+.
6868
6869 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
6870
6871         * calls.c (special_function_p): New argument fork_or_exec.
6872         (expand_call): When profile_arc_flag is set and the function
6873         is in the fork_or_exec group, call __bb_fork_func first.
6874         * libgcc2.c, _bb module (__bb_fork_func): New function.
6875         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
6876         output file.
6877         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
6878         * tree.h (special_function_p): Update prototype.
6879
6880 2000-01-26  Richard Henderson  <rth@cygnus.com>
6881
6882         * alpha.c (alpha_split_tfmode_pair): New.
6883         * alpha-protos.h: Declare it.
6884         * alpha.md (abstf2, negtf2): New.
6885         (movtf insn): Add input G constraint.
6886         (movtf splitter): Use alpha_split_tfmode_pair.
6887
6888 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6889
6890         * i386/cygwin.h: PROTO -> PARAMS.
6891
6892 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
6893
6894         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
6895         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
6896         using _Qp_cmp/_Q_cmp and testing the return value.
6897         (print_operand): Call reverse_condition_maybe_unordered if
6898         we are handling CCFPmode or CCFPEmode.
6899         Handle ORDERED, UN* and LTGT comparisons.
6900         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
6901         if not TARGET_HARD_QUAD.
6902         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
6903         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
6904         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
6905         Adjust gen_b* calls so that they reflect return comparison of
6906         sparc_emit_float_lib_cmp.
6907
6908 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6909
6910         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
6911         incoming operands array is large enough for one more operand.
6912         (alpha_emit_xfloating_arith): Likewise.
6913
6914 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6915
6916         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
6917         file with one line and no trailing newline.
6918         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
6919         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
6920         checking if the match is on the line.
6921         * fixinc/gnu-regex.c: Provide regerror not __regerror.
6922
6923 2000-01-25  Richard Henderson  <rth@cygnus.com>
6924
6925         * sparc.c (output_cbranch): Fix accidental squashing of the
6926         fp branch pre-delay nop.
6927
6928 2000-01-25  Richard Henderson  <rth@cygnus.com>
6929
6930         * tree.def (UNNE_EXPR): Remove.
6931         * c-typeck.c (build_binary_op): Don't handle it.
6932         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
6933
6934         * rtl.def (UNNE): Remove.
6935         (LTGT): Add.
6936         * jump.c (reverse_condition): Update accordingly.
6937         (swap_condition): Likewise.
6938         (comparison_dominates_p): Handle unordered comparisons.
6939         (reverse_condition_maybe_unordered): New.
6940         * rtl.h (reverse_condition_maybe_unordered): Declare.
6941
6942         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
6943         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
6944         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
6945         * sparc.md (bltgt): New.
6946
6947 2000-01-25  Nick Clifton  <nickc@redhat.com>
6948
6949         * emit-rtl.c (emit_insn): Only check machine class insns for
6950         improper emission of a RETURN.
6951
6952 2000-01-25  Richard Henderson  <rth@cygnus.com>
6953
6954         * Makefile.in (flow.o): Depend on $(EXPR_H).
6955         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
6956         duplicate the structure of diddle_return_value for keeping regs live.
6957
6958 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6959
6960         * loop.c (current_loop_info): Delete.
6961         (consec_sets_invariant_p): Add loop argument, update callers.
6962         (get_condition_for_loop): Likewise.
6963         (count_nonfixed_reads, update_giv_derive): Likewise.
6964         (simplify_giv_expr, general_induction_var): Likewise.
6965         (consec_sets_giv, recombine_givs): Likewise.
6966         (move_movables): Delete loop_start and loop_end arguments,
6967         add loop argument, and update callers.
6968         (find_mem_givs, check_final_value): Likewise.
6969         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
6970         (loop_invariant_p): Rename from invariant_p, add loop argument, and
6971         update callers.
6972         (basic_induction_var): Add loop argument, delete loop_level argument,
6973         and update callers.
6974         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
6975         add loop argument, and update callers.
6976         (find_splittable_regs, find_splittable_givs): Likewise.
6977         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
6978         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
6979         (biv_total_increment): Delete loop_start and loop_end arguments;
6980         update callers.
6981         (precondition_loop_p): Delete loop_start and loop_info arguments;
6982         update callers.
6983         * loop.h (get_condition_for_loop): Add loop argument.
6984         (biv_total_increment): Delete loop_start and loop_end arguments.
6985         (precondition_loop_p): Delete loop_start and loop_info arguments;
6986         add loop argument.
6987         (final_biv_value): Delete loop_start and loop_end arguments;
6988         add loop argument.
6989         (final_giv_value, back_branch_in_range_p): Likewise.
6990
6991 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
6992
6993         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
6994
6995 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
6996
6997         * Makefile.in (c-gperf.h) : Change the "See" pointer to
6998         point to the new "generated_files" doc.
6999
7000 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
7001
7002         * config/fp-bit.c (_unord_f2): Fix typo.
7003
7004 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
7005
7006         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
7007         c-typeck.c, objc/objc-act.c: Remove all references to obstack
7008         functions obsoleted by GC, such as push_obstacks_nochange,
7009         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
7010         and code which existed only to decide whether or not to call
7011         them.  Remove now-unused NESTED argument from start_function;
7012         all callers changed.  Do not change behavior based on ggc_p.
7013         The use of the ixp_obstack in c-iterate.c and the util_obstack
7014         in objc/objc-act.c remain; these are not obsoleted by garbage
7015         collection.
7016         * c-tree.h: Update prototype for start_function.
7017
7018         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
7019
7020 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
7021
7022         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
7023         mips16.
7024
7025 2000-01-25  Richard Henderson  <rth@cygnus.com>
7026
7027         * sparc-protos.h (select_cc_mode): Declare.
7028         * sparc.c (select_cc_mode): New.  Handle unordered compares.
7029         (output_cbranch): Always reverse via code change.  Handle
7030         unordered compares.  Factor tests and string updates.
7031         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
7032         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
7033         * sparc.md (bunordered, bordered): New.
7034         (bungt, bunlt, buneq, bunge, bunle): New.
7035
7036 2000-01-25  Richard Henderson  <rth@cygnus.com>
7037
7038         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
7039         * ggc-common.c (ggc_add_rtx_varray_root): New.
7040         (ggc_mark_rtx_varray): New.
7041         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
7042         functions down below ggc_mark_foo.
7043         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
7044
7045 2000-01-25  Richard Henderson  <rth@cygnus.com>
7046
7047         * alpha.c (secondary_reload_class): Don't allocate a secondary
7048         for integral mode memories into FLOAT_REGS.  Rearrange the more
7049         complicated memory expression inward.
7050
7051 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
7052
7053         * inclhack.def: Fixes to play nicer with FreeBSD, and
7054         corrections to comments.
7055         (cxx_unready): Add select expression.
7056         (irix_sockaddr): Add bypass expression.
7057         (machine_ansi_h_va_list): New fix.
7058         (stdio_va_list): No need to edit _BSD_VA_LIST_.
7059         Split out addition of "#include <stdarg.h>" to...
7060         (stdio_stdarg_h): ... here.
7061         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
7062         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
7063         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
7064         size_t.
7065         (ultrix_ifdef): Tighten up select expression.
7066
7067         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
7068         re_ct and max_mach to avoid use of shell.  Make printed names
7069         match names in inclhack.def.  Use static copyright date.
7070         Don't count c_test and test expressions as requiring regex_t
7071         slots.  Add some commentary.
7072         * inclhack.tpl: Do not include the 'This script contains N
7073         fixup scripts' line if PROGRAM is defined.  Use static
7074         copyright date.
7075
7076 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
7077
7078         * dwarf2out.c: include "varray.h", not dyn-string.h.
7079         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
7080         (addr_const_to_string, addr_to_string): Lose.
7081         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
7082         (struct dw_val_struct): val_addr is now an rtx.
7083         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
7084         (used_rtx_varray): New varray.
7085         (dwarf2out_init): Initialize it.
7086         (save_rtx): New fn.
7087         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
7088         addr_to_string.
7089         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
7090         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
7091         * Makefile.in (dwarf2out.o): Update dependencies.
7092
7093 2000-01-24  Richard Henderson  <rth@cygnus.com>
7094
7095         * i386.c (i386_dwarf_output_addr_const): New.
7096         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
7097
7098         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
7099         if defined.
7100         * dwarfout.c (output_mem_loc_descriptor): Likewise.
7101         * i386.c (i386_simplify_dwarf_addr): New.
7102         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
7103
7104 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
7105
7106         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
7107         TYPE_STUB_DECL is NULL.
7108
7109 2000-01-24  Richard Henderson  <rth@cygnus.com>
7110
7111         * builtins.c (expand_tree_builtin): Move ...
7112         * c-common.c (expand_tree_builtin): ... here.
7113
7114 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7115
7116         * loop.h (LOOP_INFO): New accessor macro.
7117         * basic-block.h (struct loop): Rename field `info' to `aux'.
7118         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
7119         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
7120         * unroll.c (loop_iterations, unroll_loop): Likewise.
7121
7122 2000-01-24  Christopher Faylor <cgf@cygnus.com>
7123
7124         * config/i386/t-cygwin: Accomodate new winsup directory layout
7125         when searching for include files.
7126
7127 2000-01-24  Richard Henderson  <rth@cygnus.com>
7128
7129         * rtl.def: Add unordered fp comparisions.
7130         * tree.def: Likewise.
7131         * tree.h: Add ISO C 9x unordered fp comparision builtins.
7132
7133         * builtins.c (expand_tree_builtin): New function.
7134         * c-typeck.c (build_function_call): Use it.
7135         (build_binary_op): Support unordered compares.
7136         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
7137
7138         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
7139         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
7140         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
7141         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
7142         * jump.c (reverse_condition): Don't abort for UNLE etc, but
7143         return UNKNOWN.
7144         (swap_condition): Handle unordered compares.
7145         (thread_jumps): Check can_reverse before reversing.
7146         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
7147         reversed for FP.
7148
7149         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
7150         setcc is present before acking for cmp_optab.  Update all callers.
7151         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
7152         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
7153         * expr.c (expand_expr): Likewise.  Support unordered compares.
7154         (do_jump, do_store_flag): Likewise.
7155         * expr.h (enum libfunc_index): Add unordered compares.
7156
7157         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
7158         (DPBIT_FUNCS): Add _unord_df.
7159         * config/fp-bit.c (_unord_f2): New.
7160         * fp-test.c (main): Try unordered compare builtins.
7161
7162         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
7163         * alpha.c (alpha_comparison_operator): Check mode properly.
7164         (alpha_swapped_comparison_operator): Likewise.
7165         (signed_comparison_operator): Likewise.
7166         (alpha_fp_comparison_operator): New.
7167         (alpha_emit_conditional_branch): Handle unordered compares.
7168         * alpha.h (PREDICATE_CODES): Update.
7169         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
7170         (bunordered, bordered): New.
7171
7172 2000-01-24  Richard Henderson  <rth@cygnus.com>
7173
7174         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
7175         * alpha.md (movtf): New expander, insn, and splitter.
7176
7177 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
7178
7179         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
7180         dead registers.
7181
7182 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
7183
7184         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
7185         (FIXED_REGISTERS, CALL_USED_REGISTERS,
7186          REG_ALLOC_ORDER): Add frame pointer
7187         (FRAME_POINTER_REGNUM): Set to 20
7188         (HARD_FRAME_POINTER_REGNUM): New macro.
7189         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
7190         to HARD_FRAME_POINTER.
7191         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
7192         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
7193         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
7194         (HI_REGISTER_NAMES): Add "frame".
7195         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
7196         (debug_reg): Handle FRAME_POINTER_REGNUM.
7197         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
7198         GENERAL_REGS and INDEX_REGS.
7199         * i386.c (SAVED_REGS_FIRST): new macro.
7200         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
7201         (ix86_decompose_address, memory_address_length): Likewise.
7202         (regclass_map): Add frame pointer.
7203         (call_insn_operand): Handle frame_pointer_rtx.
7204         (reg_no_sp_operand): Likewise.
7205         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
7206         (print_operand, legitimize_pic_address): Fix formating.
7207         (ix86_compute_frame_size): Make static, update prototype, new
7208         parameters padding1, padding2, use ix86_nsaved_regs, use
7209         stack_alignment_needed.
7210         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
7211         to HARD_FRAME_POINTER_REGNUM conversions.
7212         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
7213         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
7214         (print_reg): Abort on FRAME_POINTER_REGNUM
7215
7216 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
7217
7218         * i386.h (PREDICATE_CODES): Add aligned_operand.
7219         * i386.c (aligned_operand): New function.
7220         (ix86_aligned_p): Kill.
7221         * i386.md (movhi_1): Emit mov for aligned operands.
7222         (promoting peep2s): Use aligned_operand.
7223
7224 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
7225
7226         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
7227         expression to allow underscores in macro names.
7228         (fix_char_macro_defines): Increment scanning pointer.
7229
7230 2000-01-23  Richard Henderson  <rth@cygnus.com>
7231
7232         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
7233         * alpha/osf5.h: New file.
7234         * configure.in (alpha-*-osf5): Add it to tm_file.
7235
7236         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
7237
7238         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
7239         (alpha_emit_xfloating_cvt, function_arg): Declare.
7240         * alpha.c (alpha_emit_conditional_branch): Call
7241         alpha_emit_xfloating_compare for TFmode compares.
7242         (alpha_lookup_xfloating_lib_func): New.
7243         (alpha_compute_xfloating_mode_arg): New.
7244         (alpha_emit_xfloating_libcall): New.
7245         (alpha_emit_xfloating_arith): New.
7246         (alpha_emit_xfloating_compare): New.
7247         (alpha_emit_xfloating_cvt): New.
7248         (print_operand): Add default abort case.
7249         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
7250         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
7251         (BIGGEST_ALIGNMENT): Increase to 128 bits.
7252         (RETURN_IN_MEMORY): True for TF/TCmode.
7253         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
7254         (FUNCTION_ARG): Move to function_arg.
7255         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
7256         (ASM_OUTPUT_LONG_DOUBLE): New.
7257         (ASM_OUTPUT_DOUBLE): Always output bits.
7258         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
7259         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
7260         (extenddftf2, trunctfdf2): New.
7261
7262 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7263
7264         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
7265         * config/sparc/sol2.h: ... here.
7266
7267 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7268
7269         * basic-block.h (struct loops): New field `levels'.
7270         * flow.c (flow_loops_level_compute): Traverse all outer loops.
7271         (flow_loop_level_compute): Initialise level to 1.
7272         (flow_loops_find): Set loops->levels.
7273         (flow_loops_dump): Print loops->levels.
7274
7275 2000-01-23  Richard Henderson  <rth@cygnus.com>
7276
7277         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
7278         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
7279
7280 2000-01-23  Richard Henderson  <rth@cygnus.com>
7281
7282         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
7283         * i386.h (DBX_REGISTER_NUMBER): Use them.
7284         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
7285         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
7286         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
7287         * i386/sequent.h: Kill incorrect comment.
7288
7289 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
7290
7291         * ggc-page.c (struct page_entry): Make `context_depth' an
7292         `unsigned short'.
7293         (struct globals): Likewise.
7294
7295 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
7296
7297         * loop.c (check_dbra_loop): When checking a loop for
7298         reversability, check the source of any stores to ensure
7299         they don't depend on an initial value.
7300
7301 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7302
7303         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
7304
7305 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
7306
7307         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
7308         'pz_scan' into scope of entire function.  Only affects
7309         compiles with -DDEBUG.
7310
7311 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
7312
7313         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
7314         section naming to that prior to 2000-01-07 patch.
7315         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
7316         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
7317         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
7318         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
7319         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
7320
7321 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
7322
7323         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
7324         constant.
7325
7326 2000-01-21  Jim Wilson  <wilson@cygnus.com>
7327
7328         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
7329         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
7330
7331 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
7332
7333         * cpphash.c (change_newlines): Delete function.
7334         (struct argdata): Delete 'newlines' and 'use_count' fields.
7335         (macroexpand): Remove code referencing those fields.
7336
7337 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7338
7339         * loop.c (loops_info): New variable.
7340         (loop_optimize): Allocate loops->array and free it on exit.
7341         Allocate memory for loops_info and assign to each loop,
7342         replacing alloca.
7343         (find_and_verify_loops): Do not allocate loops->array.
7344
7345 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
7346
7347         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
7348
7349 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
7350
7351         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
7352         pseudos if expanded after first flow.
7353         (movdi_pic_label_ref): Likewise.
7354
7355 2000-01-20  Richard Henderson  <rth@cygnus.com>
7356
7357         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
7358
7359 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
7360
7361         * Makefile.in (fixinc.sh): Depend on specs.
7362         * fixinc/Makefile.in: Add rule to create machname.h.
7363         (fixlib.o): Depend on machname.h.
7364         * fixinc/fixtests.c (machine_name): New test.
7365         * fixinc/fixfixes.c (machine_name): New fix.
7366         * fixinc/fixlib.c (mn_get_regexps): New helper function for
7367         the machine_name test and fix.
7368         * fixinc/fixlib.h: Prototype it.
7369         * fixinc/inclhack.def (machine_name): Use the C test and fix.
7370         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
7371
7372         * gcc.c (do_spec_1) [case P]: Take care not to create
7373         identifiers with three leading or trailing underscores.
7374
7375         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
7376         (fixincl): Don't specify libraries twice on link line.
7377         (gnu-regex.o): Remove special rule.
7378         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
7379         defined by config.h.  Do not define _REGEX_RE_COMP.
7380         (regcomp): Allocate and initialize a fastmap.
7381         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
7382
7383 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
7384
7385         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
7386
7387 2000-01-19  Richard Henderson  <rth@cygnus.com>
7388
7389         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
7390         arguments with BB.  Update all callers.  Tidy line wrapping.
7391
7392 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
7393
7394         * emit-rtl.c (try_split): Return last_insn if we split the
7395         last_insn.
7396
7397 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
7398
7399         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
7400         (ix86_initial_elimination_offset): Declare.
7401         * i386.c (ix86_nsaved_regs): Break out from ...
7402         (ix86_can_use_return_insn_p): ... here.
7403         (ix86_emit_save_regs): Break out from ...
7404         (ix86_expand_prologue): ... here.
7405         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
7406         out from ...
7407         (ix86_expand_epilogue): ... here.
7408         (ix86_compute_frame_size): Make static, add prototype.
7409         (ix86_initial_elimination_offset): Break out from ...
7410         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
7411
7412 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7413
7414         * recog.h (OUT_FCN): Delete.
7415
7416         * vax.md: Call `get_insn_template' instead of OUT_FCN.
7417
7418 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7419
7420         * cppalloc.c: PROTO -> PARAMS.
7421         * cpperror.c: Likewise.
7422         * cppfiles.c: Likewise.
7423         * cpplib.c: Likewise.
7424         * cpplib.h: Likewise.
7425
7426         * config/arm/arm-protos.h: PROTO -> PARAMS.
7427         * config/arm/arm.c: Likewise.
7428         * config/c4x/c4x.c: Likewise.
7429         * config/fr30/fr30-protos.h: Likewise.
7430         * config/nextstep.c: Likewise.
7431         * config/pa/pa.c: Likewise.
7432         * config/pj/pj.c: Likewise.
7433         * config/rs6000/rs6000.c: Likewise.
7434         * config/v850/v850-protos.h: Likewise.
7435         * config/v850/v850.c: Likewise.
7436
7437 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7438
7439         * i370-protos.h: New file.
7440
7441         * i370.c: Include tm_p.h.  Fix compile time warnings.
7442
7443         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
7444         warnings.
7445
7446         * i370.md: Likewise.
7447
7448 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7449
7450         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
7451         (target_isinf, target_isnan, eisnan): Mark parameter with
7452         ATTRIBUTE_UNUSED.
7453         (eiisinf): Wrap in INFINITY.
7454         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
7455         (ibmtoe): Remove unused variable `rndsav'.
7456
7457 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7458
7459         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
7460         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
7461
7462 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
7463
7464         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
7465         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
7466         (fix_char_macro_defines, fix_char_macro_uses): New functions.
7467
7468         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
7469         Recognize Emacs mode markers also.
7470         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
7471         C++ comments in C++ headers.  Call is_cxx_header only if
7472         necessary.
7473
7474         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
7475         bypass for ncurses.
7476         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
7477         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
7478         ... these, which use the new C fixes.
7479         (math_exception): Escape literal '+' in bypass expression.
7480
7481         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
7482         Regenerate.
7483
7484 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7485
7486         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
7487         inside the MEM.
7488
7489 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7490
7491         * loop.c (loop_optimize): Allocate loop_info structure for each loop
7492         prior to calling scan_loop.
7493
7494 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7495
7496         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
7497         (split_branches, calc_live_regs): Likewise.
7498
7499 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7500
7501         * sh.md (fpu_single, fp_mode): New attributes.
7502
7503 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7504
7505         * loop.c (current_loop_info): Renamed from loop_info_data
7506         and changed to a pointer.
7507         (loop_optimize): Allocate loop_info structure for each loop
7508         and initialise to zero.
7509         (scan_loop): Set current_loop_info.
7510
7511         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
7512         on iteration_var.
7513
7514 2000-01-19  Richard Henderson  <rth@cygnus.com>
7515
7516         * stupid.c: Die die die.
7517         * Makefile.in (OBJS): Remove stupid.o.
7518         (stupid.o): Likewise.
7519
7520         * except.c (emit_eh_context): Don't emit USEs for stupid.
7521         * explow.c (probe_stack_range): Likewise.
7522         * flags.h (obey_regdecls): Remove.
7523         * flow.c (find_basic_blocks): Don't run try_merge_blocks
7524         when not optimizing.
7525         (life_analysis): Limit data collection when not optimizing.
7526         (mark_regs_live_at_end): Always mark the return value registers.
7527         (mark_used_regs): Remove dummy RETURN case.
7528         (print_rtl_with_bb): Don't consult obey_regdecls.
7529         * function.c (use_variable, use_variable_after): Remove.
7530         (assign_parms): Consult optimize not obey_regdecls.
7531         (expand_function_start): Don't emit USEs for stupid.
7532         (expand_function_end): Likewise.
7533         * global.c (build_insn_chain): Export.
7534         * integrate.c (expand_inline_function): Kill return-value USE
7535         handling code.
7536         * jump.c (jump_optimize_1): Do simple jump optimizations and
7537         dead code elimination.
7538         (calculate_can_reach_end): Remove check_deleted argument.
7539         (delete_insn): Patch out insns even when not optimizing.
7540         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
7541         * rtl.h (use_variable, use_variable_after): Remove declarations.
7542         (build_insn_chain): Declare.
7543         * stmt.c (expand_value_return): Don't emit USEs for stupid.
7544         (expand_end_bindings): Likewise.
7545         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
7546         * toplev.c (obey_regdecls): Remove.
7547         (rest_of_compilation): Don't set it.  Kill stupid in favour of
7548         flow1, local-alloc, and reload.
7549         (main): Don't set obey_regdecls.
7550
7551         * config/nextstep.c (handle_pragma): Likewise.
7552
7553         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
7554
7555         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
7556
7557 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7558
7559         * alpha-protos.h: PROTO -> PARAMS.
7560         * alpha.c: Likewise.
7561         * elf.h: Likewise.
7562         * h8300.c: Likewise.
7563         * i386-protos.h: Likewise.
7564         * i386.c: Likewise.
7565         * m32r-protos.h: Likewise.
7566         * m32r.c: Likewise.
7567         * mips.c: Likewise.
7568         * mips.md: Likewise.
7569         * gmon-sol2.c: Likewise.
7570         * sparc.c: Likewise.
7571
7572 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7573
7574         * ns32k-protos.h: New file.
7575
7576         * ns32k.c: Fix compile time warnings.
7577
7578         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
7579         warnings.
7580
7581         * ns32k.md: Likewise.
7582
7583 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7584
7585         * vax-protos.h: New file.
7586
7587         * vax.c: Fix compile time warnings.
7588
7589         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
7590         warnings.
7591
7592         * vax.md: Likewise.
7593
7594         * vaxv.md: Likewise.
7595
7596 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7597
7598         * romp-protos.h: New file.
7599
7600         * romp.c: Fix compile time warnings.
7601
7602         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
7603         warnings.
7604
7605         * romp.md: Likewise.
7606
7607 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7608
7609         * we32k-protos.h: New file.
7610
7611         * we32k.c: Fix compile time warnings.
7612
7613         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
7614         warnings.
7615
7616 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7617
7618         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
7619
7620         * except.c (eh_regs): Likewise.
7621
7622         * final.c (output_operand): Likewise.
7623
7624         * fold-const.c (target_isinf, target_isnan): Likewise.
7625
7626 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
7627
7628         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
7629         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
7630
7631         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
7632         when optimize_size.
7633         (clrstrsi): Rewrite.
7634         (strsethi, strsetqi): New expanders.
7635         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
7636         (cmpstrsi): Emit compare insn before cmpstrsi_1
7637         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
7638         (strlensi_1): Likewise.
7639         (cmpstrsi_1): Likewise; do not output compare.
7640         (strlen expander): Do not unroll when optimizing for size.
7641         (*subsi3_carry): Rename to subsi3_carry
7642         (addqi3_cc): New pattern.
7643         * i386.h (processor_costs): Add move_ratio field.
7644         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
7645         * i386.c (*_cost): Set move_ratio.
7646         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
7647         (x86_expand_strlensi_1): Rewrite the main loop.
7648
7649 2000-01-17  Richard Henderson  <rth@cygnus.com>
7650
7651         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
7652         * cse.c (find_comparison_args, fold_rtx): Likewise.
7653         * integrate.c (subst_constants): Likewise.
7654         * loop.c (get_condition): Likewise.
7655
7656         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
7657
7658         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
7659
7660 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7661
7662         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
7663         (RESTORE_WARN_FLAGS): Unpack it.
7664         Change semantic type of extension to ttype.
7665         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
7666         * c-parse.y, c-parse.c, objc/objc-parse.y,
7667         objc/objc-parse.c: Regenerate.
7668
7669 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
7670
7671         * fixinc/fixlib.c: Add copyright notice.
7672         (compile_re): New function.
7673         * fixinc/fixlib.h: Prototype compile_re.
7674
7675         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
7676         Use compile_re to compile regular expressions.
7677
7678         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
7679         where the pattern matched.
7680
7681         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
7682         use 'replace'.
7683         (ultrix_ansi_compat): Likewise.
7684         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
7685         add egrep test.
7686         (interactv_add2, interactv_add3): Delete.
7687         (x11_sprintf): Don't use filename glob.
7688         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
7689         Regenerate.
7690
7691 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7692
7693         * print-rtl.c: PROTO -> PARAMS.
7694         * real.c: Likewise.
7695         * reg-stack.c: Likewise.
7696         * resource.c: Likewise.
7697         * sdbout.h: Likewise.
7698         * simplify-rtx.c: Likewise.
7699         * stor-layout.c: Likewise.
7700         * stupid.c: Likewise.
7701         * xcoffout.c: Likewise.
7702         * xcoffout.h: Likewise.
7703
7704 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7705
7706         * toplev.c: PROTO -> PARAMS.
7707         * toplev.h: Likewise.
7708         * tree.c: Likewise.
7709         * tree.h: Likewise.
7710         * unroll.c: Likewise.
7711         * varasm.c: Likewise.
7712         * varray.c: Likewise.
7713         * varray.h: Likewise.
7714
7715 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7716
7717         * reload.c: PROTO -> PARAMS.
7718         * reload.h: Likewise.
7719         * reload1.c: Likewise.
7720         * reorg.c: Likewise.
7721         * resource.h: Likewise.
7722         * rtl.c: Likewise.
7723         * rtl.h: Likewise.
7724         * rtlanal.c: Likewise.
7725         * sbitmap.h: Likewise.
7726         * sdbout.c: Likewise.
7727         * stack.h: Likewise.
7728         * stmt.c: Likewise.
7729         * system.h: Likewise.
7730
7731 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7732
7733         * machmode.h: PROTO -> PARAMS.
7734         * mbchar.h: Likewise.
7735         * mips-tdump.c: Likewise.
7736         * mips-tfile.c: Likewise.
7737         * optabs.c: Likewise.
7738         * output.h: Likewise.
7739         * prefix.c: Likewise.
7740         * profile.c: Likewise.
7741         * protoize.c: Likewise.
7742         * real.h: Likewise.
7743         * recog.c: Likewise.
7744         * recog.h: Likewise.
7745         * regclass.c: Likewise.
7746         * regmove.c: Likewise.
7747         * regs.h: Likewise.
7748
7749 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7750
7751         * ggc-common.c: PROTO -> PARAMS.
7752         * ggc-page.c: Likewise.
7753         * ggc-simple.c: Likewise.
7754         * ggc.h: Likewise.
7755         * global.c: Likewise.
7756         * graph.c: Likewise.
7757         * gthr-win32.h: Likewise.
7758         * haifa-sched.c: Likewise.
7759         * halfpic.h: Likewise.
7760         * integrate.c: Likewise.
7761         * integrate.h: Likewise.
7762         * jump.c: Likewise.
7763         * lcm.c: Likewise.
7764         * local-alloc.c: Likewise.
7765         * loop.c: Likewise.
7766         * loop.h: Likewise.
7767
7768 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7769
7770         * genattr.c: PROTO -> PARAMS.
7771         * genattrtab.c: Likewise.
7772         * gencheck.c: Likewise.
7773         * gencodes.c: Likewise.
7774         * genconfig.c: Likewise.
7775         * genemit.c: Likewise.
7776         * genextract.c: Likewise.
7777         * genflags.c: Likewise.
7778         * gengenrtl.c: Likewise.
7779         * genopinit.c: Likewise.
7780         * genoutput.c: Likewise.
7781         * genpeep.c: Likewise.
7782         * genrecog.c: Likewise.
7783
7784 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
7785
7786         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
7787
7788 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7789
7790         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
7791         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
7792         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
7793         * configure, config.in: Rebuilt.
7794
7795 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
7796
7797         * config/i386/i386.md: Add peephole to merge successive stack
7798         adjusts.
7799
7800 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
7801
7802         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
7803         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
7804         when walking backwards to find all the parameter loads when
7805         the basic block ends in a call.
7806
7807 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7808
7809         * loop.c (this_loop_info): Delete.
7810         (uid_loop): Add in place of uid_loop_num.  All uses updated.
7811         (loop_number_exit_count): Delete and replace with entry in loop
7812         structure.  All uses updated.
7813         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7814         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7815         (loop_outer_loop): Likewise.
7816         (loop_invalid, loop_number_exit_labels): Likewise.
7817         (loop_used_count_register): Delete and replace with entry in
7818         loop_info structure.
7819         (find_and_verify_loops): Add loops argument.
7820         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
7821         loop_end, etc. arguments with loop structure pointer.  All callers
7822         changed.
7823         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
7824         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
7825         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
7826         (insert_bct): Likewise.
7827         (basic_induction_var): New argument level.
7828         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
7829         vtop, and cont.  Add used_count_register.
7830         (uid_loop): Delete declaration.
7831         (loop_number_exit_count): Likewise.
7832         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7833         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7834         (loop_outer_loop, loop_used_count_register): Likewise.
7835         (loop_invalid, loop_number_exit_labels): Likewise.
7836         (unroll_loop): Replace loop_start and loop_end arguments
7837         with loop structure pointer.
7838         (loop_precondition_p, loop_iterations): Likewise.
7839         Include basic-block.h.
7840         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
7841         with loop structure pointer.
7842         (loop_precondition_p, loop_iterations): Likewise.
7843         * basic-block.h (struct loop): New entries vtop, cont,
7844         cont_dominator, start, end, top, scan_start, exit_labels,
7845         exit_count.
7846         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
7847
7848 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7849
7850         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
7851
7852 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
7853
7854         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
7855
7856 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7857
7858         * pdp11-protos.h: New file.
7859
7860         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
7861         time warnings.
7862
7863         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
7864         warnings.
7865
7866         * pdp11.md: Likewise.
7867
7868         * 2bsd.h: Likewise.
7869
7870 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7871
7872         * mn10300-protos.h: New file.
7873
7874         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
7875         time warnings.
7876
7877         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
7878         warnings.
7879
7880         * mn10300.md: Likewise.
7881
7882 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7883
7884         * mn10200-protos.h: New file.
7885
7886         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
7887         time warnings.
7888
7889         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
7890         warnings.
7891
7892         * mn10200.md: Likewise.
7893
7894 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7895
7896         * h8300-protos.h: New file.
7897
7898         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
7899         time warnings.
7900
7901         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
7902         warnings.
7903
7904         * h8300.md: Likewise.
7905
7906 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7907
7908         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
7909         (asm_emit_uninitialised): Likewise.
7910
7911 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
7912
7913         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
7914         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
7915
7916 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7917
7918         * config/mips/mips.c (override_options): Don't turn on extra
7919         alignment for mips16.
7920
7921 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7922
7923         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
7924         eabi, and make sure queued POSTINCREMENT rtl is emitted at
7925         the right point.
7926
7927 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7928
7929         * builtins.c (PAD_VARARGS_DOWN): Define.
7930         (std_expand_builtin_va_arg): Use the above macro.
7931         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
7932         * tm.texi (Register Arguments): Document the above macro.
7933
7934 2000-01-14  Nick Clifton  <nickc@cygnus.com>
7935
7936         * emit-rtl.c (emit_insn): If checking is enabled, make sure
7937         that this function has not been used to emit a jump
7938         instruction.
7939
7940         * jump.c (return_jump_1): Cope with being passed a null rtx.
7941
7942 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7943
7944         * eh-common.h: PROTO -> PARAMS.
7945         * emit-rtl.c: Likewise.
7946         * errors.c: Likewise.
7947         * errors.h: Likewise.
7948         * except.c: Likewise.
7949         * except.h: Likewise.
7950         * explow.c: Likewise.
7951         * expmed.c: Likewise.
7952         * expr.c: Likewise.
7953         * expr.h: Likewise.
7954         * final.c: Likewise.
7955         * fix-header.c: Likewise.
7956         * flow.c: Likewise.
7957         * fold-const.c: Likewise.
7958         * function.c: Likewise.
7959         * function.h: Likewise.
7960         * gcc.c: Likewise.
7961         * gcov-io.h: Likewise.
7962         * gcov.c: Likewise.
7963         * gcse.c: Likewise.
7964
7965 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7966
7967         * sh-protos.h: New file.
7968
7969         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
7970         Add static prototypes.  Fix compile time warnings.
7971
7972         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
7973         * sh.md: Likewise.
7974         * elf.h: Likewise.
7975
7976 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7977
7978         * arc-protos.h: New file.
7979
7980         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
7981         time warnings.
7982
7983         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
7984         warnings.
7985
7986         * arc.md: Likewise.
7987
7988 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7989
7990         * dsp16xx-protos.h: New file.
7991
7992         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
7993         time warnings.
7994
7995         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
7996         warnings.
7997
7998         * dsp16xx.md: Likewise.
7999
8000 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8001
8002         * convex-protos.h: New file.
8003
8004         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
8005         time warnings.
8006
8007         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
8008         warnings.
8009
8010 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8011
8012         * elxsi-protos.h: New file.
8013
8014         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
8015         time warnings.
8016
8017         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
8018         warnings.
8019
8020         * elxsi.md: Likewise.
8021
8022 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
8023
8024         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
8025         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
8026         match the comment for MIPS16.
8027
8028 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
8029
8030         * flow.c (split_edge): Do not call set_block_for_insn if we
8031         do not have a basic_block_for_insn structure.
8032
8033         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
8034         and destination functions are 32bit aligned within the trampoline.
8035         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
8036         (TRAMPOLINE_ALIGNMENT): Define.
8037
8038         * cse.c (cse_insn): When changing (set (pc) (reg)) to
8039         (set (pc) (label_ref)), verify the change creates a valid insn.
8040
8041         * fr30.c (call_operand): Tighten and rework to match rules for
8042         call RTL expressions.
8043         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
8044         * fr30.md (call patterns): Improve constraints.
8045
8046 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
8047
8048         * fr30.c (fr30_expand_epilogue): Revert last change.
8049         Use emit_jump_insn for the return insn.
8050
8051 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
8052                           Stan Cox  <scox@cygnus.com>
8053
8054         * predict.c: New file. Preliminary infrastructure work for static
8055         branch prediction and basic block reordering.
8056         * basic-block.h: Add prototype for estimate_probability.
8057         * Makefile.in: Add rules for predict.o.
8058
8059 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
8060
8061         * fixincludes (va_list): Use __not_va_list__ for the dummy.
8062         * fixinc/*: Likewise.
8063
8064 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8065
8066         * cccp.c: PROTO -> PARAMS.
8067         * cexp.y: Likewise.
8068         * collect2.c: Likewise.
8069         * combine.c: Likewise.
8070         * convert.h: Likewise.
8071         * cse.c: Likewise.
8072         * dbxout.c: Likewise.
8073         * dbxout.h: Likewise.
8074         * diagnostic.c: Likewise.
8075         * doprint.c: Likewise.
8076         * dwarf2out.c: Likewise.
8077         * dwarf2out.h: Likewise.
8078         * dwarfout.c: Likewise.
8079         * dwarfout.h: Likewise.
8080         * dyn-string.h: Likewise.
8081
8082 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8083
8084         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
8085         macro conditionals guarding use.
8086
8087         * dwarf2out.c: Include "tm_p.h".
8088
8089         * function.c (locate_and_pad_parm): Mark parameter with
8090         ATTRIBUTE_UNUSED.
8091         (expand_function_end): Likewise for variable `context'.
8092
8093         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
8094
8095 2000-01-13  Nick Clifton  <nickc@cygnus.com>
8096
8097         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
8098         register to prevent compile time warnings.
8099
8100 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
8101
8102         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
8103         to avoid -Wtraditional warning.
8104
8105 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8106
8107         * 1750a-protos.h: New file.
8108
8109         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
8110         time warnings.
8111
8112         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
8113         warnings.
8114
8115         * 1750a.md: Likewise.
8116
8117 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8118
8119         * a29k-protos.h: New file.
8120
8121         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
8122         time warnings.
8123
8124         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
8125         warnings.
8126
8127 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8128
8129         * clipper-protos.h: New file.
8130
8131         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
8132         time warnings.
8133
8134         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
8135         warnings.
8136
8137 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8138
8139         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
8140
8141 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
8142
8143         * configure.in (--enable-new-gxx-abi): New option.
8144         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
8145         * Makefile.in (GXX_ABI_FLAG): New variable.
8146         * configure: Regenerate.
8147
8148 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8149
8150         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
8151         * tm.texi (FORCE_STRUCT_BLK): Document.
8152         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
8153
8154 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
8155
8156         * config/ns32k/ns32k.md: Revert Jan 9 change.
8157
8158         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
8159         to a mode-test, if the predicate is address_operand.
8160
8161 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
8162
8163         * combine.c (if_then_else_cond): Be careful about what kinds
8164         of RTL expressions are passed to operand_subword.
8165
8166         * flow.c (split_edge): If we have to insert a new jump, make
8167         sure to associate it with a basic block.
8168
8169         * flow.c (commit_one_edge_insertion): A block with one successor
8170         can end in a JUMP_INSN that is not a simplejump.
8171
8172 2000-01-12  Robert Lipe  <robertl@sco.com>
8173
8174         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
8175         (BUILD_VA_LIST_TYPE): Define.
8176         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
8177         with crtstuff.c.
8178
8179 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
8180
8181         * cccp.c (do_pragma): Add cast to (char *).
8182
8183 2000-01-12  Richard Henderson  <rth@cygnus.com>
8184             Fred Fish  <fnf@be.com>
8185             Jason Merrill  <jason@cygnus.com>
8186
8187         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
8188         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
8189         * i386/beos-elf.h, i386/beos-pe.h: New files.
8190
8191         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
8192         * cross-make (SYSTEM_HEADER_DIR): Define using
8193         CROSS_SYSTEM_HEADER_DIR.
8194
8195         * gcc.c (LIBRARY_PATH_ENV): Provide default.
8196         (process_command): Use it.
8197         (main): Likewise.  Kill trailing = from env vars.
8198         (build_search_list): Put it back.
8199         * collect2.c (main): Use LIBRARY_PATH_ENV.
8200
8201         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
8202         * toplev.c: Use NEED_DECLARATION_ENVIRON.
8203
8204         * tm.texi (Frame Layout): Document SMALL_STACK.
8205         * c-common.c (c_common_nodes_and_builtins): Check it.
8206
8207         * system.h: Undef alloca after including glibc's <stdlib.h>,
8208         if USE_C_ALLOCA is defined.
8209
8210         * gcc.c (set_input): New fn.
8211         (main): After all input files are compiled, reset the input file
8212         info to the first.
8213
8214         * aclocal.m4 (rindex, index): If already defined, don't attempt
8215         to redefine.
8216
8217         * ginclude/varargs.h: (__va_list__): Define ifndef.
8218         * ginclude/stdarg.h: Likewise.
8219
8220         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
8221         instead of unsigned char.
8222
8223         * hash.h (true, false, boolean): Undef before enum.
8224
8225         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
8226         proper type of "HOST_WIDE_INT *", rather than their natural type of
8227         "unsigned HOST_WIDE_INT *".
8228
8229 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8230
8231         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
8232
8233         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
8234
8235         * regclass.c (choose_hard_reg_mode): Likewise.
8236
8237         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
8238
8239         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
8240
8241 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8242
8243         * c-common.c: PROTO -> PARAMS.
8244         * c-common.h: Likewise.
8245         * c-decl.c: Likewise.
8246         * c-iterate.c: Likewise.
8247         * c-lang.c: Likewise.
8248         * c-lex.c: Likewise.
8249         * c-lex.h: Likewise.
8250         * c-parse.in: Likewise.
8251         * c-pragma.c: Likewise.
8252         * c-pragma.h: Likewise.
8253         * c-tree.h: Likewise.
8254         * c-typeck.c: Likewise.
8255         * objc/objc-act.c: Likewise.
8256         * objc/objc-act.h: Likewise.
8257
8258 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8259
8260         * m88k-protos.h: New file.
8261
8262         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
8263         time warnings.
8264
8265         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
8266
8267         * m88k.md: Likewise.
8268
8269         * tekXD88.h: Likewise.
8270
8271 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8272
8273         * m68k-protos.h: New file.
8274
8275         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
8276         time warnings.
8277
8278         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
8279
8280         * mot3300.h: Likewise.
8281
8282 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
8283
8284         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
8285         extract_bitlst.
8286         (extract_bitlist): Declare bitlen.
8287
8288 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
8289
8290         * cccp.c: Accept and ignore -lang-fortran.
8291
8292         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
8293         qualifiers don't match at any level of pointerness.
8294
8295 2000-01-12  Robert Lipe  <robertl@sco.com>
8296
8297         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
8298
8299 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
8300
8301         * reload1.c (reload_reg_unavailable): New static variable.
8302         (reload_reg_free_p): Test it.
8303         (reload_reg_free_for_value_p): Test it instead of
8304         reload_reg_used.
8305         (choose_reload_regs_init): Compute it.
8306
8307 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
8308
8309         * reorg.c (fill_slots_from_thread): Check modified_in_p
8310         before replacing.
8311
8312 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
8313
8314         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
8315         these nodes even if INTERNALS is not set.
8316
8317 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
8318
8319         * gcse.c (delete_null_pointer_checks_1): Cope when
8320         get_condition cannot determine the condition.
8321
8322 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
8323
8324         * toplev.h (set_message_length): Declare.
8325
8326         * diagnostic.c (obstack_chunk_alloc): Define macro.
8327         (obstack_chunk_free): Likewise.
8328         (struct output_buffer): New data structure.
8329         (vmessage): Remove.
8330         (output_maximum_width): New variable.
8331         (doing_line_wrapping, set_message_length, init_output_buffer,
8332         get_output_prefix, output_space_left, emit_output_prefix,
8333         output_newline, output_append, output_puts, dump_output,
8334         vbuild_message_string, build_message_string, build_location_prefix,
8335         voutput_notice, output_printf, line_wrapper_printf,
8336         vline_wrapper_message_with_location):  New functions. Implement
8337         automatic line wrapping.
8338         (v_message_with_decl): Make it handle automatic line wrapping.
8339         (v_error_with_file_and_line): Likewise.
8340         (v_warning_with_file_and_line): Likewise.
8341         (announce_function): Likewise.
8342         (default_print_error_function): Likewise.
8343
8344 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
8345
8346         * cpplib.h (struct cpp_options): Change lang_asm to char.
8347         Add lang_fortran.
8348         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
8349         done in cpp_handle_option now.
8350         (initialize_builtins): Take out special case code used only by
8351         __STDC_VERSION__.
8352         (cpp_handle_option): Turn off trigraphs and trigraph warnings
8353         if -traditional.  Recognize -lang-fortran and set
8354         lang_fortran, also turn off cplusplus_comments.
8355         (print_help): Document -lang-fortran.
8356         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
8357         lang_asm. Ignore all directives other than `# 123 "file"' if
8358         CPP_PREPROCESSED.
8359         (cpp_get_token): If -traditional, don't recognize directives
8360         unless the # is in column 1.
8361         (parse_string): If lang_fortran or lang_asm, silently
8362         terminate strings ('' or "") at end of line.
8363         Remove unnecessary braces.
8364
8365 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8366             Richard Henderson  <rth@cygnus.com>
8367
8368         * resource.c (mark_referenced_resources): Mark a set strict_low_part
8369         as used.
8370         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
8371         strict_low_part when possible.
8372
8373 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8374
8375         * alias.c: PROTO -> PARAMS.
8376         * basic-block.h: Likewise.
8377         * bitmap.c: Likewise.
8378         * bitmap.h: Likewise.
8379         * builtins.c: Likewise.
8380         * c-aux-info.c: Likewise.
8381         * caller-save.c: Likewise.
8382         * calls.c: Likewise.
8383
8384 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8385
8386         * Makefile.in (toplev.o): Depend on regs.h.
8387
8388         * output.h (tdesc_section): Prototype.
8389
8390         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
8391
8392         * sdbout.c: Include "tm_p.h".
8393
8394         * toplev.c: Include "regs.h".
8395
8396 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
8397
8398         * unroll.c (unroll_loop): Add EH support.
8399
8400 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8401
8402         * pa-protos.h: New file.
8403
8404         * pa.c: Include recog.h and tm_p.h.
8405         (compute_zdepwi_operands, compute_movstrsi_length,
8406         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
8407         find_addr_reg, import_milli): Add static prototypes.
8408         (pa_cpu_string, pa_arch_string): Constify a char*.
8409         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
8410         (read_only_operand): Add argument `mode'.
8411         (singlemove_string, output_move_double, output_fp_move_double,
8412         output_block_move, output_and, output_ior, output_ascii,
8413         remove_useless_addtr_insns, milli_names, output_mul_insn,
8414         output_div_insn, output_mod_insn, output_arg_descriptor,
8415         output_cbranch, output_bb, output_bvb, output_dbra, ,
8416         output_millicode_call, output_call, hppa_encode_label,
8417         output_parallel_movb, output_parallel_addb): Constify a char*.
8418         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
8419         (output_parallel_addb): Remove extra arg to `constrain_operands'
8420
8421         * pa.h:  Move all prototypes to pa-protos.h.
8422         (pa_cpu_string, pa_arch_string): Constify a char*.
8423         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
8424
8425         * pa.md: Call `function_label_operand' with mode argument.
8426         Likewise for `read_only_operand'.
8427         Fix nesting of parens in call to `symbolic_operand'.
8428
8429 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8430
8431         * i860-protos.h: New file.
8432
8433         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
8434         time warnings.
8435
8436         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
8437
8438         * i860.md: Likewise.
8439
8440 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
8441
8442         * i386.md (movstrsi expander): Rewrite.
8443         (movstrsi_1 insn): Deleted.
8444         (strmovhi, strmovqi expander): New expanders.
8445         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
8446         * i386.c (x86_single_stringop): New global variable.
8447         * i386.h (x86_single_stringop): Declare.
8448         (TARGET_SINGLE_STRINGOP): New macro.
8449
8450 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
8451
8452         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
8453         integer vararg POSTINCREMENT before the destination of the jump
8454         for the hard fp case.
8455         (function_arg_pass_by_reference): Pass a copy of CUM to
8456         FUNCTION_ARG.
8457
8458         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
8459         for CONSTANT_ADDRESS_P above while loop for subreg.
8460
8461 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
8462
8463         * flow.c (propagate_block): When a prologue/epilogue insn
8464         is marked dead, unconditionally clear libcall_is_dead and
8465         insn_is_dead, and only dump rtl if warnings aren't being
8466         suppressed.
8467
8468 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
8469
8470         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
8471         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
8472         (FIXED_REGISTERS): Set dirflag as fixed.
8473         (CALL_USED_REGISTERS): Set dirflag as used.
8474         (REG_ALLOC_ORDER): Set dirflag as last one.
8475         (DIRFLAG_REG): New macro.
8476         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
8477         (HI_REGISTER_NAMES): Add dirflag.
8478         (DEBUF_PRINT_REG): Handle dirflag.
8479         * i386.md (type attribute): New cld and str types.
8480         (length_opcode attribute): Set cld and str to 1.
8481         (memory attribute): Set str to unknown - it is not clear from the
8482         patterns.
8483         (pent_np function unit): Prefixed string operations takes 12 cycles
8484         minimally; cld takes 2 cycles.
8485         (ppro_uops attribute): Str is "many" and cld is "few".
8486         (ppro_p0 unit): Handle cld here.
8487         (k6_alux unit): Handle cld and str types.
8488         (k6_load unit): It is ocupied by str opcodes.
8489         (k6_store unit): It is ocupied by str opcodes.
8490         (athlon_decode): Str is vector decoded.
8491         (athlon_ieu): Handle str and cld.
8492         (cld pattern): New.
8493         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
8494         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
8495         cmpstrsi_nz_1 insn): Do not output cld instruction
8496
8497 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
8498
8499         * gcc.texi (G++ and GCC): Add Java and Chill.
8500         (Bug Critera): Don't list languages.
8501
8502         * gcc.texi (Incompatibilities): No longer claim most C compilers
8503         are K&R.
8504
8505         * gcc.texi (G++ and GCC): Update other front-ends list.
8506
8507 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
8508
8509         * i386.c (ix86_expand_setcc): Fix typo.
8510         (ix86_expand_movcc): Similarly.
8511
8512         * Band-aid until haifa's bitset implementation is nuked.
8513         * haifa-sched.c (extract_bitlst): New parameter for size of the
8514         bitset in bits.  All callers changed.  Avoid looking at undefined
8515         bits in the bitset.
8516         (edgeset_bitsize): New variable.
8517         (schedule_region): Initialize edgeset_bitsize.
8518
8519 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8520
8521         * Makefile.in (optabs.o): Depend on real.h
8522         (resource.o): Depend on insn-attr.h
8523
8524         * builtins.c (result_vector): Wrap prototype in macro conditions
8525         governing definition and use.
8526
8527         * c-common.c: Include tm_p.h.
8528
8529         * c-lex.c: Likewise.
8530
8531         * elfos.h: Constify a char*.
8532
8533         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
8534         (get_attr_length, shorten_branches, profile_after_prologue): Mark
8535         parameter with ATTRIBUTE_UNUSED.
8536
8537         * fold-const.c (exact_real_inverse): Wrap variable `i' in
8538         CHECK_FLOAT_VALUE.
8539
8540         * haifa-sched.c (schedule_insns): Mark parameter with
8541         ATTRIBUTE_UNUSED.
8542
8543         * optabs.c: Include real.h.
8544
8545         * real.h (ereal_atof): Add prototype arguments.
8546
8547         * resource.c: Include insn-attr.h.
8548
8549         * sdbout.c (sdbout_queue_anonymous_type,
8550         sdbout_dequeue_anonymous_types): Wrap in macro
8551         SDB_ALLOW_FORWARD_REFERENCES.
8552         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
8553         ATTRIBUTE_UNUSED.
8554
8555         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
8556
8557         * stupid.c: Include tm_p.h.
8558
8559         * tree.c (real_value_from_int_cst): Mark parameter with
8560         ATTRIBUTE_UNUSED.
8561
8562 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8563
8564         * i960-protos.h: New file.
8565
8566         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
8567         time warnings.
8568
8569         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
8570
8571 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8572
8573         * combine.c (expand_field_assignment): Do not discard SUBREGs
8574         while computing nonzero_bits.
8575
8576 2000-01-09  Nick Clifton  <nickc@cygnus.com>
8577
8578         * config/arm/arm.c: Fix compile time warnings about signed vs
8579         unsigned constants.
8580         * config/arm/arm.h: Fix compile time warnings about signed vs
8581         unsigned constants.
8582
8583 2000-01-09  Philip Blundell  <philb@gnu.org>
8584
8585         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
8586         than `ldm' with only one register.
8587         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
8588         only one register.
8589
8590         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
8591         clobbered.
8592
8593 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
8594
8595         * config/ns32k/ns32k.md (load or push effective address): Operand 1
8596         must have SImode.
8597
8598 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8599
8600         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
8601         assignment used as truth value.
8602
8603         * function.c (assign_temp): Mark parameter `dont_promote' with
8604         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
8605         PROMOTE_FOR_CALL_ONLY.
8606
8607         * genrecog.c (write_subroutine): Mark variable `operands' with
8608         ATTRIBUTE_UNUSED.
8609
8610         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
8611         ATTRIBUTE_UNUSED.
8612
8613         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
8614         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
8615
8616         * toplev.c (note_deferral_of_defined_inline_function): Likewise
8617         for `decl'.
8618
8619 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8620
8621         * config/c4x.h: Tidy up comments.
8622         * config/c4x.c: Likewise.
8623
8624 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
8625
8626         * fold-const.c (lshift_double, rshift_double): Handle
8627         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
8628
8629 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8630
8631         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
8632         in prepare_function_start().
8633
8634 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
8635
8636         * config/v850/v850.c (expand_epilogue): Interrupt functions no
8637         longer allocate extra stack for function calls.
8638
8639 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8640
8641         * config/c4x/c4x.md (*subqf3_set): Fix typo.
8642
8643 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8644
8645         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
8646
8647 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
8648
8649         * rs6000.c (processor_target_table): Add power3 as alias for 630.
8650         * aix43.h: Revert Aug 2 change.
8651         (HAS_INIT_SECTION): Define, not visible yet.
8652         (LD_INIT_SWITCH): Define, not visible yet.
8653         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
8654
8655         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
8656
8657         * collect2.c (main): Expand ld2 size further.
8658         (export_object_lst): Cast assignment to avoid warning.
8659         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
8660         (scan_prog_file, COFF): Do not collect initialization or
8661         finalization functions generated for entire shared object if
8662         init/fini support present.
8663
8664 2000-01-07  Nick Clifton  <nickc@cygnus.com>
8665
8666         * config/elfos.h: Tidy up formatting of marcos.  Make sure
8667         that .section directives are always prefixed by a tab.
8668
8669         * config/svr4.h: Add #include "elfos.h" and remove duplicate
8670         definitions.
8671
8672 2000-01-07  Matt Austern  <austern@sgi.com>
8673
8674         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
8675         expon.
8676
8677 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
8678
8679         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
8680         crtstuff.c.
8681         (crtbegin.o, s-crtS): Likewise.
8682
8683 2000-01-06  Richard Henderson  <rth@cygnus.com>
8684
8685         * alpha.md (adddi_2+1): Limit offset such that it will be
8686         loadable with a single ldah+lda pair.
8687         (adddi_2+2): Explicitly fail split if we can't make it work.
8688
8689 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
8690
8691         * protoize.c: Conditionally include unistd.h.
8692         (IS_SAME_PATH_CHAR): New macro.
8693         (IS_SAME_PATH): New macro.
8694         (CPLUS_FILE_SUFFIX): New macro.
8695         (cplus_suffix): New static variable.
8696         (is_abspath): New static function.
8697         (in_system_include_dir): Handle DOS style pathnames.
8698         (file_could_be_converted): Likewise.
8699         (file_normally_convertible): Likewise.
8700         (directory_specified_p): Likewise.
8701         (file_excluded_p): Likewise.
8702         (abspath): Likewise.
8703         (shortpath): Likewise.
8704         (referenced_file_is_newer): Likewise.
8705         (save_def_or_dec): Likewise.
8706         (do_processing): Likewise.
8707         (main): Likewise.
8708         (edit_file): Likewise. Use rename instead of link.
8709         (rename_c_file): Likewise. Don't rename syscalls file.
8710         (munge_compile_params): Define null device for DOS based systems.
8711         (process_aux_info_file): Use binary mode if appliable.
8712         (edit_file): Likewise.
8713         * invoke.texi (Running Protoize): Document C++ suffixes used.
8714
8715         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
8716         IS_DIR_SEPARATOR macros.
8717         * collect2.c: Likewise.
8718         * cppinit.c: Likewise.
8719         * dwarf2out.c: Likewise.
8720         * gcc.c: Likewise.
8721         * gcov.c: Likewise.
8722         * prefix.c: Likewise.
8723         * rtl.c: Likewise.
8724         * toplev.c: Likewise.
8725         * system.h: And move to here.
8726
8727         * prefix.c (update_path): Fix typo in variable name.
8728
8729 2000-01-06  Richard Henderson  <rth@cygnus.com>
8730
8731         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
8732         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
8733         (count_reg_sets_1, count_reg_references): Likewise.
8734         (flow_loops_level_compute): Start counting actual loop depth at 1.
8735         (flow_loops_find): Likewise.
8736         * local-alloc.c (update_equiv_regs): Likewise.
8737         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
8738
8739 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
8740
8741         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
8742         FIRST_PSEUDO_REGISTER
8743         * dwarf2out.c: Don't include frame.h
8744         * dwarfout.c: Likewise
8745         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
8746         frame.h
8747
8748 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
8749
8750         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8751         dead registers.
8752
8753         * i386.c (movsf splitter): Fix typo in my last checkin.
8754
8755 2000-01-05  Nick Clifton  <nickc@cygnus.com>
8756
8757         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
8758         own definition of this macro.
8759         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
8760         flag_data_sections or UNIQUE_SECTION_P are true.
8761
8762         * tm.texi (UNIQUE_SECTION): Document that it can be called for
8763         unitialised data decls.
8764
8765         * config/i386/winnt.c (i386_pe_unique_section): Cope with
8766         being called for uninitialised data.
8767
8768         * config/i386/interix.c (i386_pe_unique_section): Cope with
8769         being called for uninitialised data.
8770
8771         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
8772         for uninitialised data.
8773
8774         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
8775         for uninitialised data.
8776
8777         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
8778         for uninitialised data.
8779
8780         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
8781         (UNIQUE_SECTION_P): Always generate a unique section if
8782         flag_data_sections is true.
8783         (UNIQUE_SECTION): Also generate unique sections for
8784         uninitialised data.
8785         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
8786         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
8787         named_section().
8788
8789 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8790
8791         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
8792         SI, or DI.
8793
8794 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8795
8796         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
8797         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
8798         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
8799         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
8800         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
8801
8802         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
8803
8804 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
8805
8806         * c-decl.c (finish_enum): Simplify code to determine minimum and
8807         maximum values of the enum, and calculate the type.  Remove check
8808         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
8809         the DECL_INITIAL of each enumeration constant with a copy converted
8810         to the enumeration type.  When updating variant types, don't bother
8811         updating the type itself.
8812
8813         * c-typeck.c (build_binary_op): Simplify conditional expressions
8814         when weeding out spurious signed-unsigned warnings.  Add new
8815         spurious warning category: if the unsigned quantity is an enum
8816         and its maximum value fits in signed_type(result_type).  Update
8817         commentary.
8818         (build_conditional_expr): Warn here if one alternative is signed
8819         and the other is unsigned.
8820
8821 2000-01-05  Nick Clifton  <nickc@cygnus.com>
8822
8823         * config/fr30/fr30.h: Remove extraneous comments.
8824
8825 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
8826
8827         * reload1.c (choose_reload_regs): When disabling a reload, also
8828         set reload_spill_index to -1.
8829
8830 2000-01-04  Joel Sherrill (joel@OARcorp.com>
8831
8832         * configure.in (m68*-*-rtemscoff*): New target, formal name for
8833         old m68*-*-rtems*.
8834         (m68*-*-rtemself*): New target.
8835         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
8836         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
8837         (sparc*-*-rtemself*): New target.
8838         (sparc*-*-rtems*): Now elf not a.out.
8839         * config/i386/rtems.h: Include config/rtems.h.
8840         * config/i386/rtemself.h: Include config/rtems.h.
8841         * config/i960/rtems.h: Include config/rtems.h.
8842         * config/m68k/rtems.h: Include config/rtems.h.
8843         * config/m68k/rtemself.h: Include config/rtems.h.
8844         * config/mips/rtems64.h: Include config/rtems.h.
8845         * config/pa/rtems.h: Include config/rtems.h.
8846         * config/rs6000/rtems.h: Include config/rtems.h.
8847         * config/sh/rtems.h: Include config/rtems.h.
8848         * config/sh/rtemself.h: Include config/rtems.h.
8849         * config/sparc/rtems.h: Include config/rtems.h.
8850         * config/sparc/rtemself.h: Include config/rtems.h
8851
8852 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
8853
8854         * final.c (shorten_branches): Correctly compute length of
8855         asms without operands.
8856
8857 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
8858
8859         * configure.in: Add pj target.
8860         * configure: Regenerate.
8861         * config/pj: New directory.
8862         * config/pj/lib1funcs.S: New file.
8863         * config/pj/linux.h: New file.
8864         * config/pj/pj.c: New file.
8865         * config/pj/pj.md: New file.
8866         * config/pj/pjl.h: New file.
8867         * config/pj/t-pj: New file.
8868         * config/pj/xm-pj.h: New file
8869
8870 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
8871
8872         * toplev.c (rest_of_compilation): Run shorten-branches before
8873         reg-stack for now.
8874
8875 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8876
8877         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
8878         macros so that they're consistent with their names.
8879         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8880         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8881
8882 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8883
8884         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
8885         modified inadvertently.
8886
8887 2000-01-04  Joel Sherrill <joel@OARcorp.com>
8888
8889         * configure.in (v850*-*-rtems*): New target.
8890         * configure: Regenerate.
8891         * config/v850/rtems.h: New file.
8892
8893 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
8894
8895         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
8896         (__gthread_key_create): Likewise.
8897         (__gthread_key_dtor):  Likewise.
8898         (__gthread_once): Fix logic.
8899         (__gthread_key_delete): Cast away constness.
8900
8901         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
8902         * invoke.texi: Document.
8903         * i386/mingw32.h (CPP_SPEC): Use.
8904         (LIBGCC_SPEC): Likewise.
8905         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
8906
8907 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
8908
8909         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
8910         (HANDLE_PRAGMA_PACK): Undefine.
8911         (SLOW_UNALIGNED_ACCESS): Define.
8912
8913 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
8914
8915         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8916         to default definition.
8917         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
8918         (store_fixed_bit_field): Call macro with word_mode and alignment.
8919         (extract_bit_field): Call macro with relevant mode and alignment.
8920         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8921         to default definition.
8922         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
8923         and alignment.
8924         (move_by_pieces_ninsns): Likewise.
8925         (clear_by_pieces): Likewise.
8926         (emit_push_insn): Likewise.
8927         (store_field): Call macro with relevant mode and alignment.
8928         (expand_expr): Likewise.
8929         (expand_expr_unaligned): Likewise.
8930
8931         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
8932         (SLOW_UNALIGNED_ACCESS): Define.
8933         (CASE_VECTOR_MODE): Always use 32-bit offsets.
8934         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
8935         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
8936         (toc_section): Likewise and .toc pseudo-op.
8937         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
8938         64-bit mode.
8939         (TEXT_SECTION_ASM_OP): Likewise.
8940         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
8941         32-bit offsets.
8942
8943         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
8944         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
8945         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
8946         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
8947         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
8948
8949 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
8950
8951         * regclass.c: Revert my Jan 4 change to loop cost computation.
8952
8953 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8954
8955         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
8956         compilation.
8957
8958 2000-01-04  Stan Cox  <scox@cygnus.com>
8959
8960         * haifa-sched.c (build_control_flow): Change unreachable simple
8961         loop test to check if current block has only one predecessor.
8962         (find_rgns): Initialize degree.  Use dest as degree index, not src.
8963
8964 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8965
8966         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
8967
8968         * calls.c (expand_call): Likewise for
8969         `old_stack_arg_under_construction'.
8970
8971         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
8972
8973         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
8974         `save_constant'.
8975
8976         * gcc.c (execute): Likewise for `ut' and `st'.
8977
8978         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
8979
8980         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
8981
8982         * jump.c (jump_optimize_1): Likewise for `temp2'.
8983
8984         * local-alloc.c (block_alloc): Likewise for `r1'.
8985
8986         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
8987
8988         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
8989         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
8990
8991         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
8992         and `set2'.
8993
8994         * reload.c (find_reloads): Likewise for `goal_alternative_number'
8995         and `goal_earlyclobber'.
8996
8997         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
8998
8999         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
9000
9001         * stupid.c (stupid_life_analysis): Likewise for `chain'.
9002
9003         * unroll.c (copy_loop_body): Likewise for `copy'.
9004
9005         * varasm.c (output_constructor): Likewise for `byte'.
9006
9007 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
9008
9009         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
9010         all FP constants for constant->reg moves.
9011         (ix86_split_to_parts): Try to convert memory address into immediate
9012         when available in the constant pool.
9013         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
9014         moves.
9015         (LEGITIMATE_CONSTANT_P): Return 1.
9016         * i386.md (pushsf): New splitter to convert constant pool memory
9017         reference to immediate.
9018         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
9019         reload.
9020
9021 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
9022
9023         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
9024         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
9025         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
9026         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
9027         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
9028
9029 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
9030
9031         * ginclude/stdbool.h:  Support compilation as C++.
9032
9033 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9034
9035         * fold-const.c (make_range): Don't try to reverse an unbounded range.
9036
9037 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
9038
9039         * regclass.c (regclass): Properly compute loop_cost.  Adjust
9040         comments.
9041
9042         * regclass.c: Fix minor whitespace problems.
9043
9044 2000-01-03  Anthony Green  <green@cygnus.com>
9045
9046         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
9047         Restore the pic register if required.
9048
9049 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
9050
9051         * c-common.c (format_char_info): Update comment.
9052         (check_format_info): Recognize 'z' modifier in the same way 'Z'
9053         was recognized.  Emit warning for formats new in ISO C99 only
9054         if flag_isoc9x is not set.
9055
9056 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
9057
9058         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
9059
9060 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
9061
9062         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
9063         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
9064         (make_compound_operation): Choose cheaper alternative between
9065         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
9066
9067         * regclass.c (op_costs): Remove global variable.
9068         (record_reg_classes): New parameter "op_costs" and "reg_pref".
9069         (record_operand_costs): Break out from ...
9070         (scan_one_insn): ... here.
9071         (dump_regclass): Make dumps nicer.
9072         (regclass): Dump preferrences choosed and changes done during passes.
9073
9074 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
9075
9076         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
9077
9078 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
9079
9080         * config/sparc/sparc.c (gen_df_reg): New function.
9081         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
9082         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
9083         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
9084         movtf_cc_reg_sp64+1): Use it.
9085
9086 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
9087
9088         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
9089         copied LABEL_DECLs.
9090
9091 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9092
9093         * config/i386/i386.c (ix86_expand_unary_operator): Function
9094         definition made void.
9095         (ix86_expand_binary_operator): Update outdated preceding comment.
9096         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
9097         prototype.
9098
9099         * config/i386/i386.c (override_options): Fix option-name typo.
9100
9101 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
9102
9103         * system.h (CEIL): Define.
9104         * builtins.c (CEIL): Remove.
9105         * expmed.c (CEIL): Likewise.
9106         * expr.c (CEIL): Likewise.
9107         * stor-layout.c (CEIL): Likewise.
9108
9109 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9110
9111         * expr.c (store_constructor_field): Fix typo introduced with last
9112         gcc2 merge.
9113
9114 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
9115
9116         * tree.h (BINFO_N_BASETYPES): New macro.
9117
9118 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
9119
9120         * expmed.c (emit_store_flag): Prevent losing a pending stack
9121         adjust the same way we prevent losing queued increments.
9122
9123 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9124
9125         * function.c (update_temp_slot_address): Handle case where sum of
9126         temporary address plus offset in register is a valid address.
9127
9128 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
9129
9130         * genrecog.c (change_state) Corrected typo.
9131
9132 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9133
9134         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
9135         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
9136         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
9137
9138 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
9139
9140         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
9141         case, expand GT comparisons correctly.  Fix a comment before this
9142         part of the code.
9143
9144 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
9145
9146         * dwarfout.c: Include "frame.h"
9147         * dwarf2out.c: Likewise.
9148         * Makefile.in (dwarfout.o): Depend on frame.h
9149         (dwarf2out.o): Likewise.
9150
9151 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
9152
9153         Restore i386 binary compatibility in Dwarf EH info.
9154         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
9155         value of FIRST_PSEUDO_REGISTER.
9156         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
9157         (struct frame_state): Use DWARF_FRAME_REGISTERS.
9158         * dwarfout.c (output_reg_number): Ditto.
9159         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
9160         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
9161
9162 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
9163
9164         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
9165         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
9166         (<hack>_RE_CT): not needed
9167         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
9168         rewritten to scan the file text once only
9169         "template<..." test added
9170         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
9171         (is_cxx_header): declaration added
9172         * fixinc/fixtests.c(is_cxx_header): removed
9173         (apply_fix_p_t): removed
9174         (double_slash_test): is_cxx_header is only called once now
9175         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
9176         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
9177         within the templates.
9178         The borken spelling of "broken" was fixed.
9179         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
9180         The default level depends on FIXINC_DEBUG.
9181
9182 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9183
9184         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
9185         Otherwise provide a declaration for atexit.
9186         (init_dummy): Make sure dummy call to atexit is nevertheless
9187         called with correct number of args.
9188
9189         * frame.c: Update comments referring to other files.
9190
9191         * libgcc2.c: Likewise.
9192
9193 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9194
9195         * cse.c (free_element, get_element): Remove unused prototypes.
9196
9197         * fold-const.c (extract_muldiv): Initialize variables `op0' and
9198         `op1'.
9199
9200         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
9201         `else' clauses.
9202
9203 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
9204
9205         * configure.in,configure: case arm for mn10200-*-* now sets
9206         float_format=i32 so that float.h will correctly claim "double"
9207         to be 32 bits. Ran autoconf to generate configure from .in file.
9208
9209 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
9210
9211         * pa.md (conditional zero): If op1 is a register, force it into
9212         the same register as op0.
9213
9214 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
9215
9216         * tree.h (BINFO_BASETYPES): Improve documentation.
9217
9218 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9219
9220         * configure.in (--enable-checking): Use a more portable `for'
9221         loop syntax.
9222
9223 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9224
9225         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
9226         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
9227
9228         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
9229         Delete files.
9230
9231         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
9232         Delete descriptions.
9233
9234         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
9235         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
9236         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
9237         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
9238         xm-svr4.h: Remove all instances of sys_siglist handling.
9239
9240 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
9241
9242         * config/sparc/sparc.md (cmp_zero_qi,
9243         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
9244         cmp_zero_extendqidi2_andcc_set): New patterns.
9245
9246 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
9247
9248         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
9249         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
9250         (fpgnulib.c, xfgnulib.c): Add rules.
9251         * m68k/t-mot3300-gas: Likewise.
9252
9253 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
9254
9255         * configure.in: Avoid [[ by using test and changequote.  Add
9256         changequote required by 1999-12-14 change.
9257         * configure: Rebuild.
9258
9259 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
9260
9261         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
9262
9263 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
9264
9265         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
9266         * flow.c (find_use_as_address): Likewise.
9267         * function.c (fixup_var_refs_1): Likewise.
9268         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
9269         * jump.c (invert_exp, redirect_exp): Likewise.
9270         * loop.c (replace_call_address): Likewise.
9271         (count_nonfixed_reads): Likewise.
9272         * rtlanal.c (modified_between_p): Likewise.
9273         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
9274         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
9275         * unroll.c (remap_split_bivs): Likewise.
9276
9277 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9278
9279         * diagnostic.c (v_message_with_decl): Use .* format specifier
9280         instead of building the format specifier width manually.
9281
9282         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
9283         determining whether to provide a prototype.  Remove the
9284         sys_siglist clause in the conditional.
9285
9286 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9287
9288         * fold-const.c (operand_equal_p): Use memcmp to compare string
9289         constants.
9290         Suggested by D. J. Bernstein
9291
9292 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
9293
9294         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
9295         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
9296         compiling libgcc2.
9297         * config/mips/mips.h (TARGET_64BIT): Likewise.
9298         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
9299         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
9300         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
9301         dsps.  Give routines proper names if SI/DI modes are not used.
9302         * longlong.h: Use DWunion instead of DIunion.
9303
9304 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
9305
9306         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
9307         GC_CHECKING, GC_ALWAYS_COLLECT.
9308         * configure.in: Allow --enable-checking with an argument
9309         listing check modes to enable.
9310         * config.in, configure: Rebuilt.
9311         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
9312         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
9313         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
9314         ENABLE_GC_ALWAYS_COLLECT.
9315         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
9316         throughout.
9317         * tree.h, tree.c: Change ENABLE_CHECKING to
9318         ENABLE_TREE_CHECKING throughout.
9319
9320 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9321
9322         * fold-const.c (fold_truthop): Properly check for FP RHS.
9323
9324 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
9325
9326         * toplev.h (note_deferall_of_defined_inline_function): Declare.
9327         * toplev.c (note_deferral_of_defined_inline_function): New
9328         function, split out from ...
9329         (rest_of_compilation): ... here.  Use it.
9330
9331 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9332
9333         * expr.c (store_constructor): Don't call clear_storage if size is
9334         variable.
9335
9336 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9337
9338         * Makefile.in (toplev.o): Depend on loop.h.
9339
9340         * dwarfout.c: Include tm_p.h.
9341
9342         * emit-rtl.c (restore_emit_status): Mark parameter with
9343         ATTRIBUTE_UNUSED.
9344
9345         * final.c (final_scan_insn): Likewise.
9346
9347         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
9348         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
9349         flow_depth_first_order_compute, flow_loop_pre_header_find,
9350         flow_loop_tree_node_add, flow_loops_tree_build,
9351         flow_loop_level_compute, flow_loops_level_compute,
9352         flow_loop_outside_edge_p): Add prototypes.
9353         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
9354
9355         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
9356         Mark with ATTRIBUTE_NORETURN.
9357
9358         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
9359
9360         * local-alloc.c (no_conflict_p): Likewise.
9361
9362         * loop.c (insert_bct): Hide definitions of variables with hidden
9363         usage.
9364         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
9365
9366         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
9367         with ATTRIBUTE_UNUSED.
9368         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
9369         (reg_scan): Likewise.
9370
9371         * reload.c (find_reloads): Remove unused variables `changed'.
9372
9373         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
9374         away const-ness.
9375         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
9376         Remove unused variable `insn'.
9377
9378         * toplev.c: Include loop.h.
9379         (report_file_and_line): Remove unnecessary prototype.
9380
9381         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
9382
9383         * unroll.c (biv_total_increment): Likewise.
9384
9385 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9386
9387         * reload1.c (emit_input_reload_insns): Restore old behaviour
9388         wrt. 'special' reloads.
9389
9390 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
9391
9392         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
9393         hash.h.  (cse.c): Don't depend on hashtab.h.
9394
9395         * cse.c: Don't include hashtab.h.
9396         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
9397         of dead functions.
9398         * ggc-simple.c: Don't include hash.h.
9399
9400 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
9401
9402         * dwarf2out.c (add_abstract_origin_attribute): Call
9403         gen_abstract_function on our function context.
9404
9405 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
9406
9407         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
9408
9409 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9410
9411         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
9412         case in switch.
9413
9414 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9415
9416         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
9417         constraints to "a!r".
9418
9419 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
9420
9421         * Makefile.in (calls.o): Depend on function.h.
9422         (alias.o): Likewise.
9423
9424 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
9425
9426         * reload1.c (emit_reload_insns): Break out code and variables into...
9427         (input_reload_insns, other_input_address_reload_insns,
9428         other_input_reload_insns, input_address_reload_insns,
9429         inpaddr_address_reload_insns, output_reload_insns,
9430         output_address_reload_insns, outaddr_address_reload_insns,
9431         operand_reload_insns, other_operand_reload_insns,
9432         other_output_reload_insns): ... new static variables, and...
9433         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
9434         do_output_reload): ... new functions.
9435
9436 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9437
9438         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
9439
9440 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9441
9442         * md.texi: Add c4x constraints documentation.
9443
9444 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9445
9446         * config/i386/dgux.c (struct option): Rename to
9447         lang_independent_option.
9448         (struct m_options): Add description field.
9449         (output_options): Rename option type, add sep declaration, output
9450         ix86_cpu_string and ix86_arch_string only if set.
9451         (output_file_start): Rename option type.
9452
9453 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
9454
9455         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
9456         stmp-int-hdrs.
9457         (libgcc2.a): Similarly.
9458
9459 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
9460
9461         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
9462         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
9463         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
9464
9465 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
9466
9467         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
9468         Remove redundant initialization of "frexpon" and "expon".
9469
9470 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9471
9472         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
9473
9474         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
9475         (store_constructor_field, expand_expr): Pass new arg.
9476
9477 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
9478
9479         * Makefile.in (explow.o): Depend on function.h.
9480
9481         * stor-layout.c (set_sizetype): Fix typo.
9482
9483 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
9484
9485         * function.c (cfun): Renamed from current_function.  All users
9486         changed.
9487         * function.h (cfun): Rename declaration as well.
9488
9489         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
9490         to be of type regset_head, not regset.  All users changed by adding
9491         address operator.
9492         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
9493
9494 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9495
9496         * config/c4x/rtems.h: New file.
9497
9498 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
9499
9500         * reload1.c (spill_failure): Take class of failed reload as argument
9501         and print it.  Caller changed.
9502
9503 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9504
9505         * rs6000.h (SUBTARGET_DEFAULT): New macro.
9506         (TARGET_SWITCHES): Allow subtargets to default switches.
9507         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
9508
9509 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
9510
9511         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
9512         in a main program.
9513
9514 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
9515
9516         * cccp.c (main): Define __STDC_VERSION__ as necessary.
9517         * cppinit.c (cpp_handle_option): Likewise.
9518
9519         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
9520         determine when to define.
9521
9522 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
9523
9524         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
9525         cmove with mismatched test and data modes.
9526
9527 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
9528
9529         * c-typeck.c (c_expand_start_case): Don't warn for long switch
9530         in system headers.
9531
9532 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9533
9534         * alias.c: Minor reformatting.
9535         * flow.c: Likewise.
9536         * regs.h: Likewise.
9537         * stor-layout.c: Likewise.
9538         * fold-const.c: Likewise.
9539         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
9540         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
9541         not arg itself.
9542         (size_int_wide): Cache nodes even if garbage collecting.
9543         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
9544         of SAVE_EXPR has no side effects.
9545         * cse.c: Move a comment.
9546         * tree.c: Minor reformatting.
9547         (int_size_in_bytes): Return -1 if constant overflows.
9548
9549 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9550
9551         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
9552
9553 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
9554
9555         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
9556         after any change to c-parse.in, even if objc-parse.y didn't
9557         change.  Oops.
9558
9559 1999-12-18  David S. Miller  <davem@redhat.com>
9560
9561         * toplev.c (rest_of_compilation): Restore BLOCK tree
9562         reconstruction and branch shortening changes lost in
9563         December 18th change.
9564
9565 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
9566
9567         * config/arm/linux-elf.h: Change all instances of
9568         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
9569         * config/arm/uclinux-elf.h: Likewise.
9570
9571 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
9572
9573         * toplev.c (notice, vmessage, v_message_with_file_and_line,
9574         v_message_with_decl, file_and_line_for_asm,
9575         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
9576         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
9577         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
9578         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
9579         pfatal_with_name, fatal_io_error, need_error_newline,
9580         last_error_function, last_error_tick, announce_function,
9581         default_print_error_function, print_error_function,
9582         report_error_function, fnotice, error_with_file_and_line,
9583         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
9584         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
9585         warning_with_decl, warning_for_asm, warning, pedwarn,
9586         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
9587         diagnostic.c
9588         (compile_file): Use fnotice instead of notice.  Adjust call.
9589
9590         * diagnostic.c: New file.
9591
9592         * Makefile.in (OBJS): Include diagnostic.o
9593         (diagnostic.o): Define dependence.
9594
9595 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9596
9597         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
9598         Tweak formatting.
9599
9600 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9601
9602         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
9603
9604 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
9605
9606         * fixtests.c (is_cxx_header): New fn, split out of
9607         double_slash_test.
9608         (else_endif_label): Allow "#endif // comment" in C++ headers,
9609         as determined by is_cxx_header.
9610         * fixfixes.c (else_endif_label_fix): Update comment.
9611         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
9612         a tty.
9613         * genfixes: Correct double thinko in commandline parsing.
9614         * hackshell.tpl: Generate correct sh syntax for bypass
9615         entries.
9616
9617         * inclhack.def (all): Whenever an inserted preprocessor
9618         conditional is split over multiple lines, use double
9619         backslashes in this file so the fixed header will be readable.
9620
9621         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
9622         and add bypass entry for correct version of this header.
9623         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
9624         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
9625
9626         (hpux8_bogus_inlines): New fix, split from...
9627         (ultrix_atof_param) ... here.
9628         (math_expression): Add bypass entry keyed to glibc comment
9629         indicating the problem has been dealt with; disable
9630         unnecessary sed operations; update commentary.
9631         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
9632         add select and bypass entries, simplify shell operation.
9633         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
9634
9635         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
9636          ultrix_atof_param): Add select entry.
9637         (stdio_va_list, sunos_mather_decl): Add bypass entry.
9638         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
9639         comments with the fixes they describe.
9640
9641         * c-parse.in (string action): Do not warn about ANSI string
9642         concatenation in system headers.  Affects C parser only.
9643         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
9644
9645 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
9646
9647         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
9648         compiling libgcc2 the macro depends always on arch cpp defines.
9649
9650 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
9651
9652         * loop.c (insert_loop_mem): Don't record MEMs from inside
9653         EXPR_LISTs.
9654
9655 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
9656
9657         * regclass.c (regclass): Do not use flowgraph when not optimizing.
9658
9659         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
9660         notes too, create one when replacement failed, attempt to simplify
9661         resulting notes.
9662         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
9663         or REG_EQUIV notes.
9664
9665 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
9666
9667         * crtstuff.c (__dso_handle): Declare.
9668         (__cxa_finalize): Likewise.
9669         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
9670         non-NULL.
9671
9672         * invoke.texi: Document -fuse-cxa-atexit.
9673
9674         * tree.h (ptr_type_node): Document.
9675         (const_ptr_type_node): Likewise.
9676
9677 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9678
9679         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
9680         (optimize_reg_copy_2): Likewise.
9681         (optimize_reg_copy_3): Likewise.
9682         (fixup_match_2): Likewise.
9683         (regmove_optimize): Likewise.
9684         (fixup_match_1): Liekwise.
9685
9686         * i386.md (HI to SImode promoting splitters): Rewrite.
9687         (pushsf mem peep2): New.
9688         (testhi to andhi peep2): Remove.
9689         * i386.h (x86_promote_QImode): New.
9690         (TARGET_PROMOTE_QImode): New.
9691         (PREDICATE_CODES): Add promotable_binary_operator.
9692         * i386.c (x86_promote_QImode0: New.
9693         (promotable_binary_operator): New.
9694         * i386-protos.h (promotable_binary_operator): New.
9695
9696         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
9697         condition.
9698         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
9699
9700 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
9701
9702         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
9703         * function.c (insert_block_after_note): Remove.
9704         (retrofit_block): Likewise.
9705         (identify_blocks): Fix indentation.
9706         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
9707         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
9708         * function.h (insert_block_after_note): Remove prototype.
9709         (retrofit_block): Likewise.
9710         * integrate.c (expand_inline_function): Don't call
9711         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
9712         just expand_start_bindings.  Use the block_map to remap old
9713         NOTE_BLOCKs to new ones.
9714         (integrate_decl_tree): Keep track of remapped blocks.
9715         * integrate.h (struct inline_remap): Add block_map.
9716         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
9717         NOTE_BLOCK on the notes.
9718         (expand_start_bindings): Rename to ...
9719         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
9720         (expand_end_bindings): Set NOTE_BLOCK.
9721         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
9722         reconstruct the BLOCK tree.
9723         * tree.h (expand_start_bindings): Macroize.  Call ...
9724         (expand_start_bindings_and_block): New function.
9725
9726 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
9727
9728         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
9729         to match the format.
9730
9731 1999-12-16  David S. Miller  <davem@redhat.com>
9732
9733         * expr.c (emit_move_insn_1): Only emit clobbers if one of
9734         the outputs is a SUBREG.
9735         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
9736         change.
9737
9738         * config/sparc/sparc.c (epilogue_renumber): Add default case
9739         to switch stmt.
9740
9741 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9742
9743         * toplev.c (rest_of_compilation): Run branch shortening after
9744         reg-stack.
9745
9746         * regclass.c (loop_depth): Remove
9747         (scan_one_insn): Do not handle LOOP_NOTE insns.
9748         (regclass): Go through basic blocks and set loop_cost
9749
9750 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
9751
9752         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
9753
9754 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9755
9756         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
9757         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
9758         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
9759
9760 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
9761
9762         * loop.c (insert_loop_mem): Ignore memory clobbers.
9763
9764         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
9765         to (OP A B).
9766
9767 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
9768
9769         * profile.c: Remove redundant #include "output.h".
9770
9771         * h8300.md (HImode preinc peephole): Fix typo.
9772
9773 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9774
9775         * function.c (retrofit_block): Abort if we don't find a suitable insn.
9776         (insert_block_after_note): Abort if we don't have a previous block.
9777         Remove FN parameter.
9778         * function.h: Adjust.
9779
9780 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
9781
9782         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
9783         argument more than once.
9784
9785 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9786
9787         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
9788
9789 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
9790
9791         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
9792
9793 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9794
9795         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
9796         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
9797         update stack_alignment_needed.
9798         (prepare_function_start): Initialize stack_alignment_needed
9799         * function.h (struct function): Add field stack_alignment_needed.
9800
9801 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9802
9803         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
9804         Handle live_throughout / dead_or_set instead of live_before /
9805         live_after.
9806         (save_call_clobbered_regs): Get register livenessinformation from
9807         chain->live_throughout.
9808         (add_stored_regs): New function.
9809         (insert_restore, insert_save): Add restored / saved registers to
9810         dead_or_set.
9811         * global.c (reg_dies): New parameter chain.
9812         (reg_becomes_live): Third parameter is regs_set now.
9813         Changed all callers.
9814         (reg_dies): New parameter chain.  Changed all callers.
9815         (build_insn_chain): Set live_throughout instead of
9816         live_before / live_after.
9817         * reload.h (struct insn_chain): Replace members live_before /
9818         live_after with live_throughout / dead_or_set.
9819         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
9820         instead of live_before / live_after.
9821         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
9822         (order_regs_for_reload, find_reg, finish_spills): Likewise.
9823         (choose_reload_regs_init): Likewise.
9824         * stupid.c (current_chain, find_clobbered_regs): Delete.
9825         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
9826         instead of chain->live_before / chain->live_after.
9827         (mark_hard_ref): New function.
9828         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
9829
9830 1999-12-15  David S. Miller  <davem@redhat.com>
9831
9832         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
9833
9834 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9835
9836         * flow.c (calculate_loop_depth): Make global, remove prototype,
9837         rewrite to use new loop infrastructure.
9838         (find_basic_block): Remove calculate_loop_depth call.
9839         * toplev.c (rest_of_compilation): Call find_basic_block.
9840         * output.h (calculate_loop_depth): Declare.
9841
9842         * flow.c (dump_flow_info): Dump loop_depth.
9843         (flow_loops_nodes_find): Increase loop_depth for basic block in the
9844         body.
9845         (flow_loops_find): Initialize the loop_depth for each basic block.
9846
9847 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9848
9849         * tree.c (decl_function_context): Handle virtual functions.
9850
9851         * tlink.c (scan_linker_output): Don't look in demangled name when
9852         looking for linker output keywords.
9853
9854         * dwarfout.c (output_type): We can defer namespace-scope classes.
9855
9856 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
9857
9858         * regclass.c (record_reg_classes): Update comment for merging
9859         register class preferences in reg->reg copies.  Tighten conditions
9860         for merging register class preferences in reg->reg copies.
9861
9862 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
9863
9864         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
9865
9866 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
9867
9868         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
9869         (INIT_SECTION_ASM_OP): Delete.
9870         (FINI_SECTION_ASM_OP): Delete.
9871         (STARTFILE_SPEC): Define to hold just crtbegin.o.
9872
9873 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
9874
9875         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
9876         the abstract origin wasn't emitted.
9877
9878         * dwarf2out.c (class_scope_p): New fn.
9879         (gen_subprogram_die): Use it.
9880         (gen_variable_die): Use it.  Tweak logic.
9881         (gen_struct_or_union_type_die): Check context_die to determine
9882         if we're function-local.
9883         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
9884
9885 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9886
9887         * loop.c (check_dbra_loop): Can't reverse a biv that has
9888         maybe_multiple set.
9889
9890 1999-12-14  Nick Clifton  <nickc@cygnus.com>
9891
9892         * config/arm/arm.c: Add support for -mcpu=arm720 command line
9893         switch.
9894
9895 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9896
9897         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
9898         for givs made from biv increments.
9899
9900 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
9901
9902         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
9903         * alpha.c (override_options): Recognize -mcpu=ev67.
9904         * alpha.h (CPP_CPU_EV67_SPEC): New.
9905         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
9906         (EXTRA_SPECS): Update.
9907
9908 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
9909
9910         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
9911         appropriate for -lang-c89 and -std=*.
9912         * cppinit.c (cpp_handle_option): Likewise.
9913         (new_pending_define): New, split out from cpp_handle_option.
9914         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
9915         or enable trigraphs for -ansi/-std=*.
9916
9917         * ginclude/stdarg.h (__va_copy): New.
9918         (va_copy): Don't define for C89.
9919
9920 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
9921
9922         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
9923         for long long multiply-accumulate.
9924
9925 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9926
9927         * regclass.c (scan_one_insn): Set loop_cost to 1 when
9928         optimizing for size.
9929
9930 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9931
9932         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
9933         if something changed.  Back out that part of yesterday's changes.
9934
9935         * loop.c (loop_max_reg): New static variable.
9936         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
9937         max_reg_num.
9938         (scan_loop): Call reg_scan_update whenever we may have added new
9939         registers, and update loop_max_reg.
9940
9941 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9942
9943         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
9944         when source does not die.
9945
9946         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
9947
9948 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
9949
9950         * config/sparc/linux64.h (TARGET_LIVE_G0,
9951         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
9952         variants on Linux.
9953         * config/sparc/linux.h (TARGET_LIVE_G0,
9954         TARGET_BROKEN_SAVERESTORE): Likewise.
9955         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
9956         TARGET_BROKEN_SAVERESTORE): Likewise.
9957
9958         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
9959         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
9960         not %g2.
9961         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
9962         as sparc64 block profiling register.
9963         * config/sparc/sparc.c (sparc_override_options): Allow block
9964         profiling with -m32.
9965         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
9966         profiling register.
9967         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
9968         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
9969         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
9970
9971         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
9972         for sparc64.
9973         * config/sparc/sparc.h: Likewise.
9974         * config/sparc/xm-sysv4-64.h: Likewise.
9975         * config/float-sparc.h: Likewise.
9976         * glimits.h: Likewise.
9977         * longlong.h: Likewise.
9978
9979         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
9980         (ASM_IDENTIFY_GCC): Remove.
9981
9982 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9983
9984         * combine.c (combine_simplify_rtx): Don't make shared rtl.
9985         (simplify_logical): Likewise.
9986
9987 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
9988
9989         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
9990         * cppfiles.c (INO_T_EQ): Likewise.
9991
9992 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
9993
9994         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
9995         * i386/mingw32.h (LIB_SPEC): Likewise.
9996         (STARTFILE_SPEC): Likewise.
9997         * i386/uwin.h (LIB_SPEC): Likewise.
9998         (STARTFILE_SPEC): Likewise.
9999
10000         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
10001         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
10002
10003 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
10004
10005         * combine.c (combine_simplify_rtx): Fix order of checks for
10006         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
10007
10008 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
10009
10010         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
10011         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
10012
10013 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
10014
10015         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
10016         defined.
10017         * regclass.c (inv_reg_alloc_order): New array.
10018         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
10019
10020         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
10021         counted_for_groups, counted_for_nongroups.  Add fields rld and
10022         n_reloads.
10023         * reload.c (push_secondary_reload): Don't set nongroup field of
10024         new reloads.
10025         (push_reload): Likewise.
10026         (find_reloads): Delete code to compute nongroup fields.
10027         * reload1.c (reload_insn_firstobj): New static variable.
10028         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
10029         users changed.
10030         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
10031         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
10032         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
10033         functions.
10034         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
10035         functions.
10036         (struct hard_reg_n_uses): Deleted.
10037         (potential_reload_regs): Deleted.
10038         (init_reload): Initialize spilled_pseudos and pseudos_counted.
10039         (reload): Don't try to allocate reload registers if we already know
10040         we have to make another pass.  Call select_reload_regs.  Free memory
10041         starting with reload_firstobj when starting another pass.
10042         Don't allocate spilled_pseudos.
10043         (calculate_needs_all_insns): Call copy_reloads for an insn that
10044         needs reloads; don't call calculate_needs.
10045         (spill_cost): New static array.
10046         (used_spill_regs_local): New static variable.
10047         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
10048         to compute potential_reload_regs.
10049         (find_reload_regs): Completely rewritten to use find_reg.
10050         (allocate_reload_reg): Don't test counted_for_groups or
10051         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
10052         all cllers changed.
10053         (choose_reload_regs): Add fallback code that uses the existing
10054         register allocation from find_reload_regs.
10055
10056 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
10057
10058         * flow.c (create_edge_list): Cast xmalloc return value.
10059
10060 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
10061
10062         * doprnt.c: Remove incorrect comment closure.
10063
10064         * cse.c: Fix a few minor whitespace goofs.
10065
10066 1999-12-13  Don Bowman  <don@pixstream.com>
10067
10068         * mips/vxworks.h: Fix problem with comment termination.
10069         (EXTRA_SECTIONS): Add in_sbss.
10070         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
10071
10072 1999-12-12  David S. Miller  <davem@redhat.com>
10073
10074         * cse.c (struct cse_reg_info): Add hash_next member,
10075         reorder rest of struct for better packing on 64-bit
10076         hosts.
10077         (cse_reg_info_tree): Kill.
10078         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
10079         REGHASH_FN): New custom pow2 hash mechanism.
10080         (NBUCKETS): Kill.
10081         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
10082         use a pow2 hash table.
10083         (get_cse_reg_info): Rework to use new REGHASH.
10084         (new_basic_block): Likewise, use HASH_SIZE, and inline
10085         free_element call.
10086         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
10087         and inline free_element call.
10088         (lookup_as_function, insert, flush_hash_table, invalidate,
10089         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
10090         invalidate_for_call, use_related_value, find_comparison_args,
10091         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
10092         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
10093         get_element): Kill.
10094
10095 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
10096
10097         * cse.c (cse_basic_block): Free qty_table consistently.
10098
10099 1999-12-12  David S. Miller  <davem@redhat.com>
10100             Jakub Jelinek    <jakub@redhat.com>
10101
10102         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
10103         SUBREGs by hand, gen the appropriate hard reg directly.
10104         (movtf reg/mem split): Likewise and alter_subreg on destination
10105         if necessary.
10106         (movtf mem/reg split): Similarly.
10107         (movdf_cc_sp64): Rename from hidden pattern.
10108         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
10109         (movtf_cc_sp64, following split): New pattern and splitter.
10110         (movdf_cc_reg_sp64): Rename from hidden pattern.
10111         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
10112         TARGET_HARD_QUAD.
10113         (movtf_cc_reg_sp64, following split): New pattern and splitter.
10114
10115 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
10116
10117         * loop.c (load_mems): Don't hoist written floating point mem
10118         if -ffloat-store.
10119
10120 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
10121
10122         * except.h (struct eh_queue): Add `next' pointer.
10123         (struct eh_status): Make x_ehqueue a pointer.
10124         (push_ehqueue):  Declare.
10125         (pop_ehqueue): Likewise.
10126         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
10127         pointer.
10128         (expand_fixup_region_end): Likewise.
10129         (expand_leftover_cleanups): Likewise.
10130         (push_ehqueue): Define.
10131         (pop_ehqueue): Likewise.
10132         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
10133         than doing it inline.
10134         (expand_start_all_catch):  Adjust now that ehqueue is a
10135         pointer.
10136         (mark_eh_queue): Mark all level of the queue.
10137         (mark_eh_status):  Adjust now that ehqueue is a
10138         pointer.
10139         (init_eh_for_function): Allocate ehqueue.
10140         (free_eh_status): Free it.
10141         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
10142         expansion for a fixup.
10143
10144 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10145
10146         * gthr-single.h (__gthread_active_p): Add prototype arguments.
10147
10148         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
10149         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
10150         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
10151         function_ptr, getpagesize, __enable_execute_stack,
10152         __enable_execute_stack, __clear_insn_cache,
10153         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
10154         _cleanup, _exit, __default_terminate, __terminate_func,
10155         __terminate, __empty, __throw, new_eh_context,
10156         eh_context_initialize, eh_context_static, eh_context_specific,
10157         get_eh_context, __get_eh_context, __get_eh_info,
10158         init_reg_size_table, eh_threads_initialize,
10159         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
10160         __unwinding_cleanup, throw_helper, __throw, __rethrow,
10161         __pure_virtual): Add prototype arguments.
10162         (__bb_exit_func): Cast a sizeof to long when comparing against one.
10163         Cast a signed value to unsigned long when comparing against one.
10164         (new_eh_context): Wrap in _GTHREADS macro.
10165         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
10166         declaration.
10167         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
10168         (throw_helper): Initialize variables `handler_p' and `pc_p'.
10169
10170 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10171
10172         * combine.c (record_promoted_value): Remove unused variable
10173         `links2'.
10174
10175         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
10176
10177         * global.c (record_conflicts): Likewise for `j'.
10178
10179         * genoutput.c (output_insn_data): Don't unnecessarily cast away
10180         const-ness.
10181
10182 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10183
10184         * i386-protos.h (output_387_binary_op, output_fix_trunc,
10185         output_fp_compare): Constify a char*.
10186
10187         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
10188         static prototypes.
10189         (override_options, ix86_comp_type_attributes, print_operand,
10190         output_387_binary_op, output_fix_trunc, output_fp_compare):
10191         Constify a char*.
10192         (ix86_sched_reorder): Mark parameter `clock_var' with
10193         ATTRIBUTE_UNUSED.
10194
10195         * i386.h (DEBUG_PRINT_REG): Constify a char*.
10196
10197 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
10198
10199         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
10200         operand, for use in the Java front-end.
10201
10202 1999-12-10  Ben Collins  <bcollins@debian.org>
10203
10204         * configure.in: Fix typo for "-64" in 64bit as check.
10205         * configure: Rebuilt.
10206
10207 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
10208
10209         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
10210         appropriate.
10211
10212 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10213
10214         * c-parse.in (string): With -Wtraditional, warn if ANSI string
10215         concatenation is utilized.
10216
10217         * invoke.texi (-Wtraditional): Document it.
10218
10219 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10220
10221         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
10222         Cast a ptrdiff_t to long and pass it to printf with %ld.
10223
10224 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
10225
10226         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
10227         68881, we have no 68881 registers at all.
10228         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
10229         value in a 68881 register if it is available.
10230
10231 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
10232
10233         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
10234         for long long multiply-accumulate.
10235
10236 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
10237
10238         * loop.c (insert_loop_mem): Undo last change.
10239
10240 1999-12-10  David S. Miller  <davem@redhat.com>
10241
10242         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
10243         New functions.
10244         * config/sparc/sparc-protos.h: Add them.
10245         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
10246         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
10247         constraints which use those helpers.
10248         (EXTRA_CONSTRAINT): Use this new macro.
10249         * md.texi: Update sparc target constraints documentation.
10250         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
10251         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
10252         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
10253         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
10254         (movsf high/lo_sum split): Rework for new patterns.
10255         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
10256
10257 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
10258
10259         * c-common.c (c_common_nodes_and_builtins):
10260         Create __builtin_ptrdiff_t and __builtin_size_t.
10261
10262 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
10263
10264         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
10265
10266 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10267
10268         * regclass.c (globalize_reg): Re-instate test that allows
10269         fixed registers to be declared as a variable even after functions
10270         are defined.
10271
10272 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10273
10274         * i386.md (cpu attribute): Add "athlon".
10275         (athlon_decode): New attribute.
10276         (Athlon scheduling units definitions): New.
10277         (fcmp and shld patterns): Set athlon_decode to "vector".
10278         * i386.c (athlon_cost): New.
10279         (m_ATHLON): New.
10280         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
10281         x86_use_sahf): Set for Athlon.
10282         (x86_use_fiop): Unset for Athlon.
10283         (override_options): Define Athlon alignments and "athlon" name.
10284         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
10285         * i386.h (TARGET_ATHLON): New.
10286         (enum processor_type): Add PROCESSOR_ATHLON.
10287         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
10288         for CPU_DEFAULT==5
10289         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
10290
10291 1999-12-09  Andreas Jaeger  <aj@suse.de>
10292
10293         * loop.c (record_biv): Declare parameter as int.
10294
10295         * config/i386/i386-protos.h: Declare long_memory_operand.
10296
10297 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
10298
10299         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
10300         EXPR_WITH_FILE_LOCATION.
10301
10302 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
10303
10304         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
10305         in expander.
10306
10307         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
10308
10309         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
10310         updating code.
10311
10312 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
10313
10314         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
10315         default on linux64 again.
10316         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
10317         models for multilibing.
10318         * genmultilib: Accept | as alternative separator within a set in
10319         MULTILIB_OPTIONS.
10320
10321         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
10322
10323         * calls.c (precompute_arguments): Make sure initial_value contains
10324         value pseudo which CSE expects.
10325         * cse.c (struct set): New entry orig_src.
10326         (cse_insn): Set it early on entry, use it for libcall EQUIV note
10327         replacement.
10328
10329 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
10330
10331         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
10332
10333 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
10334
10335         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
10336
10337 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
10338
10339         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
10340         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
10341
10342         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
10343         if TARGET_ARCH32.
10344
10345         * longlong.h: Merge in changes from glibc.
10346         Also don't clobber %g2 register in 32bit SPARC assembly, so that
10347         -mno-app-regs libgcc can be compiled.
10348         * libgcc2.c: Add defines so that the updated longlong.h
10349         can be used in libgcc2.a. Also, make sure on most architectures
10350         (at least on all which have optimized code in longlong.h defined
10351         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
10352
10353 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10354
10355         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
10356         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
10357         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
10358         is GNU ld.
10359         * configure: Rebuilt.
10360
10361 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
10362
10363         * alpha.c (secondary_reload_class): For !BWX, sub-simode
10364         outputs require a register.
10365
10366 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
10367
10368         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
10369         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
10370         functions like dptoul will be resolved.
10371         (libgcc2.a): Make sure that the object files from DPBIT are named
10372         differently (prefix `_dp') from those that would be coming from
10373         FPBIT.
10374
10375 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
10376
10377         * configure.in: When target is sparc* and tm_file contains 64,
10378         test for 64bit support in assembler.  If not supported, remove
10379         sparc/t-sol2-64 from target-dependent Makefile fragments.
10380         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
10381         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
10382         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
10383         * acconfig.h (AS_SPARC64_FLAG): Added.
10384         * configure, config.in: Rebuilt.
10385         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
10386         support.  Use AS_SPARC64_FLAG.
10387
10388 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
10389
10390         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
10391         suitable for holding OFmode values so that gcc works with complex
10392         quad long doubles.
10393         (hard_64bit_mode_classes): Likewise.
10394
10395         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
10396         so that it is actually matched.
10397         (sethi_di_medlow): Likewise.
10398
10399         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
10400         as legitimate constant if -mvis.
10401         * config/sparc/sparc.md (movtf): Likewise.
10402         (clear_sf): Use const_double_operand.
10403         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
10404
10405         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
10406         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
10407         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
10408         routines, _Qp_* cannot be handled like that now.
10409         (INIT_TARGET_OPTABS): Likewise.
10410         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
10411         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
10412         sparc_emit_float_lib_cmp if ARCH64 and soft float.
10413         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
10414         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
10415         divtf3, sqrttf3): New expanders.
10416         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
10417         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
10418         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
10419         non-_hq patterns.
10420
10421         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
10422         * configure: Rebuilt.
10423         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
10424         -mcpu is given and we're doing 64bit compiles.
10425
10426 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
10427
10428         * loop.h (struct induction): Add multi_insn_incr.
10429         * loop.c (basic_induction_var): New multi_insn_incr argument.
10430         Set it if we search back through previous insns for the biv.
10431         (record_biv): New multi_insn_incr argument; fill in struct induction.
10432         (strength_reduce): Discard an iv with multiple bivs, any of
10433         which require multiple insns to increment.
10434
10435 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10436
10437         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
10438         documentation.
10439
10440 1999-12-06  David S. Miller  <davem@redhat.com>
10441
10442         * combine.c (check_promoted_subreg): Do not conditionalize this upon
10443         PROMOTE_FUNCTION_RETURN.
10444
10445 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
10446
10447         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
10448         and handle REG_UNUSED note on insn.
10449
10450         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
10451         inner_mask instead of mask.
10452
10453 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
10454
10455         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
10456         zero if there was an error.
10457
10458 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
10459
10460         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
10461         output string.
10462
10463         * longlong.h: Fix clobbers in SPARC asm statements.
10464
10465         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
10466         valid sethi operations when TARGET_ARCH64.
10467
10468         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
10469         always use move_by_pieces to avoid infinite recursion.
10470         (restore_fixed_argument_area): Likewise.
10471
10472         * combine.c (check_promoted_subreg, record_promoted_value): New
10473         functions.
10474         (combine_instructions): Use them to retain nonzero and sign bit
10475         information after SUBREGs are eliminated by optimizations in
10476         this pass if PROMOTE_FUNCTION_RETURN.
10477
10478         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
10479         .register declaration. Don't use variables with __ prefixes.
10480
10481 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10482
10483         * fold-const.c (optimize_bit_field_compare): Only use one mode
10484         for both RHS and LHS in non-constant case.
10485
10486 1999-12-06  Nathan Sidwell  <nathan@acm.org>
10487
10488         * frame.c (start_fde_sort): Only allocate erratic array, if
10489         linear one was allocated. Return allocated flag.
10490         (fde_insert): Only insert, if there's a valid array.
10491         (fde_end_sort): Split, sort and merge if linear and erratic
10492         arrays exist, else just sort linear one.
10493         (search_fdes): New function. Linear search through original fde
10494         structure.
10495         (frame_init): Permit multiple initializations. Cope with
10496         memory shortages.
10497         (find_fde): Fallback on linear search, if failed to sort array.
10498         (__deregister_frame_info): Only free sorted array, if we
10499         allocated it.
10500
10501 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
10502
10503         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
10504
10505 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
10506
10507         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
10508
10509 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
10510
10511         * tree.h (special_function_p): Declare.
10512         * calls.c (special_function_p): Make it global.  Don't take `name'
10513         as a parameter.  Fix typo in 1999-11-28 change.
10514         (expand_cal): Adjust.
10515
10516 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
10517
10518         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
10519         * tree.h (EXPR_WFL_FILENAME): Define in terms of
10520         EXPR_WFL_FILENAME_NODE.
10521         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
10522         the TREE_CHAIN.
10523         * print-tree.c (print_note): Print TREE_PRIVATE and
10524         TREE_PROTECTED.
10525
10526         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
10527         the original die cannot be found.
10528
10529         * varray.h (varray_head_tag): Add elements_used.
10530         (VARRAY_PUSH): New macro.
10531         (VARRAY_POP): Likewise.
10532         (VARRAY_TOP): Likewise.
10533         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
10534         types.
10535         * varray.c (varray_init): Initialize elements_used.
10536         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
10537         (INTEGRATE_H): New variable.
10538         (integrate.o): Depend on INTEGRATE_H.
10539         (unroll.o): Likewise.
10540
10541         * function.h (insert_block_after_note): Declare.
10542         * function.c (insert_block_after_note): Split out from ...
10543         (retrofit_block): ... here.
10544
10545         * stmt.c (expand_fixup): Fix typo in comment.
10546
10547 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10548
10549         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
10550         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
10551         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
10552         (regmove_optimize, fixup_match_1): Likewise.
10553
10554 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10555
10556         * flow.c (flow_loops_dump): Add missing argument when calling
10557         flow_loop_nested_p.
10558
10559 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
10560             Greg McGary  <gkm@gnu.org>
10561
10562         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
10563         (init_attributes): Add A_NO_LIMIT_STACK.
10564         (decl_attributes): Handle A_NO_LIMIT_STACK.
10565         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
10566         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
10567         Handle stack bounds checking.
10568         * flags.h (flag_stack_check): Use the word 'probe' rather than
10569         'check', because the flag doesn't actually cause any checking to
10570         be done.
10571         * function.c (expand_function_start): Set
10572         current_function_limit_stack.
10573         * function.h (struct function): Add limit_stack.
10574         (current_function_limit_stack): Define.
10575         * invoke.texi (Code Gen Options): Document new options.
10576         * rtl.h: Declare stack_limit_rtx.
10577         * toplev.c (stack_limit_rtx): New variable.
10578         (decode_f_option): Handle new options -fstack-limit-register=REG,
10579         -fstack-limit-symbol=IDENT, -fno-stack-limit.
10580         (main): Add stack_limit_rtx as GC root.
10581         * tree.h (DECL_NO_LIMIT_STACK): New macro.
10582         (struct tree_decl): New member no_limit_stack.
10583
10584         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
10585         stack_limit_rtx.
10586         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
10587         (conditional_trap+1): Get new mnemonic correct.
10588         (conditional_trap+2): New pattern for DImode traps.
10589
10590         * config/m68k/m68k.c (output_function_prologue): Handle
10591         stack_limit_rtx.
10592         * config/m68k/m68k.md (trap): New insn.
10593         (conditional_trap): New insn.
10594         * md.texi (Standard Names): Document `trap' and
10595         `conditional_trap'.
10596         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
10597         so a cc0 setter doesn't get emitted at some random place in the
10598         function.
10599
10600         * config/i960/i960.md (trap): New insn.
10601         (conditional_trap): New expander.
10602         (conditional_trap+1, conditional_trap+2): New insns for signed
10603         and unsigned cases.
10604         * config/i960/i960.c (i960_function_prologue): Use
10605         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
10606
10607 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
10608                           Geoffrey Keating  <geoffk@cygnus.com>
10609
10610         * flags.h (warn_padded, warn_packed): Add global var decls.
10611         * toplev.c (warn_padded, warn_packed): Add global var defns.
10612         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
10613         * stor-layout.c (layout_record): Add local variable `type'
10614         to hold often-used TREE_TYPE (field).  Add local variable
10615         `unpacked_align' to hold alignment that would be in force
10616         if no `packed' attribute were present.  Warn if `packed' attribute
10617         is unnecessary, or even harmful.  Warn when gcc inserts padding
10618         to satisfy alignment requirements of members.  Use NULL_TREE
10619         when checking whether var_size is set.
10620         * invoke.texi: Document new flags.
10621
10622 1999-12-03  Nathan Sidwell  <nathan@acm.org>
10623
10624         * frame.c (fde_split): Reimplement to avoid variable sized array.
10625
10626 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10627
10628         * combine.c (try_combine): Before fixing up LOG_LINKS for the
10629         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
10630
10631 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
10632
10633         * invoke.texi: Document the mips option -mno-crt0
10634
10635 1999-12-02  Mike Karr  <mkarr@mathworks.com>
10636
10637         * cccp.c (argdata): Added free_ptr member.
10638         (macroexpand): Initialize free_ptr of each argument. When an
10639         argument's buffers are freed, if the argument's free_ptr corresponds
10640         to a buffer on the input stack, then return the free_ptr to that stack
10641         frame, otherwise, free it.
10642         (macarg): If an argument begins and ends on the same input stack level,
10643         then transfer the free_ptr of that buffer to the argument in case
10644         the stack is popped during the processing of a subsequent argument.
10645
10646 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
10647
10648         * loop.c (note_reg_stored): New function.
10649         (struct note_reg_stored_arg): New structure.
10650         (try_copy_prop): Change to be more conservative; only replace within
10651         one extended basic block and stop replacing if a store to the
10652         replacement reg is seen.
10653
10654 1999-12-02  Nick Clifton  <nickc@cygnus.com>
10655
10656         * config/fp-bit.c: Initialise all fields of the NAN
10657         constants.
10658
10659         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
10660         to HANDLE_PRAGMA.
10661
10662 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
10663
10664         * i386.md (extend?f?f2): Force the input into a register, not
10665         the output.
10666
10667 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
10668
10669         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
10670         regclass' sake.
10671         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
10672         alternative because setting up 64bit constant is usually costly,
10673         especially when reload is in progress or completed.
10674         (movdf_const_intreg_sp64): Likewise.
10675         (movdf_const_intreg split): Fix building up constants when
10676         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
10677
10678 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
10679
10680         * combine.c (if_then_else_cond): Use const_true_rtx instead of
10681         const1_rtx for return values in EQ/NE comparison against (const_int 0)
10682         case.
10683
10684         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
10685         (asm_file_start): Emit .am33 into assembly file when compiling for
10686         the AM33.
10687         (print_operand_address): Handle POST_INC addresses.
10688         (can_use_return_insn, initial_offset): Check AM33 registers too.
10689         (expand_prologue): Check & save AM33 registers too.
10690         (expand_epilogue): Similarly.
10691         (secondary_reload_class): Handle AM33 specific secondary reloads.
10692         (output_tst): Emit efficient code for the AM33 too.
10693         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
10694         (TARGET_SWITCHES): Add -mam33 switch.
10695         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
10696         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
10697         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
10698         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
10699         (enum reg_class, REG_CLASS_NAMES): Likewise.
10700         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
10701         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
10702         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
10703         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
10704         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
10705         (HAVE_POST_INCREMENT): Define.
10706         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
10707         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
10708         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
10709         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
10710         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
10711         (zero_extend to SI from QI/HI): Likewise.
10712         (sign_extend to SI from QI/HI): Likewise.
10713         (mulsidi3, umulsidi3): New patterns for the AM33.
10714         (tstsi with zero extension from QI/HI): Add AM33 variants.
10715         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
10716         (return_internal_regs, store_movm): Handle new AM33 registers.
10717         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
10718         (LIBGCC, INSTALL_LIBGCC): Likewise.
10719         * invoke.texi: Document new flags.
10720
10721 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10722
10723         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
10724         (addsi3_carry): Likewise.
10725         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
10726         (sbbsi3_carry): Likewise.
10727         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
10728         (mulhi3): Likewise.
10729         (test?i_1): Ensure that only one operand is memory.
10730         (conditional move patterns): likewise.
10731         (shift and rotate patterns): Rewrite to expander, add
10732         "binary_operator_ok" to the condition.
10733
10734         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
10735         * i386.h (procesor_costs): Add movzbl_load field.
10736         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
10737         non-Q registers, accept DImode registers anywhere.
10738         (Q_CLASS_P): New.
10739         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
10740         * i386.c (*_cost): Set value for movxbl_load field.
10741
10742         * (addsi): New add to lea splitter.
10743         (ashlsi): Likewise.
10744         (lea to add/shift peep2): New.
10745
10746 1999-12-01  Mark Salter <msalter@cygnus.com>
10747
10748         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
10749         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
10750         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
10751
10752 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10753
10754         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
10755         * i386.md (movsi_xor): New.
10756         (movsi_or): New.
10757         (movsi_1, movhi_1, movqi_1): Remove.
10758         (movsi_2): Rename to movsi_1.
10759         (movhi_2): Rename to movhi_1.
10760         (movqi_2): Rename to movqi_1.
10761         (movdi_1): Remove; remove splitter.
10762         (movdi_2): Rename to movdi_1.
10763         (divmodsi4 splitter): Do not emit clobbers for move patterns.
10764         (long move peep2): Do not create QI or HI mode mov0s
10765         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
10766
10767         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
10768         rewrite splitters.
10769
10770         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
10771         (abs?f2_if): Likewise.
10772
10773 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
10774
10775         * ggc.h (ggc_test_and_set_mark): New macro.
10776         (ggc_mark_rtx): Use ggc_test_and_set_mark.
10777         (ggc_mark_tree): Likewise.
10778         (ggc_mark_rtvec): Likewise.
10779         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
10780
10781 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
10782
10783         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
10784         containing types.
10785         (decl_scope_table): Just an array of trees now.
10786         (push_decl_scope): Simplify.
10787         (dwarf2out_init): Adjust.
10788         (local_scope_p): New fn.
10789         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
10790         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
10791         (gen_typedef_die): Likewise.
10792         (gen_lexical_block_die): Don't call push/pop_decl_scope.
10793         (gen_inlined_subroutine_die): Likewise.
10794         (gen_abstract_function): Set current_function_decl temporarily.
10795         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
10796         Handle block extern declarations.  Don't call push/pop_decl_scope.
10797         (gen_decl_die): Fix logic for block externs.
10798
10799 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10800
10801         * calls.c (special_function_p): Remove `realloc' and add `strdup'
10802         to the list of functions which have attribute malloc by default.
10803
10804 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10805
10806         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
10807         integer constant does not match the traditional type, limit the
10808         warnings to cases where the base of the type is ten.
10809
10810         * invoke.texi (-Wtraditional): Document it.
10811
10812 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10813
10814         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
10815         * rs6000.md: Only access a CONST_INT with INTVAL
10816
10817 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
10818
10819         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
10820         (compute_nearerout): Likewise.
10821         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
10822         size_t to unsigned long for formatting.
10823
10824 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
10825
10826         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
10827         Allow the user to override call-used/fixed state of %g2-5
10828         registers from the command line (with the exception of %g4 for
10829         embedded model).
10830         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
10831         there is a higher chance of having a leaf function.
10832         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
10833         for ARCH64 which has %ccr register.
10834         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
10835         patterns.
10836         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
10837         insn accept into delay slot any insn which does not use %[ol]
10838         registers.  Accept some LO_SUM and shift left by 1 for the normal
10839         restore case.
10840         (output_function_epilogue): Likewise.
10841         (epilogue_renumber): Added argument which inhibits any renumbering
10842         and just tests if the rtx does not use any %[ol] registers.
10843         (output_return): Reflect above change.
10844
10845 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
10846
10847         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
10848         aggregate passing for sizes <= 16 bytes.
10849
10850 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
10851
10852         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
10853         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
10854         * reload.c (find_dummy_reload): Likewise.
10855         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
10856         * reload1.c (reload_as_needed): Likewise.
10857         * stupid.c (stupid_find_reg): Likewise.
10858         * tm.texi (Obsolete Register Macros): Delete section.
10859         * gmicro.h: Remove all traces of the two macros.
10860         * i386.h: Likewise.
10861         * m88k.h: Likewise.
10862         * mips.h: Likewise.
10863
10864 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
10865
10866         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
10867         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
10868         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
10869         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
10870         units for the sparclite86x chip.
10871         (flush): Revert October 14th change; add SImode specifically.
10872         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
10873         * invoke.texi: Document it.
10874
10875 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
10876
10877         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
10878         psimode_truncation_operand.
10879
10880         * config/mn10200/mn10200.c (psimode_truncation_operand): New
10881         function.  Return true if the operand is either a MEM valid
10882         for a PSImode address or not a MEM at all.
10883
10884         * config/mn10200/mn10200.md (truncsipsi2): Use
10885         psimode_truncation_operand.
10886
10887 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10888
10889         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
10890         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
10891         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
10892         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
10893         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
10894         (flow_loop_level_compute, low_loops_level_compute): Likewise.
10895         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
10896         * basic-block.h: Protect from multiple inclusion.
10897         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
10898         (struct loops, struct loop): Define structures.
10899         * sbitmap.c (sbitmap_a_subset_b_p): New function.
10900         * sbitmap.h: Protect from multiple inclusion.
10901         (sbitmap_a_subset_b_p): Add prototype.
10902         * Makefile.in (LOOP_H): New macro.
10903         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
10904
10905 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
10906
10907         * cppinit.c (CAT): The argument list of this macro may not contain
10908         spaces !
10909
10910 1999-11-29  David S. Miller  <davem@redhat.com>
10911
10912         Move quantity tables and register equivalence chains into
10913         per-qty and per-register structure arrays respectively.
10914         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
10915         qty_const_insn, qty_comparison_code, qty_comparison_const,
10916         qty_comparison_qty): Delete, replace with...
10917         (qty_table): this structure table.
10918         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
10919         (reg_eqv_table): this structure table.
10920         (make_new_qty): Add argument MODE.  Caller updated.
10921         Update to use qty_table and reg_eqv_table.
10922         (make_regs_eqv, delete_reg_equiv, insert_regs,
10923         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
10924         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
10925         cse_process_notes, cse_main, cse_basic_block): Likewise.
10926
10927 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10928
10929         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
10930         operation if C is negative.
10931         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
10932         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
10933         law for some divisions if constant is negative and change other
10934         divisions to the opposite rounding.
10935
10936         * expr.c (store_constructor_field): If bit position is not multiple
10937         of alignment of TARGET's mode, use BLKmode.
10938
10939         * expr.c (expand_expr_unaligned): Add more code from full case
10940         that is needed when OP0 is in a register.
10941
10942 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10943
10944         * dwarfout.c (field_byte_offset): Size can be zero if there was
10945         an error.
10946
10947 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10948
10949         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
10950         (associate_trees): Delete unused var TEM.
10951         (extract_muldiv): Delete unused var CANCEL_P.
10952
10953         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
10954         (target_isinf, target_isnan, target_negative): Add return types to
10955         function definitions.
10956
10957 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
10958
10959         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
10960         * fixinc/hackshell.tpl: ditto
10961         * fixinc/fixtests.c(double_slash_test): more C++ header testing
10962         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
10963
10964 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10965
10966         * reload.c (push_reload): When looking for a register to put into
10967         reg_rtx, make sure all hard regs in a multi-reg register are in the
10968         right class and nonfixed.
10969
10970         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
10971         pending_read_insns, pending_write_insns, pending_read_mems,
10972         pending_write_mems, pending_list_length, last_pending_memory_flush,
10973         last_function_call, sched_before_next_call): Move static variables
10974         into a structure.
10975         (bb_ prefixed versions): Replace with single array bb_deps.
10976         (struct deps): New structure.
10977         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
10978         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
10979         argument of type "struct deps *"; use that instead of global
10980         variables.  All callers changed.
10981         (init_rgn_data_dependencies): Delete function.
10982         (init_rtx_vector): Delete function.
10983         (init_deps): New function.
10984
10985         (free_pending_lists): Simplify, we always use the bb_deps array even
10986         if only one basic block.
10987         (compute_block_backward_dependences): Likewise.
10988         (schedule_region): Likewise.
10989
10990         (propagate_deps): New function, broken out of
10991         compute_block_backward_dependences.
10992         (compute_block_backward_dependences): Use it.
10993
10994         * alpha.md: Delete useless patterns that tried to work around
10995         register elimination problems.
10996
10997         * unroll.c (loop_iterations): Don't abort if iteration variable
10998         was made by loop.
10999
11000         From Joern Rennecke:
11001         * reload1.c (reloads_conflict): Reverse test comparing operand
11002         numbers when testing for conflict between output/outaddr reloads.
11003
11004 1999-11-29  David S. Miller  <davem@redhat.com>
11005
11006         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
11007         arg.
11008         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
11009
11010 1999-11-28  Robert Lipe  <robertl@cygnus.com>
11011
11012         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
11013         table from .fini into .dtor.
11014
11015 1999-11-28  Anthony Green  <green@cygnus.com>
11016
11017         * tree.h (struct tree_decl): Add malloc_flag.
11018         (DECL_IS_MALLOC): Define.
11019         * c-common.c (attrs): Add A_MALLOC attribute.
11020         (init_attributes): Add this attribute to the table.
11021         (decl_attributes): Handle malloc attribute.
11022         * calls.c (special_function_p): Check for the malloc attribute.
11023         * extend.texi (Function Attributes): Document malloc attribute.
11024
11025 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
11026
11027         * pa.md (reload shift-add patterns): Remove.
11028
11029 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11030
11031         * reorg.c (dbr_schedule) Print more statistics. Corrected
11032         problem when printing info when 3 delay slots are filled.
11033
11034 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
11035
11036         * combine.c (setup_incoming_promotions): Pass an outgoing
11037         regno to FUNCTION_ARG_REGNO_P which it expects.
11038
11039 1999-11-28  Andreas Jaeger  <aj@suse.de>
11040
11041         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
11042
11043 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
11044
11045         * cccp.c (do_include): Avoid initialization of automatic variable.
11046
11047         * integrate.c (mark_stores): Function definition made void, to match
11048         previous declaration.
11049         * regclass.c (dump_regclass): Ditto.
11050         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
11051
11052 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11053
11054         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
11055         known to be multiple of divisor.
11056
11057         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
11058
11059         * combine.c (try_combine): Add code to try to merge a set of a
11060         two-word pseudo to a constant with a setting of one of those words
11061         to a constant.
11062
11063         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
11064         (split_tree): Completely rework to make more general.
11065         (make_range, fold): Call negate_expr.
11066         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
11067         (fold, associate): Call new split_tree and associate_trees.
11068         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
11069
11070 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
11071
11072         * loop.c (try_copy_prop): Avoid GNU C extension.
11073
11074 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
11075
11076         * except.c (init_eh_for_function): Still zero eh_return_context,
11077         eh_return_stack_adjust, and eh_return_handler.
11078
11079         * except.h (eh_status): Adjust documentation for x_protect_list.
11080         (begin_protect_partials): New function.
11081         * except.c (enqueue_eh_entry): Fix formatting.
11082         (get_first_handler): Add consistency check.
11083         (add_partial_entry): Adjust usage of protect_list.
11084         (emit_cleanup_handler): Save and restore ehqueue.
11085         (expand_start_all_catch): Add comment.
11086         (begin_protect_partials): New function.
11087         (end_protect_partials): Adjust usage of protect_list.
11088         (init_eh_for_function): Use xcalloc.
11089
11090 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11091
11092         * c-common.c (check_format_info): Don't call a variadic function
11093         with a non-literal format string.
11094
11095         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
11096
11097         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
11098         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
11099         Likewise.
11100
11101         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
11102         Likewise.
11103
11104         * collect2.c (collect_wait): Likewise.
11105
11106         * dbxout.c (dbxout_type): Likewise.
11107
11108         * gcc.c (do_spec_1): Likewise.
11109
11110         * genemit.c (gen_insn, gen_expand): Likewise.
11111
11112         * genrecog.c (write_switch, write_subroutine): Likewise.
11113
11114         * mips-tfile.c (catch_signal, botch): Likewise.
11115
11116         * print-rtl.c (print_rtx): Likewise.
11117
11118         * toplev.c (default_print_error_function, report_error_function,
11119         _fatal_insn): Likewise.
11120
11121 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
11122
11123         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
11124
11125 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11126
11127         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
11128         operations when needed.
11129         * i386.md (fop_?f_comm): New.
11130         (fop_?f_1): Do not accept commutative operands.
11131
11132 1999-11-25  Andreas Jaeger  <aj@suse.de>
11133
11134         * config/mips/mips.md (casesi_internal): Add missing brace.
11135
11136 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
11137
11138         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
11139         (splice_child_die): Handle moving a child DIE from the declaration
11140         DIE of a class to its specification.
11141         (gen_struct_or_union_type_die): Use 'complete' consistently.
11142         (gen_decl_die): Generate the virtual context DIE first.
11143         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
11144
11145 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
11146
11147         * config/mips/mips.md (call_value_multiple_interanal1): New.
11148
11149 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
11150
11151         * dwarf2out.c (free_AT, free_die): New fns.
11152         (remove_children): Call them.
11153         (output_line_info): Disable removal of duplicate notes.
11154
11155         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
11156         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
11157         means pretend the type isn't defined.
11158         Don't defer emitting types.
11159         (gen_type_die_for_member): New fn.
11160         (gen_decl_die): Call it.
11161         (splice_child_die): New fn.
11162         (gen_member_die): Call it rather than generate duplicate dies.
11163
11164         Defer emitting information for the abstract instance of an inline
11165         until we either inline it or emit an out-of-line copy.
11166         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
11167         from output_inline_function if DECL_ABSTRACT is also set.
11168         (block_ultimate_origin): Likewise.
11169         (gen_abstract_function): New fn.
11170         (gen_decl_die, gen_inlined_subroutine_die): Call it.
11171         (gen_subprogram_die):  An abstract instance is not a declaration
11172         just because it doesn't match current_function_decl.  Don't abort
11173         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
11174         has an abstract origin.
11175         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
11176         abstract instance here.
11177
11178 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
11179
11180         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
11181         where we need to reload fpul from a system register.
11182
11183 1999-11-24  Andreas Jaeger  <aj@suse.de>
11184
11185         * config/mips/linux.h (CPP_PREDEFINES): Added.
11186         (LINK_SPEC): Remove -Y since this is only needed on sparc.
11187
11188 1999-11-24  Andreas Jaeger  <aj@suse.de>
11189
11190         * config/mips/linux.h (TARGET_VERSION): Added.
11191         (HANDLE_SYSV_PRAGMA): Added.
11192         (DEFAULT_VTABLE_THUNKS): Added.
11193
11194 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11195
11196         * local-alloc.c (qty): New structure and static variable.
11197         (qty_phys_reg): Remove, all references changed to qty.
11198         (qty_n_refs): Likewise.
11199         (qty_min_class): Likewise.
11200         (qty_birth): Likewise.
11201         (qty_death): Likewise.
11202         (qty_size): Likewise.
11203         (qty_mode): Likewise.
11204         (qty_n_calls_crossed): Likewise.
11205         (qty_alternate_class): Likewise.
11206         (qty_changes_size): Likewise.
11207         (qty_first_reg): Likewise.
11208         (alloc_qty): Rename variable QTY to QTYNO.
11209         (finf_free_reg): Likewise.
11210         (local_alloc): Allocate qty, do not allocate the removed variables.
11211
11212 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
11213
11214         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
11215         when -membedded-pic is passed.
11216
11217         * config/mips/mips.md (casesi): Handle 64-bit case too.
11218         (casesi_internal_di): New insn.
11219
11220         * config/mips/mips.c (embedded_pic_offset): Always make the
11221         embedded-pic subtractions relative to the name of the current
11222         function by use of the magic string "..CURRENT_FUNCTION".
11223         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
11224
11225 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
11226
11227         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
11228         of (const_int 0), when what we really care about is
11229         whether it's a zero constant anyway.
11230         (div_trap_mips16): Likewise.
11231
11232 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
11233
11234         * loop.c (loop_optimize): Always find_loop_tree_blocks and
11235         unroll_block_trees when generating debuggable code.
11236
11237         * tree.h (unsave_expr_1): New function.
11238         (lang_unsave): New variable.
11239         (get_callee_fndecl): New function.
11240         * tree.c (unsave_expr_now_r): New function.
11241         (lang_unsave): Define.
11242         (unsave_expr_1): Likewise.
11243         (unsave_expr_now_r): Split out from unsave_expr_now.
11244         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
11245         call unsave_expr_now_r.
11246         (get_callee_fndecl): Define.
11247
11248         * Makefile.in (gencheck): Don't depend on lang_tree_files.
11249         (gencheck.o): Do depend on lang_tree_files.
11250
11251         * integrate.h (copy_decl_for_inlining): New declaration.
11252         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
11253         (copy_decl_for_inlining): New function.
11254         (integrate_parm_decls): Use it.
11255         (integrate_decl_tree): Likewise.
11256
11257 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
11258
11259         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
11260         the second two from the first.
11261         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
11262         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
11263         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
11264         ISA_HAS_FP4.
11265         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
11266         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
11267         ISA_HAS_FP4.
11268
11269 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
11270
11271         * pa.md (call_internal_symref, call_value_internal_symref): No mode
11272         needed on the address operand.
11273         * pa.c (call_operand_address): Check for the correct mode.
11274
11275 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
11276
11277         * loop.c: Include "basic-block.h".
11278         (try_copy_prop, replace_loop_reg): New functions.
11279         (load_mems): Detect registers that just hold copies of the hoisted
11280         mem, and call try_copy_prop to eliminate them.
11281         * Makefile.in (loop.o): Update dependencies.
11282
11283 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
11284
11285         * Makefile.in (gencheck.o): Depend on gencheck.h.
11286         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
11287         (insn-peep.o): Depend on except.h and function.h.
11288         (insn-attrtab.o): Depend on RECOG_H.
11289         (insn-output.o): Depend on toplev.h and flags.h.
11290         (gengenrtl.o): Depend on real.h.
11291         (gen-protos.o): Depend on cpplib.h and cpphash.h.
11292         Unify all dependencies to be on RECOG_H rather than recog.h.
11293
11294 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11295
11296         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
11297         * configure.in: Try building a bi-arch 32/64-bit compiler on
11298         sparc-*-solaris2.7 and higher.
11299         * configure: Rebuild.
11300
11301 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
11302
11303         * config/freebsd.h: New, FreeBSD architecture independent file.
11304         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
11305         independent pieces.
11306         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
11307         directly by i386/freebsd.h.
11308         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
11309         independent configuration file.
11310         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
11311         directly by i386/freebsd.h.
11312         * configure: Rebuilt.
11313
11314         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
11315         which is in the user's namespace.
11316         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
11317         `i386' which is not in our namespace.
11318
11319 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
11320
11321         * invoke.texi (ARM Options): Add in -mno-alignment-traps
11322
11323 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
11324
11325         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
11326         (add_dwarf_attr, add_child_die): Just push onto the front.
11327         (reverse_die_lists): New fn.
11328         (add_sibling_attributes): Use it.
11329         (push_decl_scope): Reorganize.
11330         (add_name_and_src_coords_attributes): Don't set file and line for
11331         an artificial decl.
11332         (gen_subprogram_die): An artificial function doesn't need to match
11333         file and line.
11334         (gen_compile_unit_die): Return the generated die.  Only add
11335         AT_comp_dir if the filename is relative.
11336         (remove_AT): Simplify loop.  Also free string values.
11337         (output_die): A DIE ref can't be null.
11338         (output_value_format, value_format): Take a dw_attr_ref.
11339         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
11340         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
11341         AT_addr, AT_lbl): New fns.
11342         (various): Use them.
11343         (various): Constify.
11344
11345 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11346
11347         * combine.c (combine_simplify_rtx): When handling a SUBREG,
11348         take SUBREG_WORD into account.
11349         (if_then_else_cond): Likewise.
11350
11351 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
11352
11353         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
11354         clause from BSD license, pursuant with
11355
11356           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
11357
11358 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
11359
11360         * loop.c (load_mems): Reformat slightly.
11361         * basic-block.h (regset_head): New typedef.
11362         (INIT_REG_SET): New macro.
11363
11364 1999-11-22  Bruce Korb  <autogen@linuxbox.com
11365
11366         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
11367         (mips-dec-bsd*): non-functional code
11368         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
11369
11370         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
11371         added three replacement fixes
11372         (no_double_slash): removed comments that are not (any longer) pertinent
11373         (bad_lval): this fix currently runs against many files.
11374         The comment seems to indicate that we should select for files
11375         containing 'pragma extern_prefix'.
11376
11377         * fixinc/fixinc.x86-linux-gnu: deleted
11378         * fixinc/inclhack.sh:  regen
11379         * fixinc/fixincl.x:  regen
11380         * fixinc/fixincl.sh:  regen
11381
11382 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
11383
11384         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
11385         its code is INSN and it has no notes.
11386
11387 1999-11-22  Andrew Haley  <aph@cygnus.com>
11388
11389         * varasm.c (function_defined): Remove.
11390         (make_function_rtl): Don't set function_defined.
11391         (make_decl_rtl): Remove global register warning.
11392         * regclass.c (no_global_reg_vars): New variable.
11393         (globalize_reg): Warn if function has already been defined.
11394         (regclass_init): Set no_global_reg_vars.
11395
11396 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11397
11398         * regclass.c (reg_pref): New structure and static variable
11399         (prefclass): Delete.
11400         (altclass): Delete.
11401         (all uses of prefclass and altclass): Use reg_pref instead.
11402
11403 1999-11-21  Nick Clifton  <nickc@cygnus.com>
11404
11405         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
11406         -malignment-traps.
11407         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
11408         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
11409         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
11410
11411 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
11412
11413         * varasm.c (output_constructor): Solve problem with long long
11414         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
11415
11416 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11417
11418         * global.c (allocno): New structure and static variable.
11419         (allocno_reg): Remove, all references replaced by allocno.
11420         (allocno_size): Likewise.
11421         (hard_reg_conflicts): Likewise.
11422         (hard_reg_preferences): Likewise.
11423         (hard_reg_copy_preferences): Likewise.
11424         (hard_reg_full_preferences): Likewise.
11425         (regs_someone_prefers): Likewise.
11426         (allocno_calls_crossed): Likewise.
11427         (allocno_n_refs): Likewise.
11428         (allocno_live_length): Likewise.
11429         (find_reg): Rename ALLOCNO to NUM.
11430
11431         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
11432         references updated.
11433         (may_move_out_cost): New variable.
11434         (init_reg_sets_1): Initialize may_move_out_cost.
11435         (record_reg_classes): Use may_move_out_cost.
11436
11437         * regclass.c (dump_regclass): New function.
11438         (regclass): New parameter DUMP, call DUMP_REGCLASS.
11439         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
11440         pass rtl_dump_file to regclass.
11441         * rtl.h (regclass): Update prototype.
11442
11443 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11444
11445         * i386.md (neg, not and abs patterns): Revmap to use
11446         ix86_expand_unary_operator and ix86_unary_operator_ok.
11447         (add?f and sub?f expanders): Force operand 1 to register.
11448         * i386.c (ix86_expand_unary_operator): Rewrite.
11449         (ix86_unary_operator_ok): Ensure that memory operands
11450         match real opcode.
11451         (ix86_binary_operator_ok): Do not allow operand 1 to
11452         come into memory and operand 0 not.
11453         (ix86_expand_binary_operator): Ensure that
11454         src1 is not non-matching memory.
11455
11456         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
11457         to support integer registers and memory.
11458         (abss?2_integer): Likewise.
11459
11460         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
11461         (REG_CLASS_NAMES): Likewise.
11462         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
11463         and GENERAL_REGS.
11464         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
11465         (movsf): Likewise; unify 4th and 5th alternative.
11466         (pushdf): Likewise.
11467         (movdf_1): Likewise; rename to movdf_integer.
11468         (pushxf): Likewise; rename to pushxf_integer; fix output template;
11469         remove redundant splitter.
11470         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
11471         (movdf_nointeger): New.
11472         (movxf_nointeger): New.
11473         (pushxf_nointeger): New.
11474
11475         * i386.md (extend?f?f): Split to expander and pattern, refuse two
11476         memory operands in patterns.
11477         (fop*): Refuse two memory operands.
11478
11479         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
11480         on !TARGET_USE_CLTD CPUs.
11481
11482 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
11483
11484         * extend.texi: Document C++ restricted pointers and references.
11485
11486 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
11487
11488         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
11489         (invalidate_skipped_set): Call it unconditionally.
11490         (cse_set_around_loop): Likewise.
11491
11492 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
11493
11494         * rtl.texi (mem): Add documentation for alias-set argument
11495         to RTX `mem'.
11496
11497 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11498
11499         * i386.h (struct_processor_costs): New fields int_load, int_store,
11500         fp_move, fp_load and fp_store
11501         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
11502         fp->int moves
11503         (MEMORY_MOVE_COST): New macro.
11504         * i386.c (386_cost): Define new fields.
11505         (i486_cost): Likewise.
11506         (pentium_cost): Likewise.
11507         (pentiumpro_cost): Likewise.
11508         (k6_cost): Likewise.
11509
11510 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
11511                           Geoffrey Keating  <geoffk@cygnus.com>
11512
11513         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
11514
11515         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
11516         MASK_ALIGN_INT.
11517
11518         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
11519         (TARGET_STRICT_ALIGNMENT): New macro.
11520         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
11521         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
11522         * invoke.texi (M680x0 Options): Document -mstrict-align.
11523
11524 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
11525                           Richard Henderson  <rth@cygnus.com>
11526
11527         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
11528         (ix86_split_long_move): Declare.
11529         * i386.c (split_xf, ix86_split_movdi): Remove.
11530         (ix86_split_to_parts, ix86_split_long_move): New.
11531         * i386.md (dimode move splitters): Use ix86_split_long_move.
11532         (dfmode move splitters): Likewise.
11533         (xfmode move splitters): Likewise.
11534         (movsf_1): Allow F->r.
11535         (movdf_1, movxf_1): Allow F->ro.
11536
11537 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
11538
11539         * except.h (struct eh_entry): Add goto_entry_p.
11540         (eh_region_from_symbol): Remove prototype.
11541         * except.c (find_func_region_from_symbol): New function.
11542         (emit_cleanup_handler): Likewise.
11543         (eh_region_from_symbol): Make it static.
11544         (add_new_handler): Verify the argument.
11545         (find_func_region): Update comment.
11546         (expand_eh_region_end): Expand handlers here, rater than waiting
11547         until expand_leftover_cleanups or start_all_catch.
11548         (expand_leftover_cleanups): Don't expand here.
11549         (expand_start_all_catch): Or here.
11550         (expand_rethrow): Check the return value from find_func_region.
11551         * function.c (expand_function_end): Emit the catch_clauses.
11552
11553 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
11554
11555         * integrate.c (expand_inline_function): Add necessary check for NULL.
11556
11557 1999-11-18  Nick Clifton  <nickc@cygnus.com>
11558
11559         * toplev.c (main): Correctly detect an unrecognised option.
11560
11561         * cppinit.c (cpp_handle_option): Do not claim to have consumed
11562         a -f option if it has not been recognised.
11563
11564 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
11565
11566         * basic-block.h (update_life_extent): Remove trailing comma on
11567         enumeration type list.
11568
11569 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11570
11571         * varasm.c (output_constructor) Solved problem with long long
11572         bitfields. Corrected calculating this_time and shift. Also
11573         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
11574
11575 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
11576
11577         * flow.c (split_edge): Take looping structure into account when
11578         determining where to put the new block note.
11579
11580 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
11581
11582         * Makefile.in (ggc-none.o): Provide host specific version if
11583         needed.
11584
11585 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
11586
11587         * cse.c (delete_trivially_dead_insns): Identify no-op insns
11588         containing subregs too.
11589
11590 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
11591
11592         * invoke.texi: Add documentation for -muninit-const-in-rodata.
11593         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
11594         (TARGET_UNINIT_CONST_IN_RODATA): Define.
11595         (text_section): Add switches -munint-const-in-rodata and
11596         -mno-uninit-const-in-rodata.
11597         (ASM_OUTPUT_COMMON): Remove.
11598         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
11599         const objects should be placed in read-only data. Otherwise declare
11600         them in common.
11601
11602 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
11603
11604         * jump.c (jump_optimize_1): Revert last change.
11605
11606 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
11607
11608         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
11609         test if optimizing for size.
11610
11611 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
11612
11613         * Makefile.in (toplev.o): Depend on except.h.
11614         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
11615
11616 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11617
11618         * i386.md (divmodsi4): Rewrite to expander.
11619         (*divmodsi4_nocltd): New.
11620         (*divmodsi4_cltd): New.
11621         (divmodsi4 splitter): Handle the case when input comes in edx.
11622         (udivmodhi4): Do not use constraints in exander.
11623         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
11624
11625 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
11626
11627         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
11628         for the common case.
11629
11630 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
11631
11632         * explow.c (hard_function_value): Add outgoing argument.
11633         * expr.h (hard_function_value): Declare it.
11634         * calls.c (expand_call, emit_library_call_value): Update callers.
11635         * function.c (aggregate_value_p): Ditto.
11636         (diddle_return_value): Must look at the outgoing registers
11637         on archs with register windows.
11638
11639 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
11640
11641         * alpha.c (alpha_build_va_list): Use make_lang_type and
11642         initialize TYPE_NAME for the va_list record.
11643
11644         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
11645
11646         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
11647         for printing.
11648         * ggc.h (struct ggc_statistics): Rearrange elements for better
11649         packing on 64-bit hosts.
11650         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
11651         (compute_nearerout): Likewise.
11652
11653 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
11654
11655         * config/rs6000/rs6000.c (first_reg_to_save): Save
11656         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
11657
11658 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
11659
11660         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
11661         notion of nesting to find the DIE for a type or function.
11662         DIEs can go in limbo even if we got a context_die.
11663         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
11664         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
11665         for local type.
11666         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
11667         (gen_type_die): Writing out the context doesn't cause member class
11668         template instantiations to be written out as well.
11669
11670 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
11671
11672         * rs6000.h (ASM_OUTPUT_DEF): New.
11673         Based on proposed addition from David Edelsohn.
11674
11675 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
11676             Bruce Korb  <autogen@linuxbox.com>
11677
11678         * fixinc/inclhack.def
11679         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
11680         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
11681                 in net/inet.h.
11682         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
11683         (svr4_endian): enabled with SVR5
11684         (svr4_mkdev): simplified syntax and enabled with SVR5
11685
11686 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
11687
11688         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
11689         * configure: Rebuilt.
11690         * config/t-freebsd-thread: New file.
11691
11692 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
11693
11694         * i386.c (ix86_decompose_address): Verify the base is a REG
11695         before trying to examine its register number.
11696
11697         * basic-block.h: Remove all #defines and prototypes related to
11698         integer lists.
11699         (free_bb_mem, compute_preds_succs): Remove prototype.
11700         * rtl.h (free_bb_mem): Remove prototype.
11701         * flow.c (alloc_int_list_node); Remove function.
11702         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
11703         (compute_preds_succs, free_bb_mem): Likewise.
11704         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
11705         * toplev.c (rest_of_compilation): Likewise.
11706         * haifa-sched.c (build_control_flow): Use flow generated edge
11707         list to build the haifa specific edge list.
11708         (find_rgns): Use new CFG data structures instead of pred/succ lists.
11709         (schedule_insns): Do not build pred/succ lists anymore.  Instead
11710         build the edge table.
11711
11712         * basic-block.h (dump_bb_data): Remove declaration.
11713         * flow.c (dump_bb_data): Remove function.
11714         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
11715         (sbitmap_union_of_predsucc): Likewise.
11716
11717         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
11718         argument.  All callers changed.
11719         (delete_null_pointer_checks_1): No longer need to compute the
11720         pred/succ lists.
11721
11722         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
11723         All callers changed.
11724         (pre_expr_reaches_here_p_work): Likewise.
11725         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
11726         * lcm.c (compute_laterin): Fix initialization of LATER.
11727         (compute_nearerout): Similarly for NEARER.
11728
11729 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11730
11731         * cse.c (set_nonvarying_address_components): Delete unused function.
11732         (refers_to_p): Likewise.
11733
11734 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
11735
11736         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
11737         needed.
11738
11739 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11740
11741         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
11742         definition in do while (0).
11743
11744 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
11745
11746         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
11747
11748 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
11749
11750         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
11751
11752 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
11753
11754         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
11755         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
11756         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
11757         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
11758
11759         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
11760         saved on the stack.  Output more accurate stack frame statistics
11761         into assembler file.
11762
11763 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
11764
11765         * genextract.c (record_insn_name): New function.
11766         (get_insn_name): No longer a stub.
11767         (main): Call record_insn_name for each insn.  After each label
11768         written, print the insn name in a comment.
11769
11770 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11771
11772         * output.h (const_section, init_section, fini_section): Add
11773         prototypes.
11774
11775         * alpha/elf.h (const_section): Delete declaration.
11776
11777         * svr4.h (const_section): Likewise.
11778
11779 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
11780
11781         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
11782         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
11783         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
11784         expressions.
11785         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
11786         variable-sized array bounds.
11787
11788 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
11789
11790         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
11791         ASM_OUTPUT_LABEL.
11792
11793 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11794
11795         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
11796         addresses the same way GO_IF_LEGITIMATE_INDEX does.
11797
11798 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11799
11800         * cse.c (hash_arg_in_struct): Delete.
11801         (struct table_elt): Delete elt in_struct.
11802         (struct set): Delete elt src_in_struct.
11803         (merge_equiv_classes): Don't set either hash_arg_in_struct or
11804         the corresponding in_struct elts.
11805         (canon_hash): Likewise.
11806         (safe_hash): Likewise.
11807         (find_best_addr): Likewise.
11808         (record_jump_cond): Likewise.
11809         (cse_insn): Likewise.
11810
11811 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
11812
11813         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
11814
11815         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
11816         unsigned types.
11817
11818 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
11819
11820         * function.c (diddle_return_value): Put back check that the DECL_RTL
11821         for the function is a register.
11822
11823         * function.c (diddle_return_value): Use hard_function_value to
11824         get an rtx suitable for use in the USE/CLOBBER insn.
11825
11826         * global.c (global_conflicts): Update comments.
11827         (record_conflicts): No need to record conflicts between pseudos here.
11828
11829 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
11830
11831         * fixinc/fixincl.c: Added verbose levels for status messages
11832
11833 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11834
11835         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
11836         operand as argument to expand_and or expand_binop.
11837
11838 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
11839
11840         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
11841         gcc_add_string_root.
11842
11843 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
11844
11845         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
11846
11847 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
11848
11849         * flow.c (compute_flow_dominators): Initially put all blocks on
11850         the worklist.
11851         * lcm.c (compute_antinout_edge, compute_available): Similarly.
11852         * gcse.c (compute_cprop_avinout): Remove.
11853         (compute_cprop_data): Use compute_available.
11854         (delete_null_pointer_checks_1): Use compute_available.
11855
11856         * basic-block.h (compute_available): Returns a void now.
11857         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
11858         to return a value anymore.
11859         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
11860         worklists.  Fix boundary cases. Compute maximal solutions.
11861         (compute_laterin, compute_nearerout): Similarly.
11862
11863         * dwarf2out.c (add_AT_location_description): Allow
11864         (mem (plus (pseudo) (...)) too.
11865
11866 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
11867
11868         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
11869
11870 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
11871                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11872
11873         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
11874
11875         * gansidecl.h: Likewise.
11876
11877         * rtl.c: Likewise.
11878
11879         * rtl.h: Likewise.
11880
11881         * toplev.h: Likewise.
11882
11883         * tree.c: Likewise.
11884
11885         * tree.h: Likewise.
11886
11887         * varray.c: Likewise.
11888
11889         * varray.h: Likewise.
11890
11891 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
11892
11893         * gcov.c (struct arcdata): Add hits and total, remove prob.
11894         (output_branch_counts): New.
11895         (process_args): Set output_branch_counts if -c.
11896         (calculate_branch_probs): Store hits and total instead of
11897         percentage.
11898         (output_data): Emit counts if output_branch_counts is true.
11899         * gcov.texi (Invoking Gcov): Document -c switch..
11900
11901 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
11902
11903         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
11904         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
11905
11906 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
11907
11908         * invoke.texi (C Dialect Options): Add missing builtins from
11909         c-common.c to list.
11910         * extend.texi (Other Builtins): Copy to this list.
11911
11912 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11913
11914         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
11915         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
11916         redundant bitmap.h.
11917
11918 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
11919
11920         * flow.c (compute_flow_dominators): No longer treat basic block 0
11921         or (n_basic_blocks - 1) specially.  Clear the AUX field before
11922         starting computation of doms/pdoms.  Fix initial state for pdoms.
11923
11924 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11925
11926         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
11927         match rtl.o's: added ggc.h and toplev.h
11928         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
11929         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
11930         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
11931
11932 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
11933
11934         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
11935         from HAVE_DOS_BASED_FILESYSTEM.
11936         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
11937         HAVE_DOS_BASED_FILESYSTEM.
11938         (main): Likewise.
11939         (split_directories): Only special-case DOS file names if
11940         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
11941         instead of explicit tests.  Conditionalize on !VMS.
11942         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
11943         tests.  Conditionalize on !VMS.
11944         (process_command): Only use make_relative_prefix if !VMS.
11945         (free_split_directories): Conditionalize on !VMS.
11946         (DIR_UP): Conditionalize on !VMS.
11947
11948 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11949
11950         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
11951
11952 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11953
11954         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
11955         case.
11956
11957 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
11958
11959         * invoke.texi (Environment Variables): Document relative path
11960         lookup.
11961         * gcc.c (DIR_UP): If not defined, define as "..".
11962         (standard_bindir_prefix): New static, holds target location to
11963         install binaries.
11964         (split_directories): New function to split a filename into
11965         component directories.
11966         (free_split_directories): New function, release memory allocated
11967         by split_directories.
11968         (make_relative_prefix): New function, make a relative pathname if
11969         the compiler is not in the expected location.
11970         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
11971         can figure out an appropriate prefix from argv[0].
11972         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
11973         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
11974         STANDARD_BINDIR_PREFIX.
11975
11976 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11977
11978         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
11979         in c4x.c.
11980         * config/c4x/c4x.h: Moved prototypes to c4x.h.
11981         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
11982         c4x_secondary_memory_needed) Delete.
11983         (fp_zero_operand): Add mode argument.
11984
11985 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
11986
11987         * reload1.c (reload_reg_free_for_value_p): Don't use a register
11988         that is in reload_reg_used.
11989
11990 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
11991
11992         * config/arm/arm-protos.h: New file: Prototypes for functions
11993         defined in arm.c and pe.c.
11994         * config/arm/arm.h: Fix compile time warnings.
11995         * config/arm/arm.c: Fix compile time warnings.
11996         * config/arm/pe.h: Fix compile time warnings.
11997         * config/arm/aout.h: Fix compile time warnings.
11998
11999 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
12000
12001         * config/m32r/m32r-protos.h: New file: Prototypes for functions
12002         defined in m32r.c
12003
12004         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
12005         Add support for subtargets.
12006         Add prototypes for new predicates.
12007         Add scheduling macros.
12008
12009         * config/m32r/m32r.c: Fix compile time warnings.
12010         (int8_operand): New predicate function.
12011         (reg_or_cmp_int16_operand): New predicate function.
12012         (extend_operand): New predicate function.
12013         (m32r_adjust_code): New scheduling function.
12014         (m32r_adjust_priorty): New scheduling function.
12015         (m32r_sched_init): New scheduling function.
12016         (m32r_sched_reorder): New scheduling function.
12017         (m32r_sched_variable_issue): New scheduling function.
12018         (direct_return): New codegen function.
12019         (m32r_not_same_reg): New rtl testsing function.
12020
12021         * config/m32r/m32r.md: Fix compile time warnings.
12022         Add support for pre decrement and post increment memory
12023         references.
12024         Add S<cc> patterns.
12025         Add fabs patterns.
12026
12027 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12028
12029         * global.c (EXECUTE_IF_CONFLICT): Don't define.
12030         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
12031         (find_reg): Likewise.
12032
12033 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
12034
12035         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
12036         to avoid assembler errors.
12037
12038 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
12039
12040         * config/v850/v850-protos.h: New file: Prototypes for functions
12041         defined in v850.c
12042         * config/v850/v850.h: Move prototypes to v850-protos.h
12043         * config/v850/v850.c: Move prototypes to v850-protos.h
12044         * config/v850/v850.md: Fix compile time warnings.
12045
12046         * config/fr30/fr30-protos.h: New file: Prototypes for functions
12047         defined in fr30.c
12048         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
12049         * config/fr30/fr30.c: Fix compile time warnings.
12050         * config/fr30/fr30.md: Fix compile time warnings.
12051
12052 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
12053
12054         * tree.h (get_containing_scope): Declare it.
12055         * tree.c (get_containing_scope): New fucntion.
12056         (decl_function_context): Use it.
12057         * toplev.c (rest_of_compilation): Use get_containing_scope.
12058
12059 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12060
12061         * Makefile.in (rtl.o): Depend on toplev.h.
12062
12063 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
12064
12065         * cse.c (delete_trivially_dead_insns): Replace alloca with
12066         xmalloc/xcalloc.
12067         * except.c (update_rethrow_references): Likewise.
12068         (init_eh_nesting_info): Likewise.
12069         * function.c (identify_blocks): Likewise.
12070         * gcse.c (dump_hash_table): Likewise.
12071         * graph.c (print_rtl_graph_with_bb): Likewise.
12072         * loop.c (combine_movables): Likewise.
12073         (move_movables): Likewise.
12074         (count_loop_regs_set): Likewise.
12075         (strength_reduce): Likewise.
12076         * profile.c (compute_branch_probabilities): New function, split
12077         out from ...
12078         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
12079         * regclass.c (regclass): Likewise.
12080         * regmove.c (regmove_optimize): Likewise.
12081         * toplev.c (compile_file): Likewise.
12082         (main): Don't mess with the stack rlimit.
12083
12084 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
12085
12086         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
12087         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
12088
12089 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
12090
12091         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
12092
12093 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
12094
12095         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
12096         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
12097         macro expansion.
12098
12099 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
12100
12101         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
12102
12103 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
12104
12105         * gcse.c (post_dominators): Kill.
12106         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
12107         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
12108         pass in a pdom array since we do not need pdoms.
12109         * haifa-sched.c (schedule_insns): Similarly.
12110         * flow.c (compute_dominators): Remove dead function.
12111         (compute_flow_dominators): Do not compute doms or pdoms if the
12112         caller does not request them.  Split up loop to build doms and
12113         pdoms.  Use a worklist to compute doms and pdoms.
12114         * basic-block.h (compute_dominators): Remove prototype.
12115
12116 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
12117
12118         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
12119         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
12120         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
12121         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
12122         (cant_move, fed_by_spec_load, is_load_insn): Remove.
12123         (schedule_region): Remove unused variable.
12124         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
12125
12126 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
12127
12128         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
12129         (update_equiv_regs): Likewise.
12130         (block_alloc): Likewise.
12131         * reg-stack.c (reg_to_stack): Likewise.
12132         (convert_regs_2): Likewise.
12133         * reload1.c (reload_as_needed): Likewise.
12134
12135 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
12136
12137         * Makefile.in (dbxout.o): Depend on ggc.h.
12138         (dwarf2out.o): Likewise.
12139         (xcoffout.o): Likewise.
12140         * dbxout.c: Include ggc.h.
12141         (dbxout_init): Register lastfile as a root.
12142         * dwarf2out.c: Include ggc.h.
12143         (dwarf2out_line): Register lastfile as a root.
12144         * xcoffout.c: Include ggc.h.
12145         (xcoffout_source_line): Register xcoff_lastfile as a root.
12146
12147 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
12148
12149         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
12150
12151 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
12152
12153         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
12154         defined.
12155         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
12156
12157 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12158
12159         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
12160         (EXECUTE_IF_CONFLICT): Likewise.
12161         (ALLOCNO_LIVE_P): Avoid signed division.
12162         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
12163         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
12164         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
12165
12166 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
12167
12168         * haifa-sched.c (schedule_block): Don't crash if there's no
12169         next insn for an interblock movement.
12170         (add_branch_dependences): Don't allow clobber insns to move either.
12171
12172 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
12173
12174         * i386.c (split_xf): New.
12175         * i386-protos.h: Declare it.
12176         * i386.md (movxf_1): Add general regs alternatives.
12177         (movxf_1+1): New splitter for same.
12178
12179 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
12180
12181         * function.c (purge_addressof_1): Add missing return values.
12182
12183 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
12184
12185         * function.c (is_addressof): New function.  Returns true if
12186         the given piece of RTL is an ADDRESSOF.
12187         (purge_addressof_1): Make boolean.  Return false if the
12188         ADDRESSOFs could not be purged.
12189         (purge_addressof): If ADDRESSOFs could not be purged from the
12190         notes attached to an insn, remove the offending note(s),
12191         unless they are attached to a libcall.
12192
12193 1999-11-05  Andreas Jaeger  <aj@suse.de>
12194
12195         * genoutput.c (null_operand =): Initialize all fields.
12196
12197         * errors.h: Add extern to prototypes.
12198
12199 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
12200
12201         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
12202         * configure: Rebuilt.
12203
12204 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12205
12206         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
12207         (mirror_conflicts): New function.
12208         (global_alloc): Call it.
12209         (expand_preferences): Remove redundant CONFLICTP test.
12210         (find_reg, dump_conflicts): Likewise.
12211         (prune_preferences): Process conflicts one word at a time.
12212
12213 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
12214
12215         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
12216         instead of an explicit loop.
12217
12218 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
12219
12220         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
12221         if REG_RETVAL check succeeds, then put classp in src_elt.
12222
12223 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
12224
12225         * function.c (pad_to_arg_alignment): Only update argument_pad
12226         if the argument's alignment is greater than STACK_BOUNDARY.
12227
12228 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
12229
12230         * bitmap.h (BITMAP_XFREE): New.
12231         * flow.c (life_analysis): Use it.
12232         (life_analysis_1): Free blocks.
12233
12234         * combine.c (undo_commit): New.
12235         (try_combine): Use it.  Don't zap undobuf.undos.
12236         (combine_instructions): Don't zap undobuf.undos; free the
12237         undobuf.frees list.
12238
12239         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
12240
12241         * stmt.c (cost_table_): New.
12242         (estimate_case_costs): Use it instead of xmalloc.
12243
12244         * toplev.c (compile_file): Reuse dumpname memory instead
12245         of strdup'ing it.
12246
12247 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
12248
12249         * reg-stack.c (convert_regs_1): Initialize target_stack->top
12250         after verifying an EH edge.
12251
12252         * haifa-sched.c (init_rgn_data_dependences): Correctly
12253         size bb_pending_lists_length when zeroing.
12254
12255 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
12256
12257         * function.c (diddle_return_value): New.
12258         (expand_function_end): Use it.
12259         * stmt.c (expand_null_return): Likewise.
12260         (expand_value_return): Likewise.
12261
12262         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
12263
12264         * reload1.c (reload): Don't remove return value clobbers.
12265
12266 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
12267
12268         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
12269
12270 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
12271
12272         * cse.c (cse_main): Use xmalloc, not alloca.
12273         (cse_basic_block): Likewise.
12274         * local-alloc.c (local_alloc): Likewise.
12275
12276 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
12277                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12278
12279         * rtl.c: Include toplev.h.
12280         (fatal): Remove declaration.
12281
12282 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
12283
12284         * haifa-sched.c (schedule_block): Fix thinko.
12285
12286 1999-11-03  James McKelvey <mckelvey@fafnir.com>
12287
12288         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
12289         S_IR* defined values
12290
12291 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
12292
12293         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
12294         call `malloc' instead.
12295
12296 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
12297
12298         * flags.h (flag_renumber_insns): Declare.
12299         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
12300         renumbering table.
12301         * rtl.h (renumber_insns): Change prototype.
12302         * toplev.c (flag_renumber_insns): Define.
12303         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
12304
12305 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
12306
12307         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
12308         and fpsqrtd.  Use them and create fdiv function unit to more
12309         accurately represent fpu sqrt pipeline semantics on UltraSparc.
12310         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
12311
12312 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
12313
12314         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
12315         3 on UltraSparc.
12316         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
12317         insn into ready list, do not use just a raw swap.
12318
12319 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
12320
12321         * rtl.h (renumber_insns): New function.
12322         (remove_unnecessary_notes): Likewise.
12323         * emit-rtl.c (renumber_insns): Define.
12324         (remove_unncessary_notes): Likewise.
12325         * toplev.c (rest_of_compilation): Remove dead code.
12326         Use renumber_insns and remove_unncessary_notes.
12327
12328         * gcse.c (struct null_pointer_info): New type.
12329         (get_bitmap_width): New function.
12330         (current_block): Remove.
12331         (nonnull_local): Likewise.
12332         (nonnull_killed): Likewise.
12333         (invalidate_nonnull_info): Take a null_pointer_info as input.
12334         (delete_null_pointer_checks_1): New function.
12335         (delete_null_pointer_checks): Use it.
12336
12337         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
12338         (split_edges): Likewise.
12339         (schedule_block): Likewise.
12340         (compute_block_backward_dependencies): Likewise.
12341         (schedule_region): Likewise.
12342         (schedule_insns): Likewise.
12343
12344 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
12345
12346         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
12347         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
12348         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
12349         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
12350         * jump.c (delete_unreferenced_labels): Don't delete if
12351         LABEL_ALTERNATE_NAME is set.
12352         * print-rtl.c (print_rtx): Dump alternate name.
12353         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
12354         * rtl.h (LABEL_ALTERNATE_NAME): Define.
12355         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
12356         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
12357
12358 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12359
12360         * fix-header.c (recognized_extern, recognized_function): Constify
12361         a char*.
12362
12363         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
12364         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
12365         (compute_available): Remove unused variable `last'.
12366         (compute_nearerout): Remove unused variable `temp_bitmap'.
12367         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
12368         Remove unused variable `x'.
12369
12370         * scan.h (recognized_function, recognized_extern): Constify a
12371         char*.
12372
12373         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
12374
12375 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12376
12377         * varasm.c (decode_rtx_const): Use XSTR to access the string
12378         of a SYMBOL_REF.
12379
12380 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
12381
12382         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
12383
12384 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12385
12386         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
12387
12388 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
12389
12390         * pa.c (ireg_operand): New function.
12391         * pa.h (PREDICATE_CODES): Handle ireg_operand.
12392         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
12393         Fix out of date comment.
12394
12395         * pa.md (negdi2): Turn into expander + anonymous pattern.
12396
12397         * reload.c (find_reloads): Fix typos in recent change.
12398
12399         * dwarf2out.c: Do not include ctype.h.
12400
12401 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12402
12403         * regclass.c (record_reg_classes): Always use may_move_cost when
12404         seeing how operand fits with various register classes.
12405
12406 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
12407
12408         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
12409         * toplev.c: Revert Nov 1 13:22 change.
12410
12411 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
12412
12413         * config/pa/pa.md (height reduction patterns): Add checks for
12414         overlapping operands to avoid semantic-destroying splits for
12415         height reduction patterns.
12416
12417 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12418
12419         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
12420         have been an hyphen, fixed.
12421         * configure: Rebuilt.
12422
12423 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
12424
12425         * config/arm/tpe.h: Add prototypes for exported functions.
12426         * config/arm/pe.c: Fix compile time warnings.
12427         * config/arm/semi.h: Fix compile time warnings.
12428         * config/arm/arm.c: Fix compile time warnings.
12429         * config/arm/arm.h: Fix compile time warnings.
12430         * config/arm/arm.md: Fix compile time warnings.
12431         * config/arm/thumb.c: Fix compile time warnings.
12432         * config/arm/thumb.h: Fix compile time warnings.
12433         * config/arm/thumb.md: Fix compile time warnings.
12434
12435 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
12436
12437         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
12438         detection code
12439
12440         * unroll.c (unroll_loop): Remove LOOP notes when loop is
12441         completely unrolled.
12442
12443 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12444
12445         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
12446
12447 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
12448
12449         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
12450         * rtl.h (rtx_equal_p): Move prototype.
12451         * rtl.c (rtx_equal_function_value_matters): Move from
12452         rtlanal.c
12453         (rtx_equal_p): Likewise.
12454         * rtlanal.c (rtx_equal_function_value_matters): Delete.
12455         (rtx_equal_p): Likewise.
12456
12457 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
12458
12459         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
12460         ! HAS_INIT_SECTION.
12461
12462 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
12463
12464         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
12465
12466         * pa.h (ADDR_VEC_ALIGN): Define.
12467
12468         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
12469         notes when presented with "if (foo) break; end_of_loop" and
12470         the break sequence gets moved out of the loop.
12471
12472         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
12473         Remove explicit zero initializations of entries within MAP.
12474
12475 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
12476
12477         * reg-stack.c (convert_regs_1): Handle EH edges specially.
12478
12479 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
12480
12481         * bitmap.h (BITMAP_XMALLOC): New macro.
12482         * flow.c (CLEAN_ALLOCA): Remove.
12483         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
12484         (life_analysis): Likewise.
12485         (update_life_info): Don't use CLEAN_ALLOCA.
12486         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
12487         (calculate_global_regs_live): Likewise.
12488         (print_rtl_with_bb): Likewise.
12489         (verify_flow_info): Likewise.
12490         * global.c (global_alloc): Likewise.
12491         (global_conflicts): Likewise.
12492         * integrate.c (save_for_inline_nocopy): Likewise.
12493         (expand_inline_function): Likewise.
12494         * jump.c (jump_optimize_1): Likewise.
12495         (duplicate_loop_exit_test): Likewise.
12496         (thread_jumps): Likewise.
12497         * loop.c (loop_optimize): Likewise.
12498         (combine_givs): Likewise.
12499         (recombine_givs): Likewise.
12500         * reorg.c (dbr_schedule): Likewise.
12501         * unroll.c (unroll_loop): Likewise.
12502
12503         * combine.c (combine_instructions): Use xmalloc instead of alloca.
12504
12505 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
12506
12507         * toplev.c (rest_of_compilation): Don't optimize the CFG
12508         when rebuilding, just before dbr.
12509
12510 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12511
12512         * output.h (assemble_end_function, assemble_destructor,
12513         assemble_constructor, assemble_gc_entry, assemble_global,
12514         assemble_label, output_constant_pool) Constify a char*.
12515
12516         * varasm.c (assemble_destructor, assemble_constructor,
12517         assemble_gc_entry, assemble_end_function, assemble_global,
12518         assemble_label, output_constant_pool): Likewise.
12519
12520 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
12521
12522         * config/arm/thumb.c (thumb_expand_prologue): Add comments
12523         explaining what is goin on in this function.
12524
12525 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12526
12527         * regclass.c (record_reg_classes): In matching case, recompute
12528         costs since the direction of movement is different.
12529
12530 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
12531
12532         * resource.c (mark_target_live_regs): For unconditional branches,
12533         the resources found at the branch target should be added to the
12534         resources found so far, not intersected.
12535
12536 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
12537
12538         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
12539         old cpp's.
12540         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
12541         (sys/mman.h): Include this file only if #HAVE_MMAP.
12542         (run_compiles): Initialize `esac_fmt' with one old KR string, not
12543         with automatically concatenated ANSI strings.
12544
12545 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
12546
12547         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
12548         (DIV_ROUND_UP): Robustify.
12549         (ggc_recalculate_in_use_p): New function.
12550         (release_pages): Don't inline it.
12551         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
12552         outer contexts.
12553         (ggc_pop_context): Use ggc_recalculate_in_use_p.
12554         (clear_marks): Always save in_use_p.
12555         (sweep_pages): Use ggc_recalculate_in_use_p.
12556         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
12557         Release pages before counting statistics.
12558
12559 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
12560
12561         * toplev.c (rest_of_compilation): Fix thinko in this change:
12562
12563         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
12564
12565         (rest_of_compilation): If inside an inlined external function,
12566         pretend we are just being declared.
12567
12568 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
12569
12570         * flow.c (calculate_global_regs_live): Fix thinko.
12571
12572         * integrate.c (expand_inline_function): Fix bugs in previous
12573         change from Oct 28, 1999.
12574
12575 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
12576
12577         * stmt.c (expand_value_return): Fix typo in this change:
12578
12579         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12580         (expand_value_return): Correctly convert VAL when promoting function
12581         return; support RETURN_REG being a PARALLEL.
12582
12583 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
12584
12585         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
12586
12587 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12588
12589         * hard-reg-set.h (reg_names): Constify a char*.
12590
12591         * regclass.c  (reg_names): Likewise.
12592
12593         * regs.h (reg_names): Likewise
12594
12595         * a29k/a29k.c (reg_names): Delete declaration.
12596
12597         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
12598
12599         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
12600         arc_output_function_epilogue): Likewise.
12601
12602         * elxsi/elxsi.c (reg_names): Likewise.
12603
12604         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
12605
12606         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
12607         Likewise.
12608
12609         * m88k/m88k.c (output_function_profiler): Likewise.
12610
12611         * sparc/sparc.c (sparc_flat_output_function_prologue,
12612         sparc_flat_output_function_epilogue): Likewise.
12613
12614 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
12615
12616         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
12617         warning from -Wuninitialized and put it under -W.
12618         * function.c (uninitialized_vars_warning): Warn only when the
12619         corresponding flag is set.
12620
12621 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
12622
12623         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
12624         is nonzero and the single set does not have an elt, then assign
12625         it an elt.
12626
12627         * simplify-rtx.c: New file.
12628         * Makefile.in (OBJS): Add simplify-rtx.o
12629         (simplify-rtx.o): Add dependencies.
12630         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
12631         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
12632         (cse_gen_binary, simplify_unary_operation): Delete.
12633         (simplify_binary_operation, simplify_plus_minus): Likewise.
12634         (check_fold_consts, simplify_relation_operation): Likewise.
12635         (simplify_ternary_operation): Likewise.
12636         (delete_trivially_dead_insns): Simplify the contents of the
12637         REG_EQUAL note before trying to substitute it into the source
12638         of the reg-reg copy at the end of a libcall sequence.
12639
12640         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
12641         references/callers changed.
12642
12643         * mn10200.c (mn10200_va_arg): Force the return value into a
12644         register.
12645
12646         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
12647
12648         * cccp.c (macroexpand): Avoid out of range accesses for omitted
12649         arguments.
12650
12651 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
12652
12653         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
12654
12655 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
12656
12657         * fold-const.c (fold): Fix thinko when optimizing comparisons
12658         against -0.0.
12659
12660 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
12661
12662         * gcc.texi (Passes): Update front-end files to their current
12663         location.
12664
12665 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
12666
12667         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
12668         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
12669         (PREDICATE_CODES): Add addition_operation.
12670         * alpha-protos.h (addition_operation): Declare.
12671         (secondary_reload_class): Likewise.
12672         * alpha.c (addition_operation): New.
12673         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
12674         * alpha.md (adddi3): Turn into expander.
12675         (*lda, *adddi_2): New.
12676         (movsf, movdf patterns): Don't preference integer regs.
12677         (movsi, movdi patterns): Don't preference fp regs.
12678
12679 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
12680
12681         * genrecog.c (write_switch): Check for duplicate CODE cases.
12682
12683 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
12684
12685         * ggc-common.c: Update pre-function commentary.
12686         * ggc-page.c: Likewise.
12687         (poison): Remove.
12688         (poison_pages): Use memset directly.
12689         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
12690         (ggc_collect): Poison before sweeping.
12691         * ggc-simple.c: Update pre-function commentary.
12692         (ggc_alloc_obj): Poison non-zeroed memory.
12693
12694 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
12695
12696         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
12697         match format string, even on 64-bit hosts.
12698         * gcc-page.c (ggc_page_print_statistics): Likewise.
12699
12700 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
12701
12702         * config/i386/i386.c (ix86_cpu): Revert last patch.
12703         * config/i386/i386.h (ix86_cpu): Ditto.
12704
12705 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
12706
12707         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
12708         TYPE_SIZE, convert type of result to sizetype.
12709
12710 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
12711
12712         * flow.c (count_or_remove_death_notes): Equate NULL with the
12713         universal set.
12714
12715         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
12716         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
12717         dbr_schedule.
12718
12719         * i386.c (pic_label_no): Delete.
12720         (ix86_attr_length_default): Don't use single_set to peek
12721         inside a parallel.
12722
12723         * recog.c (peephole2_optimize): Allow recog_next_insn to index
12724         the first insn after bb->end.
12725         * i386.md (push mem peeps): Scratch is live after evaluation
12726         of the memory.
12727         (cmp mem peep): Similarly.
12728
12729 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
12730
12731         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
12732         * function.c (pad_to_arg_alignment): Add missing braces.
12733
12734 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12735
12736         * alpha/alpha-protos.h (literal_section): Add prototype.
12737         (alpha_need_linkage, alpha_start_function,alpha_end_function):
12738         Constify a char*.
12739
12740         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
12741         prototype.
12742         (alpha_start_function, alpha_end_function, float_strings,
12743         alpha_need_linkage): Constify a char*
12744
12745         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
12746
12747         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
12748
12749         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12750
12751         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
12752
12753 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12754
12755         * flow.c (debug_flow_info): Add prototype.
12756
12757         * gcc.c (main): Likewise.
12758
12759         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
12760         Likewise.
12761
12762         * reload1.c (failed_reload, set_reload_reg): Likewise.
12763
12764         * mips-tfile.c (main): Likewise.
12765         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
12766         with ATTRIBUTE_NORETURN.
12767
12768 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
12769
12770         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
12771         DECL is not a memory ref.
12772
12773 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
12774
12775         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
12776         * config/i386/i386.c (ix86_cpu): Add extern attribute.
12777
12778 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
12779
12780         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
12781         * config/mips/elf64.h: ditto.
12782
12783 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
12784
12785         * expr.c (emit_push_insn): New argument alignment_pad.
12786         Update all callers.  Adjust stack pointer based on alignment pad.
12787         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
12788         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
12789         (locate_and_pad_parm): New argument alignment_pad.  Update all
12790         callers.
12791         * expr.h (emit_push_insn): Update prototype.
12792         (locate_and_pad_parm): Update prototype.
12793         * calls.c (arg_data):  Add new field alignment_pad.
12794         (initialize_argument_information): Initialize alignment_pad.
12795
12796 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
12797
12798         * except.c (free_eh_nesting_info): Free the info itself.
12799         * function.c (free_after_compilation): Don't free NULL.
12800         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
12801         (pre_edge_insert): Free inserted.
12802         * stmt.c (free_stmt_status): Don't free NULL.
12803
12804 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
12805
12806         * gcov.c (DIR_SEPARATOR): Provide default.
12807         (output_data): Add test for MS-DOS format absolute filename.
12808         (fancy_abort): Correct program name.
12809         (open_files): Open all files in binary mode.
12810         * libgcc2.c (__bb_exit_func): Likewise.
12811
12812         * profile.c (init_branch_prob): Specify binary when opening files.
12813
12814         * flags.h (flag_unwind_tables): New decl.
12815         * toplev.c (flag_unwind_table): New definition.
12816         (f_options): Add -funwind-tables.
12817         (decode_g_option): Clarify warning when unknown -g option is given.
12818         (rest_of_compilation): If inside an inlined external function,
12819         pretend we are just being declared.
12820
12821         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
12822         (dwarf2out_frame_finish): Likewise.
12823
12824 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
12825
12826         * fold-const.c (merge_ranges): If not in0, but in1, handle
12827         upper bounds equal like subset case.
12828
12829 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
12830
12831         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
12832         passed in a register but moved to the stack.
12833
12834 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
12835
12836         * gcc.c (pass_exit_codes, greatest_status): New variables.
12837         (struct option_map): Add entry for "--pass-exit-codes".
12838         (execute): Update greatest_status if error.
12839         (display_help): Add documentation for -pass-exit-codes.
12840         (process_command): Handle -pass-exit-codes.
12841         (main): Look at pass_exit_codes and greatest_status on call to exit.
12842
12843 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12844
12845         * reload.c (find_reloads): Refine test for no input reload
12846         case to not includes reloads emitted after insn.
12847
12848         * function.c (find_temp_slots_from_address): Handle sum involving
12849         a register that points to a temp slot.
12850         (update_temp_slot_address): Make recursive call if both old and
12851         new are PLUS with a common operand.
12852         * calls.c (expand_call): Mark temp slot for result as having
12853         address taken.
12854
12855         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
12856
12857         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
12858         component as well as "BINUTILS".
12859
12860         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
12861         * integrate.c (copy_rtx_and_substitute): Likewise.
12862         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
12863         All callers changed.
12864         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
12865
12866         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
12867         gdb extensions, write size of type; also be more consistent
12868         in using references when this is a subtype.
12869
12870         * pa.md (extv, extzv, insv): Use define_expand to reject constant
12871         that is out of range.
12872
12873         * loop.c (unknown_constant_address_altered): New variable.
12874         (prescan_loop): Initialize it.
12875         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
12876         (invariant_p, case MEM): Remove handling for volatile and readonly;
12877         check new variable if readonly.
12878         (check_dbra_loop): Chdeck unknown_constant_address_altered.
12879
12880         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
12881         (addr_affects_sp_p): Removed from note_mem_written and only
12882         define #ifdef AUTO_INC_DEC.
12883
12884         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
12885
12886         * regclass.c (record_reg_classes): Properly handle register move
12887         directions.
12888
12889         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
12890         Don't think valid if both operands are invalid.
12891         (struct constant_descriptor): New field RTL.
12892         (mark_const_hash_entry): Mark it.
12893         (record_constant{,_rtx}): Initialize it.
12894         (output_constant_def): Allocate RTL in permanent obstack and
12895         save in table.
12896         ({record,compare}_constant_1): Modes must match for
12897         CONSTRUCTOR of ARRAY_TYPE.
12898
12899         * c-common.h (initializer_constant_valid_p): Delete decl from here.
12900         * output.h (initializer_constant_valid_p): Move decl to here.
12901         * c-common.c (initializer_constant_valid_p): Delete function from here.
12902         * varasm.c (initializer_constant_valid_p): Move function to here.
12903
12904         * tree.h (STRIP_SIGN_NOPS): New macro.
12905         * fold-const.c (optimize_minmax_comparison): New function.
12906         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
12907         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
12908         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
12909         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
12910         widening conversions.
12911         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
12912         to look at size of mode, not precision of type; also add missing cases.
12913         (optimize_bit_field_compare, decode_field_reference): Don't try to
12914         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
12915
12916         * dwarf2out.c (ctype.h): Include.
12917         (dwarf2out_set_demangle_name_func): New function.
12918         (size_of_line_info): Deleted.
12919         (output_line_info): Compute size of line info table from difference
12920         of labels.
12921         (base_type_die, add_name_attribute): Call demangle function, if any.
12922         (field_byte_offset): Use bits per word for variable length fields.
12923         (gen_array_type_die): Add array name.
12924         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
12925         (dwarf2out_add_library_unit_info): New function.
12926
12927         * explow.c (set_stack_check_libfunc): New function.
12928         (stack_check_libfunc): New static variable.
12929         (probe_stack_range): Allow front-end to set up a libfunc to call.
12930
12931         * combine.c (simplify_comparison): When making comparison in wider
12932         mode, check for having commuted an AND and a SUBREG.
12933         (contains_muldiv): New function.
12934         (try_combine): Call it when dividing a PARALLEL.
12935         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
12936         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
12937         a PLUS.
12938         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
12939         use one of the CLOBBERs instead.
12940         (if_then_else_cond): If comparing against zero, just return thing
12941         being compared.
12942
12943         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
12944         Don't generate shifts and subtract if have conditional arithmetic.
12945
12946         * rtl.h (delete_barrier): New declaration.
12947         * jump.c (jump_optimize): Set up to handle conditional call.
12948         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
12949         (delete_barrier): New function.
12950
12951         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
12952
12953         * recog.c (nonmemory_operand): Accept ADDRESSOF.
12954
12955         * tree.c (build_type_attribute_variant): Push to obstack of
12956         ttype around type_hash_canon call.
12957
12958         * expr.c (placeholder_list): Move decl to file scope.
12959         (expand_expr): Don't force access to volatile just because its
12960         address is taken.
12961         If ignoring reference operations, just expand the operands.
12962         (expand_expr, case COMPONENT_REF): Propagate
12963         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
12964         Refine test for using bitfield operations vs pointer punning.
12965         (expand_expr, case CONVERT_EXPR): If converting to
12966         BLKmode UNION_TYPE from BLKmode, just return inner object.
12967         Use proper mode in store_field call.
12968         Properly set sizes of object to store and total size in store_field
12969         call for convert to union.
12970         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
12971         memory (like for ADDR_EXPR).  Also, don't put constant in register if
12972         we'll want it in memory.
12973         (readonly_fields_p): New function.
12974         (expand_expr, case INDIRECT_REF): Call it if LHS.
12975         (expand_assignment): Handle a RESULT_DECL where
12976         DECL_RTL is a PARALLEL.
12977         (do_jump, case WITH_RECORD_EXPR): New case.
12978         (get_inner_reference): Always go inside a CONVERT_EXPR
12979         and NOP_EXPR if both modes are the same.
12980         (store_field): Use bitfield operations if size of bitsize is not same
12981         as size of RHS's type.
12982         Check for bitpos not a multiple of alignment in BLKmode case.
12983         Do block move in largest possible alignment.
12984         (store_constructor): Set BITSIZE to -1 for variable size and properly
12985         in case of array of BLKmode.
12986         (expand_expr_unaligned): New function.
12987         (do_compare_and_jump): Call it.
12988
12989         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
12990         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
12991         does not include 'o'.
12992
12993         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
12994         both SET_DEST and SET_SRC reference a virtual register.
12995         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
12996
12997         * integrate.c (expand_inline_function): Handle case of setting
12998         virtual stack vars register (from built in setjmp); when parameter
12999         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
13000         (subst_constant): Add new parm, MEMONLY.
13001         (expand_inline_function, integrate_parm_decls): Pass new parm.
13002         (integrate_decl_tree): Likewise.
13003         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
13004         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
13005         (copy_rtx_and_substitute, case SET): Add explicit calls to
13006         copy_rtx_and_substitute for both sides.
13007
13008         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
13009         constraints.
13010         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
13011         within INDEX_TYPE, instead of before.
13012         (fixup_gotos): Use f->target_rtl, not the next insn,
13013         since latter may be from a later fixup.
13014         (expand_value_return): Correctly convert VAL when promoting function
13015         return; support RETURN_REG being a PARALLEL.
13016         (expand_return): When checking for result in regs and having
13017         cleanup, consider PARALLEL in DECL_RTL as being in regs.
13018
13019 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
13020
13021         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
13022         last_nominal_fname): Mark const.
13023         (struct include_hash: name, nshort, control_macro): Mark
13024         const.
13025         (struct macrodef: symnam): Mark const.
13026         (struct if_stack: fname): Mark const.
13027         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
13028         (IStable): New character-syntax array which encompasses all
13029         the old is_foo arrays.
13030         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
13031         is_space): New macros for interrogating IStable.
13032         (check_macro_name): Kill last argument.  All callers changed.
13033
13034         * cppinit.c (initialize_char_syntax): Delete.
13035         (is_idchar, is_idstart, is_hor_space, is_space,
13036         trigraph_table): Delete.
13037         (IStable): New.  Initialize with clever macros to avoid
13038         information duplication.
13039         (builtin_array): Table of builtins to get rid of explicit list
13040         in initialize_builtins.
13041         (initialize_builtins): Use builtins_array.
13042         (cpp_start_read): Call init_IStable, and set IStable['$'] if
13043         opts->dollars_in_ident.
13044
13045         * cppexp.c: Change all refs to is_xyz[] arrays to use new
13046         is_xyz() macros.
13047         (cpp_parse_expr): Avoid 'format string is not constant'
13048         warning. Use ISGRAPH to identify printable chars.
13049         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
13050         is_xyz() macros.
13051         (read_and_prescan): Map trigraphs to chars with open-coded
13052         if-else-if-... sequence, not a lookup table.
13053         * cpphash.c: Change all refs to is_xyz[] arrays to use new
13054         is_xyz() macros.
13055         * cpplib.c: Change all refs to is_xyz[] arrays to use new
13056         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
13057         (check_macro_name): Remove ability to report an invalid
13058         assertion name, which is never used.
13059         (do_line): Constify a couple of char *'s.
13060         * cppmain.c (main): Call cpp_cleanup before returning.
13061
13062 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
13063
13064         * ggc.h (struct ggc_statistics): New type.
13065         (ggc_get_size): New function.
13066         (ggc_print_statistics): Likewise.
13067         * ggc-common.c (ggc_stats): New variable.
13068         (ggc_mark_rtx_children): Keep statistics.
13069         (ggc_mark_tree_children): Likewise.
13070         (ggc_print_statistics): New function.
13071         * ggc-page.c (struct globals): Add bytes_mapped field.
13072         (alloc_anon): Update it.
13073         (release_pages): Likewise.
13074         (ggc_get_size): New function.
13075         (ggc_page_print_statistics): New function.
13076         * ggc-simple.c (ggc_get_size): New function.
13077
13078 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
13079
13080         * flow.c (propagate_block): When the last reference to a label
13081         before an ADDR_VEC is deleted because the reference is a dead
13082         store, delete the ADDR_VEC.
13083
13084 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
13085
13086         * resource.c (find_free_register): Don't use the frame pointer
13087         if frame_pointer_needed.
13088
13089 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
13090
13091         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
13092         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
13093
13094         * config/i960/i960.c (i960_va_start): New locals base, num.
13095         Use INDIRECT_REF instead of ARRAY_REF on valist.
13096         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
13097
13098 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
13099
13100         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
13101
13102 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
13103
13104         * tree.def (PLACEHOLDER_EXPR): Update comments.
13105
13106 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13107
13108         * c-common.c (check_format_info): Avoid non-literal format string
13109         warnings when `first_arg_num' is zero.
13110
13111 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13112
13113         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
13114
13115 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
13116
13117         * arm.md (casesi_insn): Add a clobber of the condition code
13118         register.
13119
13120 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
13121
13122         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
13123         used by both cc1 and cc1plus.
13124
13125 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
13126
13127         * config/arm/arm.c: Initialise arm_structure_size_boundary to
13128         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
13129         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
13130         to the value 32 if it has not already been defined.
13131         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
13132         Override definition in arm.h with a value of 8.
13133
13134 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
13135
13136         * c-pragma.c (push_alignment): Don't check the return value
13137         of xmalloc.
13138
13139 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
13140
13141         * sparc.h (ADJUST_COST): Fix thinko.
13142
13143 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
13144
13145         * cccp.c (rescan): Fixed obp pointer handling around call to
13146         check_expand subroutine.
13147
13148 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
13149
13150         * gcse.c (delete_null_pointer_checks): Only record non-null info
13151         for pseudos when examining stores.
13152
13153         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
13154         splitters for these patterns.  Use "#" for output templates.
13155         (addsi3_carryin_shift): New pattern.
13156
13157 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
13158
13159         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
13160         of the function return register into a plain REG until
13161         after function inlining is done.
13162
13163 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
13164
13165         * jump.c (jump_optimize_1): If we did cross-jumping, and
13166         the data will matter, rebuild the CFG.
13167         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
13168         not optimizing.  Don't run shorten_branches.
13169         * toplev.c (rest_of_compilation): Run shorten_branches after
13170         reg_to_stack.
13171
13172 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
13173
13174         * rtl.h (note_stores): Add additional paramter.
13175         * rtlanal.c (reg_set_p_1): Take additional paramter.
13176         (reg_set_last_1): Likewise.
13177         (reg_set_p): Adjust call to note_stores.
13178         (reg_set_last): Likewise.
13179         (note_stores): Pass data parameter to worker function.
13180         * alias.c (record_set): Take additional parameter.
13181         (init_alias_analysis): Pass it.
13182         * caller-save.c (mark_set_regs): Take additional parameter.
13183         (save_call_clobbered_regs): Pass NULL to note_stores.
13184         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
13185         parameter.
13186         (record_dead_and_set_regs_1): Likewise.
13187         (reg_dead_at_p_1): Likewise.
13188         (combine_instructions): Adjust calls to note_stores.
13189         (try_combine): Likewise.
13190         (record_dead_insn): Remove.
13191         (record_dead_and_set_regs): Adjust calls to note_stores.
13192         (reg_dead_at_p): Likewise.
13193         * cse.c (invalidate_skipped_set): Take additional parameter.
13194         (cse_check_loop_start): Likewise.
13195         (cse_check_loop_start_value): Remove.
13196         (cse_set_around_loop): Adjust calls to note_stores.
13197         * flow.c (notice_stack_pointer_modification): Take additional
13198         parameter.  Remove duplicate declaration.
13199         (record_volatile_insns): Adjust calls to note_stores.
13200         * gcse.c (record_set_info): Take additional parameter.
13201         (record_last_set_info): Likewise.
13202         (invalidate_nonnull_info): Likewise.
13203         (record_set_insn): Remove.
13204         (compute_sets): Adjust calls to note_stores.
13205         (last_set_insn): Remove.
13206         (compute_hash_table): Adjust calls to note_stores.
13207         (insert_insn_end_bb): Likewise.
13208         (delete_null_pointer_checks): Likewise.
13209         * global.c (mark_reg_store): Take additional parameter.
13210         (mark_reg_clobber): Likewise.
13211         (reg_becomes_live): Likewise.
13212         (global_conflicts): Adjust calls to note_stores.
13213         (build_insn_chain): Likewise.
13214         * integrate.c (note_modified_parmregs): Take additional parameter.
13215         (mark_stores): Likewise.  Make it static.
13216         (save_for_inline_nocopy): Adjust calls to note_stores.
13217         (try_constants): Likewise.
13218         * integrate.h (mark_stores): Remove declaration.
13219         * jump.c (mark_modified_reg): Take additional parameter.
13220         (thread_jumps): Adjust calls to note_stores.
13221         * local-alloc.c (validate_equiv_mem_from_store): Take additional
13222         parameter.
13223         (no_equiv): Likewise.
13224         (reg_is_set): Likewise.
13225         (validate_equiv_mem): Adjust calls to note_stores.
13226         (update_equiv_regs): Likewise.
13227         (block_alloc): Likewise.
13228         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
13229         (note_addr_stored): Take additional parameter.
13230         (note_set_pseudo_multiple_uses): Likewise.
13231         (record_initial): Likewise.
13232         (prescan_loop): Adjust calls to note_stores.
13233         (strength_reduce): Likewise.
13234         (check_dbra_loop): Likewise.
13235         * regmove.c (flags_set_1): Take additional paramter.
13236         (mark_flags_life_zones): Adjust calls to note_stores.
13237         * reload1.c (mark_not_eliminable): Take additional parameter.
13238         (forget_old_reloads_1): Likewise.
13239         (reload_cse_invalidate_rtx): Likewise.
13240         (reload_cse_check_clobber): Likewise.
13241         (reload_combine_note_store): Likewise.
13242         (move2add_note_store): Likewise.
13243         (reload): Adjust calls to note_stores.
13244         (reload_as_needed): Likewise.
13245         (emit_reload_insns): Likewise.
13246         (reload_cse_regs_1): Likewise.
13247         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
13248         (reload_combine): Adjust calls to note_stores.
13249         * resource.c (update_live_status): Take additional paramter.
13250         (mark_target_live_regs): Adjust calls to note_stores.
13251         * stupid.c (find_clobbered_regs): Take additional parameter.
13252         (stupid_life_analysis): Adjust calls to note_stores.
13253
13254 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
13255
13256         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
13257         definition.
13258
13259         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
13260         definition.
13261
13262         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
13263         of the variable arm_structure_size_boundary.
13264
13265 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
13266
13267         * alias.c (init_alias_analysis): Allocate reg_known_value and
13268         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
13269         and reg_seen.
13270         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
13271         * cse.c (cse_main): Call end_alias_analysis.
13272         * haifa-sched.c (schedule_insns): Likewise.
13273         * local-alloc. (update_equiv_regs): Likewise.
13274         * reload1.c (reload_cse_regs): Likewise.
13275
13276 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13277
13278         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
13279         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
13280         mapping from MASK_FPU.
13281
13282 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
13283
13284         * sparc.md (call): Don't bound structure return size to 0xfff.
13285
13286 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
13287
13288         * resource.c (mark_target_live_regs): Check that the target
13289         insn wasn't created after compute_bb_for_insn.
13290
13291 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
13292
13293         * ggc-page.c (poison_pages): Don't be overzealous.
13294
13295 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
13296
13297         * alias.c: Update comments for ADDRESS.
13298         (nonlocal_reference_p): Look inside the ADDRESS to determine if
13299         it is a local memory reference.
13300
13301         * c-typeck.c (build_function_call): Check that the built-in
13302         function is of class BUILT_IN_NORMAL before trying to recongize
13303         it as BUILT_IN_ABS.
13304         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
13305         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
13306
13307 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
13308
13309         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
13310         of alloca.
13311         (pre_gcse): Likewise.
13312         (hoist_expr_reaches_here_p): Likewise.
13313         (hoist_code): Likewise.
13314         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
13315         code to ...
13316         (pre_expr_reaches_here_p_work): ... here.
13317         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
13318         code to ...
13319         (expr_reaches_here_p_work): ... here.
13320
13321 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
13322
13323         * resource.c (find_basic_block): Delete.
13324         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
13325         (init_resource_info): Call compute_bb_for_insn.
13326
13327 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
13328
13329         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
13330         with already adjacent blocks, but no fallthru.
13331         (merge_blocks_move_successor_nojumps): Simplify.
13332         (debug_flow_info): New.
13333
13334         * toplev.c (rest_of_compilation): Open jump1 dump file before
13335         jump and close after, as opposed to just using dump_rtl.
13336
13337 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13338
13339         * reload.h (earlyclobber_operand_p): Declare.
13340         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
13341         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
13342         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
13343         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
13344
13345 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
13346                           Richard Henderson  <rth@cygnus.com>
13347
13348         * emit-rtl.c (emit_block_insn_before): New.
13349         (emit_block_insn_after): New.
13350         * basic-block.h: Declare them.
13351
13352         * bitmap.h: Protect from multiple inclusion.
13353
13354         * recog.c (scratch_operand): Handle VOIDmode correctly.
13355
13356         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
13357
13358         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
13359         * function.c (assign_parms): Likewise.
13360         * global.c (global_conflicts): Clarify STACK_REGS commentary.
13361
13362         * reg-stack.c (max_uid): Remove.
13363         (blocks, block_begin, block_end, block_drops_in): Remove.
13364         (block_stack_in, block_out_reg_set, block_number): Remove.
13365         (struct block_info_def, BLOCK_INFO): New.
13366         (enum emit_where): New.
13367         (current_block): New.
13368         (BLOCK_NUM): Remove.
13369         (mark_regs_pat, record_label_references): Remove.
13370         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
13371         (nan): New.
13372         (goto_block_pat, print_blocks, dump_stack_info): Remove.
13373         (reg_to_stack): Simplified test for existance of fp code.  Use
13374         flow.c code.  Call shorten_branches after cross-jump opt.
13375         (check_asm_stack_operands): Renamed from record_asm_reg_life.
13376         Return false if the asm doesn't use stack regs.  Don't do life
13377         analysis on the asm.
13378         (emit_pop_insn): Replace function pointer arg `when' with
13379         enum `where'.  Update all callers.
13380         (change_stack): Likewise.  Update basic block end.
13381         (emit_swap_insn): Use current_block->head to limit reverse search
13382         for start of block.  Use emit_block_insn_after.
13383         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
13384         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
13385         structure assignment instead of bcopy.
13386         (print_stack): New.
13387         (convert_regs_entry, convert_regs_exit): New.
13388         (convert_regs_1, convert_regs_2): Split out from convert_regs.
13389         Work on basic blocks and the CFG.
13390         (convert_regs): Use them.
13391
13392         * i386.c (output_fix_trunc): Remove code for DImode input operand
13393         not at top-of-stack.
13394         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
13395         appropriate mode.
13396         (fix_truncdi_1): Allow any mode scratch.
13397
13398 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
13399
13400         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
13401         * linux.h, netbsd.h, vms.h: Not here.
13402
13403 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
13404
13405         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
13406         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
13407         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
13408         CONDITIONAL_REGISTER_USEAGE): Use them.
13409         * config/mips/mips.c (mips_move_1word,mips_move_2words,
13410         gen_conditional_branch,override_options) : Use them.
13411         * config/mips/mips.md : Use them.
13412
13413 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
13414
13415         * i386.md (zero_extendqihi2): Use SImode register name with andl.
13416
13417 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
13418
13419         * integrate.c (function_cannot_inline_p): Don't allow inlining
13420         if setjmp is used.
13421
13422 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13423
13424         * c-parse.in (cast_expr): Constify.
13425
13426         * cccp.c (special_symbol): Likewise.
13427
13428         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
13429
13430         * dwarf2out.c (base_type_die): Likewise.
13431
13432         * global.c (allocno_compare): Likewise.
13433
13434         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
13435
13436         * regclass.c (fix_register): Likewise.
13437
13438         * rtl.h (fix_register): Likewise.
13439
13440         * stupid.c (stupid_reg_compare): Likewise.
13441
13442         * toplev.c (decode_f_option): Likewise.
13443
13444         * tree.c (build_complex_type): Likewise.
13445
13446 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
13447
13448         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
13449
13450 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13451
13452         * reload.c (find_reloads): Compute mode and nregs fields of all
13453         reloads.
13454         * reload1.c (calculate_needs_all_insns): Simplify a bit.
13455         (calculate_needs): Use precomputed mode/nregs values.
13456         (allocate_reload_reg): Likewise.
13457         Break out two...
13458         (failed_reload, set_reload_reg): ... new functions.
13459         (choose_reload_regs_init): New function, mostly broken out from...
13460         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
13461         Also lose one #if 0 block.
13462
13463 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
13464
13465         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
13466         substitution.
13467
13468 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
13469
13470         * tree.h (BLOCK_TYPE_TAGS): Remove.
13471         (BLOCK_END_NOTE): Likewise.
13472         (BLOCK_LIVE_RANGE_FLAG): Likewise.
13473         (BLOCK_LIVE_RANGE_START): Likewise.
13474         (BLOCK_LIVE_RANGE_END): Likewise.
13475         (tree_block): Remove live_range_flag, live_range_var_flag, and
13476         type_tags.  Remove end_note, live_range_start, and live_range_end.
13477         (remember_end_note): Remove prototype.
13478         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
13479         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
13480         remember_end_note.
13481         * ggc-common.c (ggc_mark_tree_children): Don't mark
13482         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
13483         * integrate.c (adjust_copied_decl_tree): Remove.
13484         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
13485         * stmt.c (last_block_end_note): Remove.
13486         (init_stmt): Don't add a GC root for it.
13487         (expand_fixup): Don't set it.
13488         (remember_end_note): Remove.
13489         (expand_end_bindings): Don't set last_block_end_note.
13490
13491 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13492
13493         * reload1.c (reload_reg_free_for_value_p): Show
13494         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
13495         reloads.
13496
13497 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
13498
13499         * expmed.c (extract_bit_field): Allow for the case of non-integer
13500         objects that are smaller than a word (like SFmode on a 64-bit
13501         machine).
13502
13503         * loop.c (basic_induction_var): A non-integer variable which is
13504         being set by a paradoxical subreg is probably not a biv.
13505
13506 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13507
13508         * prefix.c (translate_name) Check for empty prefix string.
13509
13510 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
13511
13512         * Makefile.in (CPP_CROSS_NAME): New variable.
13513         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
13514         xcpp.
13515         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
13516         names of the files to be uninstalled.
13517
13518 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
13519
13520         * collect2.c (IS_DIR_SEPARATOR): Define.
13521         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
13522
13523         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
13524         functions too.
13525
13526         * haifa-sched.c (add_dependence): Update the true dependency
13527         cache the first time we add a true dependence to the LOG_LINKS chain.
13528
13529 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
13530
13531         * fold-const.c (fold): Fix comment.
13532
13533 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13534
13535         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
13536         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
13537         dbxout_start_new_source_file, dbxout_source_file,
13538         dbxout_source_line, dbxout_finish, dbxout_type_fields,
13539         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
13540         Constify a char*.
13541         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
13542         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
13543         (dbxout_block): Initialize variable `blocknum'.
13544
13545         * dbxout.h (dbxout_init, dbxout_finish,
13546         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
13547         dbxout_args, dbxout_source_line): Constify a char*.
13548
13549         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
13550         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
13551         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
13552         low_pc_attribute, high_pc_attribute, body_begin_attribute,
13553         body_end_attribute, comp_dir_attribute, sf_names_attribute,
13554         src_info_attribute, mac_info_attribute, producer_attribute,
13555         lookup_filename, generate_macinfo_entry, fundamental_type_code,
13556         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
13557         dwarfout_undef): Constify a char*.
13558         (add_incomplete_type, retry_incomplete_types): Add prototypes.
13559
13560         * dwarfout.h (dwarfout_define, dwarfout_undef,
13561         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
13562
13563 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
13564
13565         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
13566         (MULTILIB_ISA_DEFAULT): New.
13567         (MULTILIB_DEFAULTS): Use it.
13568         * config/mips/mips.c (): Remove the now unnecessary definition
13569         of MIPS_ISA_DEFAULT.
13570         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
13571         unnecessary definition.
13572
13573 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
13574
13575         * arm.md (pic_load_addr): Add constraints to operand 1.
13576
13577 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
13578
13579         * fixinc/genfixes:  Provide a means for specifying -D options to
13580         AutoGen
13581
13582 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
13583
13584         * arm.c (arm_override_options): Correct initialization of
13585         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
13586         arm_is_strong, and arm_is_6_or_7.
13587
13588         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
13589         (note_set_pseudo_multiple_uses): New function.
13590         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
13591         if a pseudo set in the loop exit is used elsewhere.
13592
13593 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
13594
13595         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
13596
13597 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
13598
13599         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
13600         a single load-address pattern.
13601
13602 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
13603
13604         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
13605         depending on whether or not line-number notes are present.
13606
13607 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13608
13609         * cccp.c (progname, file_buf, default_include, include_file,
13610         macrodef, definition, hashval, wchar_type, user_label_prefix,
13611         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
13612         expand_to_temp_buffer, is_system_include, base_name,
13613         absolute_filename, read_name_map, open_include_file,
13614         record_control_macro, check_precompiled, check_preconditions,
13615         pcfinclude, pass_thru_directive, create_definition,
13616         check_macro_name, comp_def_part, collect_expansion,
13617         check_assertion, read_token_list, assertion_install,
13618         assertion_lookup, eval_if_expression, conditional_skip,
13619         validate_else, skip_quoted_string, quote_string, macarg1,
13620         error_from_errno, install, lookup, hashf, dump_defn_1,
13621         perror_with_name, pfatal_with_name, main, trigraph_pcp,
13622         check_white_space, rescan, handle_directive, monthnames,
13623         special_symbol, do_include, remap_include_file, write_output,
13624         arglist, do_assert, do_unassert, do_line, do_error, do_once,
13625         do_ident, do_sccs, do_xifdef, skip_if_group,
13626         output_line_directive, macroexpand, macarg, change_newlines,
13627         initialize_builtins, make_definition): Constify a char*.
13628
13629         * pcp.h (stringdef): Likewise.
13630
13631 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
13632
13633         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
13634         not of pattern.
13635
13636 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
13637                           Richard Henderson  <rth@cygnus.com>
13638
13639         * alias.c: Include ggc.h.
13640         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
13641         (record_set): Verify enough room in reg_base_value.
13642         (init_alias_analysis): Allocate reg_base_value with xcalloc.
13643         Register it as a GC root.
13644         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
13645         * Makefile.in (alias.o): Depend on ggc.h.
13646
13647         * unroll.c (unroll_loop): Verify the insn before a barrier
13648         is a JUMP_INSN before checking JUMP_LABEL.
13649
13650 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13651
13652         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
13653         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
13654         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
13655         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
13656         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
13657         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
13658
13659 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13660
13661         * output.h (ctors_section, dtors_section, bss_section): Prototype.
13662
13663         * alpha/alpha-interix.h (text_section): Delete prototype.
13664         * alpha/elf.h (text_section): Likewise.
13665         * arm/linux-elf.h (text_section): Likewise.
13666         * arm/linux-telf.h (text_section): Likewise.
13667         * c4x/c4x.h (text_section): Likewise.
13668         * dsp16xx/dsp16xx.h (bss_section): Likewise.
13669         * elfos.h (text_section): Likewise.
13670         * i386/aix386ng.h (text_section): Likewise.
13671         * i386/i386-interix.h (text_section): Likewise.
13672         * i386/sco5.h (text_section): Likewise.
13673         * i386/svr3gas.h (text_section): Likewise.
13674         * nextstep.h (text_section): Likewise.
13675         * psos.h (text_section): Likewise.
13676         * ptx4.h (text_section): Likewise.
13677         * svr3.h (text_section): Likewise.
13678         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
13679
13680 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13681
13682         * final.c (peephole): Delete prototype.
13683
13684         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
13685         (pre_insert_copies): Remove unused variable `bb'.
13686
13687         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
13688         prototypes.
13689
13690         * output.h (peephole): Add prototype.
13691
13692 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
13693
13694         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
13695         -O0.
13696
13697 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
13698
13699         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
13700         for inlined declarations.
13701
13702 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
13703
13704         * arm.c (logical_binary_operator): New fucntion.
13705         * arm.h (logical_binary_operator): Declare it.
13706         (PREDICATE_CODES): Handle logical_binary_operator.
13707         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
13708         output constraints.  Add appropriate splitters.
13709         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
13710         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
13711         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
13712
13713 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13714
13715         * genoutput.c (struct operand_data): New elt eliminable.
13716         (output_operand_data): Write it.
13717         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
13718         (compare_operands): Take it into account.
13719         * recog.h (struct insn_operand_data): New elt eliminable.
13720         * reload1.c (check_eliminable_occurrences, elimination_effects): New
13721         functions.
13722         (old_asm_operands_vec, new_asm_operands_vec): Delete.
13723         (eliminate_regs): Move code that detects changes to elimination
13724         target regs into new function elimination_effects.
13725         Delete one #if 0 block.
13726         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
13727         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
13728         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
13729         Only call eliminate_regs for real operands of the insn, not for parts
13730         of its structure or parts matched by things like match_operator.
13731         Use elimination_effects and check_eliminable_occurrences.  Use
13732         copy_insn to duplicate the pattern when not in the final pass.
13733
13734 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
13735
13736         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
13737         and fld.
13738
13739 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
13740
13741         * fixinc/README: document the "mach" machine matching test
13742         * fixinc/fixfixes.c: Implement the #else/#endif label fix
13743         * fixinc/fixtests.c: Implement the #else/#endif label test
13744         * fixinc/inclhack.def: utilize these tests and fixes
13745         * fixinc/inclhack.sh:  regen
13746         * fixinc/fixincl.x:  regen
13747         * fixinc/fixincl.sh:  regen
13748
13749 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
13750
13751         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
13752         depend on ggc.h.
13753
13754 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
13755
13756         * gcc.1: Document exit codes.
13757
13758 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13759
13760         * calls.c: Include tm_p.h later, so everything we need is defined.
13761         * expr.c: Likewise.
13762         * function.c: Likewise.
13763
13764         * except.c: Include tm_p.h.
13765
13766         * sparc.c: Likewise.
13767         (dwarf2out_cfi_label): Don't prototype.
13768         (check_return_regs, epilogue_renumber,
13769         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
13770         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
13771         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
13772         ultra_schedule_insn): Add static prototype.
13773         (data_segment_operand, text_segment_operand): Call itself with the
13774         proper number of arguments.
13775         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
13776
13777         * sparc.h: Move all declarations to sparc-protos.h.
13778         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
13779         symbolic_operand.
13780
13781         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
13782
13783         * config/svr4.h (text_section, ctors_section, dtors_section): Add
13784         Prototypes.
13785         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
13786         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
13787         ASM_OUTPUT_ASCII): Constify a char*.
13788
13789         * sparc-protos.h: New file for sparc prototypes.
13790
13791 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13792
13793         * function.c (record_insns, contains): Always declare and define.
13794         (record_insns): Mark with ATTRIBUTE_UNUSED.
13795
13796 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
13797
13798         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
13799         to .section when outputting a .bss section to deal with multiple
13800         .bss input sections (as happens with -fdata-sections)
13801         Also output %progbits, not @progbits so the assembler doesn't treat as
13802         a comment.
13803         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
13804
13805         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
13806         thumb parts even when building with non-thumb CPUs, by forcing
13807         thumb mode.
13808
13809 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
13810
13811         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
13812         (movdf_const_intreg_sp64): Similarly.
13813
13814         * local-alloc.c (update_equiv_regs): Check the correct insn
13815         for pre-existing REG_EQUIV notes.
13816
13817 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
13818
13819         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
13820         block reached by a branch if we're not going to actually process
13821         this block.
13822
13823 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
13824
13825         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
13826         a local extern function declaration.
13827
13828 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
13829
13830         * i386.c (ix86_expand_prologue): Properly wrap USE around
13831         reg for CALL_INSN_FUNCTION_USAGE.
13832
13833 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
13834
13835         * config/mips/mips.md (movdf_internal1a): Allow floating-point
13836         move between GP_REGs.
13837
13838 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
13839
13840         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
13841         the mode size when finding out if an offset is legal.
13842
13843 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
13844
13845         * basic-block.h (PROP_*): Move constants from ...
13846         * flow.c: ... here.
13847         (compute_bb_for_insn): Free the array before reallocating.
13848         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
13849         (allocate_reg_life_data): Reset all reg variables collected by
13850         propagate_block.
13851         (get_block_head_tail): Don't convert from bb to block.
13852         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
13853         (find_insn_reg_weight): Take block not bb.
13854         (schedule_block): Don't set block num for moved insns.
13855         (schedule_region): Don't update_life_info or find_insn_reg_weight.
13856         (schedule_insns): Do it here instead.
13857         * combine.c (combine_instructions): Invoke compute_bb_for_insn
13858         before update_life_info.
13859         * recog.c (split_all_insns, peephole2_optimize): Update for
13860         new arg to update_life_info.
13861         * rtlanal.c (remove_note): Cope with NULL note.
13862         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
13863         if we did sched1.
13864
13865 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
13866
13867         * jump.c (jump_optimize_1): More accurately detect casesi insns.
13868
13869         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
13870         block records so that merge_blocks_nomove will clean up correctly.
13871         (split_edge): Handle casesi insns.
13872
13873         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
13874
13875 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
13876
13877         * pa.md (call, call_value): Do not emit a blockage after restoring
13878         the PIC register.
13879
13880 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
13881
13882         * c-typeck.c (c_expand_asm_operands): Fix typo.
13883
13884 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13885
13886         * arm.c (fpu_rhs_operand): Verify modes.
13887         (fpu_add_operand): Likewise.
13888         (di_operand): Likewise.
13889         (soft_df_operand): Likewise.
13890
13891 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
13892
13893         * arm.c (arm_return_in_memory): APCS rules state that the elements
13894         of a structure returned in a register must be 'integer-like'.
13895
13896 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
13897
13898         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
13899         in the source tree when the generated targets are out of date
13900         * fixinc/genfixes: Alter it to run individual fixes for make.
13901         * fixinc/README: rewrite
13902         * fixinc/inclhack.def: moved initial comments to README
13903
13904 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
13905
13906         * toplev.c (main): Do not generate an error message if an
13907         unrecognised command line switch is recognisable by another
13908         language.  If extra_warnings are enabled, then generate a
13909         warning message instead.
13910
13911 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13912
13913         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
13914         (insert_pack_attributes): Delete prototype.
13915
13916         * c-pragma.c (default_alignment): New static variable.
13917         (push_alignment): Initialize to current effective alignment.
13918         (pop_alignment): Use to set new alignment.
13919         (insert_pack_attributes): Delete function.
13920         (handle_pragma_token): Set default_alignment as well each time
13921         a #pragma pack(<n>) is encountered.
13922
13923 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
13924
13925         * reg-stack.c (stack_result): Aggregates are not returned in
13926         stack registers.
13927
13928 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
13929
13930         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
13931
13932 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
13933
13934         * basic-block.h (set_block_num): Declare.
13935         * flow.c (update_life_info): Don't call compute_bb_for_insn
13936         or free_basic_block_vars.
13937         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
13938         (insn_orig_block): Remove.
13939         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
13940         (schedule_block): Keep BLOCK_NUM up-to-date.
13941         (schedule_insns): Use compute_bb_for_insn.
13942         * recog.c (split_all_insns): Likewise.
13943         (peephole2_optimize): Likewise.
13944
13945 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
13946
13947         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
13948         if the pic register is used.
13949
13950 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13951
13952         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
13953         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
13954         if that tests TREE_PERMANENT.
13955
13956 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
13957
13958         * cse.c (invalidate_for_call): Do not remove memory references from
13959         the table here.  It's handled elsewhere.
13960
13961         * haifa-sched.c (add_dependence): Protect references to the
13962         true dependency cache with #ifdef INSN_SCHEDULING.
13963         (remove_dependence): Similarly.
13964
13965         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
13966         to the cfg code that this is a return instruction.
13967         * mn10300.md (return_internal): Similarly.
13968
13969         * combine.c (get_last_value): If the last set of a register
13970         is after subst_low_cuid, then we can not use it to determine
13971         the register's last value.
13972
13973 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
13974
13975         * Makefile.in: Back out previous change.
13976
13977 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
13978
13979         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
13980
13981         * haifa-sched.c (add_dependence): Only check/update the cache
13982         if it exists.
13983         (remove_dependence): Likewise.
13984         (schedule_insns): Only create the true_dependency_cache if the
13985         average number of instructions in a basic block is very large.
13986
13987 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
13988
13989         * Makefile.in (ggc-common.o): Depend on genrtl.h.
13990         (ggc-simple.o): Likewise.
13991         (ggc-page.o): Likewise.
13992
13993 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
13994
13995         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
13996         Prototype for exported functions.
13997         (pre_lcm, pre_rev_lcm): Remove prototypes.
13998         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
13999         (compute_available): Move to lcm.c, and change parameter order.
14000         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
14001         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
14002         (gcse_main): No longer call compute_preds_succs.  Rebuild the
14003         set table after reach pre pass.
14004         (pre_insert_map, pre_delete_map, edge_list): New.
14005         (alloc_pre_mem): Allocate edge vectors.
14006         (free_pre_mem): Delete edge vectors.
14007         (compute_pre_data): Call new edge based lcm routines.
14008         (process_insert_insn): New function.
14009         (insert_insn_end_bb): Use it.
14010         (pre_edge_insert): New function.
14011         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
14012         needed.
14013         (pre_insert_copies): Revamp using new edge based lcm outputs.
14014         (pre_delete): Likewise.
14015         (one_pre_gcse_pass): Insert & remove fake edges to the exit
14016         block.
14017         (compute_code_hoist_vbeinout): New new edge based routines.
14018         * lcm.c: Remove all the old LCM functions.  Replace with new ones
14019         that work with the new cfg datastructures and work with edges
14020         instead of blocks.
14021
14022 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14023
14024         * reload.h (struct reload): Add new fields "mode" and "nregs".
14025         * reload1.c: Change all occurrences of reload_mode and reload_nregs
14026         to reference the "mode" and "nregs" field within struct reload.
14027
14028 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
14029
14030         * haifa-sched.c (true_dependency_cache): New.
14031         (add_dependence): Use the true dependency cache to avoid expensive
14032         walks down the LOG_LINKS dependency list.  Add entries to the
14033         cache as necessary.
14034         (remove_dependence): Remove entries from the true dependency cache
14035         as needed.
14036         (schedule_insns): Allocate and initialize and free the true
14037         dependency cache.
14038
14039         * haifa-sched.c (schedule_insns): Do not remove inter-block
14040         dependencies anymore.
14041
14042 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
14043
14044         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
14045         * i386/t-winnt: Likewise.
14046
14047 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
14048
14049         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
14050
14051 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
14052
14053         * Makefile.in (LANGUAGES): Omit "proto".
14054         (clean): Remove stale comment about removing unprotoize.c.
14055
14056 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14057
14058         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
14059         using arithmetic on void pointers.
14060
14061 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
14062
14063         * haifa-sched.c (compute_block_forward_dependencies): Only check
14064         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
14065
14066 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
14067
14068         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
14069         (expr_equiv_p): Reject memories with different alias sets.
14070
14071 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
14072
14073         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
14074         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
14075         (f_options): Add "bounded-pointers" and "bounds-check" entries.
14076         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
14077         (lang_init): Set default for flag_bounds_check if still "unspecified".
14078
14079 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14080
14081         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
14082
14083 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14084
14085         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
14086         instructions.
14087
14088 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14089
14090         * config/c4x/c4x.md (*db_noclobber,
14091         *decrement_and_branch_until_zero_noclobber): New patterns and
14092         associated splitters.
14093
14094 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14095
14096         * config/c4x/c4x.md (parallel instruction patterns): Rework
14097         constraints to keep reload happy.
14098
14099 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14100
14101         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
14102         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
14103         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
14104         Add new patterns and associated post-reload splitters.
14105
14106 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14107
14108         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
14109
14110 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14111
14112         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
14113         if appropriate.
14114         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
14115
14116 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14117
14118         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
14119         memory mode.
14120
14121 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
14122
14123         * pa.c (move_operand): Rely on memory_address_p to determine the
14124         validity of non-indexed memory addresses.
14125         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
14126         operand in DFmode and SFmode when generating PA2.0 code.
14127
14128 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
14129
14130         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
14131
14132 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
14133
14134         * mips.c (function_prologue): Fix argument types.
14135         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
14136         (casesi_internal): Write to the scratch register.
14137
14138 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
14139
14140         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
14141         to U_CHAR **.
14142         (parse_charconst): Delete unnecessary cast when calling
14143         cpp_parse_escape.
14144         (cpplib.h): Kill prototype of cpp_parse_escape.
14145
14146 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
14147
14148         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
14149         * unroll.c (unroll_loop): Cast return value of alloca.
14150         * i370/i370.c: Include function.h and toplev.h.
14151         (i370_label_scan): Remove c++ commented abort.
14152         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
14153         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
14154         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
14155         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
14156
14157 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
14158
14159         * config/t-freebsd: Do not override USER_H.
14160         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
14161
14162 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
14163                           Mumit Khan  <khan@xraylith.wisc.edu>
14164
14165         * c-parse.in (component_decl): Support anonymous struct/union.
14166         (%expect): Update.
14167         * c-parse.y: Regenerate.
14168         * c-parse.c: Likewise.
14169         * objc/objc-parse.y: Likewise.
14170         * objc/objc-parse.c: Likewise.
14171         * c-decl.c (finish_struct): Don't sort the fields.
14172         (field_decl_cmp): Delete unused function.
14173
14174 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
14175
14176         * sparc.md (movsf_const_intreg): Revert last constraint change.
14177         (movdf_const_intreg_sp32): Likewise.
14178
14179 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
14180
14181         * cse.c: Include hashtab.h instead of splay-tree.h
14182         (struct cse_reg_info): No longer use variant union.  Add new
14183         field "regno".  All references changed to avoid union.
14184         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
14185         (free_cse_reg_info): Remove.
14186         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
14187         (get_cse_reg_info): Revamp to use expandable hash tables instead
14188         of splay trees.  Initialize new fields in cse_reg_info structure.
14189         (new_basic_block): Similarly.
14190
14191 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
14192
14193         * genrecog.c (message_with_line): Prototype.
14194         (validate_pattern): Pass along the set for the dest, not a flag.
14195         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
14196         Check for PC/CC0 as sources.
14197         (nodes_identical): Check for children position match before
14198         allowing the combination.
14199
14200         * rtl.c (read_rtx): Track line number across \\\n.
14201
14202 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
14203
14204         * mips.h (SPECIAL_MODE_PREDICATES): New.
14205         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
14206         (movdi+1, movsi+1): Add output reload constraint.
14207         (casesi_internal): Likewise.  Fix commentary.
14208         (return_internal): Use pmode_register_operand.
14209
14210 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
14211
14212         * 1750a.md (movstrqi): Add missing output reload constraint.
14213         (call_value): Likewise.
14214         * a29k.md (cpxxx patterns): Add missing match_operator mode.
14215         (jmpfdec): Add missing inout reload constraint.
14216         * elxsi.md (addsi patterns): Add missing output reload constraint.
14217         (move from sp): Use @ alternates.
14218         (call_value): No constraint on output.
14219         * fr30.md (movsi_pop): Add missing output reload constraint.
14220         (movsf_constant_store): Likewise.
14221         (splits): Remove constraints.
14222         (subsi3): Add missing mode.
14223         * i370.md (cmpstrsi+1): Add missing output reload constraint.
14224         (call_value): Likewise.
14225         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
14226         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
14227         * m32r.md (movsicc_internal): Add output reload constraint.
14228         (movstrsi_internal): Add inout reload constraints.
14229         * m88k.h (reg_names): Don't declare.
14230         (SPECIAL_MODE_PREDICATES): New.
14231         * m88k.md (*): Use register_operand not reg_or_0_operand
14232         on destinations.
14233         * mn10200.h (PREDICATE_CODES): New.
14234         * ns32k.md (ffs pattern): Add output reload constraint.
14235         * pdp11.md (sob pattern): Add inout reload constraint.
14236         * sh.md (splits): Remove constraints.
14237         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
14238         * v850.md (pattern_is_ok_for_epilogue): Likewise.
14239         * vax.md (jgequ pattern): Add inout reload constraint.
14240
14241 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
14242
14243         * configure.in (djgpp): Revert previous patch.
14244         * configure: Rebuit.
14245         * config/i386/djgpp.h: Revert previous patch.
14246
14247 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
14248
14249         * fixinc/inclhack.def: Restore patch lost during last merge of
14250         "no_bogosity" branch.
14251         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
14252
14253 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14254
14255         * fixincludes: Add a HPUX 11 fix for inttypes.h.
14256         * fixinc/inclhack.def: Same.
14257         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
14258
14259 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
14260
14261         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
14262         as the base of a PLUS.
14263
14264 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14265
14266         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
14267         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
14268
14269 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
14270
14271         * pa.md (post_stw+1): Use pmode_register_operand.
14272         (dcacheflush, icacheflush): Likewise.
14273
14274         * i386.md (movstricthi_1): Allow r/r.
14275
14276 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
14277
14278         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
14279         to (not (and (arg0) (arg1))). Similary for and.
14280
14281         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
14282         fallthrough to associate code.
14283         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
14284         bits in common.
14285
14286         * combine.c (simplify_logical): Convert XOR to IOR if operands have
14287         no bits in common; remove XOR to ROTATE conversion.
14288
14289 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14290
14291         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
14292
14293 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14294
14295         * config/c4x/c4x.c (dst_operand): New.
14296         (PREDICATE_CODES): Update.
14297         * config/c4x/c4x.h (dst_operand): Declare it.
14298         * config/c4x/c4x.md:  Define mode for each unspec usage.
14299         (move patterns):  Use dst_operand predicate instead of src_operand.
14300         (movqi_update, movqf_update): Delete.
14301
14302 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
14303
14304         * recog.c (pmode_register_operand): New.
14305         * recog.h: Declare it.
14306         * genrecog.c (pred_codes): Likewise.
14307         (special_mode_pred_table): Likewise.
14308         (validate_pattern): Don't warn no mode for address_operand.
14309
14310         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
14311         if the operand is not insn-like.
14312
14313 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
14314                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
14315
14316         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
14317
14318 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
14319
14320         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
14321         instead of general_operand in a SET_DEST.  Use const_double_operand
14322         instead of an explicit test against CONST_DOUBLE.
14323         (movsf_const_lo): Add missing register mode.
14324         (goto_handler_and_restore): Add auxiliary test for Pmode.
14325         (flush): Adjust to use address_operand.
14326         (return_sf_no_fpu): Add missing output constraint.
14327
14328 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
14329
14330         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
14331         for call return value.
14332         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
14333
14334 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
14335
14336         * toplev.c (main): Only warn about options for other languages.
14337         * collect2.c (main): Pass -w to sub-gcc.
14338
14339 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
14340
14341         * flow.c (propagate_block): Add call-clobbered registers to
14342         significant too.
14343
14344         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
14345         zapping mem_set_list.
14346         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
14347         (mark_set_1, mark_used_regs): Likewise.
14348
14349 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
14350
14351         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
14352
14353 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14354
14355         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
14356         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
14357         options. Also add a new item "C-only Warning Options" to the
14358         option summary.
14359
14360 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
14361
14362         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
14363         from multiple calls.
14364
14365 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
14366
14367         * i386.md (call value patterns): Move to the end of the file.
14368         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
14369
14370 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
14371
14372         * configure.in (djgpp configuration): Define extra_objects..
14373         * configure: Rebuilt.
14374         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
14375         (DTORS_SECTION_ASM_OP): Define.
14376         (INIT_SECTION_ASM_OP): Define.
14377         (FINI_SECTION_ASM_OP): Define.
14378         (DATA_SECTION_ASM_OP): Define.
14379         (TEXT_SECTION_ASM_OP): Define.
14380         (EH_FRAME_SECTION_ASM_OP): Define.
14381         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
14382         (STARTFILE_SPEC): Add crtbegin.o.
14383         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
14384         to here from LINK_COMMAND_SPEC.
14385         (DO_GLOBAL_CTORS_BODY): Define.
14386         (CRTSTUFF_USE_FINI_SECTION): Define
14387         (HAS_INIT_SECTION): Delete.
14388
14389 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
14390
14391         * Makefile.in (all.cross): Depend on xcpp$(exeext).
14392
14393 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
14394
14395         * pa.h (PREDICATE_CODES): New.
14396
14397         * genrecog.c (validate_pattern): Condense the destination
14398         non-lvalue message.
14399
14400 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
14401
14402         * alpha.md (call-1): Supply missing mode for operator.
14403         (*): Add missing output reload constraints.  Remove constraints
14404         from define_splits.
14405
14406         * i386.h (SPECIAL_MODE_PREDICATES): New.
14407         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
14408         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
14409         (addsi_lea_3): Add missing mode for op 3.
14410         (prologue_set_got, prologue_get_pc): Add missing modes.
14411         (*) Add missing output reload constraints.
14412
14413 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
14414
14415         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
14416         check for member bit-size overflow and use var_size if it occurs.
14417         (layout_record): Use bitsize_int() to define the type size in bits.
14418         Likewise for computation and assignment to DECL_FIELD_BITPOS.
14419         (layout_decl): Likewise when assigning to DECL_SIZE.
14420
14421 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
14422
14423         * genrecog.c (validate_pattern): Typo last change.  Verify
14424         that output operands have output reloads.
14425
14426 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
14427
14428         * genrecog.c (special_mode_pred_table): New.
14429         (NUM_SPECIAL_MODE_PREDS): New.
14430         (find_operand): New.
14431         (validate_pattern): New argument `insn'.  Warn for assignment to
14432         any predicate accepting non-lvalues.  Conditionaly warn for
14433         match_operand without a mode.  Try much harder to match source
14434         and destination modes on a set.
14435         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
14436
14437 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
14438
14439         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
14440
14441 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
14442
14443         * combine.c (simplify_logical): Recognize xor pattern that encodes
14444         rotation.
14445
14446 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14447
14448         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
14449         alignment.
14450
14451 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
14452
14453         * ggc-page.c (MAP_FAILED): Provide default.
14454
14455 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
14456
14457         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
14458         * sparc.h (PREDICATE_CODES): Update.
14459
14460 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
14461
14462         * alpha.c (some_ni_operand): New.
14463         * alpha-protos.h: Declare it.
14464         * alpha.h (PREDICATE_CODES): Update.
14465         * alpha.md (sXaddq reload insns): Use some_ni_operand
14466         for SET_DEST instead of some_operand.
14467
14468 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
14469                           Jim Wilson  <wilson@cygnus.com>
14470
14471         * genrecog.c (maybe_both_true_2): Don't compare modes of
14472         two DT_pred tests.
14473         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
14474         after find_afterward.
14475         (debug_decision_1): Dump next and afterward codes.
14476
14477 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
14478
14479         * rtl.c (dump_and_abort): Remove.
14480         (fatal_with_file_and_line): New.
14481         (fatal_expected_char): New.
14482         (read_rtx_lineno, read_rtx_filename): New.
14483         (read_skip_spaces): Track line number.
14484         (read_name): Use fatal_with_file_and_line.
14485         (read_rtx): Use fatal_expected_char.  Track line number.
14486         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
14487
14488         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
14489         if it isn't a CODE_LABEL.
14490
14491         * genattr.c (main): Set read_rtx_filename.
14492         * genattrtab.c (main): Likewise.
14493         * gencodes.c (main): Likewise.
14494         * genconfig.c (main): Likewise.
14495         * genemit.c (main): Likewise.
14496         * genextract.c (main): Likewise.
14497         * genflags.c (main): Likewise.
14498         * genopinit.c (main): Likewise.
14499         * genoutput.c (main): Likewise.
14500         * genpeep.c (main): Likewise.
14501
14502         * genrecog.c (decision_test.u.insn): Add `lineno'.
14503         (pattern_lineno, error_count): New variables.
14504         (message_with_line): New.
14505         (add_to_sequence): Break out checking code to ...
14506         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
14507         (merge_insn): Use message_with_line.
14508         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
14509         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
14510
14511 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14512
14513         * expr.c (store_constructor): Clear union if constructor is empty.
14514
14515 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
14516
14517         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
14518         Add !endian checks.  Change %{...} to %(...).
14519
14520 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
14521
14522         * i386.md (*addsi3_cc): Renamed from addcsi3.
14523         (*addsi3_carry): Renamed from addxsi3.
14524         (*subsi3_cc): Renamed from subcsi3.
14525         (*subsi3_carry): Renamed from subxsi3.
14526         (*xorqi_cc_1): Renamed from xorcqi_1.
14527         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
14528         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
14529
14530 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
14531
14532         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
14533         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
14534
14535 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
14536
14537         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
14538         climb up the chain of insns.
14539
14540 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
14541
14542         * genrecog.c (write_subroutine): Careful for null trees.
14543         (process_tree): Don't elide empty functions.
14544
14545 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
14546
14547         * Makefile.in (genrtl.o): Depend on ggc.h.
14548         * configure.in (valloc): Probe for it.
14549         (with-gc): Use ggc-page if valloc present.
14550         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
14551         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
14552         (ggc_alloc_string): Moved from ggc-page.c.
14553         * ggc-none.c (ggc_alloc_obj): New.
14554         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
14555         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
14556         (struct globals): Likewise for dev_zero_fd.
14557         (init_ggc): Likewise for it's initialization.
14558         (ggc_allocated_p): Move careful dereference from ...
14559         (ggc_lookup_page_table): ... here.  Delete.
14560         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
14561         (alloc_anon): Use valloc if no mmap.
14562         (release_pages): Use free if using valloc.
14563         (ggc_alloc_obj): Renamed from alloc_obj.
14564         (ggc_set_mark): Renamed from mark_obj.
14565         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
14566         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
14567         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
14568         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
14569         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
14570         (ggc_collect): Use fp printing instead of our own rounding.
14571         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
14572         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
14573         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
14574         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
14575         (struct ggc_string, struct ggc_any): Delete.
14576         (offsetof): Provide default definition.
14577         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
14578         (PTR_KEY): New.
14579         (struct ggc_mem): New, from corpse of ggc_any.
14580         (struct ggc_status): Delete.
14581         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
14582         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
14583         (n_strings_collected, n_anys_collected): Delete.
14584         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
14585         (ggc_alloc_string, ggc_alloc): Delete.
14586         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
14587         (ggc_free_string, ggc_free_any): Delete.
14588         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
14589         (ggc_compare_addresses, ggc_mark_string): Delete.
14590         (ggc_mark_string_if_gcable, ggc_mark): Delete.
14591         (search_data): Delete.
14592         (struct globals): New.
14593         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
14594         (tree_insert, tree_lookup): New.
14595         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
14596         (clear_marks, sweep_objs): New.
14597         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
14598         (init_ggc): Set allocated_last_gc.
14599         (ggc_push_context): Gut.  Use G.context.
14600         (ggc_pop_context): Likewise.
14601         (ggc_pop_context_1): New.
14602         (debug_ggc_tree): New.
14603         (debug_ggc_balance, tally_leaves): New.
14604         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
14605         (ggc_mark_string_if_gcable): Remove decl.
14606         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
14607         (ggc_mark_rtvec_children): New.
14608         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
14609         (ggc_mark_if_gcable): New decl.
14610         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
14611         (ggc_alloc_tree, ggc_alloc): Likewise.
14612         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
14613         (ggc_alloc_obj): New decl.
14614         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
14615         (ggc_alloc_tree, ggc_alloc): Likewise.
14616         (ggc_set_mark): New decl.
14617         * rtl.h (struct rtx_def): Remove gc_mark.
14618         (struct rtvec_def): Likewise.
14619         * tree.h (struct tree_common): Likewise.
14620
14621 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
14622
14623         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
14624         float_format and thread_file definitions.
14625         * configure: Rebuilt.
14626
14627 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
14628
14629         * extend.texi (Function Names): Document types of function names.
14630
14631 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14632
14633         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
14634         an earlyclobbered output conflict with RELOAD_INPUT reloads.
14635
14636 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14637
14638         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
14639
14640 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14641
14642         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
14643
14644 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
14645
14646         * collect2.c (main): Do prelimnary link on AIX if rflag.
14647
14648 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14649
14650         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
14651         __CTOR_LIST__ in opposite order, which is the correct order for sorted
14652         constructors.
14653         (__do_global_dtors): similarly for __DTOR_LIST__.
14654
14655 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14656                                 Diego Novillo <dnovillo@cygnus.com>
14657
14658         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
14659         FPUL_REGS.
14660
14661 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
14662
14663         * fixincl/*: Merged "no_bogosity" branch
14664         * fixincl/fixlib.h: protect against doubly defining t_bool
14665         * fixincl/server.h: protect against doubly defining t_bool
14666
14667 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
14668
14669         * genoutput.c: Include toplev.h.
14670
14671 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
14672
14673         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
14674         Undef.
14675         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
14676         * configure: Regenerate.
14677
14678 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
14679
14680         * gcse.c (delete_null_pointer_checks): Returns void.
14681
14682 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14683
14684         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
14685         * emit-rtl.c (copy_insn_1): Likewise.
14686
14687 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
14688
14689         * config/mips/mips.c (mips_build_va_list): Correct
14690         TREE_CHAIN setting when hard-float.
14691         (mips_va_start): Use corrected setting.
14692         (mips_va_arg): Likewise.  Also pass a tree to build of
14693         POSTINCREMENT_EXPR rather than a naked 'int'.
14694
14695 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
14696
14697         * ggc.h (ggc_push_context): Fix comment.
14698         (ggc_pop_context): Likewise.
14699         (mark_string_if_gcable): Likewise.
14700         * ggc-common.c (ggc_mark_rtx_children): Use
14701         ggc_mark_string_if_gcable.
14702         * ggc-page.c (ggc_lookup_page_table): New function.
14703         (ggc_allocated_p): Likewise.
14704         (mark_obj): Fix formatting.
14705         (ggc_mark_string_if_gcable): New function.
14706         * ggc-simple.c (ggc_allocated_strings): New variable.
14707         (ggc_strings_used): Likewise.
14708         (ggc_compare_addresses): New function.
14709         (ggc_pop_context): Pop the `any' memory too.
14710         (ggc_mark_string_if_gcable): New function.
14711         (ggc_collect): Initialize and tear down ggc_allocated_strings.
14712
14713 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
14714
14715         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
14716         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
14717         * rs6000.c (expand_block_move): Match movstrsi_?reg register
14718         changes.
14719
14720 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
14721
14722         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
14723         (sched_reg_live_length, sched_reg_basic_block): Delete.
14724         (current_block_num, bb_live_regs, old_live_regs): Delete.
14725         (dead_notes, struct sometimes): Delete.
14726         (sched_note_set, birthing_insn_p): Delete.
14727         (adjust_priority): Gut useless reg lifetime code.
14728         (create_reg_dead_note, attach_deaths): Delete.
14729         (attach_deaths_insn, new_sometimes_live): Delete.
14730         (finish_sometimes_live): Delete.
14731         (find_pre_sched_live, find_post_sched_live): Delete.
14732         (update_reg_usage): Delete.
14733         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
14734         (schedule_insns): Delete reg lifetime code.
14735         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
14736         (unlink_other_notes): Adjust REG_NOTE commentary.
14737         (reemit_notes): Use REG_SAVE_NOTE.
14738         (schedule_block): Likewise.
14739         (schedule_region): Allocate bitmap of blocks in region.  Use
14740         count_or_remove_death_notes.  Use update_life_info.
14741
14742         * rtl.h (REG_SAVE_NOTE): New.
14743         * rtl.c (reg_note_name): Update.
14744
14745 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
14746
14747         * combine.c (refresh_blocks, need_refresh): New.
14748         (combine_instructions): Allocate refresh_blocks.  Invoke
14749         update_life_info if needed.
14750         (distribute_notes): Mark refresh_blocks instead of installing
14751         USE insns.
14752         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
14753         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
14754
14755         * Makefile.in (recog.o): Depend on basic-block.h.
14756
14757 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
14758
14759         * genrecog.c (add_to_sequence): Thinko last change: delete
14760         shadowing allow_const_int variable.
14761
14762 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14763
14764         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
14765         __GNUC__ and __GNUC_MINOR__.
14766
14767         * gansidecl.h: Likewise.
14768
14769         * rtl.c: Likewise.
14770
14771         * rtl.h: Likewise.
14772
14773         * toplev.h: Likewise.
14774
14775         * tree.c: Likewise.
14776
14777         * tree.h: Likewise.
14778
14779         * varray.c: Likewise.
14780
14781         * varray.h: Likewise.
14782
14783 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14784
14785         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
14786         use one before a jump table.
14787
14788         * rtl.def (ADDRESS): Change documentation to match reality.
14789         * md.texi: Don't document it.
14790         * gmicro.md (load address pattern): Use 'p' constraint, delete use
14791         of ADDRESS rtx.
14792
14793         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
14794
14795 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
14796
14797         * genrecog.c (add_to_sequence): Move allow_const_int test outside
14798         known predicate block; default allow_const_int true.
14799         (debug_decision_list): New.
14800
14801 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
14802
14803         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
14804
14805 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
14806
14807         * gcse.c (gcse_main): Avoid global optimizations if we have a
14808         large number of basic blocks and the ratio of edges to blocks
14809         is high.
14810         (delete_null_pointer_checks): Likewise.
14811
14812 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
14813
14814         * c-common.c (check_format_info): Warn if format string isn't a
14815         string literal.
14816
14817 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14818
14819         * configure.in (arm*-*-*): Don't let autoconf remove brackets
14820         * configure: regenerate
14821
14822 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
14823
14824         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
14825         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
14826         (peepholes): Re-enable.
14827
14828 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
14829
14830         * Makefile.in (flow.o): Depend on TREE_H.
14831         * basic-block.h (REG_SET_EQUAL_P): New.
14832         (XOR_REG_SET): New.
14833         (n_edges): Declare.
14834         (free_regset_vector): Remove declaration.
14835         (flow_delete_insn_chain): Declare.
14836         (enum update_life_extent): New.
14837         (update_life_info, count_or_remove_death_notes): Declare.
14838         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
14839         Verify register live at bb->global_live_at_start before adding USE.
14840         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
14841         (CLEAN_ALLOCA): New.
14842         (n_edges): New.
14843         (PROP_*): New flags.
14844         (find_basic_blocks_1): Use alloc_EXPR_LIST.
14845         (clear_edges): Zero n_edges.
14846         (make_edge): Increment n_edges.
14847         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
14848         (flow_delete_insn_chain): Export.
14849         (delete_block): Decrement n_edges.
14850         (merge_blocks_nomove): Likewise.
14851         (life_analysis): Give life_analysis_1 PROP flags.
14852         (verify_wide_reg_1, verify_wide_reg): New.
14853         (verify_local_live_at_start): New.
14854         (update_life_info): Rewrite to call into propogate_block.
14855         (mark_reg): New.
14856         (mark_regs_live_at_end): After reload, if epilogue as rtl,
14857         always mark stack pointer.  Conditionally mark PIC register.
14858         After reload, mark call-saved registers, return regsiters.
14859         (life_analysis_1): Accept PROP flags not remove_dead_code.
14860         Call mark_regs_live_at_end before zeroing regs_ever_live.
14861         Use calculate_global_regs_live.  Copy global_live_at_end before
14862         calling final propagate_block.  Zero reg_next_use on exit.
14863         (calculate_global_regs_live): New.
14864         (allocate_bb_life_data): Don't allocate bb->local_set.
14865         (init_regset_vector, free_regset_vector): Remove.
14866         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
14867         Test flags before every operation.  Warn if prologue/epilogue insn
14868         would have been deleted.
14869         (mark_set_regs, mark_set_1): Accept and use FLAGS.
14870         Use alloc_EXPR_LIST.
14871         (mark_used_regs): Accept and use FLAGS, not FINAL.
14872         Remove special handling for RETURN.
14873         (try_pre_increment): Use alloc_EXPR_LIST.
14874         (dump_flow_info): Dump n_edges.
14875         (unlink_insn_chain, split_hard_reg_notes): Remove.
14876         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
14877         (find_insn_with_note, new_insn_dead_notes): Remove.
14878         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
14879         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
14880         (replace_insns): Remove.
14881         (count_or_remove_death_notes): New.
14882         (verify_flow_info): Abort on error after all checks.
14883         (remove_edge): Decrement n_edges.
14884         (remove_fake_edges): Tweek format.
14885         * haifa-sched.c (schedule_insns): Use split_all_insns.
14886         * output.h (update_life_info): Remove declaration.
14887         * recog.c (split_all_insns): From the corpse of split_block_insns,
14888         do the whole function block by block.  Use update_life_info.
14889         (recog_last_allowed_insn): New.
14890         (recog_next_insn): Mind it.
14891         (peephole2_optimize): Set it.  Walk backwards through blocks.
14892         Use update_life_info.
14893         * rtl.h (update_flow_info, replace_insns): Remove declarations.
14894         (split_all_insns): Declare.
14895         * toplev.c (rest_of_compilation): Thread prologue before flow2.
14896         Use split_all_insns.
14897
14898         * i386.md (or -1 peep2s): Disable.
14899
14900 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
14901
14902         * config/mips/mips.md (movstrsi+[123]) : Combine these into
14903         a single pattern.  Scrap the 'd' versions as unnecessary.
14904
14905         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
14906         tablejump_mips162,tablejump_internal4): The operands to a
14907         label_ref must be VOIDmode.
14908
14909 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14910
14911         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
14912
14913 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
14914
14915         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
14916
14917 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
14918
14919         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
14920         cache every function if ggc_p.
14921
14922 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14923
14924         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
14925         instead of copy_rtx.  Accept sequences that contain asm statements.
14926         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
14927         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
14928         orig_asm_operands_vector, copy_asm_operands_vector,
14929         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
14930         variables.
14931         * rtl.h (copy_insn, copy_insn_1): Declare.
14932
14933 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14934
14935         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
14936
14937         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
14938         arguments to `current_file_function_operand'.
14939
14940         * genrecog.c: Include hard-reg-set.h and resource.h in the
14941         generated output file.
14942
14943         * real.c: Include tm_p.h.
14944
14945 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14946
14947         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
14948         output operand.
14949
14950 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
14951
14952         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
14953         before the fctiwz insn.
14954
14955 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14956                           Mark Mitchell  <mark@codesourcery.com>
14957
14958         * tree.c (make_lang_type_fn): New funtion pointer.
14959         (make_lang_type): Call it.
14960         * tree.h (make_lang_type): Declare.
14961         (make_lang_type_fn): Likewise.
14962         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
14963
14964 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
14965
14966         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
14967         make sure that HIGH instructions are copied into BASE_REGS.
14968
14969 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
14970
14971         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
14972
14973 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
14974
14975         * c-decl.c (finish_struct): Use simpler method of
14976         removing elements of a singly-linked list.
14977
14978 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
14979
14980         * alpha.md (peephole2's): Comment out peephole2's that generate
14981         buggy code.
14982
14983 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
14984
14985         * genrecog.c (add_to_sequence): Disable mode check for
14986         wildcard matches.
14987
14988 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14989
14990         * ggc-simple.c (init_ggc): Set empty_string.
14991
14992 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
14993
14994         * configure.in: Detect mmap.  Add --with-gc=foo to select
14995         garbage collector; default to page if mmap available.
14996         * Makefile.in (GGC): Substitute.
14997
14998 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
14999
15000         * c-decl.c (ggc_p): Enable.
15001
15002 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15003
15004         * flow.c (verify_flow_info): Make it extern & unconditionally define.
15005
15006 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
15007
15008         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
15009         string for little-endian-data.
15010
15011 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
15012
15013         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
15014         case somebody tries to compile --enable-checking code with gcc
15015         1.34 or such.
15016
15017 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
15018
15019         * genrecog.c (add_to_sequence): Verify operand to label_ref is
15020         VOIDmode.
15021
15022 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
15023
15024         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
15025         * jump.c (jump_optimize_1): Document why.
15026
15027 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15028
15029         * collect2.c (scan_prog_file, scan_libraries): Prototype function
15030         pointers and casts for `int_handler' and `quit_handler'.
15031
15032         * flow.c (verify_flow_info, split_hard_reg_notes,
15033         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
15034         remove_edge, remove_fake_successors): Add static prototypes.
15035         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
15036         (mark_set_1): Initialize variable `regno'.
15037         (unlink_insn_chain): Likewise for variable `curr'.
15038         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
15039
15040         * loop.c (strength_reduce): Initialize variable
15041         `unrolled_insn_copies'.
15042         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
15043         prototypes.  Change these functions to take const PTR parameters
15044         to avoid prototype conflict when used as the comparson argument
15045         for qsort.
15046         (check_dbra_loop): Initialize variable `comparison_val'.
15047
15048         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
15049         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
15050         (find_valid_class): Initialize variable `best_class'.
15051         (find_reloads): Call memcpy, not bcopy.
15052
15053         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
15054         (hard_reg_use_compare): Don't needlessly cast away const.
15055         (reload_reg_class_lower): Likewise.
15056         (choose_reload_regs): Initialize variable `regno'.
15057
15058 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
15059
15060         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
15061
15062 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
15063
15064         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
15065         ({,d}discard): Add forward declarations.  Declare parameter as
15066         unused.
15067         (main_without_main): Explicitly declare return type to be int.
15068         (memcpy): Properly declare.
15069
15070         * libgcc2.c (toplevel): If inhibit_libc is defined and not
15071         building the trampoline support, declare malloc, free, and
15072         atexit.
15073         (__clear_cache): Mark arguments as potentially unused.
15074
15075         * frame.c (toplevel): If inhibit_libc is defined, declare
15076         malloc and free.
15077
15078 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
15079
15080         * flow.c (make_edge): Accept an optional 2D bitmap in which
15081         to cache edge existence.  Update all callers.
15082         (make_label_edge, make_eh_edge): Pass through the edge cache.
15083         (make_edges): Provide the cache.
15084
15085 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15086
15087         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
15088         a char*.
15089         (local_mbtowc): Change the type of variable `i' from int to size_t.
15090
15091         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
15092         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
15093
15094 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
15095
15096         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
15097         after other includes that define the appropriate types.  Include
15098         tm_p.h for getting user prototypes.
15099         * ggc-callbacks.c (toplevel): Ditto.
15100         * ggc-none.c (toplevel): Ditto.
15101         * gcc-page.c (toplevel): Ditto.
15102         * ggc-simple.c (toplevel): Ditto.
15103
15104 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
15105                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
15106
15107         * config/mips/mips.c (mips_move_2words): Split doubles if
15108         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
15109
15110 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
15111
15112         * genrecog.c (struct decision_test): New.
15113         (struct decision): Remove test-related members, sort the rest by size.
15114         (IS_SPLIT): Simplify.
15115         (new_decision, new_decision_test): New.
15116         (add_to_sequence): Use them.  No special handling for args of
15117         non-MATCH codes.
15118         (maybe_both_true): Renamed from not_both_true; return sense changed.
15119         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
15120         of maybe_both_true and adjusted for decision_test.
15121         (position_merit): Remove.
15122         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
15123         (merge_accept_insn): New, broken out of merge_trees.
15124         (merge_trees): Use them.  No special case for c_test; no node
15125         splitting; use test type instead of position_merit.
15126         (factor_tests): New.
15127         (simplify_tests): New.
15128         (break_out_subroutines): Don't write code now.
15129         (find_afterward): New.
15130         (write_afterward, write_switch, write_cond): New.
15131         (write_action, is_unconditional): New.
15132         (write_node): New.  Use them.
15133         (write_tree_1): Rewrite.  Use the new functions above.
15134         (write_tree): Remove afterward processing.
15135         (write_subroutine): Simplify function variant emission.
15136         (write_subroutines): New.
15137         (same_codes, clear_codes): Remove.
15138         (same_modes, clear_modes): Remove.
15139         (write_header): New, broken out of main.
15140         (make_insn_sequence): Use new_decision and new_decision_test.
15141         (process_tree): New, broken out of main.
15142         (main): Adjust for merge_trees interface change.
15143         Don't #define operands in the output file.
15144         (record_insn_name): New, broken out of make_insn_sequence.
15145         (debug_decision_2, debug_decision_1, debug_decision_0): New.
15146         (debug_decision): New.
15147
15148 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
15149
15150         * resource.c (find_free_register): Mark class_str argument const.
15151         * resource.h: Update prototype to match.
15152
15153         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
15154         * i386.md: Give all anonymous insns names.
15155
15156 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
15157
15158         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
15159         blocks.
15160
15161 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
15162
15163         * toplev.c (dbr_sched_time): Unconditional.
15164         (peephole2_time): New.
15165         (compile_file): Add pass numbers to all of the dump file suffixes.
15166         Dump peephole2_time.  Don't dump times for non-applicable passes.
15167         (rest_of_compilation): Add pass numbers to dump file suffixes.
15168         Conditionalize calls to the scheduler.
15169         * invoke.texi: Update.
15170
15171 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
15172
15173         * flow.c (make_edges): Fix insn iteration.
15174         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
15175         (find_basic_blocks_1): Fix spelling mistake.
15176
15177 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
15178
15179         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
15180         always have side-effects.  Use memset not bzero.
15181         (make_node): Likewise.
15182
15183 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
15184
15185         * stmt.c (expand_anon_union_decl): When any of the elements of the
15186         union is addressable, so is the entire union.
15187
15188 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
15189
15190         * sbitmap.c (sbitmap_ones): Don't set too many bits.
15191
15192         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
15193         * bitmap.c (bitmap_operation): Return true iff TO changed.
15194         (bitmap_equal_p): New.
15195         (bitmap_bit_p): Tidy arithmetic.
15196         (debug_bitmap_file): Likewise.
15197
15198 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
15199
15200         * toplev.c (rest_of_compilation): Turn on cse_not_expected
15201         before cse2 instead of after.
15202
15203 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
15204
15205         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
15206         register offsets.
15207
15208 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15209
15210         * cppinit.c (is_idchar initializer): Loosen tests to accept
15211         gcc 2.>6 and >2.
15212
15213 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
15214
15215         * mips.md: Define conditional move patterns for floating point
15216         operands and DI mode conditions.
15217
15218 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
15219
15220         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
15221         always have side-effects.
15222
15223 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
15224
15225         * mn10200.c (asm_file_start): Fix typo.
15226
15227         * cppinit.c (is_idchar initializer): Tighten tests for when
15228         to put the table into initialized memory.
15229
15230         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
15231         not an array of rtunion.
15232         * gcc-page.c (ggc_alloc_rtvec): Similarly.
15233         * gcc-simple (ggc_free_rtvec): Similarly.
15234
15235         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
15236         of rtunions.
15237
15238         * mbchar.h: Add missing #endif.
15239
15240         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
15241         (FPBIT, DPBIT): Define.
15242
15243 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15244
15245         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
15246
15247         * profile.c (instrument_arcs, output_gcov_string,
15248         tablejump_entry_p): Add static prototypes.
15249         (output_gcov_string): Constify a char*.
15250
15251         * regmove.c (replacement_quality, fixup_match_2): Add static
15252         prototypes.
15253
15254         * resource.h (reg_dead_p): Add extern prototype.
15255
15256         * rtl.c (trim_filename): Add static prototype.
15257
15258         * scan-decls.c (skip_to_closing_brace): Likewise.
15259
15260         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
15261         (expand_end_case): Initialize variable `range'.
15262         (emit_case_nodes): Remove unused prototype `rtx_fn'.
15263
15264         * varasm.c (asm_emit_uninitialised): Add static prototype.
15265         (asm_emit_uninitialised, assemble_variable): Mark parameter with
15266         ATTRIBUTE_UNUSED.
15267
15268 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15269
15270         * cpplib.c (if_directive_nameo): Add static prototype.
15271
15272         * cse.c (cse_insn): Remove unused variable `p'.
15273
15274         * except.c (create_rethrow_ref, push_entry,
15275         receive_exception_label, new_eh_region_entry, find_func_region,
15276         clear_function_eh_region, process_nestinfo): Add static prototypes.
15277         (get_reg_for_handler): Hide definition.
15278         (process_nestinfo): Initialize variable `extra_handlers'.
15279
15280         * expr.h (expand_builtin_longjmp): Add extern prototype.
15281
15282         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
15283
15284         * function.c (prepare_function_start): Likewise.
15285         (pop_function_context_from): Mark parameter `context' with
15286         ATTRIBUTE_UNUSED.
15287         (push_temp_slots_for_block, flush_addressof): Hide definition.
15288
15289         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
15290         solve_program_flow_graph, calculate_branch_probs,
15291         function_summary, main, fancy_abort): Add prototypes.
15292
15293         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
15294         (add_hash): Constify a char*.
15295
15296         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
15297         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
15298         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
15299
15300         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
15301
15302         * lists.c (free_list, zap_lists): Likewise.
15303
15304 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15305
15306         * alias.c (nonlocal_reference_p): Add static prototype.
15307
15308         * bitmap.c (bitmap_element_allocate): Prototype args in function
15309         pointer cast.
15310
15311         * builtins.c (stabilize_va_list): Add static prototype.
15312         (expand_builtin_va_arg): Constify a char*.
15313
15314         * c-lex.c (getch, put_back, extend_token_buffer_to,
15315         read_line_number, token_getch, token_put_back): Add static
15316         prototypes.
15317
15318         * c-parse.gperf (hash, is_reserved_word): Likewise.
15319
15320         * cccp.c (is_dir_separator): Likewise.
15321
15322 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15323
15324         * graph.h: New file to prototype functions exported by graph.c.
15325
15326         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
15327
15328         * graph.c: Include graph.h.
15329
15330         * toplev.c: Likewise.  Remove redundant prototypes.
15331
15332 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
15333
15334         * invoke.texi: Removed duplicated description for -Q.
15335
15336 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
15337
15338         * extend.texi: Grammar fix in __extension__ text.
15339
15340 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
15341
15342         * md.texi (define_peephole2): New section.
15343
15344 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
15345
15346         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
15347         (mov $-1 to or peepholer): Enable for pentium when optimizing for
15348         speed.
15349
15350 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
15351
15352         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
15353
15354 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
15355
15356         * i386.md (ffs expander): Emit Pentium friendly code for
15357         TARGET_PENTIUM.
15358
15359 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
15360
15361         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
15362         for non-trees.
15363         (build1): Likewise.
15364
15365 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15366
15367         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
15368
15369 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
15370
15371         * config/m68k/m68k.c (use_return_insn): Return false if the pic
15372         register is in use.
15373
15374 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15375
15376         * md.texi (No Constraints): Delete section.
15377         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
15378         * final.c (final_scan_insn): We always have register constraints.
15379         * genattrtab.c: Don't include "insn-config.h".
15380         (write_attr_case): We always have register constraints.
15381         * genconfig.c (register_constraint_flag): Delete.
15382         (walk_insn_part): Don't check whether we have register constraints.
15383         (main): Don't write out "#define REGISTER_CONSTRAINTS".
15384         * genoutput.c (have_constraints): Delete.
15385         (main): Don't set it.
15386         (output_operand_data): We always have constraints.
15387         (scan_operands): Likewise.
15388         (compare_operands): Likewise.
15389         * local-alloc.c (block_alloc): We always have constraints.
15390         (requires_inout): Always compile this function.
15391         * recog.c (extract_insn): We always have constraints.
15392         (constrain_operands, reg_fits_class_p): Always compile these
15393         functions.
15394         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
15395         fields.
15396         (struct insn_operand_data): Likewise.
15397         * regclass.c (regclass): We always have constraints.
15398         (record_reg_classes, copy_cost, record_address_regs,
15399         auto_inc_dec_reg_p): Always compile these functions.
15400         * regmove.c (regmove_optimize): We always have constraints.
15401         * reload.c (find_reloads): Likewise.
15402         * reload1.c (reload): Likewise.
15403         (reload_cse_simplify_operands): Likewise.
15404         * i860.c (output_delay_insn): Likewise.
15405
15406 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
15407
15408         * iris6.h (BUILD_VA_LIST_TYPE): Define.
15409
15410 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15411
15412         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
15413         for the va_list record.
15414
15415 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
15416
15417         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
15418         prologues.
15419
15420 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
15421
15422         * alias.c: Include insn-flags.h.
15423         * Makefile.in (alias.o): Update.
15424
15425 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
15426
15427         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
15428         to LTU and GEU.  Handle more cases using sbb.
15429
15430 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
15431
15432         * i386.md (truncatexfdf splitters): Do not use subreg.
15433         (fop XFmode patterns): Fix mode in operand testing.
15434
15435 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
15436
15437         * jump.c (jump_optimize_1): Amend last change to test only the
15438         form of the operand, not the insn.
15439
15440         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
15441         not register_operand to determine when B may need preloading.
15442
15443 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
15444
15445         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
15446         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
15447         (call-value patterns): Move to end of file.
15448         (*): Remove mode from label_ref in (pc) context.
15449         (movstrqi): Use memory not general_operand for BLKmode operands.
15450         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
15451         to register_operand operands.
15452         (peep2 patterns): Convert from commented-out peephole patterns.
15453
15454 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15455
15456         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
15457         to BUILT_IN_INIT_DWARF_REG_SIZES.
15458         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
15459         Renamed from BUILT_IN_DWARF_REG_SIZE; call
15460         expand_builtin_init_dwarf_reg_sizes.
15461         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
15462         with __builtin_init_dwarf_reg_size_table.
15463         * dwarf2out.c (struct reg_size_range): Delete.
15464         (expand_builtin_init_dwarf_reg_sizes): New function.
15465         (expand_builtin_dwarf_reg_size): Delete.
15466         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
15467         (expand_builtin_dwarf_reg_size): Don't declare.
15468         * libgcc2.c (dwarf_reg_size_table_initialized): New.
15469         (dwarf_reg_size_table): New.
15470         (init_reg_size_table): New function.
15471         (copy_reg): Use dwarf_reg_size_table.
15472         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
15473         before use.
15474
15475 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
15476
15477         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
15478         Correctly build argument list to constructor and destructor functions.
15479
15480 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
15481
15482         * c-tree.h (warn_float_equal): Declare.
15483         * c-decl.c (warn_float_equal): Define.
15484         (c_decode_option): Recognize -W[no-]float-equal.
15485         * c-typeck.c (build_binary_op): Conditionally warn
15486         about equality tests of floating point types.
15487         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
15488         * invoke.texi: Add docs for -Wfloat-equal warning.
15489
15490 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
15491
15492         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
15493         generating RTL directly.
15494         * mips.h (INIT_TARGET_OPTABS): Likewise.
15495         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
15496
15497         * expr.h (init_mov_optab): Delete declaration
15498
15499         * h8300.c (WORD_REG_USED): Update to avoid useless register
15500         saves in interrupt functions and functions which never return.
15501
15502         * cse.c (struct set): Delete inner_dest_loc field.
15503         (cse_insn): Remove assignments to inner_dest_loc field.
15504
15505 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
15506
15507         * ggc-page.c: Don't include <unistd.h> etc taken care of
15508         by "system.h".  Include <sys/mman.h> afterward.
15509
15510 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
15511
15512         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
15513         ggc_alloc_string.
15514
15515 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
15516
15517         * xcoffout.c (xcoffout_declare_function): Add documentation.
15518         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
15519         TARGET_64BIT.  Compare constant to -1, not bit pattern.
15520         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
15521         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
15522         gen_movsi typos.
15523
15524 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
15525
15526         * dwarf2out.c (add_abstract_origin_attribute): Abort if
15527         origin_die is NULL.
15528         (gen_inlined_enumeration_type_die): Do not abort if the type has
15529         not been writeen out.
15530         (gen_inlined_structure_type_die): Do not abort if the type has
15531         not been writeen out.
15532         (gen_inlined_union_type_die): Do not abort if the type has
15533         not been writeen out.
15534         (gen_tagged_type_instantiation_die): Do not abort if the type
15535         has not been written out.
15536
15537 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15538
15539         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
15540         call it.
15541         * reg-stack.c (straighten_stack): Copy hard reg set with
15542         COPY_HARD_REG_SET.
15543
15544 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
15545
15546         * builtins.c (stabilize_va_list): Stabilize array type va_list
15547         to a pointer type, not the base record type.
15548         (expand_builtin_va_copy): Dereference the pointers explicitly;
15549         use the correct size for the copy.
15550
15551         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
15552         (rs6000_va_arg): Likewise.
15553
15554 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
15555
15556         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
15557
15558 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
15559
15560         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
15561         field.
15562         (DECL_BUILT_IN_CLASS): Adjust accordingly.
15563
15564 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
15565
15566         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
15567         (init_ggc): Use it instead of a constant.
15568         (ggc_collect): Bound allocated_last_gc by it.
15569
15570 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
15571
15572         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
15573         with va_list.
15574
15575 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
15576
15577         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
15578         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
15579         * configure:  Regen.
15580         * config/mips/openbsd.h:  New, OpenBSD little endian target.
15581         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
15582         * config/mips/xm-openbsd.h:  New, OpenBSD host.
15583
15584 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
15585
15586         * config/m68k/m68k.c (output_function_prologue,
15587         output_function_epilogue): Use
15588         current_function_uses_pic_offset_table instead of regs_ever_live
15589         to decide whether to save/restore pic register.
15590         (legitimize_pic_address): Don't modify regs_ever_live any more.
15591
15592 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
15593
15594         * function.h (struct function): Add x_dont_save_pending_sizes_p.
15595         * stor-layout.c (variable_size): Don't add sizes to the pending
15596         sizes list if x_dont_save_pending_sizes_p is set.
15597
15598 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
15599
15600         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
15601         for symbolic_operand().
15602         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
15603
15604 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15605
15606         * combine.c (gen_rtx_combine): Add missing call to va_end().
15607
15608         * final.c (asm_fprintf): Likewise.
15609
15610         * genattrtab.c (attr_rtx): Likewise.
15611
15612 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
15613
15614         * cse.c: Update comments.
15615         (cse_insn): When converting a conditional/computed jump into
15616         an unconditional jump, always make sure a BARRIER immediately
15617         follows the converted jump.  Do not delete unreachable code.
15618         (cse_basic_block): Do not delete unreachable code.
15619         * toplev.c (rest_of_compilation): Move call to
15620         delete_trivially_dead_insns after the conditional call to
15621         jump_optimize.
15622
15623 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15624
15625         * collect2.c (make_temp_file): Don't prototype.
15626
15627         * gcc.c (make_temp_file): Likewise.
15628
15629         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
15630
15631 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
15632
15633         * varasm.c (asm_emit_uninitialised): New function: Generate
15634         the assembler statements necessary to declare an uninitialised
15635         variable.
15636         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
15637         variable.
15638         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
15639         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
15640         section.
15641         (assemble_variable): Use asm_emit_uninitialised to emit an
15642         uninitialised variable.
15643
15644 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
15645
15646         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
15647         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
15648         <geoffk@cygnus.com>.
15649
15650 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15651
15652         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
15653         * c-common.h (builtin_function): Don't declare.
15654
15655         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
15656         DECL_BUILT_IN.
15657         (pushdecl): Likewise.
15658         (finish_decl): Likewise.
15659         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
15660         int.  All callers changed.
15661         Set the builtin's DECL_BUILT_IN_CLASS.
15662         * tree.h (enum built_in_class): New.
15663         (enum built_in_function): Delete NOT_BUILT_IN.
15664         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
15665         in a union.
15666         (DECL_SET_FUNCTION_CODE): Likewise.
15667         (DECL_BUILT_IN_CLASS): New macro.
15668         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
15669         (struct tree_decl): Split builtin function code field into a
15670         struct.
15671         (builtin_function): Declare.
15672
15673 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
15674
15675         * optabs.c (init_traps): Fix typo in last change.
15676
15677 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
15678
15679         * toplev.c (rest_of_decl_compilation): Update comment.
15680
15681 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
15682
15683         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
15684         in .sbss if appropriate.
15685         (EXTRA_SECTION_FUNCTIONS): Add sbss.
15686         (SBSS_SECTION_ASM_OP): New macro.
15687         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
15688         (EXTRA_SECTIONS): Add in_sbss.
15689         * config/mips/mips.h: Prototype sbss_section.
15690
15691 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
15692
15693         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
15694         to disappear.
15695
15696 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
15697
15698         * optabs.c (init_traps): Register trap_rtx as a GC root.
15699
15700 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15701
15702         * config/mips/mips.c (function_arg_pass_by_reference): Define
15703         unconditionally, since it's called unconditionally.
15704
15705 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
15706
15707         * toplev.c (documented_lang_options): Add -fshort-wchar.
15708         * c-decl.c (c_decode_option): Likewise.
15709         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
15710         for wchar_t.
15711         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
15712         * gcc.c (default_compilers): If -fshort-wchar,
15713         override __WCHAR_TYPE__.
15714         * tm.texi (C Dialect Options): Add -fshort-wchar.
15715
15716         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
15717         symbol for a variable.
15718
15719         * cpplib.h (CPP_PREPROCESSED): New macro.
15720         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
15721         we're seeing this input for a second time.
15722
15723 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
15724
15725         * emit-rtl.c (init_emit_once): Initialize modes first.
15726
15727 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
15728
15729         * config/i386/i386.c (pic_label_name): Change to char pointer.
15730         (global_offset_table): New variable.
15731         (load_pic_register): Fill global_offset_table if it hasn't
15732         already been done.  Allocate pic_label_name dynamically.
15733         * ggc.h (empty_string): New variable.
15734         * ggc-simple.c (empty_string): Likewise.
15735         (init_ggc): Allocate empty_string and add as root.
15736         * stmt.c (digit_strings): New variable.
15737         (init_stmt): Add last_block_end_note as root.  Allocate and
15738         initialize digit_strings.
15739         (expand_asm_operands): Use empty_string instead of string
15740         constant.  Use digit_strings instead of string constants.
15741         * profile.c (init_arc_profiler): Allocate string with
15742         ggc_alloc_string instead of xmalloc.
15743         (output_func_start_profiler): Likewise.
15744         * c-typeck.c (digest_init): Check if init is error_mark_node.
15745
15746 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
15747                           Richard Henderson  <rth@cygnus.com>
15748
15749         * ggc-page.c: New file.
15750         * Makefile.in (ggc-page.o): New.
15751
15752 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
15753
15754         * invoke.texi: Document -fdelete-null-pointer-checks
15755         * toplev.c (flag_delete_null_pointer_checks): New.
15756         (f_options): Add entry for -fdelete-null-pointer-checks.
15757         (rest_of_compilation): Conditionalize null pointer check
15758         elimination on flag_delete_null_pointer_checks.
15759         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
15760
15761 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
15762
15763         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
15764         copyright notice and special exception to GPL.
15765
15766 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15767
15768         * abi64.h (mips_function_value): Add prototype arguments.
15769
15770         * mips-protos.h: New file with mips prototypes.
15771
15772         * mips.c: Include "tm_p.h".
15773         (mktemp, lookup_name): Add prototype arguments.
15774         (extern_list, string_constant, mips_fill_delay_slot,
15775         mips_output_external, mips_output_external_libcall,
15776         mips_output_filename, mips_declare_object, function_prologue,
15777         mips_expand_prologue, function_epilogue, mips16_constant,
15778         build_mips16_function_stub, mips_output_conditional_branch):
15779         Constify a char*.
15780         (mips_va_start): Remove unused variable `u'.
15781         (mips_va_arg): Cast value to unsigned when comparing against one.
15782         (trace): Delete.
15783         (save_restore_insns, mips_expand_prologue): Add missing arg in
15784         call to `large_int'.
15785
15786         * mips.h: Move prototypes to mips-protos.h.
15787         (data_section, memory_address_p, rdata_section,
15788         readonly_data_section, simple_epilogue_p, text_section): Delete
15789         prototypes delcared elsewhere.
15790         (mips_epilogue_delay_slots, print_options): Delete unused decls.
15791         (trace): Delete.
15792         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
15793
15794         * mips.md: Delete extra args in call to `mips_move_2words'.
15795
15796         * xm-iris6.h (alloca): Add prototype argument.
15797
15798         * genpeep.c: Include "tm_p.h" in generated output file.
15799
15800 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15801
15802         * basic-block.h (find_edge_index): Change parameters.
15803         * flow.c (verify_edge_list): Pass basic_block parameters to
15804         find_edge_index instead of integers.
15805
15806 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
15807
15808         * combine.c (simplify_comparison): Use an unsigned shift to adjust
15809         the constant.
15810
15811 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
15812
15813         * gcc.1: Fix a formatting error.
15814
15815 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15816
15817         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
15818         i786, mn10200, mn10300, pdp11, v850.
15819
15820 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
15821
15822         * libgcc2.c (num_digits): Add prototype with
15823         __attribute__((const)).
15824         (__terminate): Add prototype.
15825
15826 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
15827
15828         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
15829
15830         * alpha/alpha.c (print_operand): Fix type of `code'.
15831         (alpha_output_filename): Constify.
15832         * alpha/alpha.h: Move all function declarations ...
15833         * alpha/alpha-protos.h: ... here.  New file.
15834         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
15835         (SECTION_FUNCTION_TEMPLATE): Likewise.
15836
15837 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15838
15839         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
15840         * expr.c (expand_expr): Likewise.
15841         (do_jump): Likewise.
15842         (do_store_flag): Pass ccp_store_flag to can_compare_p.
15843         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
15844         accessor macros.
15845         (enum can_compare_purpose): New.
15846         (can_compare_p): Adjust prototype.
15847         (prepare_cmp_insn, prepare_operand): Declare.
15848         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
15849         * optabs.c (cmp_available_p): Deleted.
15850         (expand_abs): Pass ccp_jump to can_compare_p.
15851         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
15852         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
15853         Call can_compare_p rather than cmp_available_p.
15854         (prepare_operand): No longer static.
15855         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
15856         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
15857         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
15858         sequence to use emit_cmp_and_jump_insns.
15859         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
15860
15861 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
15862
15863         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
15864         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
15865         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
15866         (plus (reg) (const_int 0))
15867         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
15868
15869 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
15870
15871         * rs6000.c (expand_block_move): DImode loads and stores require
15872         word-aligned displacements.  Increment address registers with
15873         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
15874
15875 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
15876
15877         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
15878         is no name for the base type, rather than segfault.  If we are
15879         writing out a complex integer type, use DW_ATE_lo_user.
15880
15881         * expr.c (emit_move_insn_1): If we are copying a complex that fits
15882         in one word or less (complex char, complex short, or on 64 bit
15883         systems complex float) to/from a hard register, copy it through
15884         memory instead of dying in gen_{real,imag}part.  If we have a
15885         short complex type, prevent inlining since it allocates stack
15886         memory.
15887
15888         * tree.c (build_complex_type): If we are writing dwarf2 output,
15889         generate a name for complex integer types.
15890
15891 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15892
15893         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
15894         * flow.c (remove_edge): Remove extra whitespace.
15895         (remove_fake_edges): Fix comment.
15896         (add_noreturn_fake_exit_edges): Use the correct name.
15897
15898 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
15899
15900         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
15901         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
15902         (clean): Depend on INTL_CLEAN.
15903         (maintainer-clean): Adjust.
15904
15905 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15906
15907         * configure.in (AC_PREREQ): Bump to 2.13.
15908         (AC_C_STRINGIZE): Call this instead of using a custom macro.
15909
15910         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
15911
15912         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
15913
15914         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
15915
15916         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
15917         (HAVE_STRINGIZE): Define.
15918
15919 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
15920
15921         * c-parse.in: save and restore warn_pointer_arith on __extension__
15922         along with pedantic.
15923         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
15924         Set the type of extension to itype rather than $<itype>1 kludge.
15925         * extend.texi (Alternate Keywords): Adjust documentation.
15926         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
15927
15928 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
15929
15930         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
15931         most assembler templates.
15932
15933         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
15934         FP loads and stores.
15935         (following_call): Always return zero for the PA8000.
15936         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
15937         FP loads and stores.
15938         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
15939
15940         * pa.h (BRANCH_COST): Define.
15941
15942         * pa.md (return, return_internal): Use bve for PA2.0.
15943
15944         * pa.md (fused multiply): Add variants which reduce height for the
15945         fused multiply, but which still generate 2 insns.
15946         (fnegabs): Similarly.
15947
15948         * pa.md (subsi3): Turn into an expander.  Create two anonymous
15949         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
15950         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
15951
15952         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
15953         for TARGET_PA_20.
15954         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
15955         code generation.
15956         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
15957         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
15958
15959         * regclass.c (init_regs): Add "top_of_stack" as a garbage
15960         collection root.
15961
15962         * flow.c (record_active_eh_regions): Terminate loop after finding
15963         the last insn in the last basic block.
15964
15965 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15966
15967         * config/c4x/c4x.md: Delete parallel instruction peepholes.
15968
15969 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15970
15971         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
15972
15973 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15974
15975         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
15976         splitting to not use output template.
15977
15978 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15979
15980         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
15981         * config/c4x/c4x.c (c4x_va_start): New function.
15982
15983 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
15984
15985         * genrecog.c (not_both_true): Handle correctly cases when called for
15986         tests with different positions in the insn.
15987
15988 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15989
15990         * machmode.h (HOST_PTR_PRINTF): Move from here ...
15991
15992         * system.h (HOST_PTR_PRINTF): ... to here.
15993
15994         * mips-tfile.c: Don't include machmode.h.
15995
15996         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
15997         (mips-tfile.o): Don't depend on machmode.h.
15998
15999 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16000
16001         * haifa-sched.c (sched_analyze): Rename local variable `region' to
16002         avoid conflicts with typedef struct `region' at the top level scope.
16003
16004 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
16005
16006         * basic-block.h (basic_block): Add eh_beg, eh_end.
16007         * flow.c (entry_exit_blocks): Update.
16008         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
16009         Call new functions.
16010         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
16011         lists.c functions to allocate insn lists.
16012         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
16013         edge creation ...
16014         (make_eh_edge): ... here.  New.
16015         (move_stray_eh_region_notes): New.
16016         (record_active_eh_regions): New.
16017         (delete_unreachable_blocks): Split out block merging ...
16018         (try_merge_blocks): ... here.  New.
16019         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
16020         Dump debugging data.
16021         (merge_blocks_move_successor_nojumps): Likewise.
16022         (merge_blocks): Use eh_beg+eh_end to validate block movement.
16023
16024 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
16025
16026         * extend.texi (Bound member functions): Document unbound pmf
16027         conversion.
16028
16029 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16030
16031         * flow.c (split_edge): Handle insertion on a fallthrough edge which
16032         has the EXIT_BLOCK as a dest.
16033
16034 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16035
16036         * flow.c (remove_edge): New function to remove an edge from the
16037         flow graph.
16038         (remove_fake_successors): New function to remove fake successor edges.
16039         (remove_fake_edges): New function to remove all fake edges from the
16040         flow graph.
16041         (add_fake_exit_edges): New function to add fake edges from all blocks
16042         with no successors to the exit block.
16043         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
16044         prototypes for new functions.
16045
16046 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16047
16048         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
16049         Use Pmode to determine whether to output .dword or .word.
16050
16051 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
16052
16053         * tree.c (built_in_filename): New variable.
16054         (BUILT_IN_FILENAME): New macro.
16055         (init_tree_codes): Allocate built_in_filename.
16056         (make_node): Use built_in_filename instead of string constant.
16057
16058 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
16059
16060         * configure.in: Add fr30 target.
16061         * configure: Regenerate.
16062         * config/fr30: New directory.
16063         * config/fr30/crti.asm: New file.
16064         * config/fr30/fr30.c: New file.
16065         * config/fr30/crtn.asm: New file.
16066         * config/fr30/fr30.h: New file.
16067         * config/fr30/fr30.md: New file.
16068         * config/fr30/lib1funcs.asm: New file.
16069         * config/fr30/t-fr30: New file.
16070         * config/fr30/xm-fr30.h: New file.
16071
16072 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
16073
16074         * flow.c (merge_blocks_move_successor_nojumps): Delete the
16075         BARRIER at the end of the successor, not the BARRIER before
16076         the successor.
16077
16078         * pa.c (pa_add_gc_roots): Fix thinko in last change.
16079
16080 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
16081
16082         * stmt.c (any_pending_cleanups): Don't crash when
16083         current_function->stmt is unset.
16084
16085 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16086
16087         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
16088         other initializations that may use it for relative offsets.
16089
16090 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16091
16092         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
16093         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
16094         * config/i386/sol2dbg.h: Removed.
16095         * config/i386/sol2gas.h: New file, to enable gas work-around.
16096         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
16097         Don't use sol2dbg.h.
16098         * configure: Rebuilt.
16099
16100 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
16101
16102         * invoke.texi (-fthis-is-variable): Remove documentation.
16103
16104 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
16105
16106         * basic-block.h (compute_bb_for_insn): Declare.
16107         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
16108         to use; set size of basic_block_for_insn directly.
16109         (find_basic_blocks): Update.
16110
16111 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16112
16113         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
16114
16115 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16116
16117         * crtstuff.c (ON_EXIT): Delete empty macro definition.
16118         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
16119
16120 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
16121
16122         * c-decl.c (c_decode_option): Extend comment.
16123
16124 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
16125
16126         * toplev.c (progname): Make 'const char *'
16127         (flag_print_mem): Move out of main.
16128         (version_flag): Move out of main.
16129         (filename): Move out of main.
16130         (debug_args): Remove g prefix from options.
16131         (documented_lang_options): Remove cpplib specific options.
16132         (display_help): Add g prefix to debug options.
16133         (check_lang_option): Delete this function.
16134         (decode_d_option): New function: Decode -d... option.
16135         (decode_f_option): New function: Decode -f... option.
16136         (decode_W_option): New function: Decode -W... option.
16137         (decode_g_option): New function: Decode -g... option.
16138         (independent_decode_option): New function: Decode a language
16139         independent command line option.
16140         (main): Invoke lang_decode_option and then
16141         independent_decode_option on each command line option in
16142         turn.
16143
16144 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
16145
16146         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
16147          * fold-const.c (fold_range_test): Do not try to fold the range
16148          test if the rhs or lhs has side effects.
16149
16150         * basic-block.h (compute_flow_dominators): Declare.
16151
16152         * gcse.c (alloc_code_hoist_mem): New function.
16153         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
16154         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
16155         (hoist_code, one_code_hoisting_pass): Likewise.
16156         (gcse_main): If optimizing for size, then hoist expressions
16157         computed in multiple dominated basic blocks.
16158
16159         * gcse.c (invalid_nonnull_info): New function.
16160         (delete_null_pointer_checks): Likewise.
16161         * rtl.h (delete_null_pointer_checks): Declare.
16162         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
16163
16164         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
16165         (merge-blocks_move_successor_nojumps): Likewise.
16166         (merge_blocks): Allow merging of some blocks, even if it requires
16167         physical movement of the blocks, but not if it requires new jumps.
16168
16169         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
16170         Callers and prototype changed.
16171         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
16172
16173 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16174
16175         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
16176         -YP when both -p and -pg are present.  From i386/sol2.h.
16177
16178 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16179
16180         * Makefile.in (distclean): Delete tm_p.h.
16181         * configure.in: Create a new file, "tm_p.h", from a list in
16182         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
16183         "i386/i386-protos.h".
16184
16185         * alias.c: Include "tm_p.h".
16186         * c-typeck.c: Likewise.
16187         * calls.c: Likewise.
16188         * cse.c: Likewise.
16189         * emit-rtl.c: Likewise.
16190         * explow.c: Likewise.
16191         * expmed.c: Likewise.
16192         * expr.c: Likewise.
16193         * final.c: Likewise.
16194         * flow.c: Likewise.
16195         * fold-const.c: Likewise.
16196         * function.c: Likewise.
16197         * gcse.c: Likewise.
16198         * global.c: Likewise.
16199         * haifa-sched.c: Likewise.
16200         * integrate.c: Likewise.
16201         * jump.c: Likewise.
16202         * local-alloc.c: Likewise.
16203         * loop.c: Likewise.
16204         * optabs.c: Likewise.
16205         * recog.c: Likewise.
16206         * reg-stack.c: Likewise.
16207         * regclass.c: Likewise.
16208         * regmove.c: Likewise.
16209         * reload.c: Likewise.
16210         * reload1.c: Likewise.
16211         * reorg.c: Likewise.
16212         * resource.c: Likewise.
16213         * stmt.c: Likewise.
16214         * stor-layout.c: Likewise.
16215         * toplev.c: Likewise.
16216         * tree.c: Likewise.
16217         * unroll.c: Likewise.
16218         * genattrtab.c (main): Make generated file include "tm_p.h".
16219         * genemit.c (main): Likewise.
16220         * genoutput.c (main): Likewise.
16221         * genrecog.c (main): Likewise.
16222
16223         * i386.h: Delete all prototypes.
16224         * i386.c: Include "tm_p.h".
16225         (ix86_attr_length_default): Call constant_call_address_operand
16226         with correct number of arguments.
16227         * i386-protos.h: New file.
16228         * i386.md (unnamed patterns): Call constant_call_address_operand
16229         with correct number of arguments.
16230         (exception_receiver): Call load_pic_register with correct number
16231         of arguments.
16232
16233 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
16234
16235         * c-pragma.c (mark_align_stack): Dereference the void* properly.
16236
16237 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
16238
16239         * rtl.h (insns_safe_to_move_p): New function.
16240         * loop.c (find_and_verify_loops): Use it.
16241         * rtlanal.c (insns_safe_to_move_p): Define it.
16242
16243 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
16244
16245         * c-pragma.c: Include ggc.h.
16246         * Makefile.in (c-pragma.o): Update.
16247
16248 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16249
16250         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
16251         (LIB_SPEC): Likewise.
16252         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
16253         Reindent -YP/-p/-pg.
16254         Copied from config/sparc/sol2.h.
16255
16256 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
16257
16258         * c-pragma.c (mark_align_stack): New.
16259         (init_pragma): New.
16260         * c-pragma.h (init_pragma): Declare it.
16261         * c-lex.c (init_parse): Call it.
16262
16263 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16264
16265         * configure.in: Pick up thread library on Solaris/x86 just
16266         like on Solaris/sparc.
16267         * configure: Rebuilt.
16268
16269 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
16270
16271         * rtl.h (global_rtx_index): New enum.
16272         (global_rtl): Change to array of rtx.
16273         (pc_rtx, cc0_rtx): Redefine accordingly.
16274         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
16275         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
16276         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
16277         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
16278         (const_int_rtx): Change to array of rtx.
16279         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
16280         accordingly.
16281         * emit-rtl.c (global_rtl): Change to array of rtx.
16282         (const_int_rtx): Change to aray of rtx.
16283         (gen_rtx_CONST_INT): Redefine accordingly.
16284         (init_emit_once): Allocate and initialize global_rtl.  Likewise
16285         for const_int_rtx.  Add both as GC roots.
16286         * genattrtab.c (global_rtl): Update declaration.
16287
16288 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
16289
16290         * Makefile (USER_H): Add iso646.h back.
16291
16292 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
16293
16294         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
16295         zapping the LOG_LINKS of sched_before_next_call.
16296
16297         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
16298         * pa.c (insn_refs_are_delayed): Renamed from
16299         insn_sets_and_refs_are_delayed.
16300
16301 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
16302
16303         * functiion.h (struct function): Add x_whole_function_mode_p.
16304         (retrofit_block): Declare.
16305         * function.c (retrofit_block): New function.
16306         (identify_blocks): Add assertions.  Allow an incomplete set of
16307         block notes if we're still generating code for the function.
16308         * integrate.c: Include loop.h.
16309         (expand_inline_function): Call find_loop_tree_blocks to map block
16310         notes to blocks when in whole-function mode.  Use retrofit_block
16311         to insert new BLOCKs for the inlined function, rather than
16312         insert_block.
16313         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
16314         * Makefile.in (integrate.o): Depend on loop.h.
16315
16316 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
16317
16318         * tree.h (warn_about_unused_variables): Declare.
16319         * stmt.c (warn_about_unused_variables): New function, split out
16320         from ...
16321         (expand_end_bindings): Here.
16322
16323 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
16324
16325         * stmt.c (preserve_subexpressions_p): Don't crash when
16326         current_function->stmt is unset.
16327
16328 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
16329
16330         * stmt.c (expand_start_bindings): Allow callers to pass a flag
16331         indicating that no NOTE_INSN_BLOCK_BEG note is required.
16332         (expand_start_target_temps): Use it.
16333         * except.c (expand_eh_region_start_for_decl): Likewise.
16334         * expr.c (expand_expr): Likewise.
16335
16336 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16337
16338         * fold-const.c (operand_equal_p): Pay attention to side effects.
16339
16340 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
16341
16342         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
16343         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
16344
16345         * tlink.c (scan_linker_output): Look for keywords before accepting
16346         a mangled name in quotes.
16347
16348 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
16349
16350         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
16351         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
16352
16353 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
16354
16355         * alpha.md: Revert Thu Nov 26 change that came in through the
16356         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
16357         Avoid earlyclobber when possible.
16358
16359 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16360
16361         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
16362
16363         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
16364         Define HAVE_ON_EXIT.
16365
16366 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16367
16368         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
16369         CTYPE_CONV in all ctype macros.
16370
16371         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
16372         from system.h.
16373
16374         * cexp.y (initialize_random_junk): Likewise.
16375
16376         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
16377
16378         * i370.c (handle_pragma): Likewise.
16379
16380         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
16381
16382         * v850.c (override_options): Likewise.
16383
16384         * doprint.c (_doprnt): Likewise.
16385
16386         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
16387         Likewise.
16388
16389         * fixinc/server.c (load_data): Likewise.
16390
16391         * fold-const.c (real_hex_to_f): Likewise.
16392
16393         * genattr.c (write_upcase, gen_attr): Likewise.
16394
16395         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
16396         write_upcase): Likewise.
16397
16398         * genemit.c (print_code): Likewise.
16399
16400         * genopinit.c (gen_insn): Likewise.
16401
16402         * genpeep.c (print_code): Likewise.
16403
16404         * genrecog.c (print_code): Likewise.
16405
16406         * optabs.c (init_libfuncs): Likewise.
16407
16408 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
16409
16410         * haifa-sched.c (sched_analyze): Keep the list of notes organized
16411         in pairs.
16412         (reemit_notes): Likewise.
16413
16414 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
16415
16416         * ggc.h (ggc_root): Move to ggc-common.c.
16417         (roots): Remove.
16418         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
16419         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
16420         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
16421         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
16422         * ggc-common.c (ggc_root): Move from ggc.h.
16423         (roots): Declare, static.
16424         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
16425         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
16426         null or check/set mark bit.
16427         (ggc_mark_roots): New.
16428         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
16429
16430 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
16431
16432         * m32r.c: Include toplev.h.
16433         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
16434         (gen_compare): Rename swap_p to must_swap to match uses.
16435         Add default abort case.
16436         (m32r_output_function_epilogue): Remove unused variables.
16437         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
16438         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
16439         define to empty parameter list.  Update all uses.
16440         (predicate decls): Use enum machine_mode not int.
16441         * m32r.md (movsi): Call abort, not fatal_insn.
16442         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
16443
16444 1999-09-14  Andrew Haley  <aph@cygnus.com>
16445
16446         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
16447         use $0 instead of 0.
16448
16449 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16450
16451         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
16452         computation out of loop over hard regs.
16453
16454 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
16455
16456         * function.c (identify_blocks): Don't shadow a variable in an
16457         outer scope.
16458         * integrate.c (integrate_decl_tree): Don't use pushlevel,
16459         pushdecl, or poplevel to build up the new BLOCK tree.
16460         (expand_inline_function): Likewise.
16461         (integrate_parm_decls): Likewise.
16462
16463 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
16464
16465         * c-typeck.c (qualify_type): Merge qualifiers from both types.
16466
16467 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
16468
16469         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
16470         * invoke.texi: Document this change.
16471
16472 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
16473
16474         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
16475         Free the struct.
16476         (mark_emit_status): Renamed from mark_emit_state.
16477         * except.c (mark_eh_status): Renamed from mark_eh_state.
16478         Check not null before marking.
16479         (free_eh_status): New.
16480         * expr.c (mark_expr_status, free_expr_status): New.
16481         * function.c (free_machine_status): New.
16482         (free_after_parsing): New.
16483         (free_after_compilation): Move bits to free_after_parsing; call
16484         free_eh_status, free_expr_status; zero the marked members of the
16485         function state.
16486         (prepare_function_start): No can_garbage_collect.
16487         Call init_eh_for_function.
16488         (expand_dummy_function_end): Free up current_function state.
16489         (mark_function_status): Renamed from mark_function_state.
16490         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
16491         * function.h (struct function): No can_garbage_collect.
16492         (free_machine_status, free_after_parsing): Declare.
16493         (free_eh_status, free_expr_status): Declare.
16494         * ggc.h (mark_expr_status): Declare.
16495         * stmt.c (free_stmt_status): Free the struct.
16496         (mark_stmt_status): Renamed from mark_stmt_state.
16497         (init_stmt): Don't call init_eh.
16498         (init_stmt_for_function): Don't call init_eh_for_function.
16499         * toplev.c (compile_file): Call init_eh.
16500         (rest_of_compilation): Free basic block info before ggc_collect.
16501         Call free_after_parsing; conditionally call free_after_compilation.
16502         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
16503         Check not null before marking.
16504         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
16505
16506 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
16507
16508         * c-lex.c (yylex): Initialize warn.
16509
16510 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
16511
16512         * pa.c (emit_move_sequence): Properly set the mode of the scratch
16513         register when performing secondary reloads for the SAR register.
16514
16515 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
16516
16517         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
16518         (NOTE_BLOCK): New macro.
16519         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
16520         * function.h (identify_blocks): Change prototype.
16521         * function.c (identify_blocks): Simplify.
16522         (reorder_blocks): Likewise.
16523         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
16524         NOTE_INSN_BLOCK_{BEG,END}.
16525         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
16526         the list of saved notes if the note isn't a
16527         NOTE_INSN_BLOCK_{BEG,END}.
16528         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
16529         NOTE_BLOCK_NUMBER.
16530         (reemit_notes): Adjust recreation of notes to reflect new saved
16531         note structure.
16532         * print-rtl.c (print_rtx): Print the address of the BLOCK when
16533         printing a block note.
16534         * stmt.c (block_vector): Remove.
16535         (find_loop_tree_blocks): Simplify.
16536         (unroll_block_trees): Likewise.
16537         * tree.h (reorder_block): Change prototype.
16538
16539 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
16540
16541         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
16542         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
16543         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
16544         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
16545         (atexit, exit): Simplify.
16546         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
16547         * config/lots: Remove defns of HAVE_ATEXIT.
16548
16549 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
16550
16551         * calls.c (precompute_arguments): Fix typo in comment.
16552         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
16553         TARGET_EXPR.
16554
16555 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
16556
16557         * dsp16xx.c (override_options): Fix typos in GC root registration.
16558
16559 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
16560
16561         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
16562         from config/svr4.h.
16563         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
16564         (FUNCTION_PROFILER): Redefine appropriately for Linux.
16565         (CC1_SPEC): Likewise.
16566
16567 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16568
16569         * genattr.c (main): Add extern prototype.  Call return, not exit.
16570         * genattrtab.c (main): Likewise.
16571         * gencheck.c (main): Likewise.
16572         * gencodes.c (main): Likewise.
16573         * genconfig.c (main): Likewise.
16574         * genemit.c (main): Likewise.
16575         * genextract.c (main): Likewise.
16576         * genflags.c (main): Likewise.
16577         * gengenrtl.c (main): Likewise.
16578         * genopinit.c (main): Likewise.
16579         * genoutput.c (main): Likewise.
16580         * genpeep.c (main): Likewise.
16581         * genrecog.c (main): Likewise.
16582
16583         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
16584         * genattrtab.c (get_insn_name): Likewise.
16585         * gencodes.c (get_insn_name): Likewise.
16586         * genconfig.c (get_insn_name): Likewise.
16587         * genemit.c (get_insn_name): Likewise.
16588         * genextract.c (get_insn_name): Likewise.
16589         * genflags.c (get_insn_name): Likewise.
16590         * genopinit.c (get_insn_name): Likewise.
16591         * genpeep.c (get_insn_name): Likewise.
16592
16593         * gencheck.c (usage): Add static prototype.
16594         * genextract.c (print_path): Constify a char*.
16595         * genopinit.c (optabs): Likewise.
16596         * genoutput.c (operand_data, data, output_predicate_decls,
16597         compare_operands): Likewise.
16598         * genrecog.c (write_tree): Add default case in switch.
16599
16600 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16601
16602         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
16603
16604         * print-rtl.c (get_insn_name): Remove prototype.
16605
16606         * toplev.h (progname): Declare const.
16607
16608         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
16609         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
16610         dump_sched_info, dump_local_alloc, regset_release_memory,
16611         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
16612         error_with_file_and_line, error_with_decl, error_for_asm, error,
16613         fatal, warning_with_file_and_line, warning_with_decl, warning,
16614         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
16615         Remove redundant prototypes.
16616
16617         (notice, check_lang_option, report_file_and_line, vnotice,
16618         mark_file_stack): Add static prototype.
16619         (set_fatal_function): Add prototype.
16620         (vnotice, report_file_and_line, set_fatal_function,
16621         check_lang_option): Constify a char*.
16622         (main): Prototype.  Call return, not exit.
16623
16624 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16625
16626         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
16627
16628         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
16629
16630         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
16631
16632         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
16633
16634 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16635
16636         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
16637         behave as if it's zero in all cases.
16638         (expand_function_start): Adjust call to assign_parms.
16639         * tree.h (assign_parms): Adjust prototype.
16640         * objc/objc-act.c (hack_method_prototype): Adjust call to
16641         assign_parms.
16642
16643 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
16644
16645         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
16646         arg_pointer_rtx fixed if the argument pointer register is
16647         not fixed.
16648         (NONZERO_BASE_PLUS_P): Likewise.
16649
16650 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
16651
16652         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
16653         match_insn2 to match_insn.
16654         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
16655
16656 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
16657
16658         * Makefile.in (USER_H): Remove va-foo.h.
16659
16660         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
16661         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
16662         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
16663         va-spur.h,va-v850.h}: Remove.
16664
16665 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
16666
16667         * sparc/sparc.md (eligible_for_return_delay): New attribute.
16668         (in_return_delay): Use it instead of match_insn.
16669
16670 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16671
16672         * config/alpha/va_list.h (va-alpha.h): Do not include.
16673         (__gnuc_va_list): Typedef as in varargs.h.
16674
16675 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
16676
16677         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
16678         DECL_LIVE_RANGE_RTL.
16679
16680 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
16681
16682         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
16683         not NOTE_BLOCK_NUMBER.
16684         (expand_eh_region_end): Likewise.
16685         (find_exception_handler_labels): Likewise.
16686         (scan_region): Likewise.
16687         (exception_optimize): Likewise.
16688         (update_rethrow_references): Likewise.
16689         (set_insn_eh_region): Likewise.
16690         * final.c (final_scan_insn): Likewise.
16691         * flow.c (make_edges): Likewise.
16692         * integrate.c (expand_inline_function): Likewise.
16693         * print-rtl.c (print_rtx): Likewise.
16694
16695 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
16696
16697         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
16698         terms of builtin functions and types.
16699
16700         * mips.c (mips_build_va_list): New.
16701         (mips_va_start, mips_va_arg): New.
16702         * mips.h (BUILD_VA_LIST_TYPE): New.
16703         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16704
16705         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
16706         (sh_build_va_list, sh_va_start, sh_va_arg): New.
16707         * sh.h (BUILD_VA_LIST_TYPE): New.
16708         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16709
16710 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
16711
16712         * recog.h (struct recog_data): Make dup_num, operand_address_p,
16713         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
16714         (struct insn_data): Likewise with n_operands, n_dups,
16715         n_alternatives, output_format.
16716         * regclass.c (scan_one_insn): Cast n_operands to int before
16717         arithmetic inside comparison.
16718
16719 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
16720
16721         * toplev.c (compile_function): Unconditionally emit nop.
16722
16723 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16724
16725         * haifa-sched.c (actual_hazard): Move declaration of variable
16726         `this_cost' into the scope where it is used.
16727
16728 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16729
16730         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
16731         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
16732         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
16733
16734         * genrecog.c (make_insn_sequence): Call memset, not bzero.
16735
16736         * jump.c (find_insert_position): Don't declare or define unless
16737         !HAVE_conditional_arithmetic.
16738         (returnjump_p_1, delete_prior_computation): Add static prototypes.
16739
16740         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
16741
16742         * recog.c (offsettable_address_p): Prototype function pointer.
16743         (preprocess_constraints): Call memset, not bzero.
16744
16745         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
16746         (gcc_obstack_init): Don't declare.
16747         (fix_sizetype): Add static prototype.
16748         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
16749         (tree_cons): Call memset, not bzero.
16750
16751         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
16752         definition in macro ASM_WEAKEN_LABEL.
16753         (mark_const_hash_entry): Add static prototype.
16754
16755 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16756
16757         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
16758
16759         * unroll.c (find_common_reg_term, subtract_reg_term,
16760         loop_find_equiv_value): Add static prototypes.
16761         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
16762         (copy_loop_body): Remove unreachable break statement.
16763
16764         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
16765
16766         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
16767
16768 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16769
16770         Undo some changes from the gcc2 merge:
16771         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
16772         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
16773         pointers.
16774
16775         Undo this change:
16776         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
16777         * emit-rtl.c (gen_lowpart_common): Disable optimization of
16778         initialized float-int union if the value is a NaN.
16779
16780 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16781
16782         * gthr-win32.h: New file.
16783
16784         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
16785         shared as a valid attribute.
16786         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
16787         * extend.texi: Document `shared' variable attribute.
16788
16789 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
16790
16791         * configure.in: Handle --enable-threads on FreeBSD.
16792         * configure: Rebuit.
16793
16794 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
16795
16796         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
16797         thread support.
16798         * configure: Rebuilt.
16799
16800 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
16801                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
16802                           Rosimildo DaSilva <rdasilva@connecttel.com>
16803
16804         * configure.in (m68k-*-rtemscoff*): Added.
16805         * configure.in (mips64orion-*-rtems*): Converted to ELF.
16806         * configure.in (sparc-*-rtemsaout*): Added as alias for old
16807         sparc-rtems configuration.
16808         * configure.in (sparc-*-rtemself*): Added.
16809         * configure.in (sparc-*-rtems*): Now ELF not a.out.
16810         * config/i386/rtems.h: Added comment.
16811         * config/sparc/rtemself.h: New file.
16812
16813         * configure.in (m68k-rtemself): Added.
16814         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
16815         and DWARF_DEBUGGING_INFO.
16816         * config/m68k/crti.s: New file.
16817         * config/m68k/crtn.s: New file.
16818         * config/m68k/t-crtstuff: New file.
16819         * config/m68k/rtemself.h: New file.
16820
16821         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
16822         global ctor/dtor and C++ exception handling.
16823         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
16824         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
16825         ENDFILE_SPEC.
16826         * config/i386/t-rtems-i386: New File.
16827
16828 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
16829
16830         * stmt.c (expand_end_case): Return right away if the case stack is
16831         empty.
16832
16833 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
16834
16835         * Makefile.in (version.c): Remove rule incorrectly brought in from
16836         the gcc2 merge.
16837
16838 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
16839
16840         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
16841         * msdos/top.sed:  Take into account a prepended $(SHELL) to
16842         move-if-change.
16843         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
16844
16845         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
16846
16847 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16848
16849         * regmove.c (fixup_match_1): Don't change an unchanging register.
16850         (stable_but_for_p): Renamed to:
16851         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
16852         Changed all callers.
16853
16854 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
16855
16856         * loop.c (strength_reduce): Don't call reg_used_between_p if the
16857         insn from BL2 is after the insn from BL.
16858
16859 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
16860
16861         * recog.h (INSN_OUTPUT_FORMAT_*): New.
16862         (struct insn_data): Merge `template' and `outfun' into `output'.
16863         Add `output_format'.
16864         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
16865         (struct data): Remove `outfun'; add `output_format'.
16866         (name_for_index): Remove declaration.
16867         (output_insn_data): Handle output formats.
16868         (process_template): Emit the bare array for @.
16869         (gen_expand, gen_split): Set output_format to NONE.
16870         * output.h (get_insn_template): Declare.
16871         * final.c (get_insn_template): New.
16872         (final_scan_insn): Use it.
16873         * toplev.c (compile_file): Likewise.
16874
16875         * c4x/c4x.c (c4x_process_after_reload): Likewise.
16876         * i860/i860.c (output_delayed_branch): Likewise.
16877         (output_delay_insn): Likewise.
16878
16879 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16880
16881         * rtl.c (obstack_alloc_rtx): Removed.
16882
16883 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
16884
16885         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
16886
16887 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
16888
16889         * i386.c (call_insn_operand): Reject const_int.
16890         (expander_call_insn_operand): Use call_insn_operand.
16891
16892 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16893
16894         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
16895
16896 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
16897
16898         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
16899         Use DImode operation.
16900
16901 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
16902
16903         * gcc.c: Include sys/resource.h.
16904         (report_times): New flag.
16905         (execute):  If report_times is set, calculate and report the
16906         CPU time consumed by each subprocess.
16907
16908         (rus, prus): New globals.
16909         (option_map): Add --time.
16910         (display_help): Document -time.
16911         (process_command): Set report_times if -time is given.
16912         Turn off -pipe if -time is given.
16913
16914         * invoke.texi: Document new option -time.
16915
16916         * configure.in: Check for getrusage.  Check if we have to
16917         prototype getrusage.
16918         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
16919         * configure: Regenerate.
16920         * config.in: Regenerate.
16921
16922 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
16923
16924         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
16925         fields.
16926
16927 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
16928
16929         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
16930         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
16931         (nan): Return _thenan_sf or _thenan_df as appropriate.
16932         (L_thenan_sf): Define _thenan_sf.
16933         (L_thenan_df): Define _thenan_df.
16934
16935         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
16936         (DPBIT_FUNCS): Add _thenan_df.
16937
16938 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
16939
16940         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
16941         TYPE_SIZE_UNIT.
16942
16943 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16944
16945         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
16946
16947         * gcc.h: New file.
16948         (lang_specific_driver): Don't take a function pointer parameter.
16949         All callers changed.
16950
16951         * gcc.c: Include gcc.h.
16952         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
16953         lang_specific_extra_outfiles, fatal): Don't declare.
16954         (multilib_defaults_raw): Constify.
16955         (read_specs): Call memset, rather than bzero.
16956         (main): Call return, not exit.
16957         (lookup_compiler): Call memcpy, not bcopy.
16958         (fatal): Make extern.
16959
16960         * cppspec.c: Include gcc.h.
16961         (lang_specific_driver): Initialize variable `quote'.  Constify a
16962         char*.  All calls to the function pointer parameter now
16963         explicitly call `fatal'.
16964
16965         * gccspec.c (lang_specific_driver): Include gcc.h.
16966
16967 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
16968
16969         * arm.c (note_invalid_constants): Use recog_data.operand_type
16970         for recog_op_type.
16971
16972 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16973
16974         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
16975         Declare.
16976
16977         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
16978         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16979         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16980         reload_secondary_in_reload, reload_secondary_out_reload,
16981         reload_secondary_in_icode, reload_secondary_out_icode,
16982         reload_reg_rtx, reload_when_needed): Delete declarations.
16983         (struct reload): New structure.
16984         (rld): Declare new array.
16985         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
16986         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16987         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16988         reload_secondary_in_reload, reload_secondary_out_reload,
16989         reload_secondary_in_icode, reload_secondary_out_icode,
16990         reload_reg_rtx, reload_when_needed): Delete definitions.
16991         (rld): New array.
16992         (whole file): Replace uses of the deleted arrays with uses of rld.
16993         * reload1.c (whole file): Replace uses of the deleted arrays with
16994         uses of rld.
16995         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
16996         explicit loops, not with bcopy.
16997
16998 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
16999
17000         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
17001         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
17002         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
17003         insn_name): Delete and consolidate into new structures.
17004         (insn_operand_predicate_fn): New.
17005         (insn_output_fn): New.
17006         (insn_gen_fn): New.
17007         (struct insn_operand_data): New.
17008         (struct insn_data): New.
17009         (insn_data): New.
17010         (OUT_FCN): Update for insn_data change.
17011         * builtins.c (expand_builtin_strlen): Likewise.
17012         (expand_builtin_memcmp): Likewise.
17013         * combine.c (make_extraction, simplify_comparison): Likewise.
17014         * cse.c (canon_reg, cse_insn): Likewise.
17015         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
17016         * expmed.c (store_bit_field, extract_bit_field): Likewise.
17017         (emit_store_flag): Likewise.
17018         * expr.c (convert_move, emit_block_move): Likewise.
17019         (clear_storage, emit_push_insn, expand_increment): Likewise.
17020         (do_store_flag): Likewise.
17021         * expr.h (GEN_FCN): Likewise.
17022         (insn_gen_function): Die.
17023         * final.c (final_scan_insn): Update for insn_data change.
17024         (output_asm_name): Likewise.
17025         * function.c (fixup_var_refs_1): Likewise.
17026         * loop.c (check_dbra_loop): Likewise.
17027         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
17028         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
17029         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
17030         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
17031         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
17032         * regmove.c (gen_add3_insn): Likewise.
17033         * reload.c (push_secondary_reload, combine_reloads): Likewise.
17034         (find_reloads, find_reloads_address_1): Likewise.
17035         (debug_reload_to_stream): Likewise.
17036         * reload1.c (emit_reload_insns, gen_reload): Likewise.
17037         * stmt.c (expand_end_case): Likewise.
17038         * toplev.c (compile_file): Likewise.
17039
17040         * c4x/c4x.c (c4x_process_after_reload): Likewise.
17041         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
17042
17043         * print-rtl.c (insn_name_ptr): Remove declaration.
17044         (get_insn_name): Declare.
17045         (print_rtx): Use it.
17046         * genoutput.c (insn_name_ptr): Remove.
17047         (next_operand_number): New.
17048         (struct operand_data): New.
17049         (null_operand, odata, odata_end): New.
17050         (struct data): Use struct operand_data.
17051         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
17052         (get_insn_name): Renamed from name_for_index.
17053         (output_prologue): Define NO_MD_PROTOTYPES.
17054         (output_predicate_decls): Break out from output_epilogue.
17055         Iterate over the operands list.
17056         (output_operand_data): Break out from output_epilogue.  Emit
17057         just the operands list.
17058         (output_insn_data): Break out from output_epilogue.  Emit just
17059         the insn data.
17060         (output_epilogue): Remove.
17061         (output_get_insn_name): New.
17062         (constraints, op_n_alternatives, predicates, address_p): Die.
17063         (modes, strict_low, seen): Die.
17064         (scan_operands): Take new param `d' instead of writing to
17065         seven global variables.
17066         (compare_operands): New.
17067         (place_operands): New.
17068         (validate_insn_alternatives): Update for struct data change.
17069         (gen_insn): Don't zero or copy 7 global arrays.  Update for
17070         scan_operands; call place_operands.
17071         (gen_peephole, gen_expand, gen_split): Likewise.
17072         (main): Update for new output routines.
17073
17074         * genattr.c (insn_name_ptr): Remove.
17075         (get_insn_name): New function.
17076         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
17077         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
17078         * genrecog.c: Likewise.
17079
17080         * alpha.md (adddi3): Make `pattern' array static.
17081
17082 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17083
17084         * config/c4x/c4x.h (c4x_rpts_cycles_string,
17085         c4x_cpu_version_string): Constify char *.
17086         * config/c4x/c4x.c (c4x_rpts_cycles_string,
17087         c4x_cpu_version_string): Likewise.
17088
17089 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
17090
17091         * tree.c (save_tree_status): Revert 10 Sep change.
17092         (restore_tree_status): Likewise.  Call obstack_free with NULL
17093         before freeing the obstack proper.
17094
17095 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
17096
17097         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
17098
17099         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
17100         surrounding context.
17101
17102 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
17103
17104         * tree.c (type_hash_canon): Put all types in the hash-table, when
17105         GC'ing.
17106
17107 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
17108
17109         * recog.h (struct recog_data, recog_data): New.
17110         (recog_foo variables): Kill.
17111         * recog.c (recog_operand, recog_operand_loc): Kill.
17112         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
17113         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
17114         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
17115         (recog_data): Define.
17116         (extract_insn): Update all recog_foo references to use recog_data.
17117         (preprocess_constraints, constrain_operands): Likewise.
17118         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
17119         * genattrtab.c (main): Likewise.
17120         * genextract.c (main): Likewise.
17121         * genoutput.c: Likewise.
17122         * genrecog.c (write_subroutine, main): Likewise.
17123         * local-alloc.c (block_alloc): Likewise.
17124         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
17125         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
17126         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
17127         * reload.c (find_reloads, find_reloads_toplev): Likewise.
17128         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
17129         (reload_cse_simplify_operands): Likewise.
17130
17131         * arc/arc.c (arc_final_prescan_insn): Likewise.
17132         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
17133         * h8300/h8300.c (notice_update_cc): Likewise.
17134         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
17135         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
17136         * mn10200/mn10200.c (notice_update_cc): Likewise.
17137         * mn10300/mn10300.c (notice_update_cc): Likewise.
17138         * romp/romp.c (update_cc): Likewise.
17139         * sparc/sparc.c (check_pic): Likewise.
17140         * v850/v850.c (notice_update_cc): Likewise.
17141
17142         * genemit.c (main): Don't declare recog_operand.
17143
17144 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
17145
17146         * ggc.h (rtvec_def): Forward declare.
17147         (tree_node): Likewise.
17148         (ggc_root): Define.
17149         (roots): Declare.
17150         (ggc_set_mark_rtx): Add prototype.
17151         (ggc_set_mark_rtvec): Likewise.
17152         (ggc_set_mark_tree): Likewise.
17153         * ggc-simple.c (ggc_root): Don't define.
17154         (roots): Don't declare.
17155         (ggc_mark_rtx): Remove.
17156         (ggc_mark_rtvec): Likewise.
17157         (ggc_mark_tree): Likewise.
17158         (ggc_mark_varray): Likewise.
17159         (ggc_mark_tree_hash_table_entry): Likewise.
17160         (ggc_mark_tree_hash_table): Likewise.
17161         (ggc_set_mart_rtx): New function.
17162         (ggc_set_mark_rtvec): Likewise.
17163         (ggc_set_mark_tree): Likewise.
17164         (ggc_add_root): Remove.
17165         (ggc_add_rtx_root): Likewise.
17166         (ggc_remove_tree_root): Likewise.
17167         (ggc_add_string_root): Likewise.
17168         (ggc_add_tree_varray_root): Likewise.
17169         (ggc_add_tree_hash_table_root): Likewise.
17170         (ggc_del_root): Likewise.
17171         (ggc_mark_rtx_ptr): Likewise.
17172         (ggc_mark_tree_ptr): Likewise.
17173         (ggc_mark_string_ptr): Likewise.
17174         (ggc_mark_tree_varray_ptr): Likewise.
17175         (ggc_mark_tree_hash_table_ptr): Likewise.
17176         * ggc-common.c: New file.
17177         * Makefile.in (OBJS): Add ggc-common.o.
17178         (ggc-common.o): List dependencies.
17179
17180 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
17181
17182         * cppalloc.c (xstrdup): Use memcpy.
17183         * cpperror.c (cpp_print_containing_files): Don't use
17184         cpp_notice.
17185         * cpplib.c (conditional_skip): Set temp->lineno.
17186         (do_endif): Make error message less obscure.
17187         (if_directive_name): New function.
17188         (cpp_get_token [case EOF]): Unwind the if stack and generate
17189         error messages for each unterminated conditional in this file.
17190         (parse_string):  Do not behave differently if -traditional.
17191
17192 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
17193
17194         * builtins.c (expand_builtin_va_arg): Cope with an array-type
17195         va_list decomposing to pointer-type.
17196         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
17197         (rs6000_va_arg): Likewise.
17198
17199 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
17200
17201         * except.c (start_dynamic_handler): Compute size using
17202         STACK_SAVEAREA_MODE.
17203
17204 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17205
17206         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
17207         include directory headers.  Don't define strrchr.  Don't provide
17208         my_* replacement functions.  Prefer PTR over `pointer_type'.
17209         Don't prototype system functions.  Don't redefine getopt.
17210
17211         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
17212         safe_read, safe_write, save_pointers, restore_pointers,
17213         is_id_char, in_system_include_dir, directory_specified_p,
17214         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
17215         find_corresponding_lparen, referenced_file_is_newer,
17216         save_def_or_dec, munge_compile_params, gen_aux_info_file,
17217         process_aux_info_file, identify_lineno, check_source,
17218         seek_to_line, forward_to_next_token_char, output_bytes,
17219         output_string, output_up_to, other_variable_style_function,
17220         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
17221         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
17222         find_static_definition, connect_defs_and_decs, add_local_decl,
17223         add_global_decls, needs_to_be_converted, visit_each_hash_node,
17224         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
17225         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
17226         scan_for_missed_items, edit_file, string_list_cons): Add static
17227         prototypes.
17228         (standard_exec_prefix, target_machine, target_version,
17229         default_syscalls_dir, string_list, string_list_cons, find_file,
17230         do_cleaning): Constify a char*.
17231         (safe_read, safe_write): Use PTR, not a char*.
17232         (is_id_char): Take an int, not a char.
17233         (main): Add prototype.  Call return, not exit.
17234
17235 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
17236
17237         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
17238         when comparing types.
17239
17240 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
17241
17242         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
17243         (strength_reduce): Release the varrays from the no-bivs early exit.
17244
17245         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
17246         the loop over the registers.
17247
17248         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
17249         for a new obstack.
17250         (restore_tree_status): Check that instead when freeing the obstack.
17251
17252 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
17253
17254         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
17255         as pointers.
17256
17257 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17258
17259         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
17260         operand size modifiers.
17261
17262 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17263
17264         * c-common.c (c_common_nodes_and_builtins): Don't build
17265         va_list_type_node.
17266         * c-common.h (enum c_tree_index and related accesor macros): Remove
17267         everything now declared in tree.h.
17268         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
17269         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
17270         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
17271         (error_mark_node, void_type_node, char_type_node, integer_type_node,
17272         unsigned_type_node, ptr_type_node, va_list_type_node,
17273         integer_zero_node, null_pointer_node, integer_one_node): Delete.
17274         (init_decl_processing): Call build_common_tree_nodes and
17275         build_common_tree_nodes_2 instead of building their nodes here.
17276         Don't add roots for these nodes.
17277         * stor-layout.c (size_zero_node, size_one_node): Delete.
17278         (set_sizetype): Make a new node for bitsizetype each time.
17279         * tree.c (global_trees): New variable.
17280         (init_obstacks): Add a gc root for it.
17281         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
17282         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
17283         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
17284         (build_common_tree_nodes): New function.
17285         (fix_sizetype): New function.
17286         (build_common_tree_nodes_2): New function.
17287         * tree.h (enum tree_index): New.
17288         (global_trees): Declare.
17289         Add accessor macros for all nodes now moved to global_trees.
17290         Delete their declarations.
17291
17292 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
17293
17294         * c-decl.c (finish_function): When processing a nested function,
17295         push and pop GC context around rest_of_compilation.
17296
17297 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
17298
17299         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
17300         Default ix86_arch to PROCESSOR_I386.
17301         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
17302         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
17303         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
17304         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
17305         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
17306         (EXTRA_SPECS): Remove deleted specs.
17307
17308 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
17309
17310         * function.c (assign_stack_local_1): Allocate from
17311         function->x_frame_offset, not frame_offset.
17312
17313 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
17314
17315         * ggc.h (lang_cleanup_tree): Remove.
17316         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
17317         * ggc-callbacks.c (lang_cleanup_tree): Remove.
17318
17319         * c-decl.c (finish_struct): Use ggc_alloc to allocate
17320         TYPE_LANG_SPECIFIC when garbage collecting.
17321         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
17322         (lang_cleanup_tree): Remove.
17323
17324 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
17325
17326         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
17327         * crtstuff.c: Not here.
17328         * dwarf2out.c: Or here.
17329         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
17330         info.
17331
17332 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
17333
17334         * function.h (free_after_compilation): Remove decl parameter.
17335         (free_varasm_status0: Likewise.
17336         (free_emit_status): Likewise.
17337         (free_stmt_status): Likewise.
17338         (free_after_compilation): Likewise.
17339         (init_lang_status): New variable.
17340         (free_lang_status): Likewise.
17341         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
17342         * function.c (init_lang_status): New variable.
17343         (free_lang_status): Likewise.
17344         (push_function_context_to): Don't set function::decl here.
17345         (free_after_copmilation): Make decl parameter implicit.  Call
17346         free_lang_status if defined.
17347         (prepare_function_start): Call init_lang_status if defined.
17348         (init_function_start): Set function::decl here.
17349         * profile.c (output_func_start_profiler): Don't call pushdecl
17350         until we've actually started the function.
17351         * stmt.c (free_stmt_status): Make decl parameter implicit.
17352         * toplev.c (rest_of_compilation): Don't pass decl to
17353         free_after_compilation.
17354         * varasm.c (free_varasm_status): Likewise.
17355
17356 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17357
17358         * except.c (call_get_eh_context): Add root when allocating static
17359         tree variable.
17360
17361 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
17362
17363         * arm.c: Include "ggc.h".
17364         (arm_add_gc_roots): New function.
17365         (arm_override_options): Call it.
17366         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
17367
17368         * arm.md (define_asm_attributes): Add a pool_range attribute.
17369
17370 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
17371
17372         * extend.texi (Volatiles): New node.
17373
17374 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
17375
17376         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
17377         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
17378         (struct ggc_any): Replace `mark' with `magic_mark'.
17379         (ggc_alloc_string): Use memcpy, not bcopy.
17380         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
17381         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
17382         (ggc_free_any): New.
17383         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
17384         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
17385         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
17386         Use IS_MARKED. Use ggc_free_any.
17387
17388 1999-09-09  Scott Bambrough <scottb@netwinder.org>
17389
17390         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
17391
17392 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
17393
17394         * toplev.c (main): Always init_ggc.
17395
17396 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
17397
17398         * except.c (find_all_handler_type_matches): Free the list if
17399         we found no matches.
17400
17401         * combine.c (SUBST): Break out to a real function do_SUBST.
17402         (SUBST_INT): Likewise.
17403         * gcse.c (free_pre_mem): Free `temp_bitmap'.
17404         (pre_insert): Free `inserted'.
17405         * loop.c (basic_induction_var): Always set `location'.
17406
17407         * function.c (expand_function_end): Add initial_trampoline as a root.
17408         * rtl.h (init_varasm_once): Declare.
17409         * toplev.c (compile_file): Call it.
17410         * ggc-simple.c (ggc_mark_string_ptr): New.
17411         (ggc_add_string_root): New.
17412         (ggc_collect): Disable collection avoidance temporarily.
17413         * ggc.h (ggc_add_string_root): Declare.
17414         * except.c (create_rethrow_ref): Use ggc_alloc_string.
17415         * optabs.c (init_libfuncs): Likewise.
17416         * varasm.c (named_section): Use ggc_alloc_string.
17417         (make_function_rtl): Likewise.
17418         (make_decl_rtl): Likewise.
17419         (assemble_static_space): Likewise.
17420         (assemble_trampoline_template): Likewise.
17421         (output_constant_def): Likewise.
17422         (force_const_mem): Likewise.
17423         (mark_const_hash_entry): New.
17424         (mark_pool_sym_hash_table): New.
17425         (mark_varasm_state): Use it.
17426         (init_varasm_once): New.
17427
17428         * expr.h (init_one_libfunc): Declare.
17429         * optabs.c (init_one_libfunc): New.
17430         (init_optabs): Use it.
17431         * config/gofast.h: Likewise.
17432         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
17433         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
17434
17435 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
17436
17437         * Makefile.in (cppexp.o): Depend on cpphash.h.
17438         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
17439         Include cpphash.h.
17440         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
17441         * cpplib.c (do_define): Generalise to handle poisoned definitions,
17442         redefining poisoned identifiers, etc.
17443         (do_undef): Don't allow poisoned identifiers to be undefined.
17444         (do_pragma): Add #pragma poison.
17445         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
17446
17447         * cccp.c: Add T_POISON node type.
17448         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
17449         poisoned xxx.
17450         (do_define): Generalise to handle poisoned definitions,
17451         redefining poisoned identifiers, etc.
17452         (do_undef): Don't allow poisoned identifiers to be undefined.
17453         (do_pragma): Add #pragma poison.
17454         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
17455
17456         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
17457         * c-pragma.h: Add ps_poison state.  We now always have generic
17458         pragmas.
17459
17460 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
17461
17462         * ggc.h (ggc_alloc): New function.
17463         (ggc_mark): Likewise.
17464         * ggc-simple.c (ggc_any): New structure.
17465         (ggc_status): Add anys.
17466         (n_anys_collected): New variable.
17467         (ggc_alloc): Define.
17468         (ggc_mark): Likewise.
17469         (ggc_collect): Collect the anys.
17470
17471 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17472
17473         * c-decl.c (mark_binding_level): Make static to match prototype.
17474
17475 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
17476
17477         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
17478
17479 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
17480
17481         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
17482         will use into account.  Expand the max width to 5.
17483         * rtl.c: Likewise.
17484
17485 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
17486
17487         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
17488         for the rtx length.
17489
17490 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
17491
17492         * alpha.md (call value patterns): Remove the result predicates.
17493
17494 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
17495
17496         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
17497         last change.
17498
17499 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17500
17501         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
17502         changed from extern char *, to extern PTR.  Also fix typo in
17503         NEED_DECLARATION_REALLOC test.
17504
17505         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
17506
17507 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17508
17509         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
17510         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
17511         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
17512         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
17513
17514         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
17515
17516         * cccp.c (pcfinclude): Likewise.
17517
17518         * global.c (allocno_compare): Likewise.
17519
17520         * haifa-sched.c (rank_for_schedule): Likewise.
17521
17522         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
17523
17524         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
17525
17526         * stupid.c (stupid_reg_compare): Likewise.
17527
17528         * tree.c (_obstack_allocated_p): Likewise.
17529
17530         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
17531
17532 1999-09-08  Bruce Korb  autogen@linuxbox.com
17533
17534         * Makefile.in: Give the hapless gperf user a hint about
17535         why "gperf -F" fails.
17536
17537 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
17538
17539         * lists.c: Include ggc.h.
17540         (zap_lists): New.
17541         (init_EXPR_INSN_LIST_cache): Install it.
17542
17543         * ggc-simple.c (init_ggc): Absorb the old init.
17544         (ggc_push_context): Use xcalloc.
17545         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
17546         (ggc_collect): Add [rvts] tags to the collection stats.
17547
17548 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
17549
17550         * cccp.c (main): Fix handling of -include and -imacros options.
17551
17552 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
17553
17554         * cpplib.c (cpp_push_buffer): Fix order of arguments.
17555
17556 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
17557
17558         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
17559         genrtl.c.
17560
17561 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
17562
17563         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
17564         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
17565         and SET_DEST. Update comment.
17566
17567 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17568
17569         * config/c4x/c4x.c: Include ggc.h.
17570         (c4x_add_gc_roots): New function.
17571         (c4x_override_options): Call c4x_add_gc_roots.
17572
17573 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
17574
17575         * defaults.h (TARGET_ESC): Move ...
17576         * system.h: ... here, where Linas had it in the first place.  Silly me.
17577
17578 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
17579
17580         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
17581         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
17582         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
17583         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
17584         * defaults.h (TARGET_ESC): Add default.
17585
17586 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
17587
17588         * configure.in: add i370-*-openedition, i370-*-mvs and
17589         i370-*-linux targets
17590
17591 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
17592
17593         * dsp16xxx.c: Include ggc.h
17594         (override_options): Mark GC roots.
17595         * mn10200.c: Include ggc.h.
17596         (asm_file_start): Mark GC roots.
17597         * tahoe.c: Include ggc.h.
17598         (extensible_operand): Mark GC roots.
17599
17600 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
17601
17602         * README: Add section discussing status of ELF ABI.
17603         * i370.c: Fix misc spelling mistakes.
17604         (i370_label_scan): Updated notes, exception handling.
17605         (i370_function_prolog): Simplify ELF stack handling.
17606         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
17607         (STACK_GROWS_DOWNWARD): ELF stack grows down.
17608         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
17609         * i370.md: (movdi): Add notes.
17610         (floatsidf2): Use stack not rtca for scratch float area.
17611         (iorsi3): Correct operand constraints.
17612         * x-oe: Restore TAROUTOPTS which are used by pax.
17613
17614 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
17615
17616         * rs6000.c: Include ggc.h.
17617         (rs6000_add_gc_roots): New function.
17618         (override_options): Call it.
17619
17620 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
17621
17622         * alpha.h (alpha_compare): New.
17623         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
17624         * alpha.c: Likewise for the definitions.
17625         (alpha_emit_conditional_branch): Update for alpha_compare.
17626         (alpha_emit_conditional_move): Likewise.
17627         * alpha.md (cmpdf, cmpdi): Likewise.
17628         (setcc patterns): Likewise.  Zero alpha_compare after use.
17629         (sne): Optimize (x != 0) into (0U < x).
17630
17631 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
17632
17633         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
17634         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
17635         (INIT_EXPANDERS): Remove.
17636         * alpha.c: Include ggc.h.
17637         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
17638         (alpha_init_machine_status, alpha_mark_machine_status): New.
17639         (override_options): Install them.
17640         (struct machine_function): Moved to alpha.h.
17641         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
17642         (alpha_init_expanders): Remove.
17643         (alpha_return_addr): Adjust to use current_function->machine.
17644         (alpha_ra_ever_killed): Likewise.
17645         (alpha_expand_epilogue): Likewise.
17646         * alpha.md (eh_epilogue): Likewise.
17647
17648 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
17649                           Melissa O'Neill  <oneill@cs.sfu.ca>
17650                           Geoffrey Keating  <geoffk@cygnus.com>
17651
17652         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
17653         call-used registers (call-saved registers must still be contiguous
17654         and end with r31, of course).
17655
17656 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
17657
17658         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
17659         (self_promoting_type_p): Delete.
17660         (self_promoting_args_p): Move ...
17661         * c-common.c: ... here.
17662         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
17663         (simple_type_promotes_to): New.
17664         * builtins.c (lang_type_promotes_to): New.
17665         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
17666         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
17667         * c-common.h: ... here.
17668         (self_promoting_args_p, simple_type_promotes_to): Declare.
17669         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
17670         (grokdeclarator): Likewise.
17671         * tree.h (lang_type_promotes_to): Declare.
17672
17673 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
17674
17675         Add some machine-dependent GC roots.
17676         * sparc.c: Include ggc.h.
17677         (sparc_add_gc_roots): New function.
17678         (mark_ultrasparc_pipeline_state): Likewise.
17679         (override_options): Call sparc_add_gc_roots.
17680         * pa.c: Include ggc.h.
17681         (pa_add_gc_roots): New function.
17682         (mark_deferred_plabels): Likewise.
17683         (override_options): Call pa_add_gc_roots.
17684         * mips.c: Include ggc.h.
17685         (mips_add_gc_roots): New function.
17686         (override_options): Use it.
17687
17688 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17689
17690         * cpperror.c (cpp_file_line_for_message): Constify a char*.
17691
17692         * cppexp.c (parse_number, parse_charconst, cpp_lex,
17693         cpp_parse_expr): Add static prototypes.
17694         (parse_charconst): Don't cast away const-ness.
17695         (token): Constify a char*.
17696
17697         * cppfiles.c (file_name_list, include_hash, find_include_file,
17698         finclude, initialize_input_buffer): Constify a char*.
17699         (file_cleanup, find_position): Add static prototypes.
17700
17701         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
17702         collect_expansion): Add static prototypes.
17703         (cpp_install, create_definition, monthnames): Constify a char*.
17704
17705         * cpphash.h (cpp_install): Likewise.
17706
17707         * cppinit.c (known_suffixes, default_include,
17708         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
17709         (base_name, dump_special_to_buffer, initialize_dependency_output):
17710         Add static prototypes.
17711
17712         * cpplib.c (my_strerror): Constify a char*.
17713         (null_underflow, null_cleanup, skip_comment, copy_comment,
17714         copy_rest_of_line, handle_directive, pass_thru_directive,
17715         get_directive_token, read_line_number, cpp_print_file_and_line,
17716         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
17717         v_cpp_warning_with_line, detect_if_not_defined,
17718         consider_directive_while_skipping): Add static prototypes.
17719         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
17720         cpp_pedwarn_with_file_and_line): Constify a char*.
17721
17722         * cpplib.h (cpp_options, include_hash, progname, definition,
17723         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
17724         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
17725         find_include_file, deps_output, include_hash): Constify a char*.
17726
17727         * cppmain.c (progname): Constify.
17728         (main): Add prototype.  Use return, not exit.
17729
17730         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
17731         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
17732         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
17733         check_protection): Add static prototype.
17734         (xfree): Remove.
17735         (progname, recognized_macrom, recognized_extern): Constify a char*.
17736         (main): Add prototype.
17737
17738         * gen-protos.c (progname): Constify a char*.
17739
17740 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
17741
17742         * emit-rtl.c (free_emit_status): Take decl as a parameter.
17743         (init_emit_once): Add more GC roots.
17744         * except.c (mark_func_eh_entry): New function.
17745         (mark_eh_node): Mark false_label and rethrow_label.
17746         (init_eh): Add more GC roots.
17747         * function.c (free_after_compilation): Take decl as a paramter.
17748         Call free_stmt_status.
17749         (mark_function_state): Don't assume x_parm_reg_stack_loc is
17750         non-NULL.
17751         * function.h (free_after_compilation): Change prototype.
17752         (free_varasm_status): Likewise.
17753         (free_emit_status): Likewise.
17754         (free_stmt_status): New function.
17755         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
17756         Remove, replacing with ...
17757         (ggc_status): New structure.
17758         (ggc_chain): New variable.
17759         (init_gcc): Define.
17760         (ggc_push_context): New function.
17761         (ggc_pop_context): Likewise.
17762         (ggc_alloc_rtx): Adjust for use of ggc_chain.
17763         (ggc_alloc_rtvec): Likewise.
17764         (ggc_alloc_tree): Likewise.
17765         (ggc_alloc_string): Likewise.
17766         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
17767         (ggc_mark_tree): Give language-dependent code a chance to mark
17768         `x' nodes.
17769         (ggc_mark_tree_varray): Handle empty arrays.
17770         (ggc_collect): Adjust for use of ggc_chain.  Clear
17771         bytes_alloced_since_last_gc.
17772         * ggc.h (ggc_pop_context): New function.
17773         (ggc_push_context): Likewise.
17774         * print-tree.c (print_node): Don't print obstacks when GC'ing.
17775         * stmt.c (free_stmt_status): New function.
17776         (init_stmt_for_function): Clear last_expr_value.
17777         * toplev.c (rest_of_compilation): Always call free_after_compilation.
17778         Conditionalize call to ggc_collect.
17779         (main): Call init_ggc.
17780         * tree.c (push_obstacks): Do the push, even when GC'ing.
17781         (push_obstacks_nochange): Likewise.
17782         (pop_obstacks): Liekwise.
17783         * varasm.c (free_varasm_status): Take decl as a parameter.
17784
17785 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17786
17787         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
17788         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
17789         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
17790         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
17791
17792 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
17793
17794         * pa/x-pa-mpeix: New file for the MPE port.
17795
17796         * pa/quadlib.asm: New file for long double support.
17797
17798         * configure.in: Add hppa1.0-*-mpeix for MPE port.
17799         * configure: Rebuilt.
17800
17801 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
17802
17803         * final.c (shorten_branches): Fix last change.
17804
17805 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
17806
17807         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
17808
17809 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
17810
17811         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
17812         details.
17813
17814 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17815
17816         * c-aux-info.c (concat): Don't define.
17817
17818         * cccp.c (my_strerror): Likewise.  All callers changed to use
17819         xstrerror instead.
17820         (do_include): Call xstrdup, not xmalloc/strcpy.
17821         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
17822         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
17823
17824         * collect2.c (my_strsignal): Likewise.  All callers changed to use
17825         strsignal instead.
17826         (locatelib): Call xstrdup, not xmalloc/strcpy.
17827
17828         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
17829
17830         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
17831
17832         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
17833
17834         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
17835
17836         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
17837
17838         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
17839
17840         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
17841         malloc/realloc.
17842         (find_all_handler_type_matches): Likewise.  Don't check return
17843         value.
17844         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
17845         xmalloc, not malloc.
17846         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
17847
17848         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
17849         (init_spec): Call xcalloc, not xmalloc/bzero.
17850         (set_spec): Call xstrdup, not save_string.
17851         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
17852         (find_a_file): Call xstrdup, not xmalloc/strcpy.
17853         (process_command): Call xstrdup, not save_string.
17854         (main): Call xcalloc, not xmalloc/bzero.
17855
17856         * gcov.c (xmalloc): Don't define.
17857         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
17858         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
17859         (output_data): Call xcalloc, not xmalloc/bzero.
17860
17861         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
17862
17863         * mips-tdump.c (xmalloc): Don't define.
17864         (print_symbol): Call xmalloc, not malloc.
17865         (read_tfile): Call xcalloc, not calloc.
17866
17867         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
17868         Don't define.  All callers of xfree/my_strsignal changed to use
17869         free/strsignal instead.
17870         (allocate_cluster): Call xcalloc, not calloc.
17871
17872         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
17873         Fix memory leak, free allocated memory.
17874
17875         * prefix.c (translate_name): Call xstrdup, not save_string.
17876         (update_path): Likewise.
17877
17878         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
17879
17880         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
17881         Don't define.  Callers of xfree/savestring2 changed to use
17882         free/concat instead.
17883
17884         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
17885         (init_elim_table): Likewise.
17886
17887         * resource.c (init_resource_info): Likewise.
17888
17889         * stupid.c (stupid_life_analysis): Likewise.
17890
17891         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
17892         (open_dump_file): Call concat, not xmalloc/strcpy/...
17893         (clean_dump_file): Likewise.
17894         (compile_file): Call xstrdup, not xmalloc/strcpy.
17895
17896 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
17897
17898         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
17899         * v850.c (v850_va_arg): New.
17900
17901 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17902
17903         * haifa-sched.c: Tidy comments.
17904
17905 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17906
17907         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
17908         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
17909         $(out_object_file)): Depend on ggc.h.
17910         * c-common.c: Include "ggc.h".
17911         (combine_strings): If doing GC, use ggc_alloc_string.
17912         * c-decl.c: Include "ggc.h".
17913         (ggc_p): Define with value 0.
17914         (mark_binding_level): New function.
17915         (init_decl_processing): Add GC roots.
17916         (mark_c_function_context): New function.
17917         (lang_mark_false_label_stack): New function.
17918         (lang_mark_tree): New function.
17919         (lang_cleanup_tree): New function.
17920         * c-lang.c: Include "ggc.h".
17921         (lang_init): Call c_parse_init.
17922         * c-lex.c: Include "ggc.h".
17923         (check_linenum): If doing GC, don't copy filenames to permanent
17924         obstack.
17925         * c-parse.in: Include "ggc.h".
17926         (c_parse_init): New function.
17927         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
17928         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
17929
17930         * except.c (mark_eh_state): Mark more state.
17931         * function.c (mark_function_state): Likewise.
17932         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
17933         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
17934         * toplev.c (mark_file_stack): New function.
17935         (compile_file): If doing GC, use ggc_alloc_string on input filename.
17936         (main): Add root for input_file_stack.
17937
17938         * i386.c: Include "ggc.h".
17939         (ix86_mark_machine_status): New function.
17940         (override_options): Set mark_machine_status.
17941
17942 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17943
17944         * tree.c (copy_node): Copy node contents also if doing GC.
17945
17946 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
17947
17948         * collect2.c (scan_libraries): Fix double-thinko :-).
17949
17950 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
17951
17952         * collect2.c (scan_libraries): Fix thinko.
17953
17954         * cse.c (delete_trivially_dead_insns): Do not skip the last
17955         insn if it is a real insn.
17956
17957 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
17958
17959         * Makefile.in (ggc-simple.o): Depend on hash.h.
17960         * ggc.h (ggc_add_tree_hash_table_root): Declare.
17961         (ggc_mark_tree_varray): Likewise.
17962         (ggc_mark_tree_hash_table): Likewise.
17963         * ggc-simple.c: Include hash.h.
17964         (ggc_mark_tree_hash_table_ptr): New function.
17965         (ggc_mark_tree_hash_table_entry): Likewise.
17966         (ggc_mark_tree_hash_table): Likewise.
17967         (ggc_add_tree_hash_table_root): Likewise.
17968         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
17969         rtx, when defining fields.
17970
17971 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
17972
17973         * profile.c (output_func_start_profiler): Remove apparently
17974         nonsensical call to start_sequence.
17975
17976 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
17977
17978         * clipper/clipper.c (clipper_va_start): Fix typos.
17979
17980         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
17981         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
17982         (spur_va_arg): New stub.
17983
17984         * configure.in: Comment out pyramid.
17985
17986 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
17987
17988         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
17989         don't conflict with the bits that win32, cygwin, and dgux
17990         defines.
17991
17992 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
17993                           Bernd Schmidt <bernds@cygnus.co.uk>
17994
17995         * integrate.c (function_cannot_inline_p): Do not inline
17996         functions with forced labels.
17997
17998 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
17999                           Bernd Schmidt <bernds@cygnus.co.uk>
18000                           Mark Mitchell  <mark@codesourcery.com>
18001
18002         * Makefile.in (ggc-simple.o): Depend on varray.h.
18003         (rtl.o): Depend on ggc.h.
18004         (genattrtab.o): Depend on ggc.h.
18005         (print-tree.o): Likewise.
18006         (fold-const.o): Likewise.
18007         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
18008         (make_insn_raw): Don't cache insns when GC'ing.
18009         (emit_insn_before): Likewise.
18010         (emit_insn_after): Likewise.
18011         (emit_insn): Likewise.
18012         (start_sequence): Use xmalloc to allocate the sequence_stack.
18013         (end_sequence): Add free to free it.
18014         (gen_sequence): Don't cache insns when GC'ing.
18015         (clear_emit_caches): Don't use sequence_element_free_list.
18016         (init_emit): Use xcalloc, not xmalloc+bzero.
18017         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
18018         * function.c (pop_function_context_from): Use free to free the
18019         fixup_var_refs_queue.
18020         (put_reg_into_stack): Allocate it with xmalloc.
18021         * genattrtab.c: Include ggc.h.
18022         (operate_exp): Don't use obstack_free when GC'ing.
18023         (simplify_cond): Likewise.
18024         (simplify_text_exp): Likewise.
18025         (optimize_attrs): Likewise.
18026         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
18027         GC'ing.
18028         (gencode): Generate a #include for ggc.h.
18029         * ggc-callbacks.c (ggc_p): Define it to zero.
18030         * ggc-none.c (ggc_p): Likewise.
18031         * ggc-simple.c: Include varray.h.
18032         (ggc_mark_tree_varray): New function.
18033         (ggc_add_tree_varray_root): Likewise.
18034         (ggc_mark_tree_varray_ptr): Likewise.
18035         * ggc.h (ggc_p): Declare.
18036         (varray_head_tag): Likewise.
18037         (ggc_add_tree_varray_root): Declare.
18038         * print-tree.c (print_node): Don't check for TREE_PERMANENT
18039         inconsistencies when GC'ing.
18040         * rtl.c: Include ggc.h.
18041         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
18042         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
18043         (rtx_free): Don't call obstack_free when GC'ing.
18044         * toplev.c (rest_of_compilation): Call ggc_collect after every
18045         pass, if GC'ing.
18046         * tree.c (push_obstacks): Do nothing, if GC'ing.
18047         (pop_obstacks_nochange): Likewise.
18048         (pop_obstacks): Likewise.
18049         (make_node): Use ggc_alloc_tree when GC'ing.
18050         (copy_node): Likewise.
18051         (get_identifier): Use ggc_alloc_string when GC'ing.
18052         (build_string): Likewise.
18053         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
18054         (tree_cons): Likewise.
18055         (build1): Likewise.
18056         (type_hash_canon): Don't call obstack_free when GC'ing.
18057
18058 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
18059
18060         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
18061         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
18062
18063 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
18064                           Bernd Schmidt <bernds@cygnus.co.uk>
18065                           Mark Mitchell  <mark@codesourcery.com>
18066
18067         * Makefile.in (stor-layout.o): Depend on ggc.h.
18068         (expr.o): Depend on ggc.h.
18069         (profile.o): Depend on ggc.h.
18070         (stor-layout.o): Depend on ggc.h.
18071         * emit-rtl.c (init_emit_once): Add gc roots.
18072         * expr.c: Include ggc.h.
18073         (emit_block_move): Add gc roots.
18074         (clear_storage): Likewise.
18075         * expr.h (init_stor_layout_once): New function.
18076         * profile.c: Include ggc.h.
18077         (init_arc_profiler): profiler_label is a root.
18078         * scan.c (make_sstring_space): Trust xrealloc to function
18079         correctly with first parameter NULL.
18080         * stor-layout.c: Include ggc.h.
18081         (set_sizetype): Add gc root.
18082         (init_stor_layout_once): New function.
18083         * toplev.c (compile_file): Call it.
18084
18085 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
18086                           Bernd Schmidt <bernds@cygnus.co.uk>
18087                           Mark Mitchell  <mark@codesourcery.com>
18088
18089         * Makefile.in (tree.o): Depend on ggc.h.
18090         (varasm.o): Likewise.
18091         (function.o): Likewise.
18092         (stmt.o): Likewise.
18093         (except.o): Likewise.
18094         (optabs.o): Likewise.
18095         (emit-rtl.o): Likewise.
18096         * emit-rtl.c: Include ggc.h.
18097         (sequence_element_free_list): Remove, and all references.
18098         (mark_sequence): New functions.
18099         (mark_emit_state): New function.
18100         * except.c: Include ggc.h.
18101         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
18102         (mark_tree_label_node): New functions.
18103         (mark_eh_state): New function.
18104         * function.c: Include ggc.h.
18105         (mark_temp_slot, mark_function_chain): New functions.
18106         (mark_function_state): New function.
18107         (init_function_once): New function.
18108         * function.h (init_function_once): New function.
18109         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
18110         * ggc.h (label_node): Declare.
18111         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
18112         (lang_mark_false_label_stack): New function.
18113         (mark_temp_slot): Remove declaration.
18114         (mark_function_chain): Likewise.
18115         (mark_eh_state): Adjust prototype.
18116         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
18117         Likewise.
18118         * optabs.c: Include ggc.h.
18119         (mark_optab): New function.
18120         (init_optabs): Add gc roots.
18121         * stmt.c: Include ggc.h.
18122         (mark_cond_nesting, mark_loop_nesting): New functions.
18123         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
18124         (mark_stmt_state): New function.
18125         * toplev.c (compile_file): Call init_function_once.
18126         * tree.c: Include ggc.h.
18127         (type_hash): Move declaration earlier in file.
18128         (TYPE_HASH_SIZE, type_hash_table): Likewise.
18129         (init_obstacks): Add gc roots.
18130         (mark_type_hash): New function.
18131         * varasm.c: Include ggc.h.
18132         (mark_pool_constant): New function.
18133         (mark_varasm_state): New function.
18134
18135 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18136
18137         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
18138
18139 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
18140
18141         * c-decl.c (struct language_function): Renamed from struct c_function.
18142         Delete elt NEXT.
18143         (c_function_chain): Delete.
18144         (push_c_function_context): New arg F.  Don't warn about nested
18145         functions here.  Fill LANGUAGE elt of F.  Delete code to update
18146         c_function_chain.  Don't call push_function_context.
18147         (pop_c_function_context): New arg F.  Restore from there instead of
18148         from c_function_chain.  Don't call pop_function_context.  Clear out
18149         LANGUAGE field of F when done.
18150         * c-lang.c: Include "function.h"
18151         (lang_init): Initialize save_lang_status and restore_lang_status.
18152         * c-parse.in (nested_function, nested_function_notype): Warn about
18153         nested functions.  Call push_function_context/pop_function_context
18154         instead of the _c_ variants.
18155         * c-tree.h (push_c_function_context, pop_c_function_context): Update
18156         prototype.
18157         * Makefile.in (c-lang.o): Update dependencies.
18158
18159         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
18160         regno_pointer_flag, regno_pointer_align.
18161         (gen_reg_rtx): Use xrealloc to enlarge them.
18162         (free_emit_status): New function.
18163         * function.c (mark_machine_status, mark_lang_status): New variables.
18164         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
18165         in some bits from assign_stack_local.  All callers changed to use new
18166         name.
18167         (assign_stack_local): Just call assign_stack_local_1.
18168         (free_after_compilation): New function.
18169         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
18170         (trampoline_address): Likewise.
18171         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
18172         (prepare_function_start): Explicitly clear some more variables.
18173         * function.h (struct function): New elt can_garbage_collect.
18174         (mark_machine_status, mark_lang_status): Declare variables.
18175         (free_after_compilation, free_emit_status, free_varasm_status,
18176         init_varasm_status): Declare functions.
18177         * toplev.c (rest_of_compilation): Call free_after_compilation when
18178         done with the current function.
18179         * varasm.c (free_varasm_status): New function.
18180
18181 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
18182
18183         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
18184         (EXPAND_BUILTIN_VA_ARG): Define.
18185         * sparc.c (sparc_va_start): New.
18186         (sparc_va_arg): New.
18187
18188 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18189
18190         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
18191
18192 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18193
18194         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
18195
18196 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
18197
18198         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
18199         (OBJS): Add $(GGC).
18200         (ggc-callbacks.o): New target.
18201         * ggc-callbacks.c: New file.
18202
18203 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18204
18205         * expr.h: Collapse individual optab and libfunc vars to arrays.
18206         (optab_index, libfunc_index): New enumerations.
18207         (optab_table, libfunc_table): New arrays.
18208         Add accessor macros for both.
18209
18210         * optabs.c (optab_table, libfunc_table): New.
18211         Delete declarations for individual optab and libfunc vars.
18212
18213 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
18214
18215         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
18216
18217 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
18218
18219         * Makefile.in (GGC, GGC_LIB): New.
18220         (HOST_RTL): Include ggc-none.o.
18221         (ggc-simple.o): New target.
18222         (ggc-none.o): Likewise.
18223         * tree.h (tree_common): Add gc_mark.
18224         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
18225         (struct rtvec_def): Add gc_mark.
18226         * emit-rtl.c (global_rtl): Update static initializers to contain
18227         enough initializers.
18228         * ggc.h, ggc-none.c, ggc-simple.c: New files.
18229         * toplev.c (gc_time): New variable.
18230         (all_time): New variable.
18231         (compile_file): Print gc time.
18232         (print_time): Calculate percentage of the whole.
18233
18234 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18235
18236         Change obstack memory management and varasm constant pool handling so
18237         that nested functions are treated like any other functions.
18238         * function.c (init_machine_status): New variable.
18239         (push_function_context_to): Set contains_functions for the outer
18240         function.  Don't call save_varasm_status.
18241         (pop_function_context_from): Don't call restore_varasm_status.  Don't
18242         set current_function_contains_functions.
18243         (prepare_function_start): Call init_varasm_status rather than
18244         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
18245         is non-null.
18246         * function.h (struct function) Add field varasm.  Delete fields
18247         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
18248         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
18249         (init_machine_status): Declare.
18250         (save_varasm_status, restore_varasm_status): Delete declarations.
18251         (save_tree_status, restore_tree_status): Delete last argument.
18252         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
18253         code.  All callers changed.
18254         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
18255         save_constants_in_decl_trees, restore_constants, save_constants,
18256         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
18257         functions.
18258         (inlining): New variable.
18259         (reg_map, label_map, insn_map, orig_asm_operands_vector,
18260         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
18261         variables.
18262         (save_for_inline_nocopy): Don't save constants.
18263         Don't set inl_emit field in current_function.
18264         (expand_inline_function): Use emit field, not inl_emit, of the inlined
18265         function.  Set new variable inlining before
18266         calling copy_rtx_and_substitute.
18267         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
18268         constant pool references if inlining is nonzero.
18269         Delete ADDRESS and (most of the) CONST cases.
18270         (output_inline_function): Save and restore current_function/
18271         current_function_decl.  Delete restore_constants code.  Don't call
18272         init_const_rtx_hash_table.
18273         * output.h (init_const_rtx_hash_table): Don't declare.
18274         * rtl.h (struct function): Declare.
18275         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
18276         * toplev.c (rest_of_compilation): Don't treat nested functions or
18277         functions containing them specially.  Delete all code to deal with
18278         save_for_inline_copying.
18279         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
18280         inline_obstacks): Delete variables.
18281         (save_tree_status): Lose arg CONTEXT.  All callers changed.
18282         Simply allocate a new function_maybepermanent_obstack for the new
18283         function, delete all the special cases.
18284         Don't save inline_obstacks.
18285         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
18286         Delete special handling for function_maybepermanent_obstack; simply
18287         free it if empty.
18288         Don't restore inline_obstacks.
18289         (permanent_allocation):  Delete code that frees inline_obstacks.
18290         (print_inline_obstack_statistics): Delete function.
18291         (dump_tree_statistics): Don't call it.
18292         * varasm.c (struct varasm_status): New.
18293         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
18294         last_pool, pool_offset, const_double_chain): Delete global
18295         variables, replace with accessor macros.
18296         (immed_double_const): Don't walk const_double_chain outside a
18297         function, but don't treat nested functions specially anymore.
18298         (immed_real_const_1): Likewise.
18299         (clear_const_double_mem): Don't treat nested functions specially.
18300         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
18301         (save_varasm_status, restore_varasm_status): Delete functions.
18302         (init_varasm_status): New function.
18303         (force_const_mem): Don't treat nested functions specially.
18304         (find_pool_constant): Accept new arg F, search for constants in
18305         that function's pool rather than the current one.  All callers
18306         changed.
18307         (get_pool_constant_for_function, get_pool_mode_for_function): New
18308         functions.
18309
18310         * i386.c (init_386_machine_status): New function, mostly from
18311         clear_386_stack_locals.
18312         (struct machine_functions): Rename element names to avoid name
18313         clashes.
18314         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
18315         macros, replacing global variables.
18316         (clear_386_stack_locals, save_386_machine_status,
18317         restore_386_machine_status): Delete functions.
18318         (override_options): Initialize init_machine_status.
18319         * i386.h (INIT_EXPANDERS): Delete macro.
18320         (save_386_machine_status, restore_386_machine_status,
18321         clear_386_stack_locals): Delete declarations.
18322
18323 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18324
18325         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
18326         (doloop_begin):  Simplify pattern and use emit_jump_insn.
18327         (doloop_end): Simplify pattern, switch operand order,
18328         and use emit_jump_insn.
18329
18330 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
18331
18332         * function.h (struct function): Add new element LANGUAGE.
18333         (save_lang_status): Declare new variable.
18334         (restore_lang_status): Likewise.
18335         * function.c (save_lang_status): Define.
18336         (restore_lang_status): Likewise.
18337         (push_function_context_to): Call language-specific save function.
18338         (pop_function_context_from): Call language-specific restore function.
18339
18340 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
18341
18342         * i386.md (movsf_1): Check REG_P before use of REGNO.
18343         (movdf_1): Likewise.
18344         (movxf_1): Likewise.
18345         (extendsfdf2): Likewise.
18346         (extendsfxf2): Likewise.
18347         (extenddfxf2): Likewise.
18348
18349 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18350
18351         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
18352         constants into memory.
18353         (c4x_shiftable_constant): New function.
18354         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
18355         (c4x_shiftable_constant): Declare.
18356         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
18357         ashlqi3_noclobber): Add new patterns and associated splitters.
18358
18359 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
18360
18361         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
18362         * dwarf2out.c (dwarf2out_frame_init): Likewise.
18363         * final.c (shorten_branches): Likewise.
18364         * global.c (global_alloc): Likewise.
18365         * haifa-sched.c (build_control_flow): Likewise.
18366         * stmt.c (check_for_full_enumeration_handling): Likewise.
18367         (estimate_case_costs): Likewise.
18368
18369 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
18370
18371         * rtl.h (RTL_CHECKC2): Fix typo in last change.
18372
18373 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
18374
18375         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
18376         (recompute_reg_usage): Likewise.
18377         * rtlanal.c (find_regno_fusage): Likewise.
18378
18379         * rtl.c (rtl_check_failed_code1): New function.
18380         (rtl_check_failed_code2): New.
18381         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
18382         (RTL_CHECKC1, RTL_CHECKC2): New.
18383         (XC*): New accessor macros.
18384         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
18385         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
18386         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
18387         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
18388         (TRAP_*, RANGE_INFO_*): Likewise.
18389
18390 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18391
18392         * Makefile.in (tlink.o): Don't depend on toplev.h.
18393
18394         * collect2.c (c_file, o_file, export_file, import_file, ldout,
18395         output_file, nm_file_name, ldd_file_name, strip_file_name,
18396         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
18397         add_prefix, prefix_from_env, prefix_from_string, do_wait,
18398         fork_execute, maybe_unlink, add_to_list,
18399         extract_init_priority, write_list, dump_list,
18400         dump_prefix_list, write_list_with_asm, write_c_file,
18401         write_c_file_stat, write_c_file_glob, scan_prog_file,
18402         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
18403         ignore_library, extract_string, notice, dump_file, target_machine,
18404         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
18405         read_file, print_load_command): Constify a char*.
18406         (fdopen, error, fatal, fatal_perror): Don't prototype.
18407         (my_strerror): Remove.  All callers use xstrerror instead.
18408         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
18409         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
18410         to xcalloc/strcpy/strcat/...  to one call to concat.
18411         (main, scan_prog_file, scan_libraries): Use an intermediate
18412         `const char **' to build an argv array.
18413         (mapfile, libselect, libcompare, locatelib): Add prototypes.
18414
18415         * collect2.h (collect_execute, collect_wait, dump_file,
18416         file_exists): Constify a char*.
18417         (ldout, c_file_name, temporary_obstack, permanent_obstack,
18418         temporary_firstobj, vflag, debug): Add extern declarations.
18419         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
18420
18421         * tlink.c: Don't include toplev.h.
18422         (vflag, debug, ldout, c_file_name, temporary_obstack,
18423         permanent_obstack, temporary_firstobj): Don't declare.
18424         (tlink_execute, frob_extension, symbol_hash_lookup,
18425         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
18426         recompile_files, read_repo_files, demangle_new_symbols,
18427         scan_linker_output): Constify a char*.
18428         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
18429         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
18430
18431 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
18432
18433         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
18434         (relative) rather than jsr (absolute) subroutine call insns.
18435         * config/m68k/m68k-coff.h: Ditto.
18436
18437 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
18438
18439         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
18440         now rework these too.
18441         (arm_reorg): If an insn can't reach the end of the current pool,
18442         ensure that we emit that pool before the insn.
18443
18444 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
18445
18446         * tlink.c (scan_linker_output): Skip the initial underscore in
18447         a mangled name if appropriate.
18448
18449 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18450
18451         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
18452         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
18453         error_with_ivar, gen_declarator, create_builtin_decl,
18454         my_build_string, generate_descriptor_table, generate_ivars_list,
18455         generate_dispatch_table, check_protocols, TAG_GETCLASS,
18456         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
18457         dump_base_name, lang_decode_option, build_encode_expr,
18458         start_class, finish_class, encode_pointer, really_start_method,
18459         gen_declaration, dump_interface, handle_class_ref, handle_impent):
18460         Constify.
18461         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
18462         Add static prototypes.
18463         (build_objc_string_decl, build_selector_reference_decl,
18464         encode_bitfield, build_class_reference_decl): Remove unused
18465         parameter, all callers changed.
18466         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
18467         (objc_printable_name): Likewise.  Change second parameter to type int.
18468         (init_objc): Use memcpy, not bcopy, to avoid casts.
18469
18470 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
18471
18472         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
18473         reg notes on a deleted insn.
18474         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
18475
18476 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
18477
18478         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
18479
18480 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18481
18482         * stmt.c (expand_asm_operands): Fix index into inout_mode when
18483         reading it.
18484
18485 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
18486
18487         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
18488         * tm.texi (MD_ASM_CLOBBERS): Document it.
18489
18490 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
18491
18492         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
18493         * except.c (expand_rethrow): Remove unused variable.
18494         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
18495         * flow.c (replace_insns): Likewise.
18496         (create_edge_list, verify_edge_list): Likewise.
18497         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
18498
18499         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
18500         is special code to run.
18501         (main): Don't define operands to emit_operand.
18502         * genrecog.c (main): Don't emit an empty peephole2_insn function.
18503
18504         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
18505
18506         * alpha/alpha.h (normal_memory_operand): Declare.
18507         (reg_no_subreg_operand): Declare.
18508         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
18509
18510 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
18511
18512         * c-parse.in (compstmt_primary_start): New, broken out of first
18513         part of compstmt handling in primary.
18514         (primary): Use it.  Add an error clause.
18515         (compstmt_nostart): Renamed from compstmt; remove all
18516         initial invocations of compstmt_start.
18517         (compstmt): New.
18518
18519 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
18520
18521         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
18522         needed.
18523
18524 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
18525
18526         * combine.c (simplify_shift_const): Remove extra semicolon.
18527         * dwarf2out.c (remove_AT): Likewise.
18528         * expmed.c (expand_mult): Likewise.
18529         * gcov.c (create_program_flow_graph): Likewise.
18530         * reorg.c (mostly_true_jump): Likewise.
18531
18532 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
18533
18534         * fold-const.c (fold_range_test): Do not try to fold the range
18535         test if the rhs or lhs has side effects.
18536
18537         * combine.c (simplify_rtx): Recognize another case of a synthesized
18538         sign extension.
18539
18540         * varasm.c (mark_constant_pool): When marking indirect references,
18541         only look at SYMBOL_REFs.
18542
18543         * except.c (expand_fixup_region_end): Do not peek at
18544         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
18545
18546 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
18547
18548         * flags.h: New variables align_loops, align_loops_log,
18549         align_jumps, align_jumps_log, align_labels, align_labels_log,
18550         align_functions, align_functions_log.
18551         * toplev.c: Define them.
18552         (f_options): Handle -falign-* when they have no argument.
18553         (main): Add logic to set variables for -falign-functions,
18554         -falign-jumps, -falign-labels, -falign-loops.
18555         Make it -fsched-verbose=<n> and -finline-limit=<n>.
18556         (display_help): Change help to match options.
18557         * final.c (LABEL_ALIGN): Default to align_labels_log.
18558         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
18559         (LOOP_ALIGN): Default to align_loops_log.
18560         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
18561         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
18562         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
18563         * varasm.c (assemble_start_function): Handle align_functions.
18564
18565         * config/sparc/sparc.h: Don't declare sparc_align_*.
18566         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
18567         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
18568         sparc.c.
18569         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
18570         it's a promise.
18571         * config/sparc/sparc.c: Delete sparc_align_loops,
18572         sparc_align_jumps, sparc_align_funcs and the corresponding string
18573         variables.
18574         (sparc_override_options): Default align_functions on ultrasparc.
18575         Delete -malign-* handling.
18576
18577         * config/mips/mips.c (override_options):  On 64-bit targets,
18578         try to align code to 64-bit boundaries.
18579         (print_operand): New substitution, %~,
18580         which aligns labels to align_labels_log.
18581         * config/mips/mips.md (div_trap_normal): Use %~.
18582         (div_trap_mips16): Likewise.
18583         (abssi): Likewise.
18584         (absdi2): Likewise.
18585         (ffssi2): Likewise.
18586         (ffsdi2): Likewise.
18587         (ashldi3_internal): Likewise.
18588         (ashrdi3_internal): Likewise.
18589         (lshrdi3_internal): Likewise.
18590         (casesi_internal): Likewise.
18591
18592 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
18593
18594         Merge new ia32 backend from the branch!
18595
18596         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
18597         See ChangeLog.P2 on new_ia32_branch for details.
18598
18599         * rtl.h (stack_regs_mentioned_p): Delete prototype.
18600         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
18601         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
18602         * i386/gas.h (ASM_FILE_START): Define.
18603         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
18604         for name change of ix86_valid_decl_attribute_p.
18605         (i386_pe_valid_type_attribute_p): Similarly.
18606
18607 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
18608
18609         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
18610         to step through CC modes.
18611
18612 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18613
18614         * regmove.c (fixup_match_1): Don't move INSN in front of P if
18615         it would end up in the shadow of a live flags regsiter.
18616
18617 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18618
18619         * reload1.c: Fix many indentation problems.
18620         * reload.c: Likewise.
18621
18622 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
18623
18624         * alias.c (non_local_reference_p): Constify fmt.
18625
18626 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
18627
18628         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
18629
18630 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
18631
18632         * cse.c (delete_trivially_dead_insns): Do not delete stores to
18633         the internal_arg_pointer.
18634
18635 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
18636
18637         Merge peephole2 from new_ia32_branch:
18638         * Makefile.in (STAGESTUFF): Add *.peephole2.
18639         (mostlyclean): Likewise.
18640         (recog.o): Depend on resource.h.
18641
18642         * final.c (peephole): Conditionalize decl on HAVE_peephole.
18643         (final_scan_insn): Likewise for the invocation of peephole.
18644         * genconfig.c (main): Look for peephole and peephole2 patterns.
18645         Emit HAVE_peephole* accordingly.
18646         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
18647         * flags.h (flag_peephole2): Declare.
18648         * toplev.c: New pass peephole2.  New flag -fpeephole2.
18649
18650         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
18651         * gencodes.c (main): Likewise.
18652         * genextract.c (main): Likewise.
18653         * genoutput.c (main): Likewise.
18654         * genemit.c (max_operand_1): Look for the max scratch operand.
18655         (gen_rtx_scratch): New.
18656         (gen_exp): Use it, and pass on new arg subroutine_type.
18657         (gen_expand): Take max scratch into account.
18658         (gen_split): Emit peephole2 functions.
18659         (output_peephole2_scratch): New.
18660         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
18661         * genrecog.c (routine_type): Add PEEPHOLE2.
18662         (IS_SPLIT): New.
18663         (make_insn_sequence): Match outer parallel for peep2.  Discard
18664         top level scratches and dups.
18665         (add_to_sequence): New args insn_type and top.  Update all callers.
18666         Handle toplevel peep2 matching insns.
18667         (write_subroutine): Handle peep2.
18668         (write_tree_1): Likewise.
18669         (write_tree): Likewise.
18670         (main): Likewise.
18671         (change_state): New arg afterward.  Update all callers.
18672         Handle matching separate insns.
18673         * recog.c (recog_next_insn): New.
18674         (peephole2_optimize): New.
18675         * rtl.def (DEFINE_PEEPHOLE2): New.
18676         * resource.c (find_free_register): New argument last_insn.  Use it
18677         to find a register available through the entire span.
18678         * resource.h (find_free_register): Update prototype.
18679
18680 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
18681
18682         * i386.c (output_strlen_unroll): Don't write xops[7]
18683         label if it wasn't set.
18684
18685 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
18686
18687         * cpplib.c (struct directive): Const-ify name pointer and
18688         function pointer prototype.
18689         (validate_else, do_define, do_line, do_include, do_undef,
18690         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
18691         do_elif, do_endif, do_sccs, do_assert, do_unassert,
18692         do_warning): Const-ify second arg.
18693         (directive_table): Mark const.  Reorder entries by frequency
18694         of usage, record statistics.
18695
18696 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
18697
18698         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
18699         bounds- check RTL accesses if --enable-checking.
18700         (RTVEC_ELT): Bounds check if --enable-checking.
18701         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
18702         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
18703         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
18704         GET_NUM_ELEM.
18705         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
18706         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
18707
18708         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
18709         (NOTE_SOURCE_FILE): Use X0STR.
18710         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
18711         MEM_ALIAS_SET): Use X0INT.
18712         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
18713         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
18714         Use X0EXP.
18715         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
18716         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
18717         (rtl_check_failed_bounds, rtl_check_failed_type1,
18718         rtl_check_failed_type2, rtvec_check_failed_bounds): New
18719         functions.
18720         (fancy_abort): Fix comment.
18721
18722         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
18723         (cse_insn): Decrement LABEL_NUSES for jump target before
18724         deleting jump insn.
18725         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
18726         * final.c (alter_subreg): Compute regno before changing x to
18727         REG; set REGNO(x) after changing it.
18728         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
18729         notes containing CONST_INTs.
18730         (delete_eh_regions): Use NOTE_EH_HANDLER.
18731         * function.c (put_reg_into_stack): Make reg a MEM before
18732         initializing it.
18733         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
18734         delete insn.
18735         (gen_mem_addressof): Make reg a MEM before initializing it.
18736         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
18737         X0WINT.
18738         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
18739         deleting an insn, not after.
18740         (block_alloc): Only look at PATTERN(insn) if we have to, and
18741         only if it's format class 'i'.
18742         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
18743         CONST_INT before using its INTVAL.
18744         * print-rtl.c (print_rtx): Use X0STR.
18745         * regmove.c (fixup_match_1): Don't look at PATTERN of
18746         non-class-'i' insn chain elements.
18747         * reload.c (loc_mentioned_in_p): Take address of
18748         in->fld[1].rtx directly.
18749         * reload1.c (reload): Change reg to a MEM before initializing
18750         it.
18751         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
18752         have no names.
18753         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
18754
18755 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
18756
18757         * config/mips/mips.c (machine_dependent_reorg): Force a
18758         barrier to output the local constant pool if a barrier hasn't
18759         been found at a natural point in the instruction stream.
18760
18761 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18762
18763         * c-parse.in (language_string): Constify.
18764
18765         * dwarf2out.c (language_string): Remove declaration.
18766
18767         * dwarfout.c (language_string): Likewise.
18768
18769         * toplev.c (language_string, init_parse, finish_parse): Likewise.
18770
18771         * tree.h (language_string, init_parse, finish_parse): Declare.
18772
18773         * i386/sun386.h (language_string): Remove declaration.
18774
18775         * mips.h (language_string): Likewise.
18776
18777         * nextstep.h (language_string): Likewise.
18778
18779         * nextstep21.h (language_string): Likewise.
18780
18781         * rs6000.c (language_string): Likewise.
18782
18783 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18784
18785         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
18786         (getpwd.o): Remove target.
18787
18788         * getpwd.c: Delete file.  Its in libiberty now.
18789
18790         * dbxout.c (getpwd): Don't prototype.
18791         * dwarf2out.c (getpwd): Likewise
18792         * dwarfout.c (getpwd): Likewise
18793         * final.c (getpwd): Likewise.
18794         * protoize.c (getpwd): Likewise.
18795
18796 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18797
18798         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
18799
18800 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
18801
18802         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
18803         mark_set_resources.
18804
18805 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
18806
18807         * fixinc/Makefile.in (subdir): New.
18808         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
18809         (Makefile): New.
18810
18811 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
18812
18813         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
18814         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
18815         be shared.
18816
18817         * invoke.texi: Fix typo.
18818
18819         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
18820         changed.  Handle autoincrement addressing modes.
18821
18822         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
18823         just like we would the virtual incoming args register when
18824         integrating.
18825
18826 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
18827
18828         * rs6000.h (ASM_FILE_START): Specify complete filename, including
18829         path, in .file directive.
18830
18831 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
18832
18833         * gcc.texi (External Bugs): Remove obsolete note about Perl on
18834         SunOS.
18835
18836 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
18837
18838         * stdbool.h: Make the typedef name _Bool, with bool a #defined
18839         alias.
18840
18841 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18842
18843         * tree.c (tree_code_name): Constify a char*.
18844
18845         * tree.h (tree_code_name, decl_printable_name): Likewise.
18846
18847         * function.h (struct function): Likewise.
18848
18849         * toplev.c (decl_name, decl_printable_name): Likewise.
18850
18851         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
18852
18853         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
18854         (init_objc): Remove function pointer cast.
18855
18856 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
18857
18858         * pa.md (interspace_jump): New pattern.
18859         (builtin_longjmp): New expander.
18860
18861 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
18862
18863         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
18864         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
18865         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
18866
18867 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
18868
18869         * jump.c (delete_prior_computation): Also check calls
18870         to constant functions.  Don't bother checking for a
18871         REG_UNUSED note before adding it.
18872         (delete_computation): Handle multi-word hard registers
18873         when synthesizing missing REG_DEAD notes for a register
18874         which is both set and used by an insn.
18875
18876 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18877
18878         * loop.c (this_loop_info): New variable.
18879         (loop_has_call, loop_has_volatile, loop_has_tablejump,
18880         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
18881         All uses updated.
18882         (prescan_loop, strength_reduce): New argument loop_info.  All callers
18883         updated.
18884         (scan_loop): New variable loop_info, initialise to address of
18885         this_loop_info.
18886         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
18887         Delete variable loop_has_multiple_exit targets and replace with
18888         field in this_loop_info.
18889         (find_and_verify_loops): Rename this_loop to this_loop_num.
18890         (strength_reduce): Delete loop_iteration_info.  Replace variable
18891         loop_info with function argument of same name.
18892         (insert_bct): Rework test for loop being completely unrolled.
18893
18894         * loop.h (struct loop_info): New fields num, loops_enclosed,
18895         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
18896         has_indirect_jump, and cont.  Redefine use of unroll_number.
18897         (loop_unroll_number): Delete.
18898
18899         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
18900         field of loop_info.
18901         (loop_iterations): Delete variable vtop and instead use
18902         loop_info->vtop computed in prescan_loop.
18903
18904 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
18905
18906         * fix-header.c (main): Do not pass a null pointer to strcmp.
18907
18908 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
18909
18910         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
18911         filenames.
18912         * configure: Rebuilt.
18913
18914 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
18915
18916         * jump.c (jump_optimize_1): Do not delete assignments to
18917         internal_arg_pointer.
18918         * cse.c (delete_trivially_dead_insns): Always consider a set of
18919         the internal_arg_pointer live.
18920
18921 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
18922
18923         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
18924         (update_life_info) [REG_WAS_0]: Search the original insns rather
18925         than the new insns for the note.  Fix typos finding note_dest.
18926         If no dest found, discard the note rather than abort.
18927         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
18928         (replace_insns): Remove the old insn list after update_life_info
18929         not before.
18930
18931 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
18932
18933         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
18934         sched_analyze_insn.
18935         (sched_analyze_1): Let add_dependence care for not adding dups.
18936         (sched_analyze_2): Likewise.
18937         (add_branch_dependences): Likewise.
18938
18939 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18940
18941         * i386/winnt.c (export_list): New type.
18942         (exports_head): Rename to
18943         (export_head):  this.
18944         (i386_pe_record_exported_symbol): Add is_data flag.
18945         (i386_pe_asm_file_end): Emit directive for exported variables.
18946         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
18947         prototype.
18948         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
18949         (ASM_DECLARE_OBJECT_NAME): Likewise.
18950         (ASM_DECLARE_FUNCTION_NAME): Likewise.
18951         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
18952
18953 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
18954
18955         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
18956
18957         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
18958         operand.
18959
18960 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
18961
18962         * config/openbsd.h: Define SET_ASM_OP.
18963         * tm.texi: cross-reference SET_ASM_OP in the index.
18964
18965 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
18966
18967         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
18968         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
18969         and class_narrowest_mode at compile time.  Kill init_rtl.
18970         Mark rtx_length, mode_class, mode_size, mode_unit_size,
18971         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
18972         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
18973         EXTRA_CC_NAMES.
18974         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
18975         format.
18976         * rtl.h: Declare rtx_length and rtx_format as const.
18977         * machmode.def: Define CC().  Use CC() to define CCmode.  If
18978         EXTRA_CC_MODES is defined, expand it here.
18979         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
18980         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
18981         const.  Kill all references to EXTRA_CC_MODES.
18982
18983         * toplev.c: Don't prototype or call init_rtl.
18984         * optabs.c: Don't call init_mov_optab.
18985         * genemit.c: Don't generate init_mov_optab.  Don't call
18986         init_rtl.
18987         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
18988         here.
18989         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
18990         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
18991         genrecog.c: Don't call init_rtl.
18992
18993         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
18994         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
18995         definition of EXTRA_CC_MODES.
18996
18997         * md.texi: Kill ref to EXTRA_CC_NAMES.
18998         * tm.texi: Document new way to define EXTRA_CC_MODES.
18999
19000         * genrecog.c: Do not look up the name of a define_split.
19001         (Unrelated bugfix.)
19002
19003 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
19004
19005         * config/v850/v850.md: Fix typo introduced by previous delta.
19006
19007 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19008
19009         * gcc.c (fatal): Make definition static to match prototype.
19010
19011 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19012
19013         * combine.c (get_last_value): Don't look for earlier sets if the last
19014         known set is somewhere in between the insns being combined.
19015
19016 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
19017
19018         * configure.in: Don't use shell ! to negate exit codes
19019         * configure: Regenerate
19020
19021 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
19022
19023         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
19024         the fact that ALIGN is measured in bits, not bytes.
19025
19026 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
19027
19028         * errors.c: New file; defines functions error, warning, and
19029         fatal, variables have_error and progname.
19030         * errors.h: New file; prototypes and decls for stuff in errors.c.
19031
19032         * Makefile: Add rules to build errors.o and
19033         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
19034         genopinit, genrecog, genextract, genpeep, genattr, and
19035         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
19036         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
19037         genpeep.o, genattr.o, and genoutput.o.
19038
19039         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
19040         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
19041         define or prototype fatal.  Set progname at beginning of main.
19042         * genoutput.c:  Likewise, and don't define or prototype error
19043         either.
19044
19045         * c-typeck.c (c_expand_start_case): Return immediately if exp
19046         is an ERROR_MARK.
19047         * fold-const.c (operand_equal_p): Return immediately if arg1
19048         or arg0 are ERROR_MARKs.
19049         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
19050         fields of type ERROR_MARK when calculating if the record can
19051         go in a register.
19052
19053 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
19054         with much help from Jeffrey A Law and Richard Henderson
19055
19056         * i386.md: In the 6 insns which call output_fix_trunc,
19057         earlyclobber operands[0].
19058
19059 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
19060
19061         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
19062         creating new registers.
19063
19064 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
19065
19066         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
19067         i386_reg_alloc_order, i386_regparm_string,
19068         i386_align_loops_string, i386_align_jumps_string,
19069         i386_align_funcs_string, i386_preferred_stack_boundary_string,
19070         and i386_branch_cost_string as type "const char *".
19071         * i386.c: Define all above strings as type "const char *".
19072
19073 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
19074
19075         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
19076         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
19077
19078 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
19079
19080         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
19081         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
19082
19083 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
19084
19085         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
19086         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
19087         (dwarf2out_line, dwarf2out_finish): Likewise.
19088         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
19089
19090 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19091
19092         * tree.c (lang_unsave_expr_now) : Correct return type.
19093         * tree.h (lang_unsave_expr_now) : Same.
19094
19095 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
19096
19097         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
19098         instead of duplicating code.
19099
19100 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19101
19102         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
19103
19104 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
19105
19106         * tree.h: fancy_abort always takes three args.
19107         * resource.c: Move include of system.h before toplev.h.
19108
19109 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
19110
19111         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
19112         as SYMBOL_REFs.
19113
19114 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
19115
19116         * system.h: Don't redefine abort or trim_filename.
19117         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
19118         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
19119         whether or not __FUNCTION__ is available.
19120         * tree.h: Duplicate rtl.h's definition of abort, for files
19121         that don't include rtl.h.  Delete all code to perform type
19122         checking with a compiler other than GCC.
19123         * varray.h: Delete all code to perform type checking with a
19124         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
19125         its arguments exactly once, using a statement expression.
19126         Adjust the VARRAY_<type> accessor macros to match.
19127         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
19128         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
19129         caller's location.  Define fatal_insn and fatal_insn_not_found
19130         as macros that use _fatal_insn and _fatal_insn_not_found.
19131         (fancy_abort, trim_filename): Kill prototypes.
19132
19133         * rtl.c (trim_filename): Move here from toplev.c.
19134         (fancy_abort): New function.
19135         (DIR_SEPARATOR): Provide default definition.
19136         * tree.c (tree_check_failed, tree_class_check_failed): Go
19137         through fancy_abort.
19138         (tree_check, tree_class_check, cst_or_constructor_check,
19139         expr_check): Delete.
19140         * varray.c (varray_check_failed): New function.
19141         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
19142         _fatal_insn and _fatal_insn_not_found.  Go through
19143         fancy_abort.
19144         (trim_filename, fancy_abort): Delete.
19145
19146         * builtins.c (expand_builtin_args_info): Report ICE with abort.
19147         * except.c (start_catch_handler): Report ICE with error/abort
19148         combo.
19149         * final.c (output_operand_lossage): Likewise.
19150         * flow.c (verify_flow_info): Likewise.
19151
19152         * gcc.c: Prototype fatal.
19153         * gengenrtl.c: Undef abort after including rtl.h not system.h.
19154         * genattr.c, genattrtab.c, genemit.c, genextract.c,
19155         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
19156         Don't define fancy_abort.
19157
19158 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
19159
19160         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
19161         canonization.
19162
19163 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
19164
19165         * m88k.h (VERSION_INFO2): Kill.
19166         (VERSION_STRING): Kill.
19167         (TM_RCS_ID): Kill.
19168         (VERSION_INFO1): Tidy.
19169         (TARGET_VERSION): Update.
19170         * m88k/dgux.h (VERSION_INFO2): Kill.
19171         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
19172         * m88k/luna.h (VERSION_INFO1): Tidy.
19173         * m88k/sysv4.h (VERSION_INFO1): Likewise.
19174         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
19175         (output_file_start): Adjust for death of VERSION_STRING.
19176
19177 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
19178
19179         * cpplib.c (detect_if_not_defined): New function.
19180         (do_if): Use it to detect potential once-only headers.
19181
19182 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
19183
19184         * c-common.c (combine_strings): Always set TREE_CONSTANT.
19185
19186 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19187
19188         * combine.c (nonzero_bits) : Allow single-ly set registers to be
19189         anywere in the function only if they are pseudos and set before
19190         being used (not live at the start of the function).
19191         (num_sign_bit_copies) : Same.
19192         (get_last_value_validate) : Same.
19193         (get_last_value) : Same.
19194
19195 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
19196
19197         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
19198         where N and M are constant and N is an integer multiple of M.
19199
19200 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19201
19202         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
19203         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
19204         sbitmap_union_of_preds): Add prototypes.
19205         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
19206         the intersection of successors with the new flow graph structures.
19207         (sbitmap_intersection_of_preds): New function to compute the
19208         intersection of predecessors with the new flow graph structures.
19209         (sbitmap_union_of_succs): New function to compute the union of
19210         successors with the new flow graph structures.
19211         (sbitmap_union_of_preds): New function to compute the union of
19212         predecessors with the new flow graph structures.
19213         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
19214         (expr_reaches_here_p): Use edge and basic_block structures instead
19215         of s_preds and s_succs.
19216         (compute_cprop_avinout): Use new sbitmap routines.
19217         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
19218         of s_preds and s_succs.
19219         * flow.c (compute_flow_dominators): Compute dominators using
19220         edges and basic blocks instead of s_preds and s_succs.
19221
19222 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19223
19224         * lists.c (unused_insn_list, unused_expr_list): New file for
19225         maintaining various types of lists. New statics for maintaining a
19226         cache of available INSN_LIST and EXPR_LIST nodes.
19227         (free_list): Static function for freeing a list of INSN/EXPR nodes.
19228         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
19229         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
19230         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
19231         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
19232         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
19233         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
19234         (free_INSN_LIST_node): Free an individual INSN_LIST node.
19235         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
19236         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
19237         (remove_dependence, free_pending_lists): Use new global routines.
19238         (flush_pending_lists, sched_analyze_insn): Use new global routines.
19239         (sched_analyze, compute_block_backward_dependences): Use new routines.
19240         (sched_analyze_1, sched_analyze_2): Use new routines.
19241         (schedule_insns): Use new global routines.
19242         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
19243         prototypes.
19244         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
19245         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
19246         prototypes.
19247         * toplev.c (rest_of_compilation): Initialize node cache.
19248         * Makefile.in (OBJS): Add lists.o to list of object files.
19249         (lists.o): Add dependancies.
19250
19251 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
19252
19253         * config/v850/v850.md: Fix compile time warning messages.
19254         * config/v850/v850.c: Fix compile time warning messages.
19255         * config/v850/v850.h: Fix compile time warning messages.
19256
19257 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19258
19259         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
19260         Remove unused prototype for `init_lengths'.
19261
19262 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19263
19264         * calls.c (emit_call_1): Mark parameter `stack_size' with
19265         ATTRIBUTE_UNUSED.
19266         (expand_call): Initialize variable `insn'.
19267         (emit_library_call): Likewise for variable `high_to_save'.
19268         (emit_library_call_value): Likewise.
19269         (store_one_arg): Likewise for variables `lower_bound' and
19270         `upper_bound'.
19271
19272         * combine.c (try_combine): Likewise for variables `i2_code_number'
19273         and `other_code_number'.
19274         (find_split_point): Likewise for variables `pos', `unsignedp' and
19275         `inner'.
19276         (simplify_if_then_else): Likewise for variables `op' and `c1'.
19277         (simplify_and_const_int): Remove unused variable `width'.
19278         (merge_outer_ops): Likewise.
19279
19280         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
19281         HOST_WIDE_INT' when comparing against one.
19282         (simplify_relational_operation): Likewise.
19283         (cse_insn): Initialize variables `src_eqv_volatile',
19284         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
19285
19286         * final.c (init_final): Constify parameter `filename'.
19287         (final_start_function): Mark parameter `optimize' with
19288         ATTRIBUTE_UNUSED.
19289         (profile_function): Likewise for parameters `first' and `optimize'.
19290         (output_source_line): Likewise for parameter `file'.
19291
19292         * integrate.c (subst_constants): Cast a value to `size_t' when
19293         comparing against one.
19294         (mark_stores): Initialize variable `mode'.  Cast a value to
19295         `size_t' when comparing against one.
19296
19297         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
19298
19299         * loop.c (move_movables): Initialize variable `first'.
19300         (strength_reduce): Likewise for variable `increment'.
19301         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
19302         value to `size_t' when comparing against one.
19303         (load_mems): Initialize variable `end_label'.
19304
19305         * output.h (init_final): Constify parameter.
19306
19307         * reload.c (decompose): Initialize variable `base'.
19308
19309         * reload1.c (reload): Likewise for variable `is_scalar'.
19310         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
19311         (choose_reload_regs): Initialize variable `mode'.
19312         (emit_reload_insns): Likewise for variable `store_insn'.
19313         (reload_cse_noop_set_p): Mark parameter `insn' with
19314         ATTRIBUTE_UNUSED.
19315         (reload_combine): Initialize variable `set'.
19316
19317         * unroll.c (unroll_loop): Likewise for variable `local_label'.
19318         (copy_loop_body): Cast a value to `size_t' when comparing against
19319         one.
19320
19321         * varasm.c (assemble_variable): Initialize variable `size_tree'.
19322         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
19323         (remove_from_pending_weak_list): Mark parameter `name' with
19324         ATTRIBUTE_UNUSED.
19325
19326 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19327
19328         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
19329         gcse dump file.
19330
19331 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
19332
19333         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
19334         (ASM_DECLARE_FUNCTION_NAME): Define.
19335         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
19336         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
19337         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
19338         not already defined.
19339
19340 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
19341
19342         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
19343         of n_popped when call/call_value are not defined.
19344
19345 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
19346
19347         * tm.texi: GNU CC -> GCC conversion.
19348         (CC1_SPEC): Indicate it is used for all language front ends.
19349
19350 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
19351
19352         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
19353         NOTE_INSN_EH_REGION_END correctly.
19354
19355 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
19356                           Jeff Law <law@cygnus.com>
19357
19358         * loop.c (strength_reduce): Automatically unroll loops if the
19359         unrolled loop size is smaller than the rolled loop size.
19360
19361         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
19362         and delete comment that code should be rewritten.
19363
19364 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
19365
19366         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
19367         as reachable.
19368
19369         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
19370
19371 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19372
19373         * fixinc/mkfixinc.sh: Don't fix uwin headers.
19374         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
19375         (LINK_SPEC): Add -u _main when building executables.
19376         (ASM_DECLARE_FUNCTION): Update from Cygwin.
19377         (ASM_FILE_END): Use the default for ix86-pe.
19378         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
19379
19380 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
19381
19382         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
19383         and ASM_CLOSE_PAREN are empty strings.
19384
19385 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
19386                           Geoffrey Keating <geoffk@cygnus.com>
19387
19388         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
19389         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
19390         (unprotoize.o): Ditto.
19391         (test-protoize-simple): Don't define STD_PROTO_DIR.
19392         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
19393         changes to make 'test-protoize-simple' pass.
19394         (STD_PROTO_DIR): Remove define.
19395         (STANDARD_EXEC_PREFIX): Supply default define.
19396         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
19397         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
19398         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
19399         (GET_ENV_PATH_LIST): New macro.
19400         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
19401         (do_processing): Initialize default_syscalls_dir using new
19402         macros.  Use it to initialize syscalls_absolute_filename.
19403
19404 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
19405
19406         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
19407         B into a register before emit_conditional_move.
19408
19409 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
19410
19411         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
19412         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
19413         multiplicand out of (+ (* a b) (* c d)).
19414
19415 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
19416                           Richard Henderson  <rth@cygnus.com>
19417
19418         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
19419         (new_insn_dead_notes): Likewise.
19420         (update_n_sets): Likewise.
19421         (update_flow_info): Move to flow.c, renamed to update_life_info;
19422         extend to handle multiple source insns.
19423         * flow.c: Include resource.h
19424         (unlink_insn_chain): New.
19425         (split_hard_reg_notes): New.
19426         (maybe_add_dead_note): New.
19427         (maybe_add_dead_note_use): New.
19428         (find_insn_with_note): New.
19429         (new_insn_dead_notes): New.
19430         (update_n_sets): New.
19431         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
19432         (maybe_remove_dead_notes): New.
19433         (update_life_info): New.
19434         (prepend_reg_notes): New.
19435         (replace_insns): New.
19436         * output.h (update_life_info): Declare.
19437         * recog.c (split_block_insns): Use update_life_info.
19438         * resource.c (find_free_register): Use reg_alloc_order, don't use
19439         fixed regs, make sure the mode is supported, don't use new regs.
19440         (reg_dead_p): New.
19441         * rtl.h (replace_insns): Declare.
19442
19443 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
19444
19445         * expr.c (expand_expr): Cope with COND_EXPRs with one
19446         non-returning branch.
19447
19448 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
19449
19450         * expr.c (store_expr): Always pass down the target, even when not
19451         doing CSE.
19452
19453 1999-08-24  Nick Clifton  <nickc@cygnus.com>
19454
19455         * configure.in: Define target_cpu_default for v850 targets.
19456         * configure: Regenerate
19457
19458         * config/v850/v850.h (TARGET_CPU_generic): Define.
19459         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
19460         addresses are 4 byte aligned.
19461
19462         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
19463         addresses.
19464
19465 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19466
19467         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
19468         (main): Add prototypes.
19469
19470         * genattrtab.c (substitute_address, write_const_num_delay_slots,
19471         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
19472         (write_attr_get): Emit prototypes along with function definition.
19473         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
19474         (write_complex_function): Emit static prototype along with
19475         function definition.
19476
19477         * genemit.c (gen_split): Emit prototypes along with function
19478         definition.
19479
19480         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
19481         Likewise for predicates and `insn_operand_predicate'.
19482         (process_template): Emit static prototype along with function
19483         definition.
19484
19485         * genrecog.c (make_insn_sequence): Constify a char*.  Add
19486         prototypes for get_split_*().
19487         (write_subroutine): Emit prototypes along with function
19488         definition.
19489
19490 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19491
19492         * gcse.c (find_avail_set): Follow chains of register-register copies.
19493         Use oprs_not_set_p to guarantee that the returned value can be
19494         substituted.
19495         (cprop_insn): Don't verify the return value of find_avail_set with
19496         oprs_not_set_p.
19497
19498         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
19499         (cprop_cc0_jump): New function.
19500         (cprop_insn): Break out new function cprop_jump and use it.
19501         Also use cprop_cc0_jump for machines with CC0.
19502         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
19503
19504         * tree.h (current_function_calls_setjmp,
19505         current_function_calls_longjmp): Delete declarations.
19506         * dsp16xx.c: Include "function.h".
19507         * elxsi.c: Likewise.
19508         * gmicro.c: Likewise.
19509         * h8300.c: Likewise.
19510         * i370.c: Likewise.
19511         * m32r.c: Likewise.
19512         * mn10200.c: Likewise.
19513         * mn10300.c: Likewise.
19514         * ns32k.c: Likewise.
19515         * spur.c: Likewise.
19516         * v850.c: Likewise.
19517
19518         * rtl.h (rtx_equal_function_value_matters): Declare.
19519         * toplev.c (rtx_equal_function_value_matters): Don't declare.
19520         * cse.c: Likewise.
19521         * function.c: Likewise.
19522         * emit-rtl.c: Likewise.
19523
19524 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
19525
19526         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
19527         call.
19528
19529 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
19530
19531         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
19532         exactly.
19533
19534 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
19535
19536         * cpp.texi: Add a node documenting macro varargs (copied
19537         from extend.texi).
19538
19539 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
19540
19541         * cppspec.c: Put a null pointer at the end of the new argv.
19542
19543 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
19544
19545         * configure.in: Remove code to select/de-select the haifa
19546         scheduler.  Every scheduled port gets haifa now.
19547         * configure: Rebuilt.
19548         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
19549         * sched.c Deleted.
19550         * Makefile.in: Corresponding changes.
19551
19552 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19553
19554         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
19555         All callers changed.
19556         (prepare_float_lib_cmp): Likewise.
19557         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
19558         * expr.h (emit_float_lib_cmp): Delete declaration.
19559         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
19560         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
19561         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
19562         specially.
19563         (cmptf): Now conditional on TARGET_HARD_QUAD.
19564
19565 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
19566
19567         * resource.c (mark_target_live_regs): Use
19568         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
19569
19570 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19571
19572         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
19573
19574         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
19575
19576         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
19577
19578 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19579
19580         * rtl.h (rtx_format): Constify a char*.
19581
19582         * rtl.c (rtx_format): Likewise.
19583         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
19584         (init_rtl): Use accessor macro, not `rtx_format'.
19585
19586         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
19587         char*.
19588
19589         * caller-save.c (mark_referenced_regs): Likewise.
19590
19591         * combine.c (subst, make_compound_operation, known_cond,
19592         gen_rtx_combine, update_table_tick, get_last_value_validate,
19593         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
19594
19595         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
19596         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
19597         count_reg_usage): Likewise.
19598
19599         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
19600         Likewise.
19601
19602         * final.c (leaf_renumber_regs_insn): Likewise.
19603
19604         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
19605         dump_edge_info, count_reg_references): Likewise.
19606
19607         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
19608         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
19609         Likewise.
19610
19611         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
19612         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
19613         add_label_notes): Likewise.
19614
19615         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
19616         clear_struct_flag, count_sub_rtxs, count_alternatives,
19617         compares_alternatives_p, contained_in_p, walk_attr_value,
19618         write_expr_attr_cache): Likewise.
19619
19620         * genconfig.c (walk_insn_part): Likewise.
19621
19622         * genemit.c (max_operand_1, gen_exp): Likewise.
19623
19624         * genextract.c (walk_rtx): Likewise.
19625
19626         * genflags.c (num_operands): Likewise.
19627
19628         * genoutput.c (scan_operands): Likewise.
19629
19630         * genpeep.c (match_rtx): Likewise.
19631
19632         * genrecog.c (add_to_sequence): Likewise.
19633
19634         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
19635         Likewise.
19636
19637         * integrate.c (save_constants, copy_for_inline,
19638         copy_rtx_and_substitute, subst_constants, restore_constants):
19639         Likewise.
19640
19641         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
19642         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
19643
19644         * local-alloc.c (contains_replace_regs, memref_referenced_p):
19645         Likewise.
19646
19647         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
19648         add_label_notes, replace_call_address, count_nonfixed_reads,
19649         invariant_p, find_single_use_in_loop, find_mem_givs,
19650         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
19651         Likewise.
19652
19653         * print-rtl.c (reg_names, print_rtx): Likewise.
19654
19655         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
19656
19657         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
19658         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
19659         print_blocks): Likewise.
19660
19661         * regclass.c (fix_register, record_address_regs,
19662         reg_scan_mark_refs): Likewise.
19663
19664         * regmove.c (stable_but_for_p): Likewise.
19665
19666         * reload.c (loc_mentioned_in_p, operands_match_p,
19667         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
19668         copy_replacements, refers_to_regno_for_reload_p,
19669         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
19670         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
19671         Likewise.
19672
19673         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
19674         delete_address_reloads_1, count_occurrences,
19675         reload_cse_mem_conflict_p, reload_combine_note_use,
19676         add_auto_inc_notes): Likewise.
19677
19678         * resource.c (mark_referenced_resources, mark_set_resources):
19679         Likewise.
19680
19681         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
19682         reg_mentioned_p, regs_set_between_p, modified_between_p,
19683         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
19684         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
19685         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
19686         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
19687
19688         * sched.c (sched_analyze_2, attach_deaths): Likewise.
19689
19690         * stupid.c (stupid_mark_refs): Likewise.
19691
19692         * unroll.c (remap_split_bivs): Likewise.
19693
19694         * varasm.c (mark_constants): Likewise.
19695
19696         * a29k/a29k.c (uses_local_reg_p): Likewise.
19697
19698         * alpha/alpha.c (summarize_insn): Likewise.
19699
19700         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
19701         eliminate_lr2ip): Likewise.
19702
19703         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
19704
19705         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
19706         reg_mentioned_in_mem): Likewise.
19707
19708         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
19709         symbolic_reference_mentioned_p): Likewise.
19710
19711         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
19712
19713         * sh/sh.c (regs_used, mark_use): Likewise.
19714
19715         * vax/vax.c (vax_rtx_cost): Likewise.
19716
19717 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19718
19719         * machmode.h (mode_name): Constify a char*.
19720
19721         * rtl.c (mode_name): Likewise.
19722
19723         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
19724
19725         * optabs.c (init_libfuncs): Constify a char*.
19726
19727         * print-tree.c (mode_name): Remove redundant declaration.
19728         (print_node): Use accessor macro, not `mode_name'.
19729
19730         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
19731         not `mode_name'.
19732         (new_spill_reg): Constify a char*.
19733
19734         * tree.c (mode_name): Remove redundant declaration.
19735
19736 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19737
19738         * rtl.c (rtx_name): Constify a char*.
19739
19740         * rtl.h (rtx_name, fix_sched_param): Likewise.
19741
19742         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
19743         (mypr): Use accessor macro, not `rtx_name'.
19744
19745         * genemit.c (print_code): Constify a char*.
19746
19747         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
19748
19749         * genpeep.c (print_code): Constify a char*.
19750
19751         * genrecog.c (print_code): Likewise.
19752
19753         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
19754         end_bb): Add static prototype.
19755         (draw_edge): Constify a char*.
19756         (end_bb): Remove unused parameter.
19757
19758         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
19759         print_block_visualization): Constify a char*.
19760
19761 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
19762
19763         * c-common.c (c_get_alias_set): Update comment.
19764
19765 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
19766
19767         * linux.h (LIB_SPEC): Added.
19768
19769 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19770
19771         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
19772
19773 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
19774
19775         * tree.c (expr_check): Fix typo in last change.
19776
19777 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
19778
19779         * rtl.def (NOTE): Change format to "iuu0n".
19780         (ADDR_DIFF_VEC): Change format to "eEee0".
19781         (ADDRESSOF): Change format to "eit".
19782
19783         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
19784         (RTVEC_ELT): Change to match.
19785         (XVECEXP): Use XVEC and RTVEC_ELT.
19786         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
19787         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
19788         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
19789         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
19790         TRAP_CONDITION, TRAP_CODE): Use XEXP.
19791         (INTVAL): Use XWINT.
19792         (ADDRESSOF_DECL): Use XTREE.
19793         (SET_ADDRESSOF_DECL): Delete.
19794         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
19795         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
19796         ifdefed out since 2.6 at least.
19797         (gen_rtvec_vv): Delete prototype.
19798
19799         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
19800         not rtunion.
19801         (copy_most_rtx): Handle 't' format letter.
19802         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
19803         (gen_rtvec_vv): Delete function.  All callers changed to use
19804         gen_rtvec_v instead.
19805         * print-rtl.c (print_rtx): Move special casing of NOTEs to
19806         the '0' format letter.
19807
19808         * function.c (gen_mem_addressof): Don't use
19809         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
19810         instead.
19811         * integrate.c (copy_rtx_and_substitute): Likewise.
19812         Copy 't' slots with XTREE.
19813         (subst_constants): Treat 't' slots like '[swi]' slots.
19814         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
19815         * jump.c (rtx_equal_for_thread_p): Likewise.
19816         * rtlanal.c (rtx_equal_p): Likewise.
19817         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
19818         only four arguments.
19819         * gengenrtl.c (type_from_format): Provide correct types for
19820         'b' and 't' slots.
19821
19822
19823         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
19824         If a recent gcc is in use (always in stage2 and beyond), use
19825         statement expressions, so we don't make a function call unless
19826         the check fails.  Evaluate arguments exactly once.
19827         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
19828         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
19829         Delete.
19830         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
19831         they evaluate their arguments exactly once, irrespective of
19832         the compiler in use.
19833
19834         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
19835         is used by the currently-enabled check macros.  This is:
19836         (tree_check_failed, tree_class_check_failed): For gcc.
19837         (tree_check, tree_class_check, cst_or_constructor_check,
19838         expr_check): For other compilers.
19839
19840         * gencheck.c: Do not define any *_CHECK1 macros.
19841
19842 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
19843                           Mark Mitchell <mark@codesourcery.com>
19844
19845         * c-common.c (c_get_alias_set): Fix support for poitners and
19846         references.
19847
19848 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
19849
19850         * alias.c: Include tree.h.
19851         (nonlocal_reference_p, mark_constant_function): New functions.
19852         * flow.c (life_analysis): Call mark_constant_function.
19853         * rtl.h (mark_constant_function): Declare it.
19854
19855 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
19856
19857         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
19858         unrecognisable switches.
19859
19860 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19861
19862         * loop.c (recombine_givs): Set ix field after sorting.
19863         (recombine_givs): Remove bogus index / giv lockstep looping.
19864
19865 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19866
19867         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
19868         on CODE.
19869         (emit_store_flag_force): Use do_compare_rtx_and_jump.
19870         (do_cmp_and_jump): Formatting fixes.
19871         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
19872         do_compare_rtx_and_jump instead of compare_from_rtx.
19873         (do_compare_rtx_and_jump): New function; mostly copied from
19874         compare_from_rtx.
19875         (do_jump_for_compare): Delete.
19876         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
19877         MIN_EXPR.
19878         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
19879         of compare/do_jump_for_compare pairs.
19880         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
19881         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
19882         compare_from_rtx/do_jump_for_compare pairs.
19883         (do_jump_by_parts_equality): Likewise.
19884         (do_jump_by_parts_equality_rtx): Likewise.
19885         * expr.h (do_compare_rtx_and_jump): Declare.
19886         * optabs.c (prepare_cmp_insn): New function, contains most of the code
19887         that used to be in emit_cmp_insn.
19888         (cmp_available_p): New function.
19889         (prepare_operand): New function.
19890         (emit_cmp_and_jump_insn_1): New function, contains some code that used
19891         to be in emit_cmp_insn.
19892         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
19893         parameters to be pointers; don't emit final compare but modify some of
19894         the values pointed to by the args so the caller can perform the
19895         correct comparison.
19896         (expand_binop): Call emit_store_flag_force with signed forms of
19897         comparison code.
19898         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
19899         emit_jump_insn pair.
19900         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
19901         emit_cmp_and_jump_insn_1.  Call emit_queue.
19902         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
19903         arg.
19904         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
19905         jump sets cc0 before deleting it.
19906         * integrate.c (expand_inline_function): Likewise.
19907         * unroll.c (unroll_loop): Similar changes in several places.
19908         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
19909         before deleting it.
19910
19911 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19912
19913         * Makefile.in (insn-recog.o): Update dependencies.
19914         * genrecog.c (main): Make generated file include "function.h".
19915
19916 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
19917
19918         * cse.c (cse_insn): Call never_reached_warning when a jump is
19919         changed to be unconditional.
19920         * flags.h: Declare warn_notreached.
19921         * flow.c (delete_block): Call never_reached_warning when
19922         a block is deleted.
19923         * jump.c (delete_barrier_successors): Call never_reached_warning
19924         when we delete everything after a BARRIER.
19925         (never_reached_warning): New function.
19926         * rtl.h: Declare never_reached_warning.
19927         * toplev.c (warn_notreached): New variable.
19928         (lang_independent_options): Set warn_notreached
19929         when -Wunreachable-code.
19930         (compile_file): We need line numbers for -Wunreachable-code.
19931
19932 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
19933
19934         * haifa-sched.c (insn_unit): Fix typo on out of range test.
19935         * sched.c (insn_unit): Likewise.
19936
19937 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
19938
19939         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
19940
19941 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19942
19943         * flow.c (create_edge_list): Use xmalloc, not malloc.
19944
19945 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
19946
19947         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
19948         C-style comments.  Do not lose the character before double slash.
19949
19950 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19951
19952         * basic-block.h (struct edge_list): Stucture to maintain a vector
19953         of edges.
19954         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
19955          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
19956         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
19957         New function prototypes.
19958         * flow.c (create_edge_list): Function to create an edge list.
19959         (free_edge_list): Discards memory used by an edge list.
19960         (print_edge_list): Debug output showing an edge list.
19961         (verify_edge_list): Internal consistency check for an edge list.
19962         (find_edge_index): Function to find an edge index for a pred and succ.
19963
19964 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
19965
19966         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
19967         hashtable.
19968
19969 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
19970
19971         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
19972
19973 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
19974
19975         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
19976
19977 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
19978
19979         * toplev.c (rest_of_compilation): Allow machine dependent
19980         reorganisation pass to place information into the RTL dump
19981         file if it so wishes.
19982
19983 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
19984
19985         * explow.c (hard_function_value): Use VOIDmode instead of
19986         MAX_MACHINE_MODE.
19987         * stmt.c (expand_return): Likewise.
19988         * stor-layout.c (get_best_mode): Likewise.
19989
19990         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
19991         emit call instead of emit_insn call.
19992
19993 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19994
19995         * configure.in: Handle --disable/enable-win32-registry.
19996         * install.texi: Document --disable/enable-win32-registry.
19997         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
19998         (WIN32_REGISTRY_KEY): New macro.
19999         * prefix.c: Use to enable/disable win32-specific code.
20000         (lookup_key): Use versioned key.
20001         * configure: Regenerate.
20002         * config.in: Likewise.
20003
20004 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
20005
20006         * cpplib.c (read_line_number): New fn, split out of...
20007         (do_line): Here.
20008
20009 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20010
20011         tree.c (lang_unsave_expr_now) : New.
20012         (unsave_expr_now): Call lang_unsave_expr_now.
20013         tree.h (lang_unsave_expr_now) : New.
20014
20015 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
20016
20017         * toplev.c (flag_new_exceptions): On by default.
20018
20019 1999-08-13  Michael Meissner  <meissner@cygnus.com>
20020
20021         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
20022
20023 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
20024
20025         * dwarfout.c (fundamental_type_code): Return FT_boolean for
20026         INTEGER_TYPE with precision==1, it's __java_boolean.
20027
20028 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20029
20030         * global.c (prune_preferences): Move some invariants out of the
20031         inner loop.
20032
20033 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
20034
20035         * configure.in (alpha*-dec-osf*): Add osf5.
20036
20037 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
20038
20039         * configure.in: Rework handling of ARM GNU/Linux slightly.
20040         (arm*-*-linux-gnuoldld): New target.
20041         * configure: Regenerate.
20042         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
20043         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
20044         * config/arm/linux-oldld.h: New file.
20045         * config/arm/linux-elf26.h: Don't include linux-elf.h.
20046         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
20047         Don't define.
20048         * config/arm/linux-elf.h (ASM_SPEC): Define.
20049         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
20050         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
20051         for 26-bit APCS and old linker.
20052         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
20053         `arm_elf'.
20054         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
20055         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
20056         don't define `arm' or `arm_elf'.
20057         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
20058         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
20059
20060 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
20061
20062         * rtl.texi: Fix typo.
20063
20064 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
20065
20066         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
20067
20068 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
20069
20070         * extend.texi (C++ Signatures): Remove node.
20071         * invoke.texi: Remove discussion of -fhandle-signatures,
20072         signature, sigof, __signature__, and __sigof__.
20073
20074 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
20075
20076         * Makefile.in (JAVAGC): Removed.
20077
20078 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20079
20080         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
20081
20082 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
20083
20084         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
20085
20086 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
20087
20088         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
20089         a register that is already known to be a pointer.
20090
20091 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
20092
20093         * fixinc/inclhack.tpl: Only install assert.h conditionally.
20094         * fixinc/inclhack.sh: Regenerated.
20095         * fixinc/fixincl.sh: Regenerated.
20096
20097 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
20098
20099         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
20100         Fix documentation of -ansi flag to describe its C++ behavior.
20101         Remove bogus reference to GCC 2.9.
20102
20103 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
20104
20105         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
20106         note if it is non-NULL.
20107
20108 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20109
20110         * except.h (eh_nesting_info): Add new structure defintion.
20111         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
20112         (reachable_handlers, update_rethrow_references): Add function
20113         prototypes.
20114         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
20115         a rethrow symbol instead of an integer exception region number.
20116         * flow.c (Make_edges): Use new exception nesting routines to determine
20117         which handlers are reachable from a CALL or asynchronous insn.
20118         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
20119         goto receivers.
20120         (delete_eh_regions): Update rethrow labels, and don't delete
20121         regions which are the target of a rethrow.
20122         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
20123         avoid overloading the SYMBOL_REF_USED flag.
20124         (rethrow_symbol_map): Use new rethrow_ref field.
20125         (rethrow_used): Use new rethrow_ref field.
20126         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
20127         of an integer.  Fix formatting.
20128         (output_exception_table_entry): Use new rethrow_ref field.
20129         (can_throw): Check for EH_REGION_NOTE before deciding
20130         whether a CALL can throw or not.
20131         (scan_region): Call rethrow_used() instead of accessing data structure.
20132         (update_rethrow_references): New function to make sure only regions
20133         which are still targets of a rethrow are flagged as such.
20134         (process_nestinfo): New static function to initialize a handler
20135         list for a specific region.
20136         (init_eh_nesting_info): New function to allocate and initialize
20137         the list of all EH handlers reachable from all regions.
20138         (reachable_handlers): New function to retrieve the list of handlers
20139         reachable from a specific region and insn.
20140         (free_eh_nesting_info): New function to dispose of a list of
20141         reachable handlers.
20142
20143 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20144
20145         * flow.c (split_edge): Set JUMP_LABEL field.
20146         (commit_one_edge_insertion): Set head correctly for insert_before.
20147         When inserting insns, update insn block numbers if allocated.
20148
20149 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20150
20151         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
20152         retry_incomplete_types): Add static prototype.
20153         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
20154         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
20155         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
20156         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
20157         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
20158         Constify a char*.
20159
20160         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
20161         dwarf2out_start_source_file, dwarf2out_line): Likewise.
20162
20163 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20164
20165         * output.h (assemble_name): Constify a char*.
20166
20167         * varasm.c (UNIQUE_SECTION, assemble_start_function,
20168         assemble_variable, assemble_name): Likewise.
20169
20170         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
20171
20172         * arm/pe.c (arm_pe_unique_section): Likewise.
20173
20174         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
20175
20176         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
20177
20178         * i386/interix.c (i386_pe_unique_section): Likewise.
20179
20180         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
20181
20182         * i386/winnt.c (i386_pe_unique_section): Likewise.
20183
20184         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
20185
20186         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
20187
20188         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
20189
20190         * pa/pa.c (output_call): Likewise.
20191
20192         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
20193
20194         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
20195
20196         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
20197         Likewise.
20198
20199         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
20200         Likewise.
20201
20202         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
20203
20204         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
20205         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
20206
20207         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
20208
20209 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20210
20211         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
20212
20213 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20214
20215         * tree.h (lang_identify): Constify a char*.
20216         (print_error_function): Add extern prototype.  Constify a char*.
20217
20218         * c-lang.c (lang_identify): Constify a char*.
20219
20220         * objc/objc-act.c (lang_identify): Constify a char*.
20221
20222 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20223
20224         * genpeep.c (main): Make generated file include "function.h".
20225         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
20226
20227 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20228
20229         * Makefile.in: Update dependencies.
20230         * alias.c: Include "function.h"
20231         * c-decl.c: Likewise.
20232         * caller-save.c: Likewise.
20233         * calls.c: Likewise.
20234         * combine.c: Likewise.
20235         * cse.c: Likewise.
20236         * explow.c: Likewise.
20237         * final.c: Likewise.
20238         * global.c: Likewise.
20239         * graph.c: Likewise.
20240         * local-alloc.c: Likewise.
20241         * loop.c: Likewise.
20242         * optabs.c: Likewise.
20243         * profile.c: Likewise.
20244         * recog.c: Likewise.
20245         * regclass.c: Likewise.
20246         * regmove.c: Likewise.
20247         * reload.c: Likewise.
20248         * reorg.c: Likewise.
20249         * resource.c: Likewise.
20250         * sched.c: Likewise.
20251         * stupid.c: Likewise.
20252         * config/1750a/1750a.c: Likewise.
20253         * config/a29k/a29k.c: Likewise.
20254         * config/arc/arc.c: Likewise.
20255         * config/arm/arm.c: Likewise.
20256         * config/arm/thumb.c: Likewise.
20257         * config/c4x/c4x.c: Likewise.
20258         * config/clipper/clipper.c: Likewise.
20259         * config/convex/convex.c: Likewise.
20260         * config/fx80/fx80.c: Likewise.
20261         * config/i860/i860.c: Likewise.
20262         * config/m68k/m68k.c: Likewise.
20263         * config/m88k/m88k.c: Likewise.
20264         * config/mips/mips.c: Likewise.
20265         * config/pdp11/pdp11.c: Likewise.
20266         * config/pyr/pyr.c: Likewise.
20267         * config/romp/romp.c: Likewise.
20268         * config/sh/sh.c: Likewise.
20269         * config/tahoe/tahoe.c: Likewise.
20270         * config/vax/vax.c: Likewise.
20271         * config/we32k/we32k.c: Likewise.
20272         * config/sparc/sparc.c: Include "function.h".
20273         (mem_min_alignment): Test current_function rather than
20274         regno_pointer_align.
20275         * config/pa/pa.c: Likewise.
20276         (compute_frame_size): Delete declaration of
20277         current_function_outgoing_args_size.
20278         * config/arc/arc.h (current_function_varargs): Delete declaration.
20279         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
20280         declaration.
20281         * config/i370/i370.h (current_function_outgoing_args_size): Delete
20282         declaration.
20283         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
20284         current_function_uses_pic_offset_table.
20285         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
20286         of current_function_returns_pointer.
20287         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20288         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20289         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20290         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20291         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20292         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
20293         * config/m88k/m88k.c: Include "function.h"
20294         (call_used_regs, current_function_pretend_args_size,
20295         current_function_outgoing_args_size, frame_pointer_needed): Delete
20296         declarations.
20297         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
20298         declaration.
20299         * config/mips/mips.h (current_function_calls_alloca): Delete
20300         declaration.
20301         * config/mn10200/mn10200.h (current_function_needs_context,
20302         rtx_equal_function_value_matters): Delete declarations.
20303         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
20304         flag_pic): Delete declarations.
20305         * config/pa/pa.h (current_function_pretend_args_size,
20306         current_function_decl): Delete declarations.
20307         * config/pa/som.h (current_function_varargs): Delete declaration.
20308         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
20309         declaration.
20310         * config/pyr/pyr.h (current_function_pretend_args_size,
20311         current_function_args_size, current_function_calls_alloca): Delete
20312         declarations.
20313         * config/sh/sh.h (current_function_varargs): Delete declaration.
20314         * config/sparc/sparc.h (current_function_outgoing_args_size,
20315         current_function_calls_alloca, current_function_decl): Delete
20316         declarations.
20317         * config/spur/spur.h (current_function_pretend_args_size,
20318         current_function_calls_alloca): Delete declarations.
20319         * config/v850/v850.c (current_function_outgoing_args_size): Delete
20320         declaration.
20321         * config/vax/vms.h (current_function_name): Delete declaration.
20322         * gcse.c: Include "function.h".
20323         (current_function_name, current_function_calls_setjmp): Delete
20324         declarations.
20325         * haifa-sched.c: Include "function.h".
20326         (forced_labels): Delete declaration.
20327         * jump.c: Likewise.
20328         * reg-stack.c: Likewise.
20329         * reload1.c: Likewise.
20330         * genemit.c (main): Make generated file include function.h.
20331         * genoutput.c (output_prologue): Likewise.
20332
20333         * builtins.c (saveregs_value, apply_args_value): Delete variables.
20334         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
20335         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
20336         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
20337         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
20338         macros for some of them.
20339         (emit_filename, emit_lineno): Delete declarations.
20340         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
20341         regno_pointer_* variables through current_function.
20342         (gen_inline_header_rtx): Delete function.
20343         (save_emit_status): Delete function.
20344         (set_new_last_label_num): New function.
20345         (clear_emit_caches): New function.
20346         (restore_emit_status): Just clear last_labelnum and call
20347         clear_emit_caches.
20348         (get_last_insn_anywhere): Variable sequence_stack is now accessed
20349         through macro seq_stack.
20350         (add_insn_after): Likewise.
20351         (add_insn_before): Likewise.
20352         (remove_insn): Likewise.
20353         (pop_topmost_sequence): Likewise.
20354         (in_sequence_p): Likewise.
20355         (start_sequence_for_rtl_expr): Likewise.
20356         (start_sequence): Likewise, and likewise for
20357         sequence_rtl_expr/seq_rtl_expr.
20358         (push_topmost_sequence): Likewise.
20359         (end_sequence): Likewise.
20360         (init_virtual_regs): Now takes a "struct emit_status *" argument.
20361         All callers changed.  Store into that pointer instead of globals.
20362         (init_emit): Allocate emit elt of current_function.
20363         Changes for sequence_rtl_expr/sequence_stack renaming.
20364         Call clear_emit_caches instead of doing it in-line.
20365         Access regno_pointer_* variables through current_function.
20366         (init_emit_once) Don't clear sequence_stack.
20367
20368         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
20369         Delete variables.
20370         (arg_pointer_save_area): Delete declaration.
20371         (finish_expr_for_function): Renamed from init_queue; no longer static.
20372         (init_expr): Don't call init_queue.
20373         (save_expr_status, restore_expr_status): Delete functions.
20374         (expand_expr): Changes to reflect new layout of struct function.
20375         Don't access current_function_check_memory_usage when current_function
20376         is 0.
20377         * expr.h (forced_labels, save_expr_regs, saveregs_value,
20378         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
20379         current_function_outgoing_args_size, current_function_arg_offset_rtx,
20380         current_function_uses_const_pool, function_call_count,
20381         current_function_uses_pic_offset_table, nonlocal_labels,
20382         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
20383         current_function_check_memory_usage, nonlocal_goto_handler_slots,
20384         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
20385         declarations.
20386         (finish_expr_for_function): Declare.
20387         * flags.h (current_function_has_nonlocal_label,
20388         current_function_has_nonlocal_goto, current_function_is_thunk,
20389         current_function_has_computed_jump): Delete declarations.
20390         * flow.c (forced_labels): Delete declaration.
20391         * function.c (current_function_pops_args,
20392         current_function_returns_struct, current_function_returns_pcc_struct,
20393         current_function_needs_context, current_function_calls_setjmp,
20394         current_function_calls_longjmp, current_function_has_nonlocal_label,
20395         current_function_has_nonlocal_goto, current_function_is_thunk,
20396         current_function_has_computed_jump, current_function_calls_alloca,
20397         current_function_contains_functions, current_function_returns_pointer,
20398         current_function_epilogue_delay_list, current_function_args_size,
20399         current_function_pretend_args_size, current_function_arg_offset_rtx,
20400         current_function_outgoing_args_size, current_function_varargs,
20401         current_function_stdarg, current_function_args_info, cleanup_label,
20402         current_function_name, current_function_uses_const_pool,
20403         current_function_instrument_entry_exit, current_function_return_rtx,
20404         current_function_uses_pic_offset_table, nonlocal_labels,
20405         current_function_internal_arg_pointer, current_function_cannot_inline,
20406         current_function_check_memory_usage, function_call_count,
20407         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
20408         nonlocal_goto_stack_level, return_label, save_expr_regs,
20409         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
20410         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
20411         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
20412         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
20413         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
20414         Delete variables.
20415         (push_function_context_to): Don't save them.  Don't call
20416         save_storage_status, save_emit_status or save_expr_status.
20417         (pop_function_context_from): Don't restore them.  Don't call
20418         restore_storage_status or restore_expr_status.
20419         (get_func_frame_size): New function.
20420         (get_frame_size): Use it.
20421         (assign_outer_stack_local): Reflect some member name changes in struct
20422         function.
20423         (put_reg_into_stack): Likewise.
20424         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
20425         seq_rtl_expr.
20426         (fixup_var_refs): Likewise.
20427         (fix_lexical_addr): Likewise.
20428         (trampoline_address): Likewise.
20429         (prepare_function_start): Clear field inlinable of current_function.
20430         (init_function_for_compilation): New function.
20431         (expand_dummy_function_end): New function.
20432         (expand_function_end): Call finish_expr_for_function.
20433         * function.h (struct emit_status): New; fields moved here from struct
20434         function and from global variables.  Add accessor macros for some of
20435         the fields.
20436         (struct expr_status): Likewise.
20437         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
20438         (struct function): Add fields expr and emit, inlinable, inl_emit,
20439         original_arg_vector, original_decl_initial, inl_last_parm_insn,
20440         inl_max_label_num.  Add many comments.
20441         Add accessor macros for all elts of struct function that no longer
20442         have a global variable.
20443         (cleanup_label, return_label, frame_offset, tail_recursion_label,
20444         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
20445         stack_slot_list): Delete declarations.
20446         (get_func_frame_size): Declare.
20447         (save_expr_status, restore_expr_status, save_emit_status,
20448         save_storage_status, restore_storage_status): Delete declarations.
20449         (init_virtual_regs): Declare.
20450         * output.h (current_function_pops_args,
20451         current_function_returns_struct, current_function_returns_pcc_struct,
20452         current_function_needs_context, current_function_calls_setjmp,
20453         current_function_calls_longjmp, current_function_calls_alloca,
20454         current_function_has_nonlocal_label, current_function_varargs,
20455         current_function_has_computed_jump, current_function_returns_pointer,
20456         current_function_contains_functions, current_function_args_size,
20457         current_function_pretend_args_size, current_function_stdarg,
20458         current_function_outgoing_args_size, current_function_args_info,
20459         current_function_name, current_function_return_rtx,
20460         current_function_epilogue_delay_list,
20461         current_function_uses_const_pool, current_function_cannot_inline):
20462         Delete declarations.
20463         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
20464         regno_reg_rtx): Delete declaration.
20465         (REGNO_POINTER_FLAG): Delete macro.
20466         * stmt.c (expand_goto): Changes to reflect that some fields in struct
20467         function were renamed.
20468         * stor-layout.c (save_storage_status, restore_storage_status): Delete
20469         functions.
20470         * toplev.c: Include "function.h".
20471         (current_function_decl): Delete declaration.
20472         (compile_file): Call init_dummy_function_start and
20473         expand_dummy_function_end around some initializations that need to
20474         emit rtl.
20475         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
20476         Call init_function_for_compilation.
20477         * unroll.c: Include "function.h"
20478         (unroll_loop): Access regno_pointer_* variables through
20479         current_function.
20480
20481         * tree.h (struct tree_decl): Add elt f to saved_insns member.
20482         (DECL_SAVED_INSNS): use it.
20483         (expand_dummy_function_end): Declare.
20484         (init_function_for_compilation): Declare.
20485         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
20486         that it's no longer an INLINE_HEADER.
20487         (expand_call): Likewise.
20488         * integrate.c (finish_inline): Delete function.
20489         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
20490         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
20491         args.  Don't generate an INLINE_HEADER rtx, just return the arg
20492         vector.  All callers changed.
20493         (save_for_inline_copying):  Create a duplicate struct emit_status to
20494         hold the emit state for compiling the current function.  Use this and
20495         the other new fields in struct function that are for integration
20496         instead of an INLINE_HEADER.
20497         Use memcpy instead of bcopy.
20498         Store the current struct function in DECL_SAVED_INSNS of fndecl.
20499         (save_for_inline_nocopy): Similar changes, except no new emit_status
20500         is needed here.
20501         (expand_inline_function): Get information from function structure,
20502         not from an inline header rtx.
20503         (output_inline_function): Lose code to extract the necessary
20504         information from an inline header; simply put back the function
20505         structure into current_function.  Clear its inlinable elt.
20506         * rtl.def (INLINE_HEADER): Delete.
20507         * rtl.h: Delete all accessors for an INLINE_HEADER.
20508         (gen_inline_header_rtx): Delete declaration.
20509         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
20510         Delete declarations.
20511         (REGNO_POINTER_ALIGN): Delete.
20512         (clear_emit_caches): Declare.
20513         (set_new_last_label_num): Declare.
20514
20515 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
20516
20517         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
20518
20519         * except.c (expand_eh_region_start_for_decl): Always start a new block.
20520         * stmt.c (is_eh_region): Make sure current_function is present, too.
20521
20522 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
20523
20524         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
20525         for 64bit PA targets.
20526
20527         * pa.h (SELECT_SECTION): Define.
20528         * som.h (SELECT_SECTION): Delete.
20529
20530 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20531
20532         * alias.c (init_alias_analysis): Wrap call to
20533         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
20534
20535 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
20536
20537         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
20538         <sys/asm.h> contains an asm comment with an apostrophe
20539         * fixinc/inclhack.sh:  regen
20540         * fixinc/fixincl.x:  regen
20541
20542 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
20543
20544         * function.c (init_function_start): Clear prologue & epilogue.
20545         (prologue_epilogue_contains): New function.
20546         * alias.c (init_alias_analysis): Use it.
20547         * rtl.h (prologue_epilogue_contains): Declare it.
20548
20549 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
20550
20551         * jump.c (onlyjump_p): New function.
20552         * rtl.h: Declare it.
20553         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
20554         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
20555
20556 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
20557
20558         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
20559         to invert loops.  Simplify block scanning.
20560
20561 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
20562
20563         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
20564         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
20565
20566 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
20567
20568         * config/sparc/liteelf.h: New file to support sparclite-elf target
20569         * config/sparc/t-sp86x: New file to support sparc86x targets
20570         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
20571         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
20572         * configure.in: Support above target triplets
20573         * configure: Regenerated
20574
20575 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
20576
20577         * fixinc/server.c (server_setup): Do not prefix function used as
20578         parameter with `&'.
20579
20580 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
20581
20582         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
20583         Remove fp reg alternatives.
20584
20585 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
20586
20587         * Makefiin (TAROUTOPTS): Kill.
20588         (install-headers-tar): Use "xpf" for tar headerfile extraction
20589         * i370/x-oe (TAROUTOPTS): Delete.
20590         * m68k/x-apollo68 (TAROUTOPTS): Delete.
20591         * m68k/x-hp320 (TAROUTOPTS): Delete.
20592         * m68k/x-hp320g (TAROUTOPTS): Delete.
20593         * gcc.texi: Update bug reporting text.
20594
20595 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
20596
20597         * reg-stack.c (change_stack) Fixed problem with negative array index.
20598
20599 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
20600
20601         * extend.texi, install.texi: Fix spelling mistakes.
20602
20603         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
20604         (s-attrtab); No longer try to use pre-made insn-attrtab file.
20605         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
20606         PREMADE_ATTRTAB_MD.
20607         * mips/t-ecoff: Likewise.
20608         * mips/t-elf: Likewise.
20609         * mips/t-mips: Likewise.
20610         * mips/t-osfrose: Likewise.
20611         * mips/t-r3900: Likewise.
20612         * mips/t-svr3: Likewise.
20613         * mips/t-svr4: Likewise.
20614         * mips/t-ultrix: Likewise.
20615
20616         * gcc.texi: Document recommend means to provide software floating
20617         point libraries in libgcc.a
20618
20619 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
20620
20621         * c-lex.c (yylex): We can have a number with no digits.
20622
20623 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
20624
20625         * jump.c (delete_prior_computation): New function, broken
20626         out of delete_computation.  Check for side effects with
20627         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
20628         multi-word hard registers.
20629         (delete_computation): Use it.  Check for side effects with
20630         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
20631         missing REG_DEAD note for a register which is both set and
20632         used by an insn.
20633
20634 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
20635
20636         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
20637         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
20638         (ASM_FILE_START): Import _mcount with the right type.
20639         (ASM_DECLARE_FUNCTION_NAME): Define.
20640         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
20641         * pa.c (output_function_prologue): Always emit the function's label
20642         here.
20643         * pa.h (TEXT_SPACE_P): Define.
20644         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
20645         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
20646         * som.h (TEXT_SPACE_P): Delete.
20647         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
20648         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
20649
20650 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
20651
20652         * expr.c (emit_group_load): Allow src to be a CONCAT.
20653
20654 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20655
20656         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
20657         (___mulsi3): Use '!' comment character.
20658
20659 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20660
20661         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
20662
20663 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
20664
20665         * gcc.c: Update URLs and mail addresses.
20666         * gcc.texi: Likewise.
20667
20668 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
20669
20670         * rs6000.c (current_file_function_operand): Return zero for
20671         weak functions.
20672         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
20673         weak symbols.
20674         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
20675         for weak symbols.
20676
20677 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
20678
20679         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
20680         allocate space in the stack frame for the PIC register.
20681
20682 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
20683
20684         * m68k.md (xordi3, anddi3): These patterns are not available on
20685         the coldfire.
20686
20687 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
20688
20689         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
20690         (PUT_REAL): Likewise.
20691
20692 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20693
20694         * final.c (shorten_branches): Don't add an alignment for loops
20695         that have no label inside.
20696
20697 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20698
20699         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
20700         prototypes in macro HAVE_cmpstrsi.
20701
20702         * cpplib.c (cpp_get_token): Remove unused label `op3'.
20703
20704         * emit-rtl.c (operand_subword): Remove unused variable
20705         `bits_per_word'.
20706
20707         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
20708
20709         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
20710
20711 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
20712
20713         * cpphash.c (macroexpand): Delete leading whitespace when arg
20714         is concatenated before.
20715         (unsafe_chars): Correct test for whether + and - can extend a
20716         token.
20717
20718         * cppinit.c (cpp_start_read): Do dependencies for
20719         -include/-imacros files also.
20720
20721         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
20722         tokenizing non-directive lines.
20723         (cpp_expand_to_buffer): Temporarily disable no-output mode.
20724         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
20725         the input file.
20726
20727 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
20728
20729         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
20730
20731         * c-lex.c: Sync with C++ frontend.
20732         (linemode): New variable.
20733         (parse_float): imag, conversion_errno, and type are output only.
20734         (yylex): Adjust.  Move initial '.' case into main switch.
20735         Use linemode.
20736         (handle_generic_pragma): Just deal with tokens.
20737         (readescape): Use ISXDIGIT and ISGRAPH.
20738         * c-parse.in: Add END_OF_LINE token.
20739
20740         * c-lex.c (lang_init): Generalize.
20741         (nextchar): Remove.  Replace uses with UNGETC.
20742         (skip_white_space): Handle linemode here.  Optimize for cpplib.
20743         (skip_white_space_on_line): Remove.
20744         (extend_token_buffer_to): New fn.
20745         (extend_token_buffer): Use it.
20746         (read_line_number, check_newline): Just deal with tokens.
20747         (token_getch, token_put_back): New fns.
20748         (yylex): Use them.  More cpplib optimizations.  Simplify.
20749
20750 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
20751                           Jason Merrill  <jason@yorick.cygnus.com>
20752
20753         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
20754         (consume_string): Make this smart about USE_CPPLIB.
20755         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
20756         (yylex): Rewrite to be intelligent about USE_CPPLIB.
20757         Also, clean up cases where we redundantly set token_buffer[0].
20758         (read_line_number): New fn.
20759         (ignore_escape_flag): New variable.
20760
20761 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
20762
20763         * a29k/t-a29kbare: Fix some comments.
20764         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
20765         (FPBIT, DPBIT): Define.
20766         * a29k/t-vx29k: Likewise.
20767         * arc/t-arc: Likewise.
20768         * arm/t-arm-elf: Likewise.
20769         * arm/t-bare: Likewise.
20770         * arm/t-pe: Likewise.
20771         * arm/t-pe-thumb: Likewise.
20772         * arm/t-semi: Likewise.
20773         * arm/t-thumb: Likewise.
20774         * arm/t-thumb-elf: Likewise.
20775         * arm/t-thumb-linux: Likewise.
20776         * h8300/t-h8300: Likewise.
20777         * i960/t-i960: Likewise.
20778         * i960/t-vxworks960: Likewise.
20779         * m32r/t-m32r: Likewise.
20780         * mips/t-ecoff: Likewise.
20781         * mips/t-elf: Likewise.
20782         * mips/t-r3900: Likewise.
20783         * pa/t-pro: Likewise.
20784         * rs6000/t-aix43: Likewise.
20785         * rs6000/t-beos: Likewise.
20786         * rs6000/t-newas: Likewise.
20787         * rs6000/t-ppccomm: Likewise.
20788         * rs6000/t-rs6000: Likewise.
20789         * rs6000/t-winnt: Likewise.
20790         * rs6000/t-xnewas: Likewise.
20791         * rs6000/t-xrs6000: Likewise.
20792         * sh/t-sh: Likewise.
20793         * sparc/t-elf: Likewise.
20794         * sparc/t-sparcbare: Likewise.
20795         * sparc/t-sparclite: Likewise.
20796         * sparc/t-splet: Likewise.
20797         * v850/t-v850: Likewise.
20798         * mn10200/t-mn10200: Fix comments.
20799         * mn10300/t-mn10300: Likewise.
20800
20801         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
20802         dummy operand.  Allocate a new pseudo for the dummy operand.
20803         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
20804
20805         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
20806
20807 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
20808
20809         * configure: Rebuilt.
20810         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
20811
20812 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
20813
20814         * recog.c (preproces_constraints): Zero recog_op_alt before
20815         processing the constraints.
20816
20817         * arm.c (typedef minipool_node): Renamed from pool_node.
20818         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
20819         (add_minipool_constant): New function.
20820         (dump_minipool): New function.
20821         (find_barrier): Remove special case for getting the insn size of
20822         an insn that references the constant pool.
20823         (minipool_fixup): New structure.
20824         (push_minipool_barrier): New function.
20825         (push_minipool_fix): New function.
20826         (note_invalid_constants): New function.
20827         (add_pool_constant, dump_table, fixit, broken_move): Delete.
20828         (arm_reorg): Rewrite code to fix up the constant pool into a
20829         series of mini-pools embedded in the insn stream.
20830         (arm_output_epilogue): New function, made mainly from the body
20831         of output_func_epilogue.
20832         (output_func_epilogue): Move insn generation part of epilogue code
20833         to arm_output_epilogue.
20834         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
20835         * arm.md (pool_range): New attribute.
20836         (zero_extendqidi2): Add attribute pool_range.
20837         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
20838         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
20839         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
20840         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
20841         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
20842         (epilogue): New expand.
20843         (epilogue_insn): New insn.  Call arm_output_epilogue.
20844
20845         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
20846         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
20847
20848 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
20849
20850         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
20851
20852 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
20853
20854         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
20855
20856 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
20857
20858         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
20859
20860 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
20861
20862         * global.c: Fix comment.
20863
20864 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
20865
20866         * gcc.c (access_check): New static function.
20867         (find_a_file): Use it when searching a directory list.
20868         * collect2.c (find_a_file): Don't accept directories found when
20869         searching a directory list.
20870
20871 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
20872
20873         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
20874         function parameters with `&'.
20875         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
20876
20877 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
20878
20879         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
20880         or tidy_fallthru_edge if the last insn in the block is not
20881         an unconditional jump or a simple conditional jump.
20882
20883 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20884
20885         * Makefile.in (c-decl.o): Depends on defaults.h.
20886
20887 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
20888
20889         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
20890         PA1.1 and above.
20891         (CLASS_MAX_NREGS): Likewise.
20892
20893 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
20894
20895         * cse.c (cse_insn): Fix dumb thinko in last change.
20896
20897 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20898
20899         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
20900         "const char *".
20901
20902 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
20903
20904         * dwarf2out.c (add_location_or_const_value_attribute): Correct
20905         test for sizes of passed and declared parameter types.
20906
20907 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20908
20909         * fixincludes: Fix the return type of bsearch, char* -> void*.
20910
20911         * fixinc/inclhack.def: Likewise.
20912
20913 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
20914
20915         * invoke.texi (-fdump-translation-unit): New option.
20916
20917 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
20918
20919         * expr.h (PROMOTE_PROTOTYPES): Move ...
20920         * defaults.h: ... to here.
20921         * c-decl.c: Include defaults.h instead of expr.h.
20922         * c-typeck.c: Include defaults.h.
20923
20924 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
20925
20926         * toplev.h (errorcount): Declare.
20927         (warningcount): Likewise.
20928         (sorrycount): Likewise.
20929         * c-lex.c (errorcount): Don't declare.
20930         * dwarf2out.c (errorcount): Don't declare.
20931
20932 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
20933
20934         * config/libgloss.h: Add a note discouraging use with ELF.
20935         * configure.in: Don't use libgloss.h for ELF targets.
20936         Always use_collect2 on a.out targets.
20937
20938 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
20939
20940         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
20941         (force_to_mode, case ASHIFTRT): Add shiftrt label.
20942
20943 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20944
20945         * loop.c (strength_reduce): When doing biv->giv conversion, update
20946         reg note of NEXT->insn.
20947
20948 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20949
20950         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
20951
20952 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20953
20954         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
20955         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
20956         Ensure expr.h is included.
20957         * c-typecheck.c (convert_arguments): Ditto.
20958
20959         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
20960
20961         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
20962         * config/convex/convex.h: Ditto.
20963         * config/dsp16xx/dsp16xx.h: Ditto.
20964         * config/fx80/fx80.h: Ditto.
20965         * config/gmicro/gmicro.h: Ditto.
20966         * config/i370/i370.h: Ditto.
20967         * config/i386/i386.h: Ditto.
20968         * config/m32r/m32r.h: Ditto.
20969         * config/m68k/m68k.h: Ditto.
20970         * config/m88k/m88k.h: Ditto.
20971         * config/mips/mips.h: Ditto.
20972         * config/pa/pa.h: Ditto.
20973         * config/pyr/pyr.h: Ditto.
20974         * config/tahoe/tahoe.h: Ditto.
20975         * config/we32k/we32k.h: Ditto.
20976
20977         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
20978         based on arch size.
20979
20980         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
20981
20982         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
20983         from comment.
20984
20985         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
20986
20987 1999-08-02  Richard Henderson  <rth@cygnus.com>
20988
20989         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
20990         for the register spill block.
20991         (m32r_va_arg): New.
20992         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
20993         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
20994
20995         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
20996         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
20997         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
20998
20999 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21000
21001         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
21002         MAX_WCHAR_TYPE defined in sparc.h.
21003         * config/sparc/linuxaout.h: Likewise.
21004         * config/sparc/linux64.h: Likewise.
21005         Also default to -mvis if CPU is UltraSPARC.
21006
21007 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21008
21009         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
21010         (RTX_OK_FOR_OLO10): Likewise.
21011         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
21012         %lo(), allow it in addresses...
21013         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
21014         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
21015         does not make sense.
21016         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
21017         (sparc_output_scratch_registers): New function.
21018         (output_function_prologue, sparc_flat_output_function_prologue): Use
21019         it.
21020         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
21021         defined.
21022         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
21023         * configure.in: Add check for .register pseudo-op support in as and
21024         check for offsetable %lo().
21025         * acconfig.h: Add templates for the above checks.
21026         * configure: Regenerate.
21027
21028 1999-08-02  Richard Henderson  <rth@cygnus.com>
21029
21030         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
21031         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
21032         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
21033
21034 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21035
21036         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
21037         reg_biv_class.
21038
21039 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21040
21041         * config/float-sparc.h: New file.
21042         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
21043         sparc-*-linux-gnu and sparc64-*-linux*.
21044
21045 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
21046
21047         * rs6000.c (rs6000_va_list): Type is an array.
21048         (rs6000_va_start): Don't doubly adjust for varargs.
21049         (rs6000_va_arg): Evaluate long long GPR adjustment.
21050
21051 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
21052
21053         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
21054         -maix64 and -maix32.
21055         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
21056         LINK_SPEC): Change appropriately.
21057         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
21058         (u_short_cint_operand): Likewise.
21059         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
21060         for 64-bit hosts.
21061         * rs6000/t-aix43 (MULTILIB): Change to -m64.
21062
21063         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
21064
21065 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
21066
21067         * rs6000/rs6000.c (num_insns_constant_wide): Correct
21068         for type promotion.
21069         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
21070         (non_add_cint_operand): Likewise.
21071         (logical_operand): Likewise.
21072         (non_logical_cint_operand): Likewise.
21073         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
21074         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
21075         (rs6000_select_rtx_section): Suppress warning.
21076         (small_data_operand): Suppress warning.
21077         (rs6000_got_register): Suppress warning.
21078         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
21079         type, so `J' is generally the wrong constraint for a SImode value;
21080         use `L' instead.
21081         (andsi3_internal2): Likewise.
21082         (andsi3_internal3): Likewise.
21083         (iorsi3_internal1): Likewise.
21084         (xorsi3_internal1): Likewise.
21085         (movsi): Likewise.
21086         (movsf_softfloat): Likewise.
21087         (scc insns): Likewise.
21088         (movsi+2): Preserve sign bits of SImode constant.
21089         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
21090         (movdf+1): Sign-extend properly.
21091         (movdi_32+1): Sign-extend properly.
21092         (scc insns): Sign-extend properly.
21093
21094         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
21095         K, L, and T.
21096
21097 1999-08-02  Richard Henderson  <rth@cygnus.com>
21098
21099         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
21100         -mcpu parsing code.
21101         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
21102         * alpha.md (all fp insns): Likewise.
21103
21104 1999-08-02  Nick Clifton  <nickc@cygnus.com>
21105
21106         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
21107         already defined.
21108
21109 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
21110
21111         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
21112         pic_load_label generator directly.
21113         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
21114         No longer a named pattern.
21115
21116 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
21117
21118         * explow.c (force_reg): Call force_operand if X does not
21119         satisfy general_operand.
21120
21121 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
21122
21123         * fix-header.c (main): When testing for CONTINUED, use string
21124         equality, not pointer equality.
21125
21126 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
21127
21128         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
21129
21130 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
21131
21132         * cse.c (cse_insn): Fix loop which deletes insns after a jump
21133         that has become an unconditional jump.
21134
21135         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
21136         (output_function_epilogue): Similarly.
21137
21138 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21139
21140         * tree.h (init_dummy_function_start): Declare.
21141
21142 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21143
21144         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
21145         last_expr_type, last_expr_value, block_start_count, block_stack,
21146         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
21147         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
21148         dynamically in stmt elt of struct function for each function.
21149         (struct nesting): Rename function_call_count elt to n_function_calls,
21150         target_temp_slot_level to block_target_temp_slot_level.  All users
21151         changed.
21152         (struct stmt_status): New structure definition.
21153         Add many accessor macros for stmt_status elements which previously
21154         were global variables.
21155         (init_stmt_for_function): Allocate stmt elt for current_function.
21156         Reflect that block_start_count was renamed to
21157         current_block_start_count.
21158         (save_stmt_status, restore_stmt_status): Delete functions.
21159         (preserve_subexpressions_p): Don't access loop_stack when outside
21160         a function.
21161         (expand_start_bindings): Reflect that block_start_count was renamed to
21162         current_block_start_count.
21163         (expand_fixup): Likewise.
21164         (expand_decl): Don't access block_stack when outside a function.
21165         (expand_decl_cleanup): Likewise.
21166         (expand_dcc_cleanup): Likewise.
21167         (expand_dhc_cleanup): Likewise.
21168         (expand_anon_union_decl): Likewise.
21169         (set_file_and_line_for_stmt): New function.
21170         (in_control_zone_p): New function.
21171
21172         * function.h (struct function): Add new elt stmt.
21173         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
21174         case_stack, nesting_stack, nesting_depth, block_start_count,
21175         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
21176         emit_lineno, goto_fixup_chain.
21177         (save_eh_status, restore_eh_status, save_stmt_status,
21178         restore_stmt_status): Delete declarations.
21179         * function.c (push_function_context_to): Don't call save_stmt_status.
21180         (pop_function_context_to): Don't call restore_stmt_status.
21181         * tree.h (in_control_zone_p): Declare.
21182         * rtl.h (set_file_and_line_for_stmt): Declare.
21183
21184         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
21185         call set_file_and_line_for_stmt.
21186
21187 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
21188
21189         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
21190         Also update copyright.
21191
21192 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21193
21194         * c-pragma.c: Don't include "except.h".
21195         * emit-rtl.c: Likewise.
21196         * stor-layout.c: Likewise.
21197         * tree.c: Likewise.
21198         * varasm.c: Likewise.
21199
21200         * flow.c: Include "function.h".
21201         * tree.h (init_dummy_function_start): Declare new function.
21202
21203         * except.h (struct eh_status): New structure.
21204         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
21205         been included.
21206         (eh_return_stub_label, ehstack, catchstack, ehqueue,
21207         catch_clauses, false_label_stack, caught_return_label_stack,
21208         protect_list, current_function_ehc): Add accessor macros for the
21209         corresponding fields in current_function->eh; delete declarations
21210         for all items that used to be declared here.
21211         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
21212         catch_clauses, false_label_stack, caught_return_label_stack,
21213         protect_list, current_function_ehc): Delete variables.
21214         (init_eh_for_function): Allocate current_function->eh.
21215         (save_eh_status, restore_eh_status): Delete functions.
21216
21217         * function.h (struct function): Add fields next_global and eh.
21218         Delete all exception handling related fields.
21219         * function.c (current_function): New variable.
21220         (all_functions): New variable.
21221         (push_function_context_to): Don't allocate a struct function,
21222         use current_function instead.  Call init_dummy_function_start when
21223         outside a function.  Clear current_function before returning.
21224         (pop_function_context_from): Restore current_function.
21225         Don't free the restored struct function.
21226         (prepare_function_start): New function.
21227         (init_dummy_function_start): New function.
21228         (init_function_start): Break out some code into prepare_function_start
21229         and call it here.
21230
21231         * stmt.c (save_stmt_status): Don't call save_eh_status.
21232         (restore_stmt_status): Don't call restore_eh_status.
21233
21234         * Makefile.in: Update dependencies.
21235
21236 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
21237
21238         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
21239         of depending on a magic constant value.  Update comments.
21240         (hppa_expand_prologue): Similarly.
21241
21242         * pa.md (reload_indi, reload_outdi): Allow any register for the
21243         original reload register.
21244
21245 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
21246
21247         * cccp.c (print_help): Change marcos to macros.
21248
21249 1999-07-30  Richard Henderson  <rth@cygnus.com>
21250
21251         * c-typeck.c (initializer_constant_valid_p): Move ...
21252         * c-common.c (initializer_constant_valid_p): ... here.  Use
21253         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
21254         of label addresses.
21255         * c-common.h (initializer_constant_valid_p): Declare.
21256         * c-tree.h (initializer_constant_valid_p): Remove.
21257
21258 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
21259
21260         * config/i386/sol2-c1.asm: Align the stack.
21261         * config/i386/sol2-gc1.asm: Likewise.
21262
21263 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
21264
21265         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
21266         -Asparclite for sparc86x.
21267         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
21268         sparc86x.
21269         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
21270
21271 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
21272
21273         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
21274         the user if using the non-default arch size in BI_ARCH configuration.
21275         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
21276
21277         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
21278         Fix patterns so that they actually match.
21279         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
21280         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
21281         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
21282         TARGET_HARD_MUL32.
21283         (mulsidi3): Reflect this in the expand.
21284         (smulsi3_highpart): Only on TARGET_ARCH32.
21285         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
21286         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
21287         (umulsidi3): Reflect this in the expand.
21288         (umulsi3_highpart): Only on TARGET_ARCH32.
21289         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
21290         don't require g0 to be zero.
21291         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
21292         ({,u}divsi3): New expands.
21293         ({,u}divsi3_sp64): New patterns.
21294         (after lshrdi3_v8plus): Four new patterns to help combiner
21295         optimizing nested mixed mode shifts.
21296
21297         * config/sparc/sparc.c (sparc_override_options): Use deprecated
21298         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
21299         speed things up. Don't use them by default on plain v9 in 64bit
21300         mode, according to what SPAMv9 sais.
21301
21302         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
21303         top 32 bits of %[og][0-7] in signal handlers.
21304         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
21305
21306 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
21307
21308         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
21309         (ashlsi3): Corresponding changes.
21310
21311         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
21312
21313 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
21314
21315         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
21316
21317 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21318
21319         * arm.h (Hint): Delete macro.
21320         Substitute HOST_WIDE_INT for Hint in some prototypes.
21321         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
21322
21323 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
21324
21325         * builtins.c (expand_builtin_setjmp): Use force_operand to
21326         make sure that the buffer address is in a suitable form to be
21327         passed to force_reg.
21328
21329 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
21330
21331         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
21332         them here.
21333
21334 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
21335
21336         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
21337         proper mode in the condition string.
21338         (icacheflush, dcacheflush): Remove modes from match_operands.
21339
21340         * pa.c (emit_move_sequence): Always convert scratch_reg to the
21341         proper mode before using it.
21342
21343         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
21344         pair.
21345
21346         * pa.c (store_reg): Do not call add_high_const generator directly.
21347         (load_reg, set_reg_plus_d): Likewise.
21348         * pa.md (add_high_const): No longer a named pattern.
21349
21350         * pa.c (legitimize_address): Consistently use Pmode rather than
21351         SImode.  Do not call gen_pic2_highpart directly anymore.
21352         * pa.md (pic2_highpart): No longer a named pattern.
21353         (pic2_lo_sum): Similarly.  Reformat to make more readable.
21354
21355         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
21356         needed.
21357
21358         * README: Update.
21359
21360 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
21361
21362         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
21363
21364 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
21365
21366         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
21367         and tag the spill mems.
21368         (hppa_va_start): New.
21369         (hppa_va_arg): New.
21370         * pa.h (EXPAND_BUILTIN_VA_START): New.
21371         (EXPAND_BUILTIN_VA_ARG): New.
21372
21373 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
21374
21375         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
21376         and tag the spill mems.
21377         (mn10300_va_start): New.
21378         (mn10300_va_arg): New.
21379         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
21380         (EXPAND_BUILTIN_VA_ARG): New.
21381
21382 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
21383
21384         * mn10200.c (mn10200_va_arg): New.
21385         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
21386
21387 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
21388
21389         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
21390         rather than play with TREE_INT_CST_LOW.
21391
21392 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
21393
21394         * config/arm/telf.h: Include dbxelf.h.
21395         (CPP_PREDEFINES): Only define if not already defined.
21396         (ASM_IDENTIFY_GCC): Likewise.
21397         (SUBTARGET_EXTRA_SECTIONS): Likewise.
21398         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
21399         * config/arm/thumb.h (LINK_SPEC): Only define if not already
21400         defined.
21401         (DBX_DEBUGGING_INFO): Don't define.
21402         * config/arm/linux-telf.h: New file.
21403         * config/arm/linux-tgas.h: New file.
21404         * config/arm/t-thumb-linux: New file.
21405         * config/arm/uclinux-elf.h: New file.
21406         * config/arm/uclinux-telf.h: New file.
21407         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
21408         thumb-*-uclinux): New targets.
21409         * configure: Regenerate.
21410
21411 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
21412
21413         * pa.md (post_store, pre_load): New expanders.
21414         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
21415         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
21416         need to directly generate RTL for them.
21417         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
21418         changes.
21419
21420 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
21421
21422         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
21423         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
21424         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
21425         (secndary_reload_class): Make TARGET_ELF conditional compile.
21426         (print_operand_address): Similar.
21427         (output_toc): Print all values as hex.
21428         (get_issue_rate): Rearrange and add RS64A and PPC630.
21429         * rs6000.h (processor_type): Add RS64A and PPC630.
21430         (PROCESSOR_POWERPC64): New.
21431         (PROMOTE_MODE): Use word_mode.
21432         (RTX_COSTS): Add RS64A and PPC630.
21433         * rs6000.md (scheduling information): Add lmul and ldiv
21434         representing 64-bit integer multiply and divide.  Add rs64a and
21435         PPC630 information.
21436         (ashldi3): Add support for "rldic" instruction.
21437         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
21438
21439 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
21440
21441         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
21442         instead of V8 for sparclite86x in cpu_table.
21443
21444 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21445
21446         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
21447         output_file_directive.
21448
21449 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
21450
21451         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
21452         tree for op1, not the rtl.
21453
21454 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
21455
21456         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
21457         to m88k_va_start, leaving only the register spill.
21458         (m88k_build_va_list): New.
21459         (m88k_va_start): New.
21460         (m88k_va_arg): New.
21461         * m88k.h (BUILD_VA_LIST_TYPE): New.
21462         (EXPAND_BUILTIN_VA_START): New.
21463         (EXPAND_BUILTIN_VA_ARG): New.
21464
21465 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
21466
21467         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
21468         Rename from expand_builtin_saveregs.
21469         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
21470
21471 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
21472
21473         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
21474         for the register spill block.
21475         (i960_build_va_list): New.
21476         (i960_va_start): New.
21477         (i960_va_arg): New.
21478         * i960.h (BUILD_VA_LIST_TYPE): New.
21479         (EXPAND_BUILTIN_VA_START): New.
21480         (EXPAND_BUILTIN_VA_ARG): New.
21481         * i960.md (store_multiple): Use change_address on individul mems.
21482
21483 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
21484
21485         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
21486         an ARRAY_TYPE.
21487         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
21488         (expand_builtin_va_end): Evaluate arg for side effects.
21489         * c-common.c (c_common_nodes_and_builtins): Construct a
21490         va_list_arg_type_node to handle array decomposition to pointer.
21491
21492 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
21493
21494         * except.c (st_dynamic_cleanup): Use force_operand on the
21495         buffer's address.
21496
21497 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
21498
21499         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
21500         * c4x.c (c4x_va_arg): New.
21501
21502 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
21503
21504         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
21505         has manual_pop set.
21506
21507 1999-07-26  Nathan Sidwell  <nathan@acm.org>
21508
21509         * eh-common.h (__eh_matcher): Prototype correctly.
21510
21511 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
21512
21513         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
21514         (TARGET_SINGLE_PIC_BASE): Likewise.
21515         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
21516         definitions.
21517         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
21518         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
21519         (TARGET_OPTIONS): Add -mpic-register=N.
21520         (OUTPUT_INT_ADDR_CONST): New macro.
21521         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
21522         LEGITIMATE_PIC_OPERAND_P): Likewise.
21523         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
21524         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
21525         output_addr_const directly.
21526         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
21527         ARM port.
21528         (thumb_pic_register, thumb_pic_register_string): Declare.
21529
21530         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
21531         from arm.c.
21532         (label_mentioned_p): New function: Imported from arm.c.
21533         (legitimize_pic_address): New function: Imported from arm.c.
21534         (is_pic):New function: Imported from arm.c.
21535         (thumb_finalize_pic):New function: Imported from arm.c.
21536         (add_constant): Cope with PIC constants.
21537         (fixit): Cope with PIC constants.
21538         (output_return): Do not treat the PIC register as live if
21539         TARGET_SINGLE_PIC_BASE is true.
21540         (thumb_function_prologue): Do not treat the PIC register as live if
21541         TARGET_SINGLE_PIC_BASE is true.
21542         (thumb_expand_prologue): Do not treat the PIC register as live if
21543         TARGET_SINGLE_PIC_BASE is true.
21544         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
21545         TARGET_SINGLE_PIC_BASE is true.
21546         (thumb_print_operand): Accept '|'.
21547         (thumb_override_options): Process PIC options.
21548
21549         * config/arm/thumb.md (movsi): Support PIC.
21550         (call_insn): Change "i" constraint to "X".
21551         (call_value_insn): Likewise.
21552         (consttable_4, consttable_8, consttable_end): Set and clear
21553         "making_const_table" as appropriate.
21554         (pic_load_addr, pic_add_dot_plus_four): New insns.
21555
21556         * invoke.texi (Thumb Options): Fix spelling.  Document new
21557         options -msingle-pic-base and -mpic-register=.
21558
21559 1999-07-26  Andrew Haley  <aph@cygnus.com>
21560
21561         * config/m32r/initfini.c (__init): Use a full word immediate for
21562         __fini: this allows it to be placed in any memory region.
21563
21564         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
21565         -mmodel=medium.  This is OK for all memory models.
21566
21567 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
21568
21569         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
21570         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
21571
21572 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
21573
21574         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
21575         defined.
21576
21577         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
21578
21579 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
21580
21581         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
21582         (BUILD_VA_LIST_TYPE): New.
21583         (EXPAND_BUILTIN_VA_START): New.
21584         (EXPAND_BUILTIN_VA_ARG): New.
21585         * i860.c (output_delayed_branch): Disable.
21586         (output_delay_insn): Likewise.
21587         (i860_saveregs): New.
21588         (i860_build_va_list): New.
21589         (i860_va_start): New.
21590         (i860_va_arg): New.
21591         * i860.md: Disable all peepholes using output_delayed_branch.
21592         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
21593
21594 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
21595
21596         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
21597         (BUILD_VA_LIST_TYPE): New.
21598         (EXPAND_BUILTIN_VA_START): New.
21599         (EXPAND_BUILTIN_VA_ARG): New.
21600         * clipper.c (clipper_builtin_saveregs): Only dump registers.
21601         Return the address of the save area.
21602         (clipper_build_va_list): New.
21603         (clipper_va_start): New.
21604         (clipper_va_arg): New.
21605
21606 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
21607
21608         * arc.h (EXPAND_BUILTIN_VA_START): New.
21609         (EXPAND_BUILTIN_VA_ARG): New.
21610         * arc.c (arc_setup_incoming_varargs): Set alias set of
21611         varargs save area.
21612         (arc_va_start): New.
21613         (arc_va_arg): New.
21614
21615 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
21616
21617         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
21618         (BUILD_VA_LIST_TYPE): New.
21619         (EXPAND_BUILTIN_VA_START): New.
21620         (EXPAND_BUILTIN_VA_ARG): New.
21621         * alpha.c (alpha_builtin_saveregs): Delete.
21622         (alpha_build_va_list): New.
21623         (alpha_va_start): New.
21624         (alpha_va_arg): New.
21625
21626 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
21627
21628         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
21629         column zero.
21630         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
21631         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
21632
21633         * gcc.texi: More changes related to list conversion.
21634         * invoke.texi: Likewise.
21635
21636 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
21637
21638         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
21639         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
21640         (expand_builtin_next_arg): Accept ARGLIST not EXP.
21641         (stabilize_va_list): New function.
21642         (std_expand_builtin_va_start): New function.
21643         (expand_builtin_va_start): New function.
21644         (get_varargs_alias_set): New function.
21645         (std_expand_builtin_va_arg): New function.
21646         (expand_builtin_va_arg): New function.
21647         (expand_builtin_va_end): New function.
21648         (expand_builtin_va_copy): New function.
21649         (expand_builtin): Call them.
21650         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
21651         __builtin_{varargs_start,stdarg_start,end,copy}.
21652         (build_va_arg): New function.
21653         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
21654         (build_va_arg): Declare.
21655         * c-decl.c (ptr_type_node, va_list_type_node): New.
21656         * c-parse.gperf (__builtin_va_arg): New.
21657         * c-parse.in (VA_ARG): New token.
21658         (unary_expr): Recognize it.
21659         * expr.c (expand_expr): Expand VA_ARG_EXPR.
21660         * expr.h (std_expand_builtin_va_start): Declare.
21661         (std_expand_builtin_va_arg): Declare.
21662         (expand_builtin_va_arg): Declare.
21663         (get_varargs_alias_set): Declare.
21664         * tree.def (VA_ARG_EXPR): New.
21665         * tree.h (BUILT_IN_VARARGS_START): New.
21666         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
21667         (ptr_type_node, va_list_type_node): Declare.
21668         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
21669         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
21670         * m88k.h, m88k.c: Likewise.
21671         * mn10300.h, mn10300.c: Likewise.
21672         * pa.h, pa.c: Likewise.
21673         * rs6000.h, rs6000.c: Likewise.
21674         * sh.h, sh.c: Likewise.
21675         * sparc.h, sparc.c: Likewise.
21676
21677         * emit-rtl.c (operand_subword): Copy alias set.
21678         (change_address): Likewise.
21679
21680 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
21681
21682         * pa.c (compute_frame_size): Scan all the used callee saved registers,
21683         not just the first one.
21684
21685 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
21686
21687         * config/arm/arm.h (TARGET_SWITCHES): Add
21688         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
21689         (TARGET_OPTIONS): Add -mpic-register=.
21690         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
21691         (arm_pic_register_string): Declare.
21692         (NEED_PLT_GOT): Delete, replace with ...
21693         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
21694         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
21695         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
21696         * config/arm/arm.c (arm_override_options): Add new option
21697         -mpic-register=N.
21698         (arm_pic_register_string): New variable.
21699         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
21700         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
21701         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
21702         (output_return_instruction): Likewise.
21703         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
21704         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
21705         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
21706
21707         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
21708         mention of -msched-prolog.  Document new options -msingle-pic-base
21709         and -mpic-register=.
21710
21711 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
21712
21713         * haifa-sched.c (reemit_notes): Tidy.
21714         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
21715         haifa's routine.
21716
21717 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
21718
21719         * explow.c (trunc_int_for_mode): New function.
21720         (plus_constant_wide): Use it.
21721         * combine.c (simplify_and_const_int): Likewise.
21722         (merge_outer_ops): Likewise.
21723         (simplify_shift_const): Likewise.
21724         * cse.c (simplify_unary_operation): Likewise.
21725         (simplify_binary_operation): Likewise.
21726         * emit-rtl.c (operand_subword): Likewise.
21727         * rtl.h: Declare it.
21728
21729 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21730
21731         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
21732         (use NUM_REGS instead of NUM_INTS).
21733
21734 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21735
21736         * builtins.c: New file.
21737         * expr.c (saveregs_value, apply_args_value):  Delete definition,
21738         moved into builtins.c.
21739         (string_constant): No longer static.
21740         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
21741         apply_args_size, apply_result_size, result_vector,
21742         expand_builtin_apply_args, expand_builtin_apply,
21743         expand_builtin_return): Delete functions, moved into builtins.c.
21744         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
21745         * expr.h (saveregs_value, apply_args_value): Declare variables.
21746         (expand_builtin, string_constant): Declare functions.
21747         * Makefile.in: Update to build builtin.o.
21748
21749 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
21750
21751         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
21752         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
21753         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
21754         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
21755         false.
21756         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
21757         Define to zero.
21758
21759 1999-07-21  Michael Meissner  <meissner@cygnus.com>
21760
21761         * print-rtl.c (print_rtx): Print the names of the virtual
21762         registers.
21763
21764 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
21765
21766         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
21767         introduced in previous delta.
21768
21769 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21770
21771         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
21772         to avoid name clash.
21773
21774 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21775
21776         * c-lex.c (yylex) : Correct the test for overflow when lexing
21777         integer literals.
21778
21779 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
21780
21781         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
21782         (adjust_priority): Always call ADJUST_PRIORITY.
21783         (schedule_insn): Only put insns into the ready at cost 0.
21784         (schedule_block): Remove redundant initial sort.  Give clock_var
21785         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
21786         is not 0.
21787         * tm.texi (MD_SCHED_REORDER): Update docs.
21788
21789         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
21790         * sparc.c (ultra_reorder_called_this_block): Delete.
21791         (ultrasparc_sched_init): Don't set it.
21792         (ultrasparc_sched_reorder): Don't check it.
21793
21794 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
21795
21796         * rs6000.h (struct rs6000_args): Add sysv_gregno.
21797         * rs6000.c (init_cumulative_args): Init sysv_gregno.
21798         (function_arg_boundary): Align DFmode.
21799         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
21800         to get fp reg and stack overflow correct.
21801         (function_arg): Likewise.
21802         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
21803         (setup_incoming_varargs): Restructure for ABI_V4; use
21804         function_arg_advance to skip final named argument.
21805         (expand_builtin_saveregs): Properly unskip the last integer arg
21806         when doing varargs.  Adjust overflow location calculation.
21807
21808         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
21809         explicitly unsigned.
21810         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
21811         (__VA_GP_REGSAVE): Similarly.
21812         (__va_longlong_p): Delete.
21813         (__va_arg_type_violation): New declaration.
21814         (va_arg): Restructure.  Flag promotion errors.  Align double.
21815         TFmode passed by reference.
21816
21817         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
21818         in the HOST_BITS_PER_WIDE_INT > 32 case.
21819
21820 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
21821
21822         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
21823
21824 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
21825
21826         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
21827         * toplev.c (documented_lang_options): Add -fpreprocessed.
21828         * cpplib.h (struct cpp_buffer): Add preprocessed.
21829         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
21830         (cpp_start_read): Don't expand macros or emit an initial #line
21831         directive if -fpreprocessed.
21832
21833 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21834
21835         * cpplib.h (struct cpp_buffer): Added manual_pop for
21836         better C++ tokenization.
21837         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
21838         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
21839         * c-common.c (cpp_token): Make non-static.
21840
21841 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21842
21843         * c-common.h: New file.
21844         * c-common.c (permanent_obstack): Delete unused declaration.
21845         (c_global_trees): New array.
21846         (c_common_nodes_and_builtins): New function; split off common code
21847         from init_decl_processing in both c-decl.c and cp/decl.c.
21848         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
21849         c_global_trees and accessor macros defined in c-common.h.
21850         Include c-common.h.
21851         * c-decl.c: Delete definitions for tree nodes that were replaced by
21852         c_global_trees.
21853         (init_decl_processing): Build void_list_node.
21854         Call c_common_nodes_and_builtins; delete code to generate the common
21855         builtins here.
21856         * objc/objc-act.c (build_module_descriptor): Rename variable
21857         void_list_node to avoid clash with c-common.h.
21858
21859         * Makefile.in: Update dependencies.
21860         * objc/Make-lang.in: Likewise.
21861
21862 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
21863
21864         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
21865         (UNIQUE_SECTION_P): Likewise.
21866         (UNIQUE_SECTION): Likewise.
21867
21868 1999-07-19  Linas Vepstas  <linas@linas.org>
21869
21870         * config/i370/README: New file.
21871         * config/i370/linux.h: New file.
21872         * config/i370/mvs.h: New file.
21873         * config/i370/oe.h: New file.
21874         * config/i370/t-linux: New file.
21875         * config/i370/t-mvs: New file.
21876         * config/i370/t-oe: New file.
21877         * config/i370/x-oe: New file.
21878         * config/i370/xm-linux.h: New file.
21879         * config/i370/xm-mvs.h: New file.
21880         * config/i370/xm-oe.h: New file.
21881
21882         * i370.c (label_node_t): Add first_ref_page, label_addr,
21883         label_first_ref, label_last_ref members.
21884         (mvs_need_base_reload): Renamed from mvs_label_emitted.
21885         (MAX_MVS_LABEL_SIZE): Define.
21886         (MAX_LONG_LABEL_SIZE): Define.
21887         (alias_node_t, alias_anchor, alias_number): New.
21888         (mvs_function_table): Reorder for EBCDIC.
21889         (ascebc, ebcasc): Unconditionally define.
21890         (i370_branch_dest, i370_branch_length): New functions.
21891         (i370_short_branch, i370_label_scan): New functions.
21892         (mvs_get_label): Renamed from mvs_add_label.  Search for
21893         an existing label before creating a new one.
21894         (mvs_add_label): New function.
21895         (mvs_get_label_page): New function.
21896         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
21897         over the entire list.
21898         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
21899         (mvs_check_page) [TARGET_ELF_ABI]: New function.
21900         (mvs_add_alias, mvs_need_alias): New functions.
21901         (mvs_get_alias, mvs_check_alias): New functions.
21902         (handle_pragma): New function.
21903         (mvs_function_check): New function.
21904         (unsigned_jump_follows_p): Search harder.
21905         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
21906         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
21907         * i370.h (TARGET_VERSION): Delete.
21908         (CPP_SPEC, CPP_PREDEFINES): Delete.
21909         (mvs_label_emitted): Delete.
21910         (TARGET_EBCDIC): Delete.
21911         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
21912         (HANDLE_PRAGMA): Define.
21913         (HARD_REGNO_NREGS): Handle complex modes.
21914         (HARD_REGNO_MODE_OK): Likewise.
21915         (CLASS_MAX_NREGS): Likewise.
21916         (RET_REG): Likewise.
21917         (EXTRA_CONSTRAINT): Define.
21918         (RETURN_IN_MEMORY): True for DImode.
21919         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
21920         (FUNCTION_PROFILER): Delete.
21921         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
21922         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
21923         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
21924         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
21925         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
21926         (ASM_FILE_START): Add "RMODE ANY".
21927         (ASM_OUTPUT_EXTERNAL): Check for aliases.
21928         (ASM_GLOBALIZE_LABEL): Likewise.
21929         (ASM_OUTPUT_LABELREF): Likewise.
21930         (ASM_OUTPUT_COMMON): Likewise.
21931         (PRINT_OPERAND): Handle 'K', 'W', default.
21932         (PRINT_OPERAND_ADDRESS): New.
21933         (Lots of defines): Add support for TARGET_ELF_ABI.
21934         * i370.md (attr length): New.  Define for all patterns.
21935         (*): Lots of tweeks to assembly output and constraints.
21936
21937 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
21938
21939         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
21940         Disable patterns performing SImode comparisons with SImode values
21941         if TARGET_POWERPC64 and instruction does not sign-extend or does
21942         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
21943         differ for signed quantities.
21944         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
21945         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
21946         (decrement_and_branch_on_count): Add 64-bit variant.
21947
21948 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21949
21950         * final.c (output_asm_insn): When searching for the matching string
21951         for a given dialect, don't run past the end of the list of
21952         alternatives if there are fewer alternatives in the template than
21953         dialects.
21954
21955 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
21956
21957         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
21958         Removed paragraph about compression of files and size limitation,
21959         duplicated in the FAQ.  Use gcc-patches for posting patches.
21960         * gcc.c (main): Updated URL with bug reporting instructions to
21961         gcc.gnu.org.  Removed e-mail address.
21962         * system.h (abort): Likewise.
21963
21964 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21965
21966         * Makefile.in (stmp-multilib-sub): Make the files extracted
21967         from $(LIBGCC1) writable.
21968
21969 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
21970
21971         * config/arm/aout.h: Reformat for improved readability.
21972
21973         * config/arm/arm.h: Reformat for improved readability.
21974         Replace uses of fprintf with asm_fprintf where appropriate.
21975         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
21976         function declaration assembler actions.
21977         (NUM_INTS): New macro: Convert from bytes to words.
21978         (NUM_REGS): New macro: Compute number of registers required to
21979         hold a quanitity of tyep MODE.
21980         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
21981         types.
21982         (NUM_ARG_REGS): New macro: The number of argument registers
21983         available.
21984         (ARG_REGISTER): New macro: Compute the register number of the Nth
21985         argument register.
21986         (LAST_ARG_REGNUM): New macro: The number of the last argument
21987         register.
21988         (SP_REGNUM): New macro: Register number of the stack pointer.
21989         (FP_REGNUM): New macro: Register number of the frame pointer.
21990         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
21991         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
21992         CUMULATIVE_ARGS so that it counts registers not bytes.
21993
21994         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
21995         TARGET_INTERWORK.
21996         Replace uses of fprintf with asm_fprintf where appropriate.
21997         (output_ascii_pseudo_op): Replace with version from thumb.c
21998
21999         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
22000
22001         * config/arm/elf.h (CPP_PREDEFINES): Replace with
22002         SUBTARGET_CPP_SPEC.
22003         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
22004         (ASM_FILE_START): Emit ASM_APP_OFF.
22005
22006 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
22007
22008         * pa.c (compute_frame_size): Round frame according to
22009         STACK_BOUNDARY rather than a hardwired value.
22010
22011         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
22012
22013         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
22014         of "1".
22015         * configure: Rebuilt.
22016
22017         * configure.in (hppa*-*-linux*): New configuration.
22018         * configure: Rebuilt.
22019         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
22020         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
22021         * pa/pa-linux.h: New file.
22022         * pa/t-linux: New file.
22023         * pa/xm-linux.h: New file.
22024
22025         * pa.c (hppa_legitimize_address): Change references from SImode to
22026         either Pmode or word_mode as appropriate.
22027         (emit_move_sequence, store_reg, load_reg): Likewise.
22028         (set_reg_plus_d, hppa_expand_prologue): Likewise.
22029         (output_mul_insn): Likewise.
22030         * pa.h (PROMOTE_MODE): Likewise.
22031         (INITIALZE_TRAMPOLINE): Likewise.
22032         (Pmode): Define to word_mode.
22033
22034         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
22035         value of 4.  Allocate 8 bytes for each FP register save.
22036         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
22037         value of 4.
22038         (hppa_expand_prologue): Likewise.
22039         * pa.h (PROMOTE_MODE): Likewise.
22040         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
22041         (FUNCTION_ARG_BOUNDARY): Likewise.
22042
22043         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
22044
22045         * pa.c (out_of_line_prologue_epilogue): Delete.
22046         (override_options): Remove -mspace related code.
22047         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
22048         (compute_frame_size): Only allocate space for register that
22049         actually need to be saved.
22050         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
22051         (TARGET_SWITCHES): Remove -mspace, -mno-space
22052         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
22053         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
22054         * pa/ee.asm, pa/ee_fp.asm: Delete.
22055
22056         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
22057
22058         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
22059         directive in column zero.
22060
22061 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
22062
22063         * m68k.c (output_function_prologue): Fix computation of save mask
22064         when generating PIC code.
22065
22066 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
22067
22068         * tree.c (build_type_attribute_variant): Move current_obstack restore
22069         after build_qualified_type call.
22070
22071 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
22072
22073         * configure.in: Use t-iris6, even with GNU LD.
22074         * config/mips/iris6gld.h: Fix typo in linker spec.
22075         * config/mips/t-iris6gld: Remove.
22076
22077 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
22078
22079         * rs6000.md (insv, extzv): Remove SImode dependence in named
22080         patterns.  Explicitly generate DImode RTL if PowerPC64 and
22081         operand is DImode.
22082         (insvdi): Reverse start and size in instruction template.
22083
22084 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
22085
22086         * invoke.texi: Typo fixes.
22087
22088 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
22089
22090         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
22091         handle at this time instead of silently generating incorrect code.
22092         (gen_imagpart): Likewise.
22093
22094         * reload.c (find_reloads): Emit a USE for a pseudo register without
22095         a hard register if we could not create an optional reload for the
22096         pseudo.
22097
22098 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22099
22100         * c-typeck.c (output_init_element, process_init_element):
22101         When advancing constructor_unfilled_fields for a RECORD_TYPE,
22102         check for nameless bit fields.
22103
22104 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
22105
22106         * regclass.c (scan_one_insn): Notice subregs that change the
22107         size of their operand.
22108         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
22109
22110 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
22111
22112         * configure.in (alpha*-*-*): Include alpha/t-ieee.
22113         * configure: Rebuilt.
22114         * alpha/t-ieee: New file.
22115
22116 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
22117
22118         * rs6000.c (find_addr_reg): Do not select r0 as an address
22119         register.
22120
22121 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
22122
22123         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
22124
22125 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
22126
22127         * rs6000.md (movsf): Do not force easy FP constants into memory.
22128
22129         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
22130         immed_double_const to ensure they are properly truncated then
22131         sign extended.
22132
22133 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
22134
22135         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
22136         always unless NO_DEBUG is used.  Compile this code
22137         unconditionally.
22138         (replace_symbols_in_block): Compile it unconditionally.
22139
22140 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
22141
22142         * configure.in (i?86-*-elf*): New target.
22143         * configure: Rebuilt.
22144         * i386/i386elf.h, i386/t-i386elf: New files.
22145
22146 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
22147
22148         * toplev.c (main): Don't complain about saying -gdwarf.
22149         (rest_of_compilation): Remove redundant code.
22150
22151 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
22152
22153         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
22154
22155 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
22156
22157         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
22158         "Li960R:", to avoid name clash.
22159
22160 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22161
22162         * loop.c (check_dbra_loop): When reversing a loop, delete all
22163         REG_EQUAL notes referencing the reversed biv except those which are
22164         for a giv based on it.
22165
22166 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
22167
22168         * version.c: Drop "gcc-" prefix from version #.
22169
22170 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
22171
22172         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
22173         the label if we're being verbose.
22174
22175 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
22176
22177         * m68k.c (output_function_prologue): Add pic register to mask
22178         if live and flag_pic.
22179         (output_function_epilogue): Likewise.
22180
22181 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
22182
22183         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
22184         directives in column zero.
22185
22186         * pa/elf.h (ASM_FILE_START): Define.
22187         * pa/som.h (ASM_FILE_START): Include .level directives.
22188         * pa/hpux10.h (ASM_FILE_START): Delete.
22189         * pa/hpux11.h (ASM_FILE_START): Delete.
22190
22191         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
22192
22193 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22194
22195         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
22196         when reload_out equals reload_in.
22197
22198 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
22199
22200         * invoke.texi (Spec Files): New node: Describe the contents of
22201         spec files.
22202
22203 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
22204
22205         * invoke.texi (DEC Alpha Options): Put @end table at
22206         beginning of line, to avoid confusing texi2html.
22207
22208 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
22209
22210         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
22211         introduced in previous delta.
22212
22213 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22214
22215         * reload1.c (gen_reload): When synthesizing a 3 operand add
22216         sequence, improve test for when to reload OP1 into the reload
22217         register instead of OP0.
22218
22219 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
22220
22221         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
22222
22223 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
22224
22225         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
22226         string literal.
22227
22228 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
22229
22230         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
22231         (va_dcl): Use __builtin_va_alist_t.
22232
22233 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
22234
22235         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
22236         on the permanent_obstack.
22237         * dwarfout.c (output_type): Likewise.
22238
22239 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22240
22241         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
22242         Merged from c-typeck.c and cp/typeck.c.
22243         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
22244         Merged into c-common.
22245
22246 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
22247
22248         * c-lex.c (errorcount): Declare it.
22249         (finish_parse): Update errorcount when using CPPLIB.
22250
22251 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
22252
22253         * fixinc/inclhack.def(end_else_label): Double the backslash so
22254         sed gets a chance to see it.
22255         * fixinc/inclhack.sh: regen
22256         * fixinc/fixincl.x: regen
22257
22258 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
22259
22260         Add framework to support armv5 architecture when it becomes
22261         available:
22262
22263         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
22264         (arm_arch5): New variable.
22265         (all_architectures): Add armv5 line.
22266         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
22267         -march=armv5 is specified on the command line.
22268         (arm_arch5): Export this variable.
22269         * invoke.texi: Document new string accepted by -march= switch for
22270         ARM ports.
22271
22272         * config/arm/arm.h: Replace use of constant 12 as a register
22273         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
22274         * config/arm/arm.c: Replace use of constant 12 as a register
22275         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
22276
22277         * config/arm/elf.h: Tidy up.
22278         * config/arm/coff.h: Tidy up.
22279
22280 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
22281
22282         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
22283         * gcc/config/mips/t-iris6gld: New file.
22284         * gcc/config/mips/iris6gld.h: Likewise.
22285
22286 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22287
22288         * c-decl.c (widest_integer_literal_type_node,
22289         widest_unsigned_literal_type) : New.
22290         (init_decl_processing): Handle/use the two new types.
22291         * c-common.c (type_for_size,type_for_mode) : Same.
22292         * c-lex.c (yylex) : Same.
22293         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
22294         Same.
22295         * c-tree.h (widest_integer_literal_type_node,
22296         widest_unsigned_literal_type) : New.
22297
22298 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
22299
22300         * dwarfout.c (field_byte_offset): Correctly compute the object's
22301         byte offset for the first bit of a field which crosses an alignment
22302         boundary on a !BYTES_BIG_ENDIAN target.
22303
22304 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
22305
22306         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
22307         ntohs.
22308
22309 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
22310                           Jeff Law <law@cygnus.com>
22311
22312         * ginclude/varargs.h (va_dcl): Use word_mode for type of
22313         __builtin_va_list.
22314
22315         * except.c: Include intl.h.
22316         (expand_eh_return): Set current_function_cannot_inline.
22317         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
22318         * function.h (struct function): Add eh_return_stub_label.
22319         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
22320         * Makefile.in (except.o): Depend on intl.h.
22321
22322 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
22323
22324         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
22325         same as offsettable in cases 1 and 2.
22326
22327 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
22328
22329         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
22330         (extlh, extwh): Likewise.
22331
22332 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22333
22334         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
22335
22336 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
22337
22338         * configure.in: Add arm-pe and thumb-pe targets.
22339         * configure: Regenerate.
22340
22341         * thumb.c (arm_naked_function_p): New function: Determines if
22342         a function is naked (has no gcc generated prologue/epilogue).
22343         (is_called_in_ARM_mode): Return true if the func has the
22344         interfacearm attribute.
22345         (output_return): Do not generate a return for naked functions.
22346         (thumb_function_prologue): Do not generate a prologue for
22347         naked functions.
22348         (thumb_expand_prologue): Do not generate a prologue for naked
22349         functions.
22350         (thumb_expand_epilogue): Do not generate an epilogue for naked
22351         functions.
22352         (arm_valid_machine_decl_attribute): New function, copied from
22353         arm.c:  Permit naked and interfacearm attributes.
22354
22355         * config/arm/pe.c: New file: Support code for arm-pe target.
22356         * config/arm/pe.h: New file: Header file for arm-pe target.
22357         * config/arm/tpe.h: New file: Header file for thumb-pe target.
22358         * config/arm/t-thumb-pe: New file: Makefile fragment for
22359         thumb-pe target.
22360
22361 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
22362
22363         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
22364         -fPIC or -fpic is specified.
22365
22366 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
22367
22368         * expr.c (emit_block_move): Use copy_to_mode_reg for
22369         !TARGET_MEM_FUNCTIONS case too.
22370
22371         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
22372         appropriate.
22373         * configure: Rebuilt.
22374         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
22375         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
22376         definitions made redundant by dbxelf.h inclusion.  Delete
22377         lots of definitions related to assembly output that are
22378         specific to the SOM object format.
22379         * pa.c (output_function_prologue): Do not emit the function's
22380         name for OBJ_ELF.
22381         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
22382         * pa-pro.h: Deleted.
22383         * som.h: New file with SOM specific definitions.
22384         * elf.h: New file with ELF specific definitions.
22385
22386         * elfos.h (const_section): Output a tab before assembler directives.
22387         (ctors_section, dtors_section): Likewise.
22388         (ASM_OUTPUT_SECTION_NAME): Likewise.
22389
22390         * pa/pa1.h: Delete unused file.
22391
22392 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
22393
22394         * configure.in (hppa*-hp-hpux11*): New configuration.
22395         * configure: Rebuilt.
22396         * pa/pa-hpux11.h: New file.
22397         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
22398         command line.
22399
22400         * mips.md (leasi, leadi): New patterns.
22401
22402         * expr.c (emit_block_move): Properly handle case where one of the
22403         block move arguments has a queued increment or decrement.
22404         (clear_storage): Similarly.  Fix formatting goof.
22405
22406 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
22407
22408         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
22409         semicolon from the BSD VA_LIST replacement expression.
22410
22411         * fixinc/inclhack.sh: regen
22412         * fixinc/fixincl.x: regen
22413
22414         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
22415         now use the fixincl program.
22416
22417 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
22418
22419         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
22420         case.  Also make the PIC register call_used.
22421
22422         * m68k.h (FINALIZE_PIC): Delete.
22423         * m68k.c (finalize_pic): Delete.
22424
22425 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
22426
22427         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
22428         to memory.
22429
22430 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
22431
22432         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
22433
22434 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
22435
22436         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
22437
22438 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
22439
22440         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
22441
22442 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
22443
22444         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
22445
22446 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
22447
22448         * rs6000.c (output_toc): Always use hex values for floating-point
22449         constants.  Store single-precision values in upper-half of TOC
22450         entry in 64-bit mode.
22451         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
22452         to final constraints.
22453         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
22454         (fctiwz): Improve accuracy of RTL for pattern.
22455
22456 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22457
22458         * expr.c (expand_expr): Allow RTL_EXPR's through the
22459         MAX_INTEGER_COMPUTATION_MODE checks.
22460
22461 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
22462
22463         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
22464         such that MASK_SUPPORT_ARCH is not negative.
22465
22466 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
22467
22468         * loop.c (verify_dominator): Properly handle ADDR_VEC and
22469         ADDR_DIFF_VEC insns that appear inside loops.
22470
22471 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
22472                           Jeff Law <law@cygnus.com>
22473
22474         * rs6000.md (movdf_hardfloat32): Revert previous patch.
22475         Handle LO_SUM the same as offsettable in cases 1 and 2.
22476         * rs6000.c (find_addr_reg): Revert previous patch.
22477
22478 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
22479
22480         * system.h (strstr): New external function declaration.
22481         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
22482         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
22483         * config.in, configure: Rebuilt.
22484
22485 1999-06-24  Tom Tromey  <tromey@cygnus.com>
22486
22487         * gcc.c (main): Read user-specified specs files after computing
22488         additional startfile_prefixes.
22489
22490 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
22491
22492         Revert these two patches:
22493
22494         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22495         * loop.c (strength_reduce): When doing biv->giv conversion, update
22496         reg note of NEXT->insn.
22497
22498         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22499         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22500         reg_biv_class.
22501         (recombine_givs): Set ix field after sorting.
22502
22503 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22504
22505         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
22506         for the parts of an UNSPEC / UNSPEC_VOLATILE.
22507
22508 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
22509
22510         *fixinc/inclhack.def:  Add fix development commentary
22511         (read_ret_type): reactivate and add selection clause
22512         (zzz_*): tweak output file name to match what is used in hackshell.tpl
22513         *fixinc/{fixincl.x|inclhack.sh}: regen
22514
22515 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
22516
22517         * expr.c (expand_expr): STRIP_NOPS before checking against
22518         MAX_INTEGER_COMPUTATION_MODE
22519         (check_max_integer_computation_mode): Likewise.
22520
22521 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
22522
22523         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
22524
22525 1999-06-22  Jim Wilson  <wilson@cygnus.com>
22526
22527         * expr.c (store_expr): When target is a promoted subreg, return a
22528         promoted subreg as a result.
22529
22530 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
22531
22532         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
22533         coding standards.
22534         (dwarf2out_define): Mark unused parameters appropriately.
22535         (gen_unspecified_parameters_die): Ditto.
22536         (gen_subprogram_die): Fix signed/unsigned warnings.
22537         (gen_variable_die): Ditto.
22538
22539 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
22540
22541         * fixinc/inclhack.def(end_else_label): combined else_label
22542         and endif_label and fixed the sed expression.
22543         *fixinc/{fixincl.x|inclhack.sh}: regen
22544
22545 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
22546
22547         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
22548         'x' when handling non-offsettable addresses
22549
22550 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
22551
22552         * final.c (shorten_branches): Don't try to split an insn that has
22553         been deleted.
22554
22555 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
22556
22557         * config/mips/mips.c (symbolic_expression_p): New function.
22558         (mips_select_rtx_section): Put symbolic expressions in the
22559         data section, not the read-only data section.
22560
22561 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
22562
22563         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
22564
22565 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
22566
22567         * collect2.c (main): Log frame table count.
22568         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
22569         (scan_prog_file) [COFF]: Handle frame tables.
22570
22571         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
22572         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
22573         * alpha/elf.h: Undef them again.
22574         * alpha/vms.h: Remove their definitions.
22575
22576 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22577
22578         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
22579         remove the clobber of r0 and change the REG_UNUSED note to
22580         REG_INC.
22581
22582 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
22583
22584         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
22585         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
22586         fits in HOST_WIDE_INT and one uses union to access a long constant
22587         as double.
22588
22589 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
22590
22591         * sparc.c (sparc_override_options): Don't allow profiling for
22592         code models other than medlow.
22593         (sparc_function_profiler): New function from old FUNCTION_PROFILER
22594         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
22595         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
22596         (sparc_block_profiler): Likewise.
22597         (sparc_function_block_profiler_exit): Likewise.
22598         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
22599         (FUNCTION_BLOCK_PROFILER): Likewise.
22600         (BLOCK_PROFILER): Likewise.
22601         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
22602         (MCOUNT_FUNCTION): New.
22603         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
22604         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
22605         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
22606         (MCOUNT_FUNCTION): New.
22607         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
22608         (BLOCK_PROFILER): Delete.
22609         (MCOUNT_FUNCTION): New.
22610
22611 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
22612
22613         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
22614
22615 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
22616
22617         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22618         Add the macros.
22619
22620         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22621         Ditto.
22622
22623         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22624         Ditto.
22625
22626         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22627         Ditto.
22628
22629 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
22630
22631         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
22632         types.
22633
22634 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
22635
22636         * i386/djgpp.h (LIB_SPEC): New.
22637         (STARTFILE_SPEC): New.
22638
22639         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
22640
22641 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
22642
22643         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
22644         compiler flags.
22645
22646         * system.h (WSTOPSIG): New macro.
22647
22648 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22649
22650         * c-pragma.c (push_alignment): Don't ignore alignments greater than
22651         4 bytes.
22652         (insert_pack_attributes): Take into account member natural
22653         alignment.
22654
22655         * i386/winnt.c (exports_head): New static variable.
22656         (i386_pe_record_exported_symbol): New function.
22657         (i386_pe_asm_file_end): Use.
22658         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
22659         symbols to be emitted at end of assembly.
22660         (ASM_DECLARE_OBJECT_NAME): Likewise.
22661         (ASM_DECLARE_FUNCTION_NAME): Likewise.
22662
22663         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
22664         -iwithprefix.
22665
22666 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
22667
22668         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
22669         in last change.
22670
22671 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
22672
22673         * haifa-sched.c (sched_analyze_1): Use free_list instead of
22674         zapping reg_last_uses directly.
22675         (sched_analyze_2, sched_analyze_insn): Likewise.
22676         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
22677
22678 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
22679
22680         * rs6000.md (movdf_hardfloat32): Use worst case insn length
22681         attributes for cases 1 and 2.
22682
22683 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
22684
22685         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
22686         instead of set.
22687
22688 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
22689
22690         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
22691
22692 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
22693
22694         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
22695         PIC_OFFSET_TABLE_REGNUM for general alloaction.
22696         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
22697         must be stacked if it is used for PIC accesses.
22698         * arm.c (use_return_insn): Handle PIC register specially.
22699         (output_return_instruction): Likewise.
22700         (output_func_{prologue,epilogue}): Likewise.
22701         (output_expand_prologue): Likewise.
22702
22703         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
22704         (*strsi_predec): Renamed from *strqi_predec.
22705         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
22706         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
22707
22708         * arm.c (arm_override_options): Remove warning about PIC code
22709         not being supported.
22710
22711 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
22712
22713         * rs6000.c (find_addr_reg): New function.
22714         * rs6000.h (find_addr_reg): Declare.
22715         (offsettable_addr_operand): Delete.
22716         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
22717         from and stores to GPRs.
22718
22719 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
22720
22721         * alpha.c (alpha_expand_block_move): Use get_insns rather than
22722         gen_sequence as argument to emit_no_conflict_block.
22723
22724 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22725
22726         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
22727         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
22728         *fixinc/fixincl.x: regen
22729         *fixinc/inclhack.sh: regen
22730
22731 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
22732
22733         * added support for -mpcrel (PC relative addressing for m68k)
22734         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
22735         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
22736         * m68k.c (print_operand_address): Handle 32-bit PIC case.
22737         (comments for general_src_operand): Add some explanation
22738         about EXTRA_CONSTRAINTS.
22739         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
22740         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
22741         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
22742         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
22743         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
22744         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
22745         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
22746         if not already set.
22747         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
22748         * m68k.h (TARGET_PCREL): New target flag.
22749         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
22750         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
22751         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
22752         contains a SYMBOL_REF.  Relax this constraint during reload, since
22753         we want to use the predicates, not reload's built-in concept of a
22754         valid memory address, to control what insns need reloading.
22755         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
22756         operands (essentially 'g', 'm', and 's' under normal circumstances).
22757         * m68k.c (print_operand): Cause printing of pc-relative addresses
22758         to include pc register.
22759         (print_operand_address): Ditto.
22760         (general_src_operand): Accept operands that are not only
22761         general_operands, but are also valid when used as a pc-relative
22762         source.
22763         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
22764         (memory_src_operand): Similar, for memory_operands.
22765         (pcrel_address): New predicate to accept the special case of a
22766         pc-relative address.
22767         * m68k.md (many patterns): Rewrite common SImode, HImode, and
22768         QImode insns to accept *_src_operand instead of *_operand where
22769         pc-relative operands can fit.  For example, a pc-relative operand
22770         can be used as a memory source operand for addsi3, but not as a
22771         memory destination.
22772         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
22773
22774 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
22775
22776         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
22777         .thumb_set pseudo op to mark aliases of thumb functions.
22778
22779 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
22780
22781         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
22782         preference to ASM_OUTPUT_DEF, if it is defined.
22783
22784         * tm.texi: Document new, optional target macro
22785         ASM_OUTPUT_DEF_FROM_DECLS.
22786
22787 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22788
22789         * fixincludes: ISCNTL patch
22790         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
22791         (dgux_int_varargs): new for DG/UX
22792         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
22793
22794 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
22795
22796         * invoke.texi (ia32 options): Fix typo.
22797
22798 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22799
22800         * loop.c (strength_reduce): When doing biv->giv conversion, update
22801         reg note of NEXT->insn.
22802
22803 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
22804
22805         * loop.c (move_movables): Note issues with replacing REGs with
22806         SUBREGs.
22807         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
22808
22809 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
22810
22811         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
22812
22813         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
22814         the reference to `mcount' was not correct for the ELF on FreeBSD.
22815
22816 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22817
22818         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22819         reg_biv_class.
22820
22821         (recombine_givs): Set ix field after sorting.
22822
22823 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
22824
22825         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
22826         to safe to extract a subword out of a REG.
22827
22828 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22829
22830         * sh.md (mulsi3): Don't add a no-op move at the end.
22831
22832 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22833
22834         * cse.c (cse_insn): Don't put hard register source into tables for
22835         the last insn of a libcall.
22836
22837 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22838
22839         * loop.c (strength_reduce): Insert sets of derived givs at every
22840         biv increment, even if it's the only one.
22841
22842 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
22843
22844         * dwarfout.c (add_incomplete_type): New fn.
22845         (output_type): Call it.
22846         (retry_incomplete_types): New fn.
22847         (dwarfout_finish): Call it.
22848
22849         From Eric Raskin <ehr@listworks.com>:
22850         (output_type): Output types for bases.
22851
22852 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22853
22854         * mips.c (mips_output_conditional_branch): Add `break'
22855         between `default' label and `close braces'.
22856
22857 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
22858
22859         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
22860         specifications and make it realistic.
22861         (LIB_SPEC): Likewise.
22862
22863 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
22864
22865         * config/mips/mips.c (mips_secondary_reload_class): Check for
22866         (PLUS (SP) (REG)) and return appropriate register class.
22867         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
22868         Handle (PLUS (SP) (REG)).
22869         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
22870         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
22871         of emit_insn for tablejump.
22872
22873 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
22874
22875         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
22876         asm_fprintf format string by itself.
22877         (output_function_profiler): Likewise.
22878
22879 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
22880
22881         * combine.c (simplify_logical, case AND): Only call
22882         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
22883         or the constant is positive.
22884
22885 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
22886
22887         * configure.in: Fix typo in rs6000-ibm-aix4 case.
22888         * configure: Regenerate.
22889
22890 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
22891
22892         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
22893         require a sub-version #.
22894         * configure: Rebuilt.
22895
22896 1999-06-14  Robert Lipe  (robertlipe@usa.net)
22897
22898         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
22899
22900 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
22901
22902         * c-typeck.c (process_init_element): Detect excess elements in
22903         char array initializer.
22904
22905 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
22906
22907         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
22908
22909 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22910
22911         * invoke.texi (Option Summary): Add -fpermissive flag.
22912
22913 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
22914
22915         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
22916         that require PIC code sequences.
22917
22918 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
22919
22920         * configure.in: Add new target: thumb-elf.
22921         * configure: Regenerate.
22922         * config/arm/t-thumb-elf: New file: Makefile fragment for
22923         thumb-elf build.
22924         * config/arm/telf.h: New file: Header file for thumb-elf
22925         build.
22926
22927 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
22928
22929         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
22930         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
22931         initializers is some circumstances.
22932
22933         * fixinc/inclhack.def (endif_label): Add additional selector for
22934         more bogus stuff after #endif statements.
22935         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
22936
22937 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22938
22939         * i386/cygwin.h (SET_ASM_OP): Define.
22940
22941 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22942
22943         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
22944
22945 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22946
22947         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
22948         latter.
22949
22950         * sh.md (ic_invalidate_line_i): Remove second alternative.
22951
22952 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22953
22954         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
22955         test for the presence of valid prototypes.  Delete bypass expr.
22956         (ioctl_fix_ctrl): Correct the selection expression.
22957         (no_double_slash): Correct quoting rules
22958         *fixinc/fixincl.x: regen
22959         *fixinc/inclhack.sh: regen
22960
22961 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
22962
22963         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
22964
22965 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22966
22967         * rs6000.md (movsi_got_internal_mem): Delete.
22968         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
22969         (GOT_TOC_REGNUM): Delete.
22970         (PIC_OFFSET_TABLE_REGNUM): Define.
22971         (FINALIZE_PIC): Disable.
22972         * rs6000.c (rs6000_got_register): New code for fixed pic register.
22973         (rs6000_replace_regno): Delete.
22974         (rs6000_finalize_pic): Likewise.
22975         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
22976
22977 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22978
22979         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
22980         is a note; use <= for the compare; advance P while it is
22981         a NOTE.
22982
22983 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
22984
22985         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
22986         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
22987
22988         * varasm.c (remove_from_pending_weak_list): Verify t->name
22989         is non-NULL before passing it to strcmp.
22990
22991 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22992
22993         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
22994         the typed arguments are not part of a comment
22995         (ioctl_fix_ctrl): Added a purpose comment
22996         *fixinc/fixincl.x: regenerate
22997         *fixinc/inclhack.sh: regenerate
22998
22999 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23000
23001         * invoke.texi: Add C4x invocation docs.
23002
23003 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23004
23005         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
23006         Define new macros.
23007         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
23008         TARGET_EXPOSE_LDP.
23009         (c4x_legitimize_reload_address): New function.
23010         * config/c4x/c4x.md: Update docs.
23011
23012 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
23013
23014         * fixincludes: Avoid removing '.'.
23015         * fixinc/fixinc.svr4: Likewise.
23016         * fixinc/fixinc.winnt: Likewise.
23017         * fixinc/inclhack.tpl: Likewise.
23018         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
23019
23020 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23021
23022         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
23023         pattern.
23024         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
23025
23026 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23027
23028         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
23029         correctly.
23030
23031 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
23032
23033         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
23034         * configure: Regenerate.
23035
23036 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
23037
23038         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
23039         values.
23040
23041 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
23042
23043         * fixinc/inclhack.def (avoid_bool): Also catch
23044         "typedef [unsigned] int bool".
23045         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
23046
23047         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
23048         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
23049         * configure: Rebuilt.
23050
23051 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
23052
23053         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
23054         such that we can override its definitions if necessary.
23055         (CPP_SPEC): New define.  Support processor specific predefines via
23056         %(cpp_cpu).
23057         (CC1_SPEC): New define.  Support processor specific compiler
23058         options via %(cc1_cpu).
23059         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
23060         -static.
23061
23062 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23063
23064         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
23065         between sed's -e flag, and the open-quote following it.
23066         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
23067
23068 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
23069                           Jeffrey A Law  (law@cygnus.com)
23070
23071         * varasm.c (assemble_start_function): Remove the function
23072         from the pending weak decls list when we define a function.
23073         (assemble_variable): Similarly for variables.
23074         (weak_finish): Ignore items on the list with a NULL name.
23075         (remove_from_ending_weak_list); New function to "remove" an item
23076         from the pending weak declarations list.
23077
23078 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
23079
23080         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
23081
23082 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
23083
23084         * c-lex.c (GETC): Redefine to call getch.
23085         (UNGETC): Redefine to call put_back.
23086         (putback_buffer): New structure type.
23087         (putback): New static structure.
23088         (getch): New function.
23089         (put_back): New function.
23090         (yylex): Replace unused bytes from bad multibyte character.
23091
23092 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
23093
23094         * cpplib.c (do_define): Cast `alloca' return value.
23095         (do_include, do_undef, do_pragma): Likewise.
23096         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
23097         values.
23098         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
23099         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
23100
23101 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
23102
23103         * sparc.md (abstf2): This should be an expand.
23104         (split after abstf2_notv9): Fix mode.
23105         (abstf2_hq_v9): New pattern.
23106         (abstf2_v9): Only use when no hard quad.
23107         (absdf2_v9): Fix if target is not the same as source.
23108         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
23109         Add correct output constraints.
23110
23111 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
23112
23113         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
23114         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
23115
23116 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
23117
23118         * mips.h (mips_output_conditional_branch): New function.
23119         (mips_adjust_insn_length): Likewise.
23120         (ASSEMBLER_SCRATCH_REGNUM): New macro.
23121         (ADJUST_INSN_LENGTH): Likewise.
23122         * mips.c (print_operand): Add `F' and `W' for floating-point
23123         comparison opcodes.
23124         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
23125         are now in bytes.
23126         (mips_adjust_insn_length): New function.
23127         (mips_output_conditional_branch): New function.
23128         * mips.md (length): Adjust attribute definition to handle
23129         conditional branches.  Change lengths to bytes, rather than
23130         instructions throughout.  Remove length attribute from
23131         instructions whose length is four bytes, and rely on the default
23132         instead.
23133         (dslot): Fix typo in comment.
23134         Reword conditional branch patterns to use
23135         mips_output_conditional_branch.
23136
23137 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
23138
23139         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
23140         (LIB_SPEC): Likewise.
23141         Link with -lprof1_r for -g/-pg.
23142
23143 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
23144
23145         * loop.c (check_dbra_loop): Fix change of Jan 19.
23146
23147 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
23148
23149         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
23150         (STARTFILE_SPEC):  Define, override the svr4.h version.
23151         (ENDFILE_SPEC):  Likewise.
23152
23153 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
23154
23155         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
23156         * fixinc/fixincl.x: Regenerated.
23157         * fixinc/inclhack.sh: Regenerated.
23158
23159 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23160
23161         * sh.c (barrier_align): Don't return early for normal branch/barrier
23162         when optimizing for SH2.
23163
23164 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
23165
23166         * i386/udk.h (LINK_SPEC): Correct linker search path for
23167         system libraries.
23168
23169 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23170
23171         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
23172         (braf_label_ref_operand): Delete.
23173         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
23174         * sh.md (casesi_jump_2): Operand1 is now the inside of a
23175         label_ref, and has no predicate.
23176         The patten has a predicate to guard against invalid substitutions.
23177         (dummy_jump): Delete.
23178         (casesi): Update use of casesi_jump_2.
23179
23180 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23181
23182         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
23183         *fixinc/fixincl.x: regenerate
23184         *fixinc/inclhack.sh: regenerate
23185
23186 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
23187
23188         * dwarf2out.c (add_incomplete_type): New fn.
23189         (gen_struct_or_union_type_die): Call it.
23190         (retry_incomplete_types): New fn.
23191         (dwarf2out_finish): Call it.
23192
23193 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
23194
23195         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
23196         current block starts with a CODE_LABEL and ends with a CALL and
23197         we can not find all the argument setup instructions for the CALL.
23198
23199 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
23200
23201         Revert this change:
23202         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
23203         something is a candidate for optimize_bit_field_compare.
23204
23205 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23206
23207         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
23208
23209 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
23210
23211         * alpha.c (override_options): Thinko in last patch.
23212
23213         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
23214         (LIB_SPEC): Recognize -pthread.
23215
23216 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
23217
23218         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
23219         definition in config/arm/coff.h
23220         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
23221
23222 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
23223
23224         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
23225         fixes that need "file=xxx\n" prepended before invocation
23226         (start_fixer - new): starting the fixer process is complex enough
23227         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
23228         (process): uses the new routine; omit usage of putenv()
23229         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
23230         * fixinc/fixincl.x: regenerate
23231
23232 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
23233
23234         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
23235         and version #s (1.1 -> 2.96) as needed.
23236         * README.g77: Kill way out of date file in the toplevel directory.
23237
23238 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
23239
23240         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
23241         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
23242         * configure: Rebuilt.
23243         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
23244         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
23245         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
23246         (SWITCH_TAKES_ARG): Likewise.
23247         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
23248         * config/t-freebsd: Moved from config/i386/ so it can used for all
23249         FreeBSD targets.
23250
23251 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
23252
23253         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
23254
23255 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
23256
23257         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
23258         * configure: Rebuilt.
23259
23260 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
23261
23262         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
23263         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
23264         * rs6000/rs6000.c (rs6000_file_start): Use putc.
23265         (rs6000_output_load_toc_table): Same.
23266         (output_prolog, output_mi_thunk): Same.
23267         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
23268         (ASM_GLOBALIZE_LABEL): Use putc.
23269
23270 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
23271
23272         * alpha.md (reload_*_help): New patterns and splitters.
23273         (reload_*): Use them.
23274         (mov[qh]i): Likewise.
23275
23276 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
23277
23278         * cccp.c (handle_directive): Handle backslash-newlines in quoted
23279         strings correctly.
23280
23281 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
23282
23283         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
23284
23285 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
23286
23287         * flow.c (mark_regs_live_at_end, insn_dead_p,
23288         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
23289         and HARD_FRAME_POINTER_REGNUM special treatment if reload
23290         hasn't run or the frame pointer is needed.
23291         * haifa-sched.c (attach_deaths): Likewise.
23292         * sched.c (attach_deaths): Likewise.
23293
23294 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
23295
23296         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
23297         calculate_can_reach_end returns nonzero.
23298
23299         * configure.in (native gas tests): Search for an assembler in the
23300         same manner that the installed compiler will.
23301         * configure: Rebuilt.
23302         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
23303
23304         * alias.c (find_base_term): Improve handling of addresses
23305         constructed from binary operations.
23306
23307 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
23308
23309         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
23310
23311 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
23312
23313         * function.h (cleanup_label, frame_offset): Declare.
23314         (tail_recursion_label, tail_recursion_reentry): Likewise.
23315         (arg_pointer_save_area, rtl_expr_chain): Likewise.
23316         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
23317         (tail_recursion_label, tail_recursion_reentry): Likewise.
23318         (arg_pointer_save_area, rtl_expr_chain): Likewise.
23319
23320 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
23321
23322         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
23323         defined.
23324         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
23325         (MAX_OFILE_ALIGNMENT): Define.
23326
23327 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
23328
23329         * fixincl.c: Replace local include scheme with #includes of
23330         gansidecl.h and system.h.
23331         * procopen.c:  Likewise.
23332         * server.c:  Likewise.
23333
23334 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
23335
23336         * i386/t-dgux (EXTRA_PARTS): Add crti.o
23337         (crti.o): Add build rule and dependencies.
23338         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
23339
23340 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23341
23342         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
23343         (LIB_LINUX_SPEC): Likewise.
23344         (LIB_LINUX_SPEC): Add support for -pthread
23345         (CPP_OS_LINUX_SPEC): Likewise.
23346         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
23347         specified.
23348
23349 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
23350
23351         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
23352         conditional move.
23353         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
23354         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
23355         for IEEE math and CC_FCOMI.
23356         (put_jump_code): No IEEE if CC_FCOMI is set.
23357
23358 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
23359
23360         * fold-const.c (fold_truthop): Make the field reference unsigned
23361         when converting a single bit compare.
23362
23363 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23364
23365         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
23366
23367 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
23368
23369         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
23370         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
23371         version did.
23372
23373         * reload.c (push_reload): Do not call remove_address_replacements
23374         when presented with identical optional reloads.
23375
23376 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
23377
23378         * alpha.h (MASK_FIX, TARGET_FIX): New.
23379         (MASK_*): Reorganize constants.
23380         (CPP_AM_FIX_SPEC): New.
23381         (TARGET_SWITCHES): Add FIX.
23382         (EXTRA_SPECS): Likewise.
23383         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
23384         (SECONDARY_MEMORY_NEEDED): Likewise.
23385         (REGISTER_MOVE_COST): Likewise.
23386         * alpha.c (override_options): Add FIX support.  Always use
23387         ALPHA_TP_PROG for ev6.
23388         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
23389         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
23390         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
23391
23392 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
23393
23394         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
23395         something is a candidate for optimize_bit_field_compare.
23396
23397 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
23398
23399         * gcc.texi (Passes): Document branch-shortening.
23400         * invoke.texi (Debugging Options): Document the fact that `-dp'
23401         outputs length information for instructions.
23402
23403 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
23404
23405         * flow.c: Revert previous delta.
23406
23407 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
23408
23409         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
23410         FRAME_POINTER_REGNUM.
23411         (mark_set_1): Ditto.
23412         (mark_used_regs): Ditto.
23413
23414 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
23415
23416         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
23417         (GOT_PCREL): New macro.  Define to 1 if not already defined.
23418         * arm/elf.h (GOT_PCREL): Define to 0.
23419         * arm.c (arm_finalize_pic): Take into account the setting of
23420         GOT_PCREL.
23421
23422 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
23423
23424         * output.h (STRIP_NAME_ENCODING): Provide default definition.
23425         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
23426
23427         * flow.c (mark_set_1): Do not record BLKmode stores as dead
23428         store elimination candidates.
23429
23430 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23431
23432         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
23433         TARGET_GAS.
23434
23435 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
23436
23437         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
23438         Add use of x-aix41-gld.
23439
23440 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
23441
23442         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
23443         (ASM_OUTPUT_DESTRUCTOR): Define.
23444
23445 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
23446
23447         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
23448         last CODE_LABEL in a loop if we have previously passed a jump
23449         to the top of the loop.
23450
23451 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
23452
23453         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
23454         applying Philip's patch.
23455
23456 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
23457
23458         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
23459         are not VAR_DECLs.
23460
23461 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
23462
23463         * loop.c (strength_reduce): Grow reg_single_usage as needed.
23464
23465 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
23466
23467         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
23468         Also remove a useless comment.
23469
23470 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
23471
23472         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
23473
23474 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
23475
23476         * collect2.c (main): Only generate import or export file and add
23477         to link arguments if non-empty.  Use xmalloc not alloca.
23478         (write_{export,import}_file): Delete.
23479         (write_aix_file): New function.
23480         (locatelib): Use xmalloc not malloc.
23481         (GCC_OK_SYMBOL): Do not check type if aix64.
23482
23483 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
23484
23485         Based on patch by Scott Bambrough and Pat Beirne:
23486         * config/arm/arm.c (making_const_table): New variable.
23487         * config/arm/arm.h (making_const_table): Declare.
23488         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
23489         appropriate.
23490         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
23491         Keep track of when we are building the constant table.
23492
23493 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
23494
23495         * config/arm/arm.c (arm_override_options): Fix erroneous warning
23496         message.
23497
23498 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
23499
23500         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
23501         defined.
23502
23503 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
23504
23505         * tm.texi (FUNCTION_ARG): Correct description of a stack element
23506         in a PARALLEL.
23507
23508 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
23509
23510         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
23511
23512 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23513
23514         * rs6000.c (output_mi_thunk): Enable full support again.
23515
23516 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23517
23518         * sh.h (BRANCH_COST): Define.
23519
23520 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
23521
23522         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
23523
23524 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
23525
23526         * function.c (assign_stack_local): Align stack slot propertly.
23527         (assign_outer_stack_local): Likewise.
23528
23529 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
23530
23531         * expr.h (lang_expand_constant): Declare.
23532         * toplev.c (lang_expand_constant): Define it.
23533         * varasm.c (output_constant): Use it.
23534
23535 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23536
23537         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
23538         Change function definitions to K&R style.
23539
23540 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23541
23542         * fixinc/fixincl.c: We must not ignore SIGCLD now.
23543
23544 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
23545
23546         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
23547         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
23548         (several places): omit static initialization
23549         (process): use single fd, since only the read fd is used
23550         * fixinc/gnu-regex.c: define 'const' away, if not supported
23551         * fixinc/procopen.c(several places): omit static initialization
23552         * fixinc/server.c: define 'volitile' away, if not supported
23553
23554 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
23555
23556         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
23557         asm_fprintf and %L to generate the label name.
23558         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
23559         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
23560
23561 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
23562
23563         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
23564         insn for a conditional jump can not be found.
23565
23566 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
23567
23568         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
23569         on variables in specific sections other than .sbss and .sdata.
23570
23571 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
23572
23573         * stmt.c (expand_return): Call start_cleanup_deferral and
23574         end_cleanup_deferral around conditional code.
23575
23576 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23577
23578         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
23579         filename lists.  Utilizes new "krstr" AutoGen function.
23580         * fixinc/fixincl.x: Rebuilt.
23581
23582 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
23583
23584         * i386.c (output_float_compare): Avoid GNU-C extensions.
23585
23586 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
23587
23588         * version.c: Bump to distinguish mainline tree from the
23589         gcc-2.95 branch.
23590
23591 See ChangeLog.1 for earlier changes.
23592
23593