OSDN Git Service

* toplev.c (debug_ignore_block): Return int.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-05-02  Jason Merrill  <jason@casey.cygnus.com>
2
3         * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
4         (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
5         (GCC_CFLAGS): Use it.
6         (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
7         * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
8         objc/Make-lang.in: Use it.
9
10         * toplev.c (debug_ignore_block): Return int.
11         * dwarf2out.c (dwarf2out_ignore_block): Likewise.
12         * toplev.h, dwarf2out.h: Adjust.
13         * emit-rtl.c (remove_unnecessary_notes): Test return value.
14
15         * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
16         * toplev.c, final.c, rtl.h: Adjust.
17
18 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
19
20         * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
21         * configure.in: Look for makeinfo in the unified tree, then
22         for a system makeinfo which is sufficiently new.
23         * Makefile.in: If configure says makeinfo is too old, don't
24         build or install Info documentation.
25
26 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
27
28         * cpphash.c (collect_params): Fix off-by-one error.
29         (dump_hash_helper): Dump all four macro nodetypes.
30
31 2000-05-02  Jakub Jelinek  <jakub@redhat.com>
32
33         * cpphash.c (trad_stringify): Adjust p after stringification as
34         well.
35
36 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
37
38         * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
39         (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
40
41         * cppfiles.c (file_cleanup): Delete.
42         * cpphash.c (macro_cleanup): Delete.
43         (collect_objlike_expansion, collect_funlike_expansion,
44         macarg, scan_arguments): Remove CPP_POP case.
45
46         * cpplex.c (null_cleanup): Delete.
47         (cpp_pop_buffer): Do the work that was done in the cleanups
48         here.  Call _cpp_unwind_if_stack from here.
49         (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
50         cpp_scan_buffer): Run until we see CPP_EOF and the top of
51         stack is the buffer _below_ the one we stacked.
52         (cpp_get_token): Always pop an exhausted buffer.  Return
53         CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
54         * cpplib.c (skip_if_group): Don't call cpp_get_token to
55         increment the line number.
56         (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
57
58         * fix-header.c (read_scan_file) [parsing getchar()]: Run until
59         we see CPP_EOF and the top of stack is the buffer _below_ the
60         one we stacked.
61         * scan-decls.c: Likewise.
62
63 2000-05-02  Andrew Haley  <aph@cygnus.com>
64
65         * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
66         where this function is called for the second time on a decl that
67         has had its section info changed in such a way as to move it out
68         of small data/bss.  
69         * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
70
71 2000-05-01  Richard Henderson  <rth@cygnus.com>
72
73         * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
74         the sequence we're moving, not to merge_bb->head.
75
76 2000-05-01  Richard Henderson  <rth@cygnus.com>
77
78         * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
79         reference to alpha/t-linux.
80         (alpha*-*-linux-gnu*): Likewise.
81         * configure: Rebuild.
82
83         * calls.c (expand_call): Don't emit reg notes for a sibcall.
84
85         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
86         if not in SSA form.
87
88         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
89
90 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
91
92         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
93         TREE_THIS_VOLATILE.
94
95 2000-05-01  Richard Henderson  <rth@cygnus.com>
96
97         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
98         emit_conditional_move.
99
100 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
101
102         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
103         as the dynamic linker.
104
105 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
106
107         * cppfiles.c (open_include_file): Open file in blocking mode.
108         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
109         Only exclude block devices and directories.
110
111         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
112         static.  Allocate the hashnode and its string in the same
113         block of memory.
114         (del_HASHNODE): Don't free h->name.
115         (_cpp_lookup): If there is no entry for this string, create
116         one, of type T_VOID.
117         (_cpp_lookup_slot): Delete.
118         * cpphash.h: Update prototypes.
119
120         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
121         not hp == NULL.
122         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
123         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
124         node here, just fill in the value field properly.  "Delete"
125         entries by setting the value field to T_VOID.  Check for
126         hp->type == T_VOID, not hp == NULL.
127
128         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
129         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
130         hashtab.h.
131
132 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
133
134         * config/mn10300/mn10300.c (print_operand_address): Do not add
135         zero to SP.
136
137         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
138         adjusted by less than 256 bytes, use ret regardless of having any
139         callee-saved register to restore.
140
141 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
142
143         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
144
145 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
146
147         * config/i386/djgpp.h (INT_ASM_OP): Define.
148         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
149         (ASM_WEAKEN_LABEL): Define.
150         (MASK_BNU210): Define.
151         (SUBTARGET_SWITCHES): Define.
152         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
153         (MAKE_DECL_ONE_ONLY): Define.
154         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
155
156 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
157
158         * i386/cygwin.h (INT_ASM_OP): Define.
159
160 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
161
162         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
163         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
164
165 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
166
167         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
168         __tmp_reg__ and __zero_reg__ initialization.
169
170 2000-04-30  Richard Henderson  <rth@cygnus.com>
171
172         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
173
174         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
175         referenced bewteen the condition and the jump.  Don't delete
176         anything but the jump.
177
178 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
179
180         * bb-reorder.c (scope_def): New struct.
181         (scope_forest_info): New struct.
182         (struct reorder_block_def): New member "scope".
183         (REORDER_BLOCK_SCOPE): New macro.
184         (relate_bbs_with_scopes): New function and prototype.
185         (make_new_scope): Likewise.
186         (build_scope_forest): Likewise.
187         (remove_scope_notes): Likewise.
188         (insert_intra_1): Likewise.
189         (insert_intra_bb_scope_notes): Likewise.
190         (insert_inter_bb_scope_notes): Likewise.
191         (rebuild_scope_notes): Likewise.
192         (free_scope_forest_1): Likewise.
193         (free_scope_forest): Likewise.
194         (dump_scope_forest): Likewise.
195         (dump_scope_forest_1): Likewise.
196         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
197         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
198         block.
199         (reorder_basic_blocks): Added calls to build_scope_scope_forest
200         and remove_scope_notes before reordering is done. Added calls to
201         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
202         after reordering is done.
203
204 2000-40-30  Bruce Korb  <bkorb@gnu.org>
205
206         * fixinc/inclhack.def:  Added definitions needed by OSR5,
207         removed two stale entries (defined away with OLD_CPP).
208         * fixinc/inclhack.sh: regen
209         * fixinc/fixincl.x: regen
210
211 2000-04-30  Richard Henderson  <rth@cygnus.com>
212
213         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
214         from the last insn in the sequence.
215
216 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
217
218         * cpplex.c (cpp_idcmp): New function.
219         * cpplib.h: Prototype it.
220         * scan_decls.c (scan_decls): Use it to inspect token names.
221         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
222         the file being run through the preprocessor.
223         (check_macro_names): Provide length of token to cpp_defined.
224
225         * Makefile.in: Remove stale warning message.
226
227         * cppfiles.c (redundant_include_p): Provide length of token to
228         cpp_defined.
229         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
230         values are unsigned int.
231         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
232         (_cpp_lookup_slot): Do not calculate the hash, either.
233         * cpphash.h: Update prototypes.
234         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
235         Hashes are unsigned int.  Calculate hash here, pass by value
236         to _cpp_lookup_slot.
237
238 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
239
240         * simplify-rtx.c (check_value_useless): Delete function.
241         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
242         by hand.
243         (cselib_invalidate_regno): Likewise.
244         (cselib_invalidate_mem_1): Likewise.
245         (references_value_p): Recognize useless values by the fact that they
246         have no locations.
247         (discard_useless_values): Likewise.
248         (cselib_record_set): This may turn a useless value
249         into a useful one.
250
251 2000-04-30  Richard Henderson  <rth@cygnus.com>
252
253         * config/d30v: New port.
254
255         * configure.in (d30v-*): Set fp format.
256         * configure: Rebuild.
257
258 2000-04-30  Richard Henderson  <rth@cygnus.com>
259
260         * ifcvt.c: New file.
261         * Makefile.in (OBJS): Add it.
262         (ifcvt.o): New target.
263         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
264         and conditional arithmetic.
265         (find_insert_position): Remove.
266         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
267         * toplev.c (DFI_ce, DFI_ce2): New.
268         (dump_file): Add ce and ce2 dumps.
269         (rest_of_compilation): Run if_convert a couple o times.  Set
270         cse_not_expected after cse2.  Don't set no_new_pseudos until
271         after sched1 or recompute_reg_usage.
272
273 2000-04-30  Richard Henderson  <rth@cygnus.com>
274
275         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
276         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
277
278 2000-04-30  Richard Henderson  <rth@cygnus.com>
279
280         * flow.c (struct reg_cond_life_info): New.
281         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
282         (init_propagate_block_info): Initialize them.
283         (free_propagate_block_info): Destruct them.
284         (mark_set_1): Consider conditional life before killing a register.
285         (mark_regno_cond_dead): New.
286         (free_reg_cond_life_info): New.
287         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
288         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
289         (mark_used_reg): Record conditional life.
290
291         * haifa-sched.c (schedule_insns): Disable death counting
292         sanity check for HAVE_conditional_execution.
293
294 2000-04-30  Richard Henderson  <rth@cygnus.com>
295
296         * Makefile.in (TIMEVAR_H): New.
297         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
298         (timevar.h): Remove rule.
299
300 2000-04-29  Richard Henderson  <rth@cygnus.com>
301
302         * config/alpha/crtend.asm: Use C comments instead of #.
303         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
304
305         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
306
307 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
308
309         * cpphash.h (enum node_type: Take out T_MCONST.
310         (union hashval): Move into struct hashnode.
311         (struct hashnode): Pack tighter.  Remove file, line, col
312         members.
313         * cpphash.c: Constify most of the macro-definition structures.
314         (struct definition): Replace by struct object_defn
315         and struct funct_defn.  Put file, line, column information
316         here.  All users updated to match.
317         (_cpp_create_definition, _cpp_macroexpand): Remove special
318         case for #define WORD OTHERWORD.
319         * cpplib.c (do_undef): Remove T_MCONST case.
320
321         * cpphash.h: Move struct reflist, struct definition, and the
322         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
323         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
324         * cpphash.c (_cpp_free_definition): Free data pointed to by
325         MCONST, XCONST, MACRO, and FMACRO nodes properly.
326         (_cpp_create_definition, del_HASHNODE): Just call
327         _cpp_free_definition to clear out a hashnode.
328         * cpplib.c (do_pragma_poison): Likewise.
329
330 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
331
332         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
333         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
334         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
335         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
336         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
337         REGNO_AM33_P): Redefine in terms of the new macros.
338         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
339         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
340         STRUCT_VALUE): Likewise.
341         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
342         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
343
344 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
345
346         * regmove.c (struct record_stack_memrefs_data): New.
347         (record_stack_memrefs): New function.
348         (combine_stack_adjustments_for_block): Use it.
349
350 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
351
352         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
353         use special_function_p to detect alloca.
354
355 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
356
357         * gcc.texi: Fixes for makeinfo 4.0 --html.
358
359 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
360
361         * pcp.h: Delete file.
362
363 2000-04-28  Kazu Hirata  <kazu@hxi.com>
364
365         * h8300.c (function_epilogue): Clean up flags when the last insn
366         in a function is a barrier.
367
368 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
369
370         * configure.in (sparc-hal-solaris2*): protect [] glob from
371         my expansion.
372         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
373         rather than hard-coded constants in target_cpu_default2.
374         * configure: Regenerate.
375
376 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
377
378         * tree.c (get_callee_fndecl): Extract the initial value from
379         a readonly decl.
380
381 2000-04-28  Richard Henderson  <rth@cygnus.com>
382
383         * varasm.c (record_constant_1): Record the CODE_LABEL when
384         taking the address of a LABEL_REF.
385
386 2000-04-28  Richard Henderson  <rth@cygnus.com>
387             Jan Hubicka  <jh@suse.cz>
388
389         * calls.c (combine_pending_stack_adjustment_and_call): Return the
390         adjustment; don't do the stack adjust.
391         (expand_call): Call compute_argument_block_size right before
392         allocating the block; update comment; don't do alignment sanity
393         checking for sibling call; use args_size instead of
394         unadjusted_args_size before args_size is adjusted.  Use
395         combine_pending_stack_adjustment_and_call to compute stack adjust
396         for must_preallocate case.
397
398         * expr.c (push_block): Remove shadow `temp' in inner scope.
399
400 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
401
402         * toplev.c (rest_of_compilation): Call
403         note_deferral_of_defined_inline_function even if the function
404         can't be inlined.
405
406 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
407
408         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
409
410 2000-04-28  Richard Henderson  <rth@cygnus.com>
411
412         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
413
414 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
415
416         * timevar.c (init_timevar): DeANSIfy function definition.
417
418 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
419
420         * Makefile.in (timevar.o): Depend on flags.h.
421         * timevar.c (unused_stack_instances): New variable.
422         (timevar_push): Take a timevar_stack_def from
423         unused_stack_instances if available.
424         (timevar_pop): Push the popped timevar_stack_def onto
425         unused_stack_instances.
426         (TIMEVAR_ENABLE): New macro.
427         (timevar_def): Make standalone a 1-bit field.  Add field used.
428         (get_time): Rename parameter to now.  Return after clearing it if
429         not TIMEVAR_ENABLE.
430         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
431         (timevar_pop): Likewise.
432         (timevar_stop): Likewise.
433         (timevar_push): Likewise.  Mark the timing variable as used.
434         (timevar_start): Likewise.
435         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
436         timevars that were never used.
437
438 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
439
440         * c-commom.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
441         always TREE_READONLY.
442
443 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
444
445         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
446         for call instruction with mode QImode.
447
448 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
449
450         * Makefile.in (OBJS): Add timevar.o.
451         (toplev.o): Depend on timevar.h.
452         (ggc-simple.o): Likewise.
453         (ggc-page.o): Likewise.
454         (timevar.o): New rule.
455         (timevar.h): New rule.
456
457         * timevar.h: New file.
458         * timevar.c: Likewise.
459         * timevar.def: Likewise.
460
461         * toplev.h (gc_time, parse_time, varconst_time): Remove.
462         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
463         throughout.
464         (TIMEVAR): Remove macro.
465         (gc_time, parse_time, varconst_time, integration_time, jump_time,
466         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
467         flow_time, combine_time, regmove_time, sched_time,
468         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
469         sched2_time, dbr_sched_time, reorder_blocks_time,
470         rename_registers_time, shorten_branch_time, stack_reg_time,
471         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
472         all_time): Remove.
473         (compile_file): Don't initialize time variables.  Call
474         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
475         of many calls to print_time.
476         (rest_of_compilation): Add timing for reload_cse_regs.
477         (get_run_time): Removed to timevar.c.
478         (print_time): Likewise.
479         (get_run_time): Implement using TV_TOTAL time variable.
480         (print_time): Get total run time from get_run_time.
481         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
482         computing elapsed time explicitly.
483         * ggc-simple.c (ggc_collect): Likewise.
484         (gc_time): Remove declaration.
485
486 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
487
488         * calls.c (combine_pending_stack_adjustment_and_call): New function.
489         (expand_call): Use it.
490
491 2000-04-27  Jan Hubicka  <jh@suse.cz>
492
493         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
494         fields.
495
496 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
497
498         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
499         registers.
500
501 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
502
503         * function.c (epilogue_done): Pass whole insn to record_insns.
504
505 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
506
507         * cse.c (CSE_ADDRESS_COST): Remove.
508         (find_best_addr): Add new parameter "MODE", use address_cost instead
509         of CSE_ADDRESS_COST
510         (address_cost): New.
511         (fold_rtx): Update call of find_best_addr.
512         * rtl.h (address_cost): Declare.
513         * loop.c (general_induction_var): Add new parameter "MODE", use
514         address_cost instead of ADDRESS_COST
515         (init_loop): Use address_cost instead of ADDRESS_COST.
516         (check_insn_for_givs): Update call of general_induction_var.
517         (find_mem_givs): Likewise.
518         (consec_sets_giv): Likewise.
519         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
520         * i386.c (ix86_address_cost): New.
521         * i386-protos.h (ix86_address_cost): Declare.
522
523 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
524
525         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
526         registers.
527
528 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
529
530         * expr.c (store_expr): Use clear_storage instead of direct memset
531         libcall.
532
533 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
534
535         * config/mn10300/mn10300.c (mn10300_address_cost): Test
536         ASHIFT, AND and LABEL_REF.
537
538 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
539
540         * invoke.texi (-foptimize-sibling-calls): Fix.
541
542 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
543
544         * loop.c (load_mems)  Don't use hard registers for the hoisting.
545
546         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
547         calculation; rename const_equiv array in the preconditioning code
548         from loop_unroll to loop_unroll_precondition
549
550 2000-04-27  Richard Henderson  <rth@cygnus.com>
551
552         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
553         add new_set.
554         (propagate_one_insn): Clear it.  Don't update reg_live here.
555         (init_propagate_block_info): Update for pbi member changes.
556         (free_propagate_block_info): Likewise.
557         (mark_set_1): Know that zero_extract, sign_extract, and
558         strict_low_part don't kill their argument.  Alter hard subregs.
559         Update new_set for non-CLOBBER sets.  Update reg_live.
560         (find_auto_inc): Update reg_live, not new_dead.
561         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
562         to determine if the reg in question was set this insn.  Only update
563         reg info with PROP_REG_INFO.
564
565 2000-04-26  Richard Henderson  <rth@cygnus.com>
566
567         * flow.c (allocate_reg_life_data): Set max_regno here ...
568         (life_analysis): ... not here.
569
570         * flow.c (calculate_global_regs_live): Force stack pointer
571         live at end.
572
573 2000-04-26  Richard Henderson  <rth@cygnus.com>
574
575         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
576         commit change group changes.
577         (invert_exp_1): Similarly.
578         (redirect_exp, invert_exp): Use them.
579         (redirect_jump_1): New.
580         (invert_jump_1): New.
581         (jump_optimize_1): Remove code subsumed by condexec.c.
582         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
583
584 2000-04-26  Richard Henderson  <rth@cygnus.com>
585
586         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
587
588         * genconfig.c (main): Set all HAVE_foo to 1.
589
590         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
591
592 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
593
594         * invoke.texi: Document -fssa flag.
595
596 2000-04-26  Richard Henderson  <rth@cygnus.com>
597
598         * flow.c (count_reg_sets_1): Remove.
599         (count_reg_sets, count_reg_references): Remove.
600         (recompute_reg_usage): Implement with update_life_info.
601         Reallocate life data.
602
603 2000-04-26  Richard Henderson  <rth@cygnus.com>
604
605         * flow.c (update_life_info): Consider blocks null to mean the
606         universal set.
607         (calculate_global_regs_live): Likewise.
608         (life_analysis): Do that instead of collecting all_blocks.
609
610 2000-04-26  Richard Henderson  <rth@cygnus.com>
611
612         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
613         a still-valid conditional jump.
614
615 2000-04-26  Richard Henderson  <rth@cygnus.com>
616
617         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
618
619         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
620         * flow.c (calculate_loop_depth): Remove.
621         * output.h (calculate_loop_depth): Don't declare.
622         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
623         inline; run estimate_probability at the same time.
624
625 2000-04-26  Neil Booth  <NeilB@earthling.net>
626
627         * cpplib.h: "~=" is not a single pp-token.
628         * cpplex.c: Correct commentary.
629
630 2000-04-26  Richard Henderson  <rth@cygnus.com>
631
632         * flow.c (mark_set_1): New arguments code and flags; update all
633         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
634         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
635         loop_depth when optimizing for size.  Do new_dead update after
636         emitting REG_UNUSED notes.  Merge mark_set_reg code.
637         (mark_set_reg): Remove.
638         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
639         arrange to not emit REG_UNUSED notes.
640
641 2000-04-26  Richard Henderson  <rth@cygnus.com>
642
643         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
644         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
645
646 2000-04-26  Richard Henderson  <rth@cygnus.com>
647
648         * flow.c (propagate_one_insn): Break out from propagate_block.
649         (init_propagate_block_info): Likewise.
650         (free_propagate_block_info): Likewise.
651         (propagate_block): Use them.  Export.
652         * basic-block.h: Declare them all.
653
654 2000-04-26  Richard Henderson  <rth@cygnus.com>
655
656         * basic-block.h (life_analysis): Declare here ...
657         * output.h: ... not here.
658         * flow.c (life_analysis): Remove nregs parameter; replace
659         remove_dead_code with flags.  Remove ssa dead code check.
660         Only init alias analysis if we'll use it.
661         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
662         * ssa.c (convert_to_ssa): Likewise.
663         (convert_from_ssa): Likewise.
664         * toplev.c (rest_of_compilation): Likewise.
665
666 2000-04-26  Richard Henderson  <rth@cygnus.com>
667
668         * flow.c (flow_delete_block): Rename from delete_block.  Export.
669         * basic-block.h (flow_delete_block): Declare.
670
671 2000-04-26  David S. Miller  <davem@redhat.com>
672
673         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
674         taking a PATTERN of it.
675
676 2000-04-26  <NeilB@earthling.net>
677
678         * cpplex.c (spell_other, spell_char): Remove.
679         (SPELL_CHAR): New.
680         (token_spelling, trigraph_map): Use unsigned chars.
681         (_cpp_lex_line): Tidy up the switch statement.
682         * cpplib.h: Implement spell_char with spell_string.
683         (C): New.
684
685 2000-04-26  <RodneyBrown@pmsc.com>
686
687         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
688         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
689
690 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
691
692         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
693         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
694         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
695         dwarf2out_return_save, dwarf2out_return_reg,
696         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
697         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
698         gen_compile_unit_die, dwarf2out_init): Constify a char*.
699
700         * dwarf2out.h (dwarf2out_init): Likewise.
701
702         * dwarfout.c (filename_entry, primary_filename, last_filename,
703         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
704
705         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
706         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
707         dwarf2out_return_reg): Likewise.
708
709 2000-04-26  Andreas Jaeger  <aj@suse.de>
710
711         * extend.texi (Function Attributes): Fix description of pure
712         attribute.
713
714 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
715
716         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
717         before calling rest_of_compilation.
718
719 2000-04-26  Andreas Jaeger  <aj@suse.de>
720
721         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
722         last patch.
723
724 2000-04-25  Richard Henderson  <rth@cygnus.com>
725
726         * cse.c (cse_insn): Emit barrier after unconditional jump.
727
728         * calls.c (expand_call): Disable tail call generation once
729         rtx_equal_function_value_matters is false.
730
731         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
732         like EDGE_EH edges.
733
734 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
735
736         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
737
738         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
739
740         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
741         is the primary DIE for a member function.
742         (gen_decl_die): Call set_decl_origin_self here.
743         * dwarfout.c (output_decl): And here.
744         * integrate.c (output_inline_function): Not here.
745         Don't clear DECL_INLINE until after calling rest_of_compilation.
746         (set_decl_origin_self): No longer static.
747         * tree.h: Add prototype.
748         * toplev.c (note_deferral_of_defined_inline_function): Only write
749         out abstract instance for actual inlines.
750
751 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
752
753         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
754         EXTENDED_REGS only if TARGET_AM33.
755         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
756         SP_REGS to register allocation and reloading unless absolutely
757         necessary.
758         (movsi3): Remove special-case of adding non-constants to SP.
759
760 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
761
762         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
763         INCLUDES to search and does not provide any of its own.  Also it
764         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
765         parameters.  Also it does not call AC_DEFINE.
766         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
767         AC_DEFINE and provides for automatic entries for autoheader.
768         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
769
770         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
771         so we can pass -I flags and include gansidecl.h/system.h in this
772         test.
773
774         * acconfig.h: Delete all NEED_DECLARATION_* entries.
775
776 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
777
778         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
779         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
780         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
781
782         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
783         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
784         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
785         for these macros.  Clean up spacing and linewraps.
786
787 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
788
789         * calls.c (expand_call): Use get_callee_fndecl.
790
791         * print-tree.c (print_node): Print the chain of an _EXPR.
792
793 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
794                           Jim Wilson  <wilson@cygnus.com>
795                           Andrew Haley  <aph@cygnus.com>
796
797         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
798         and gp save/restore problems.
799         * config/ia64/crtend.asm: Add IA-64 unwind support.
800         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
801         in fr_pad_size calculation.
802         (save_restore_insns): Move PR save area.  Correct uses of
803         RTX_FRAME_RELATED_P.
804         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
805         (ia64_expand_epilogue): Add eh_epilogue support.
806         (ia64_function_prologue): Emit .prologue directive.
807         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
808         (ia64_override_options): Set init_machine_status and
809         mark_machine_status.
810         (rtx_needs_barrier): Handle bsp reads and writes.
811         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
812         New static variables.
813         (process_set, process_for_unwind_directive): New functions.
814         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
815         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
816         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
817         macros.
818         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
819         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
820         (struct machine_function): Define.
821         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
822
823 2000-04-25  Bruce Korb  <bkorb@gnu.org>
824
825         * fixinc/Makefile.in: make the removal of old programs more
826         robust
827         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
828         install-bin and install-sh
829
830 2000-04-25  Nick Clifton  <nickc@cygnus.com>
831
832         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
833         defined, define to return zero.
834         (function_cannot_inline_p): If a function has any target
835         specific attributes, then use the macro
836         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
837         whether it can be inlined.  If it cannot, issue a suitable
838         explanation.
839
840         * tm.texi: Add a new node 'Inlining' to document the new macro
841         FUNCTION_ATTRIBUTE_INLINABLE_P.
842
843 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
844
845         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
846         commentary.
847
848 2000-04-25  Neil Booth  <NeilB@earthling.net>
849
850         Restore previous patch, plus the following fixes:
851
852         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
853         flags, not CPP_OPEN_PAREN.
854         * cpplex.c (expand_token_space, init_token_list,
855         cpp_free_token_list): Put the dummy token at list->tokens[-1].
856         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
857
858 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
859
860         * config/i386/freebsd.h (INT_ASM_OP): Define.
861
862 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
863
864         * loop.c (strength_reduce): Fix typo in the last checkin.
865
866 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
867
868         * stor-layout.c (finalize_record_size): Simplify to use existing
869         functions.
870         (compute_record_mode): No longer static.
871         * tree.h (compute_record_mode): New declaration.
872
873 2000-04-25  Neil Booth  <NeilB@earthling.net>
874
875         * Revert my patch below until cause of build failures
876         determined.
877
878 2000-04-25  Richard Henderson  <rth@cygnus.com>
879
880         * combine.c (combine_instructions): Add missing argument
881         to try_combine.
882
883         * toplev.c (rest_of_compilation): Delay sibcall optimization
884         until after emit_eh_context.
885
886 2000-04-24  Nick Clifton  <nickc@redhat.com>
887
888         * combine.c (combine_instructions): Do not try to combine a
889         sequence of insns when the second insn has been replaced by a
890         note.
891
892 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
893
894         * gcc.c (load_specs): New static function.
895         (read_specs): Use it.
896
897         * gcc.c (lookup_compiler): Make multiple passes for case
898         insensitive filesystems.
899
900 2000-04-24  Neil Booth  <NeilB@earthling.net>
901
902         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
903         * cpphash.h (_cpp_check_directive): new.
904         * cpplex.c (handle_newline, cpp_free_token_list,
905         init_trigraph_map, trigraph_ok, trigraph_replace,
906         backslash_start, skip_block_comment, skip_line_comment,
907         skip_whitespace, parse_name, parse_number, parse_string,
908         copy_comment, _cpp_lex_line, spell_char, spell_string,
909         spell_comment, spell_name, spell_other, _cpp_lex_file,
910         _cpp_output_list): new.
911         (expand_name_space): take length argument.
912         (init_token_list): add comment list initialisation.
913         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
914         instead of HSPACE_BEFORE.
915
916         * cpplib.c (_cpp_check_directive): new
917         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
918         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
919         (HSPACE_BEFORE): delete.
920         (TTYPE_TABLE): rearrange.
921         (struct cpp_toklist): update.
922
923 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
924
925         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
926         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
927         argument form of AC_DEFINE.
928
929         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
930         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
931         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
932         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
933         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
934
935         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
936
937 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
938
939         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
940         deduced.h): Use -isystem, not -I, for including system headers.
941
942 2000-04-24  Nick Clifton  <nickc@cygnus.com>
943
944         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
945         the source register is the frame pointer or arg pointer.
946         (addsi3_small_int): Disallow if source register is the frame
947         pointer or arg pointer.
948
949 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
950
951         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
952         call to AC_MSG_RESULT.
953
954 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
955
956         * invoke.texi: Correct grammatical errors, document
957         -fno-gnu-keywords as identical to -fno-asm for C++.
958
959 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
960
961         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
962         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
963         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
964         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
965         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
966
967         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
968         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
969         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
970         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
971         new macros names.
972
973 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
974
975         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
976         (pop_alignment): Likewise.
977         (handle_pragma_token): Likewise.
978
979 2000-04-24  Robert Lipe <robertlipe@usa.net>
980
981         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
982
983 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
984
985         * combine.c (try_combine): Update reg_nonzero_bits of
986         newi2pat before newpat.
987
988 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
989
990         * loop.c (strength_reduce): Simplify test to INSN_P.
991         (record_giv): Attempt to simplify the add value, use CONSTANT_P
992         expressions instead of CONST_INT.
993         (express_from_1): Likewise.
994
995 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
996
997         * regs.h (reg_n_max): Don't declare.
998         * flow.c (reg_n_max): Don't define.
999         * regclass.c (renumber): Don't initialize to zero.
1000         (regno_allocated): Likewise.
1001         (reg_n_max): Define.
1002         (allocate_reg_info): Don't initialize unnecessarily.
1003
1004 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
1005
1006         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
1007         and blockage_p in the newly allocated attribute.
1008
1009 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
1010
1011         * config/mn10300/mn10300.md (addsi): `inc4' on address
1012         registers does not modify cc, but `inc' on an extended
1013         register does.
1014
1015 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
1016
1017         * reload.c (find_equiv_reg): Checks all valueno regs
1018         as a reload_reg_p regs.
1019
1020 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
1021
1022         * cpphash.c (collect_objlike_expansion): Add sanity check.
1023         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
1024         the buffer is the empty string, return.  Mark __DATE__ and
1025         __TIME__ as XCONST nodes, not MCONST.
1026         (_cpp_macroexpand): Avoid pushing an empty buffer.
1027         (funlike_macroexpand): Don't pop token_buffer here.
1028
1029 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
1030
1031         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
1032         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
1033         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
1034         (REGNO_OK_FOR_BASE_P): Define in terms of them.
1035         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
1036         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
1037         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
1038
1039 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1040
1041         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
1042         constant MULT givs.
1043
1044 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
1045
1046         * cpphash.h (struct definition): Move file, line, col members...
1047         (struct hashnode): ... here.  Also add 'disabled' flag.
1048         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
1049         T_IDENTITY.  Remove T_DISABLED.
1050         Update prototypes.
1051
1052         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
1053         (collect_expansion): Split into collect_objlike_expansion and
1054         collect_funlike_expansion.
1055         (_cpp_macroexpand): Split out scan_arguments, stringify, and
1056         funlike_macroexpand.
1057         (_cpp_compare_defs): Rename compare_defs, make static.
1058         (_cpp_make_hashnode): Initialize hp->disabled.
1059         (macro_cleanup): Adjust for new token types.  Clear
1060         m->disabled.
1061         (_cpp_create_definition): Move code here to determine what
1062         sort of macro it is, and code to check for redefinitions, from
1063         do_define.  Implement a few simple cases without creating a
1064         full DEFINITION.
1065         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
1066         Handle the simple cases.
1067         (push_macro_expansion): Set buf->has_escapes and hp->disabled
1068         here.
1069
1070         * cppinit.c (builtin_array): Change MCONST to XCONST
1071         everywhere.
1072         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
1073         fix check for disabled and function-like macros.
1074         * cpplib.c (do_define): Move most logic to
1075         _cpp_create_definition.
1076         (do_undef): Handle new special token types.
1077
1078 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1079
1080         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
1081         of CONSTANT_P for mult_val; always use validate_change to update insn.
1082
1083 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
1084
1085         * cpphash.c (trad_stringify, add_pat): New functions.
1086         (collect_expansion): Restore support for -traditional syntax.
1087         Use trad_stringify and add_pat.
1088         (_cpp_macroexpand): Restore support for -traditional semantics.
1089         * cpplex.c (_cpp_scan_line): Don't change space_before if we
1090         get a COMMENT token.
1091         (_cpp_lex_token): Provide COMMENT tokens to caller if
1092         traditional and parsing_define_directive.
1093         (skip_comment): Warn about // comments if -Wtraditional.
1094         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
1095         proper node type.
1096         (do_undef): Don't warn about undefining EMPTY nodes.
1097
1098 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1099
1100         * loop.c (strength_reduce): Fix biv removal code.
1101
1102 2000-04-22  Richard Henderson  <rth@cygnus.com>
1103
1104         * predict.c (estimate_probability): Examine both sides of
1105         a branch for no exits.  Use 90% not 50% for predict taken.
1106         Reorg for one copy of note generation code.
1107
1108 2000-04-22  Richard Henderson  <rth@cygnus.com>
1109
1110         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
1111
1112 2000-04-22  Richard Henderson  <rth@cygnus.com>
1113
1114         * diagnostic.c (init_output_buffer): Don't initialize format_args.
1115         (output_clear): Likewise.
1116         (output_printf): Use va_copy.
1117         (vline_wrapper_message_with_location): Likewise.
1118         (v_message_with_decl): Likewise.
1119         (line_wrapper_printf): VA_START infor buffer.format_args directly.
1120         * system.h (va_copy): Provide default implementation.
1121
1122 2000-04-22  Richard Henderson  <rth@cygnus.com>
1123
1124         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
1125         the collected condition is not a constant.
1126
1127 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
1128
1129         * diagnostic.h: New file.
1130
1131         * Makefile.in (diagnostic.o): Depends on diagnostic.h
1132
1133         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
1134         various function prototypes.
1135         (diagnostic.h): #include.
1136         (struct output_buffer): Move into diagnostic.h.
1137         (get_output_prefix): Rename to output_get_prefix.  Export.
1138         (init_output_buffer): Export. Break out.  Ajust intialization.
1139         (output_space_left, output_append): Export.
1140         (output_newline): Rename to output_add_newline.  Export.
1141         (output_clear): Nullify additional output_buffer fields.
1142         (output_puts): Rename to output_add_string.  Export.
1143         (dump_output): Rename to output_flush_on.  Export.
1144         (build_location_prefix): Constify return-type.
1145         (emit_output_prefix): Rename to output_emit_prefix. Export.
1146         (set_real_maximum_length): New function.
1147         (output_set_maximum_length): Ditto
1148         (output_clear): Ditto.
1149         (output_add_character): Ditto.
1150         (output_add_integer): Ditto.
1151         (output_add_space): Ditto.
1152         (output_format): Ditto.
1153         (output_printf): Adjust buffer initialization.
1154         (vline_wrapper_message_with_location): Ditto.
1155         (v_message_with_decl): Ditto.  Adjust call to output_puts
1156         and get_output_prefix.
1157         (default_print_error_function): Adjust buffer intialization.
1158
1159 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1160
1161         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
1162         of VOID_TYPE.
1163
1164 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
1165
1166         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
1167         of explicit 0.
1168
1169 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
1170
1171         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
1172         accurate data about SP moves.
1173
1174 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
1175
1176         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
1177         aliases to AM33 registers.
1178
1179 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
1180
1181         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
1182         to all EXTENDED bitmaps.
1183
1184 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
1185
1186         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
1187         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
1188         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
1189
1190 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
1191
1192         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
1193         the operand is not constant.
1194
1195 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
1196
1197         * reload.c (find_equiv_reg): Checks all valueno and regno regs
1198         as a call-clobbered regs.
1199
1200 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1201
1202         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
1203         * rtl.h: Likewise.
1204         * rtl.def: Update comment.
1205         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
1206         * integrate.c (expand_inline_function): Likewise.
1207         * profile.c (branch_prob): Likewise.
1208         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
1209         * print-rtl.c (print_rtx): Likewise.
1210         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
1211         (reemit_notes): Likewise; also use enum insn_note.
1212
1213         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
1214         (place_field): Properly compute know and actual alignment.
1215
1216         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
1217         in proper format.
1218
1219         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
1220         note for REG1.
1221
1222 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
1223
1224         * cpphash.c (struct arg, struct arglist): Const-ify strings.
1225         (warn_trad_stringify, duplicate_arg_p): New helper functions.
1226         (collect_expansion): Rewrite to scan over a token list.
1227         Remove -traditional support.
1228         (collect_formal_parameters): Rename to collect_params; rewrite
1229         to scan over a token list.
1230         (_cpp_create_definition): Adjust to scan a token list.
1231         (_cpp_macroexpand): Remove -traditional support.
1232         (_cpp_compare_defs): Whitespace is now canonicalized.
1233         (comp_def_part): Delete function.
1234
1235         * cpphash.h: Update prototypes.
1236         * cpplex.c (init_token_list): Don't set lineno if there is no
1237         buffer.
1238         (pedantic_whitespace): New function.
1239         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
1240         consume a newline.  Use pedantic_whitespace.
1241         (_cpp_lex_token): Remove support for -traditional macros.
1242         (_cpp_get_define_token): Delete.
1243         (_cpp_get_directive_token): Do the real work here.  Use
1244         pedantic_whitespace.
1245         (_cpp_init_input_buffer): Initialize pfile->directbuf.
1246
1247         * cpplib.c (get_macro_name): Delete.
1248         (do_define): Read the entire line into pfile->directbuf, then
1249         feed the token list to _cpp_create_definition.
1250         * cpplib.h (HSPACE_BEFORE): new define.
1251         (struct cpp_reader): Add a toklist member, "directbuf".
1252
1253         * predict.c (estimate_probability): New heuristic: if a jump
1254         branches around a block with no successors, predict it taken.
1255         Disentangle control flow.
1256
1257 2000-04-20  Richard Henderson  <rth@cygnus.com>
1258
1259         * loop.c (emit_iv_add_mult): Revert last change.
1260
1261 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
1262
1263         * cpplib.h (enum cpp_ttype): Add token types for all
1264         punctuators.  Distinguish pp-numbers from valid C numbers.
1265         Give some tokens better names.  Initialize from macro.
1266         (struct cpp_name, cpp_token, cpp_toklist): New data
1267         structures.
1268         Update prototypes.
1269         * cpplex.c (bump_column, expand_name_space,
1270         expand_token_space, init_token_list, cpp_output_list,
1271         _cpp_scan_line):  New functions.
1272         (output_line_command): Add third argument, new line number.
1273         * cpphash.h: Update prototypes.
1274         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
1275         token names.
1276
1277 2000-04-20  Richard Henderson  <rth@cygnus.com>
1278
1279         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
1280
1281 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
1282
1283         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
1284         object pointed to.
1285
1286 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1287
1288         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
1289         REG_EQUAL note explaining the calculated value.
1290
1291         * calls.c (expand_call): Avoid unnecesary precalculation
1292         and outgoing parameters space guarding for sibling calls.
1293         (store_one_arg): Likewise.
1294
1295 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1296
1297         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
1298         (rest_of_compilation): Write sibling dump file and account
1299         for time as jump time.
1300         * invoke.texi: Update documentation on dump flags.
1301
1302 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
1303
1304         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
1305
1306 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
1307
1308         * cpphash.c (special_symbol): Represent an empty macro with
1309         "\r \r " not just "\r ".
1310         (_cpp_macroexpand): Correct condition for the foo ( ) special
1311         case.
1312         (unsafe_chars): Handle EOF as second argument.
1313         (push_macro_expansion): Simplify test for removing escape at
1314         end.  Do not trim both escapes if there is no text in between.
1315
1316 2000-04-19  Jim Blandy  <jimb@redhat.com>
1317
1318         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
1319         of PTR_SIZE, when appropriate.
1320
1321 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
1322
1323         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
1324         (USE_ENUM_BITFIELDS): Fix typo.
1325
1326 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1327
1328         * stor-layout.c (place_field): Set rli->offset_align properly.
1329
1330 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1331
1332         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
1333         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
1334         PARM_BOUNDARY): Remove unnecessary casts.
1335
1336 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1337
1338         * calls.c (precompute_arguments): Remove must_preallocate and
1339         args_size calls.
1340         (expand_call): Update call of precompute_arguments.
1341
1342         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
1343         check_insn_for_givs): Break out from ...
1344         (strength_reduce) ... here; use for_every_insn_in_loop to call
1345         check_insn_for_givs.
1346         * loop.h (for_every_insn_in_loop): Declare.
1347         (loop_insn_callback): New type.
1348
1349 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
1350
1351         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
1352         not nul-terminated.
1353
1354 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
1355
1356         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
1357         flag_pic and RELOC.
1358
1359 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
1360
1361         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
1362
1363         * configure.in: Delete --disable-cpplib option and all
1364         references to cpp_main.
1365         * configure: Regenerate.
1366         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
1367         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
1368         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
1369         cpp$(exeext).  Add --no-headers to makeinfo command line when
1370         generating INSTALL.  Install and uninstall cpp.1 manpage, not
1371         cccp.1.
1372         * install.texi: Delete all references to cexp.y/cexp.c.
1373         Delete ancient instructions for compiling GCC on 3b1.
1374         * INSTALL: Regenerate.
1375
1376         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
1377         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
1378         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
1379         cexp.c/cexp.y.
1380         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
1381         which is no longer tested anywhere.
1382
1383         * cppinit.c (handle_option): Don't run error message through
1384         gettext twice.
1385
1386 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1387
1388         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
1389         * cpperror.c (hashtab.h): Now include.
1390         * cppexp.c (hashtab.h): Likewise.
1391         * cpplex.c (hashtab.h): Likewise.
1392         * cppfiles.c (hashtab.h): Likewise.
1393         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
1394         to htab_find_slot_with_hash.
1395         * cpphash.c (hashtab.h): Now include.
1396         (_cpp_lookup_slot): INSERT is now enum insert_option.
1397         * cpphash.h (_cpp_lookup_slot): Likewise.
1398         * cppinit.c (hashtab.h): Include earlier.
1399         (initialize_builtins): Pass enum to htab_find_slot.
1400         * cpplib.c (hashtab.h): Now include.
1401         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
1402         (do_pragma_poison, do_assert): Likewise.
1403         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
1404         htab_find_slot_with_hash.
1405         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
1406         * tree.c (type_hash_add): Likewise.
1407         (build1): Minor cleanup.
1408
1409         * ggc-common.c: Add missing blanks.
1410         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
1411         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
1412
1413         * stmt.c (mark_case_node): New function.
1414         (mark_case_nesting): Call it.
1415
1416         * expmed.c (emit_store_flag): If comparing two-word integer
1417         with zero, can optimize NE, EQ, GE, and LT.
1418
1419         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
1420         * conflict.c: Minor cleanups.
1421         * optabs.c: Add blank line
1422         * simplify-rtx.c: Minor cleanups.
1423
1424 2000-04-18  Stan Cox  <scox@cygnus.com>
1425
1426         * gengenrtl.c (genlegend): Fix misspelling.
1427
1428 2000-04-18  Robert Lipe  <robertlipe@usa.net>
1429
1430         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
1431         bitfields of the host compiler are not signed quantities.
1432         * config.in: Regenerate.
1433         * configure: Regenerate.
1434         * system.h (USE_ENUM_BITFIELDS): Added.
1435         (ENUM_BITFIELDS): Added.
1436         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
1437         (SHORT_ENUM_BUG): Deleted.
1438         * tree.h (tree_common): Members `code', `mode', `built_in_class',
1439         now ENUM_BITFIELD.
1440         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
1441         (CODE_FIELD_BUG): Likewise.
1442         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
1443         (OLD_CC): Likewise.
1444         * config/m68k/x-ccur (X_CFLAGS): Likewise.
1445
1446 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
1447
1448         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
1449         mark is active.
1450
1451 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
1452
1453         * cppexp.c (lex): Don't assume tokens are NUL terminated.
1454         * cpplib.c (do_include, do_import, do_include_next,
1455         read_line_number, detect_if_not_defined): Likewise.
1456         * cpphash.c (collect_expansion): Likewise.
1457         (special_symbol, _cpp_macroexpand): Check return from
1458         cpp_file_buffer.
1459         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
1460         macros.  Delete all uses.
1461
1462         * gcc.dg/cpp-mi.c: Add two more test cases.
1463         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
1464
1465 2000-04-17  Richard Henderson  <rth@cygnus.com>
1466
1467         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
1468         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
1469
1470 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
1471
1472         * function.c (expand_function_start): Use hard_function_value to
1473         compute the RTL to use for DECL_RESULT.
1474
1475 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1476
1477         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
1478         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
1479          x86_memory_mismatch_stall): New global variables.
1480         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
1481         alloved; fix load penalties for Athlon.
1482         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
1483         x86_memory_mismatch_stall): Declare.
1484         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
1485          TARGET_MEMORY_MISMATCH_STALL): New.
1486         * i386.md (athlon scheduling parameters): Fix latencies according to
1487         Athlon Optimization Manual.
1488         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
1489         vector.
1490         (fsqrt instruction patterns): Set athlon_decode to direct.
1491         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
1492         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
1493         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
1494         and TARGET_PARTIAL_REGISTER_STALL machines.
1495         (pushdf_nointeger): New pattern.
1496         (pushdf_integer): Rename from pushdf.
1497         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
1498         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
1499
1500 2000-04-17  Richard Henderson  <rth@cygnus.com>
1501
1502         * loop.c (canonicalize_condition): Add WANT_REG argument.
1503         Stop the search if we match it.
1504         * expr.h (canonicalize_condition): Update decl.
1505         * predict.c (expected_value_to_br_prob): Use it.  Track last
1506         expected value note.
1507         (find_expected_value): Remove.
1508
1509         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
1510
1511 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
1512
1513         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
1514         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
1515         a plain file.
1516         * configure.in: Call AC_FUNC_MMAP_FILE.
1517         * configure: Regenerate.
1518         * config.in: Regenerate.
1519
1520         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
1521         * fixinc/fixincl.c: Likewise.
1522
1523 2000-04-17  Richard Henderson  <rth@cygnus.com>
1524
1525         * builtins.c (expand_builtin_expect): New.
1526         (expand_builtin): Call it.
1527         * builtins.def (BUILT_IN_EXPECT): New.
1528         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
1529         * extend.texi: Document it.
1530
1531         * predict.c (expected_value_to_br_prob): New.
1532         (find_expected_value): New.
1533         * basic-block.h (expected_value_to_br_prob): Declare.
1534         * toplev.c (rest_of_compilation): Invoke it.
1535
1536         * rtl.h (NOTE_EXPECTED_VALUE): New.
1537         (NOTE_INSN_EXPECTED_VALUE): New.
1538         * rtl.c (note_insn_name): Update.
1539         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
1540         cases; handle NOTE_INSN_EXPECTED_VALUE.
1541
1542 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
1543
1544         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
1545         leaf sibcall delay slot if flag_pic.
1546         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
1547
1548 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1549
1550         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
1551
1552         * fixproto: If fix-header fails, exit with an error.
1553
1554 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1555
1556         * cse.c (struct check_depdendence_data): New.
1557         (check_dependence): New function.
1558         (invalidate): Use check_depdenence.
1559
1560 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
1561
1562         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
1563         UNITS_PER_WORD is unsigned.
1564
1565         * tree.h (struct tree_common): Remove misleading comment.
1566
1567 2000-04-16  Dave Pitts  <dpitts@cozx.com>
1568
1569         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
1570         message in quotes. Otherwise, IBM's make program treats the '#' as the
1571         start of a comment and ignores the remainder of the line.
1572
1573         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
1574         upper case.
1575         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
1576         * cexp.y (initialize_random_junk): Likewise.
1577         * cppfiles.c (find_include_file): Cast alloca return value.
1578         * cppinit.c (initialize_standard_includes): Likewise.
1579         * cpplib.c (cpp_define, cpp_undef): Likewise.
1580         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
1581         * final.c (output_asm_insn): Allow for holes in EBCDIC.
1582         * fold-const.c (CHARMASK): New.
1583         (real_hex_to_f): Use it.
1584         * real.c (CHARMASK): New.
1585         (etoasc, asctoeg): Use it.
1586         (asctoeg): EBCDIC lower case characters preceed upper case.
1587
1588         * i370.c (mvs_add_label): Change spacing for coding conventions.
1589         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
1590         outputing case vectors.
1591         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
1592         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
1593         since vector in in the data CSECT.
1594         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
1595         * i370.md (Many patterns): Put the length in the XL directives.
1596         (movdi): Put back STM and MVC in definition.
1597         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
1598         pattern using the TCA.
1599         * oe.h (CPP_SPEC): Added to allow trigraphs.
1600         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
1601         not support the "long long" type.
1602
1603 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
1604
1605         * config/mips/mips-protos.h (mips_legitimate_address_p): New
1606         function.
1607         (mips_reg_mode_ok_for_base_p): Likewise.
1608         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
1609         (REG_OK_FOR_INDEX_P): Define unconditionally.
1610         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
1611         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
1612         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
1613         that GET_MODE_SIZE is unsigned.
1614         (mips_reg_mode_ok_for_base_p): Define.
1615         (mips_legitimate_address_p): Likewise.  Adjust now
1616         that GET_MODE_SIZE is unsigned.
1617         (block_move_loop): Make the number of bytes unsigned.
1618         (expand_block_move): Likewise.
1619         (function_arg): Make the loop counter unsigned to match the
1620         boundary condition.
1621
1622 2000-04-16  Richard Henderson  <rth@cygnus.com>
1623
1624         * rtl.h (enum insn_note): New enumeration.  Subsume
1625         NOTE_INSN_DELETED and friends.
1626         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
1627         * rtl.c (note_insn_name): Tweak string order.
1628
1629 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
1630
1631         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
1632         to offset * 2.
1633
1634         * cpplex.c (output_line_command): Remove debugging prints.
1635         (cpp_output_tokens): Don't write out a zero-length buffer or
1636         try to see if it has a newline in it.
1637         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
1638         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
1639         the end of the loop.  Use memmove.  Don't read past the end of
1640         the buffer.  Remove trailing newlines from error messages.
1641
1642 2004-04-16  Neil Booth  <NeilB@earthling.net>
1643
1644         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
1645         * cpplib.c: Add new syntax flags to directive table, and
1646         supporting macros.
1647
1648 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
1649
1650         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
1651         using ret $N.
1652
1653 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
1654
1655         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
1656         * haifa-sched.c: Update -fsched-verbose comments to use "=".
1657
1658 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1659
1660         * Makefile.in (ggc-page.o): Now includes toplev.h.
1661         * ggc-page.c (toplev.h): Now included.
1662         (gc_time): Remove declaration.
1663         (ggc_collect): TIME now long.
1664         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
1665         others static.
1666         * toplev.h (gc_time, parse_time, gc_time): New declarations.
1667
1668         * toplev.c: Make *_time variable long to reduce chance of overflow.
1669         (TIMEVAR): Likewise for `otime'.
1670         (print_time): Arg is now long; compute percentage in FP and round.
1671         * toplev.h (print_time): Arg is long.
1672
1673         * tree.c: Minor whitespace changes.
1674
1675         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
1676         * configure: Rebuilt.
1677         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
1678         (__fixunsxfDI): Renamed from __fixunsxfdi.
1679         (__fixunsdfDI): Renamed from __fixunsdfdi.
1680         (__fixunssfDI): Renamed from __fixunssfdi.
1681         (__floatdisf): Use proper type in REP_BIT macro.
1682         (__fixunsxfSI): Renamed from __fixunsxfsi.
1683         (__fixunsdfSI): Renamed from __fixunsdfsi.
1684         (__fixunssfSI): Renamed from __fixunssfsi.
1685         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
1686         Change location of macros and upper-case some names as above.
1687         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
1688         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
1689
1690         * varasm.c (assemble_variable): Add cast to remove warning.
1691         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
1692
1693         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
1694         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
1695         region number to -1.
1696
1697 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
1698
1699         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
1700         call unshare_all_rtl.
1701
1702         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
1703
1704 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
1705
1706         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
1707         Use .s1 not .s0 for all FP instructions.
1708
1709 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
1710
1711         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
1712         interfaces.
1713         (safe_fwrite, output_line_command): New static functions.
1714         (cpp_expand_to_buffer): Now private to cpplib.
1715         (cpp_scan_buffer): Take a printer.
1716
1717         * cpphash.h: Update prototypes.
1718         * cpplib.h: Update prototypes.
1719         (cpp_printer): New.
1720         (cpp_buffer): Remove last_nominal_fname.
1721         (cpp_reader): Remove lineno.
1722
1723         * cppmain.c: Use a cpp_printer.
1724         * fix-header.c: No need to inhibit line commands.  Call
1725         cpp_start_read with no printer.
1726
1727         * cpperror.c (cpp_notice_from_errno): Provide default name.
1728         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
1729         (find_include_file, cpp_read_file): Use make_IHASH.
1730         (file_cleanup): Set control_macro and clear
1731         input_stack_listing_current here.
1732         (_cpp_execute_include): Don't output entering-file marker.
1733         * cpphash.c (special_symbol): Look for the line number in the
1734         buffer, not the reader.
1735         (_cpp_macroexpand): No need to disable line commands.
1736         (_cpp_dump_definition): No need to generate line commands.
1737         (dump_hash_helper): Remove excess newline from output.
1738         * cppinit.c (dump_special_to_buffer): No need to generate line
1739         commands.
1740         (cpp_printer_init): New.
1741         (cpp_start_read): Take a printer, and start it up if it's not
1742         NULL.  No need to generate line commands.
1743         (cpp_finish): Expect no buffers stacked at all.  Take a
1744         printer argument, and flush the output buffer if it's not
1745         NULL.
1746         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
1747         Don't put two hashes at the beginning of an assertion.
1748         (cpp_get_token): Don't increment pfile->lineno or emit line
1749         commands here.  Return EOF if there's no buffer when we get
1750         EOF.
1751         * cpplib.c (do_define, skip_if_group):
1752         No need to disable line commands.
1753         (_cpp_output_line_command): Delete function.
1754         (do_line): Don't emit line commands here, but set things up so
1755         they will be emitted if necessary.  Use _cpp_fake_ihash to
1756         make unique nominal_fnames if necessary.
1757         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
1758         with 0 for column, not -1.
1759         (_cpp_handle_eof): Don't set the control macro here.  Don't
1760         clear input_stack_listing_current here.  Don't emit line
1761         commands.
1762
1763 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
1764
1765         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
1766         always, use the default SVR4 start address.
1767
1768         * config/rs6000/linux.h (LINK_SPEC): Don't define.
1769         (LINK_SHLIB_SPEC): Define.
1770         (LINK_START_DEFAULT_SPEC): Define.
1771         (LINK_OS_DEFAULT_SPEC): Define.
1772
1773         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
1774
1775         * config/rs6000/eabi.asm (__eabi): Call __init rather than
1776         __do_global_ctors to handle constructors.
1777         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
1778         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
1779         (STARTFILE_MVME_SPEC): Likewise.
1780         (STARTFILE_SIM_SPEC): Likewise.
1781         (ENDFILE_ADS_SPEC): Use crtend.
1782         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
1783         (ENDFILE_MVME_SPEC): Likewise.
1784         (ENDFILE_SIM_SPEC): Likewise.
1785         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
1786         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
1787         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
1788         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
1789         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
1790         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
1791         (CRTSTUFF_T_CFLAGS_S): Define.
1792         * config/rs6000/eabi-ctors.c: Delete.
1793
1794         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
1795         boundary.
1796         (__fini): Likewise.
1797         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
1798         boundary.
1799         (__fini): Likewise.
1800
1801 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
1802
1803         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
1804         plus mask size is smaller or equal to the mode size.
1805
1806 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1807
1808         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
1809         not yet set.
1810
1811         * expr.c (reload.h): Now included.
1812         (emit_block_move): Set volatile_ok when checking for movstr.
1813         (emit_move_1): Check for replacements in addresses in multi-word case.
1814         * Makefile.in (expr.o): Now includes reload.h.
1815
1816         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
1817         Never have a LIBCALL end a basic block.
1818         (find_basic_blocks_1): Likewise.
1819         Reorganize CALL_INSN cases.
1820
1821         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
1822
1823 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
1824
1825         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
1826         completers from mov.ret instruction.
1827
1828 2000-04-14  Richard Henderson  <rth@cygnus.com>
1829
1830         * fold-const.c (extract_muldiv): Don't distribute and widen
1831         multiply across plus for non-sizetype unsigned types.
1832
1833 2000-04-14  Richard Henderson  <rth@cygnus.com>
1834
1835         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
1836         If the original source is dead in the incr insn, it's dead now.
1837
1838 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1839
1840         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
1841         see if DECL_BIT_FIELD needs to still be set.
1842
1843         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
1844
1845         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
1846         print_int_cst_octal with something that's not an INTEGER_CST.
1847
1848         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
1849         and not a SUBREG to a FLOAT rtl.
1850
1851 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
1852
1853         * emit-rtl.c (try_split): Avoid infinite loop if the split
1854         results in a sequence that contains the original insn.
1855
1856 2000-04-13  Andreas Jaeger  <aj@suse.de>
1857
1858         * config/mips/mips.c (expand_block_move): Pass alignment
1859         argument to move_by_pieces in bits, not bytes.
1860
1861         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
1862         __pic__ for little endian.
1863
1864 2000-04-13  Andreas Jaeger  <aj@suse.de>
1865
1866         * config/i386/i386-protos.h: Add prototype for
1867         uno_comparison_operator.
1868
1869 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1870
1871         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
1872         * calls.c (ECF_PURE): New flag.
1873         (emit_call_1): Handle ECF_PURE calls.
1874         (initialize_argument_information): Unset ECF_PURE flag too.
1875         (precompute_arguments): Precompute for ECF_PURE too.
1876         (expand_call): Handle ECF_PURE calls too.
1877         (emit_library_call_value_1): Rename no_queue argument to fn_type,
1878         accept value of 2 as pure function.
1879         (emit_library_call_value, emit_library_call): Rename no_queue argument
1880         to fn_type.
1881         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
1882
1883         * tree.h (DECL_IS_PURE): New macro.
1884         (struct tree_decl): Add pure_flag.
1885         * c-common.c (enum attrs): Add attribute "pure".
1886         (init_attributes): Initialize attribute "pure"
1887         (decl_attributes): Handle attribute "pure".
1888         * extend.texi (Attribute "pure"): Document.
1889         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
1890         in pure function.
1891         (flags_from_decl_or_type): Support attribute "pure".
1892
1893 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
1894
1895         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
1896         the token except for numbers and identifiers.
1897
1898 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
1899
1900         * i386.c (ix86_expand_binary_operator,
1901         ix86_expand_unary_operator): Check no_new_pseudos
1902         instead of reload_in_progress and reload_completed.
1903         (ix86_split_ashldi, ix86_split_ashrdi,
1904         ix86_split_lshrdi): Check no_new_pseudos instead
1905         of reload_completed.
1906
1907 2000-04-12  Jeffrey A Law  (law@cygnus.com)
1908
1909         * function.c (purge_addressof): Unshare any shared rtl created by
1910         purge_addressof and its children.
1911
1912 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
1913
1914         * function.c (aggregate_value_p): VOID_TYPE nodes are never
1915         aggregates.
1916
1917 2000-04-05  Andreas Jaeger  <aj@suse.de>
1918
1919         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
1920         not compiling PIC code, add flags for mabi=64.
1921         (SUBTARGET_CPP_SIZE_SPEC): New.
1922         (SUBTARGET_CPP_SPEC): New.
1923         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
1924         for MIPS/Linux and lots of code needs these defines.
1925
1926 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
1927
1928         * reorg.c (fill_slots_from_thread): Check side_effects_p when
1929         trying the "opposite arithmetic" approach.
1930
1931 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1932
1933         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
1934         (struct sh_args): Add new field force_mem.
1935         (INIT_CUMULATIVE_ARGS): Initialize it.
1936         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
1937
1938 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1939
1940         * calls.c (expand_call): Do not reverse args in "equal from" field.
1941         (emit_library_call_value_1): Emit_libcall_block for const and pure
1942         function.
1943
1944 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1945
1946         * reload1.c (reload_combine): Don't enable optimization for fixed
1947         registers when encountering a BARRIER.
1948
1949 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1950
1951         * builtins.c (expand_builtin_memcmp): Do expansion even with
1952         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
1953
1954         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
1955         stack is propertly aligned; add sanity checking for aligned
1956         stack pointer.
1957         (expand_library_call_value_1): Add sanity checking for aligned
1958         stack pointer.
1959
1960 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
1961
1962         * calls.c (emit_library_call_value_1): Change 3rd arg to
1963         locate_and_pad_parm to disregard the setting of partial.
1964
1965 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1966
1967         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
1968
1969         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
1970         CALL_INSN from the normal case.
1971
1972 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1973
1974         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
1975         New global variables.
1976         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
1977         adjustment.
1978         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
1979         Declare,
1980         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
1981          TARGET_ADD_ESP_8): New macros.
1982         * i386.md: Add peep2s to convert esp adjustments to push and pop
1983         instructions.
1984         (pushsi_prologue, popsi_epilogue): New patterns.
1985
1986 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
1987
1988         * real.c (toe64): Remove stale #endif from the last change.
1989
1990 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
1991
1992         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
1993         * real.c (toe64): Revert previous change.
1994
1995 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
1996
1997         * objc/objc-act.c: Include ggc.h.
1998         (objc_tree_index, objc_global_trees): Convert most of the
1999         static tree variables into a static array with previous names
2000         as defines.
2001         (objc_ellipsis_node): New variable.
2002         (lang_init): Call objc_act_parse_init and c_parse_init.
2003         Create objc_ellipsis_node.
2004         (build_selector_translation_table): Use objc_ellipsis_node instead
2005         of (tree)1.
2006         (hack_method_prototype): Likewise.
2007         (get_arg_type_list): Likewise.
2008         (start_method_def): Likewise.
2009         (continue_method_def): Likewise.
2010         (gen_method_decl): Likewise.
2011         (ggc_mark_imp_list): New function.
2012         (ggc_mark_hash_table): New function.
2013         (objc_act_parse_init): New function.
2014         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
2015         * c-parse.in (c_parse_init): For objc add roots of objc specific
2016         local tree variables.
2017         * objc/objc-parse.y: Rebuilt.
2018         * objc/objc-parse.c: Rebuilt.
2019         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
2020
2021 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
2022
2023         * cse.c (delete_trivially_dead_insns): Also delete insns
2024         that copy a register to itself where the destination is
2025         a strict_low_part.
2026
2027 2000-04-11  Richard Henderson  <rth@cygnus.com>
2028
2029         * flow.c (struct propagate_block_info): Add new_dead, new_live.
2030         (propagate_block): Initialize them.  Use them in parallel instead
2031         of one tmp variable, ie revert much of the 0408 and 0407 functional
2032         changes, but keep the structural changes.
2033         (mark_set_regs): Take new_dead from propagate_block_info instead.
2034         (mark_set_1, mark_set_reg): Likewise.
2035         (mark_used_regs): Likewise with new_live.
2036         (mark_used_reg): Likewise.  Revert 0408 change.
2037
2038 2000-04-11  Nick Clifton  <nickc@cygnus.com>
2039
2040         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
2041         restriction.
2042         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
2043
2044 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2045
2046         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
2047         const section to output a CONSTRUCTOR based on the same conditions
2048         used for VAR_DECLs.
2049
2050 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
2051
2052         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
2053         * pa/pa-protos.h (output_call): Add additional argument indicating
2054         if the call is a sibling/tail call.
2055         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
2056         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
2057         (function_arg, function_arg_partial_nregs): Likewise
2058         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
2059         (emit_move_sequence): Zero extend certain constants as needed
2060         for TARGET_64BIT.
2061         (compute_zdepdi_operands, output_64bit_and): New functions.
2062         (output_64bit_ior, function_arg): Likewise.
2063         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
2064         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
2065         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
2066         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
2067         (output_bvb): Likewise.
2068         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
2069         (output_call): New argument 'sibcall'.  Generate sibcall sequences
2070         as needed.
2071         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
2072         (ouput_arg_descriptor): Do not emit argument descriptors for
2073         TARGET_64BIT.
2074         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
2075         defined.
2076         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
2077         (FUNCTION_OK_FOR_SIBALL): Define.
2078         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
2079         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
2080         (CPP_SPEC): Use new spec infrastructure.
2081         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
2082         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
2083         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
2084         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
2085         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
2086         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
2087         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
2088         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
2089         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
2090         (FUNCTION_ARG); Call out to C code.
2091         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
2092         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
2093         (MIN_UNITS_PER_WORD): Likewise.
2094         * pa/pa.md (cmpdi): New expander.
2095         (scc patterns, movstrsi): Not available for TARGET_64BIT.
2096         (64bit conditional arithmetic): New patterns.
2097         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
2098         (movsicc): Not available if modes on all the operands to not match.
2099         (movdicc): New expander and associated patterns.
2100         (64bit branches): New patterns.
2101         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
2102         (pre_ldd, post_std): New patterns.
2103         (64bit addil, load low part): New patterns.
2104         (special movsf constant): Not available for TARGET_64BIT.
2105         (movsf, movdf expanders): Force constants into memory.
2106         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
2107         (64bit movdf/movdi patterns): New patterns.
2108         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
2109         for TARGET_64BIT.
2110         (extendqidi2, extendhidi2, extendsidi2): Similarly.
2111         (adddi3 expander): Allow "arith_operand" for second input.
2112         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
2113         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
2114         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
2115         (muldi3): New expander for TARGET_64BIT.
2116         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
2117         for TARGET_64BIT.
2118         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
2119         patterns for TARGET_64BIT.
2120         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
2121         patterns for TARGET_64BIT.
2122         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
2123         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
2124         (sibcall_epilogue): New expander.
2125         (casesi): Tweak for TARGET_64BIT.
2126         (call expanders): Set & use the outgoing argument pointer.  Use the
2127         64bit call patterns as needed. Add additional arg to output_call.
2128         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
2129         (sibcall, sibcall_internal_symref): New expanders.
2130         (sibcall_value, sibcall_value_internal_symref
2131         (interspace_jump): Turn into an expander + matching patterns.
2132         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
2133         * pa/pa64-regs.h: Eliminate trigraph sequences.
2134         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
2135
2136 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
2137
2138         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
2139         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
2140         cpp_token with cpp_ttype everywhere.
2141         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
2142         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
2143         CPP_BUF_COL.  Line and column numbers are unsigned int, not
2144         long.
2145         * cpplex.c (cpp_buf_line_and_col): Delete.
2146         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
2147         'long lineno' to 'unsigned int lineno'.
2148         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
2149
2150 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2151
2152         * extend.texi: ISO C99 is not a draft anymore.
2153         * invoke.texi: ISO C++ is not a draft anymore.
2154         * cpp.texi: __cplusplus is required by the ISO standard.
2155
2156         * extend.texi (-fthis-is-variable): Undocument.
2157         * flags.h (warn_template_debugging): Remove declaration.
2158         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
2159         -Wenum-clash, -Wtemplate-debugging): Undocument.
2160
2161 2000-04-10  Nick Clifton  <nickc@cygnus.com>
2162
2163         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
2164         integer.
2165         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
2166         integer.
2167         (ARM_SIGN_EXTEND): Use HOST_UINT.
2168         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
2169         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
2170         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
2171         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
2172
2173         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
2174         (arm_gen_constant): Use HOST_UINT.
2175         (arm_canonicalize_constant): Use HOST_UINT.
2176         (arm_reload_in_hi): Use HOST_UINT.
2177         (arm_reload_out_hi): Use HOST_UINT.
2178         (output_multi_immediate): Use HOST_UINT.
2179         (int_log2): Use HOST_UINT.
2180         (arm_poke_function_name): Use HOST_UINT.
2181         (arm_output_epilogue): Use arm_volatile_func().
2182         (output_thumb_prologue): Use arm_strip_name_encoding().
2183
2184 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2185
2186         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
2187         of sequence point problems.
2188
2189 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
2190
2191         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
2192         Recomment.
2193         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
2194
2195 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2196
2197         * sbitmap.h: Whitespace changes and use upper-case macro args.
2198         (struct simple_bitmap_def): All sizes now unsigned.
2199         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
2200         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
2201         (sbitmap_vector_alloc): Parms and local vars now unsigned.
2202         (sbitmap_zero): Cast bzero arg to PTR.
2203         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
2204         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
2205         loop to make structure clearer.
2206         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
2207         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
2208         (sbitmap_a_and_b_or_c): Likewise.
2209         (sbitmap_intersection_of_succs): Minor cleanups.
2210         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
2211         (sbitmap_union_of_preds): Likewise.
2212         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
2213         (debug_sbitmap): New function.
2214
2215         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
2216         * c-typeck.c (convert_for_assignment): Likewise.
2217
2218         * expmed.c (init_expmed): Don't free objects we make.
2219         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
2220
2221         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
2222         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
2223
2224         * gcse.c (expr_hash_table_size): Now unsigned.
2225         (compute_ae_gen): Local variable `i' now unsigned.
2226         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
2227         (compute_transout, hoist_code): Likewise.
2228         (compute_local_properties): Likewise, also hash_table_size.
2229         (alloc_expr_hash_table): N_INSNS now unsigned.
2230         (delete_null_pointer_checks): Mark arg F as unused.
2231
2232         * regrename.c: Minor cleanups, including chang some variables
2233         to unsigned int.
2234
2235 2000-04-10  Neil Booth  <NeilB@earthling.net>
2236
2237         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
2238         than GETC ().
2239         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
2240
2241 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2242
2243         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
2244         __classof__, and __headof__ from the list of gnu keywords.
2245         (-ansi): Remove -foperator-names from list of implied options.
2246         Do not call it ANSI C++.
2247         (-foperator-names): Document as -fno-operator-names.
2248
2249 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
2250
2251         * cpphash.c (timestamp): Delete.
2252         (del_HASHNODE): If type is T_MCONST, free value.cpval.
2253         (special_symbol): Remove unnecessary braces.  Remove
2254         T_VERSION.  Treat T_STDC like T_CONST unless
2255         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
2256         when one is encountered, then convert them into T_MCONST
2257         nodes.
2258         * cppinit.c (builtin_array): version_string is T_MCONST.
2259         __STDC__ has a "1" in its cpval.  Don't have a terminator
2260         entry.  Clean up which entries are dumped.
2261         (initialize_builtins): Only __STDC__ gets the special
2262         -traditional treatment.  Count the length of builtin_array.
2263         Render version_string here.
2264         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
2265         * cpplib.h (struct cpp_reader): Remove timebuf.
2266
2267 2000-04-09  Richard Henderson  <rth@cygnus.com>
2268
2269         * genrecog.c (pred): Update comparison_operator for the unordered
2270         operators.
2271
2272         * config/i386/i386.c (no_comparison_operator): Disallow unordered
2273         operators.
2274         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
2275         (uno_comparison_operator): New.
2276         (put_condition_code): Handle UNORDERED/ORDERED.
2277         (unsigned_comparison): Likewise.
2278         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
2279         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
2280         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
2281         update all callers.  Handle all 8 unordered operators.
2282         (ix86_expand_setcc): Lose the unordered argument, update all callers.
2283         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
2284         * config/i386/i386.h (PREDICATE_CODES): Update.
2285         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
2286         (ix86_expand_branch, ix86_expand_setcc): Update.
2287         * config/i386/i386.md (sunordered, sordered): New.
2288         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
2289         (bunordered, bordered): New.
2290         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
2291         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
2292         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
2293
2294 2000-04-09  Philip Blundell  <philb@gnu.org>
2295
2296         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
2297
2298 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
2299
2300         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
2301         fix_truncxfhi2): New patterns.
2302         * i386.c (output_fix_trunc): Handle converting to HImode.
2303
2304 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
2305
2306         * ssa.c (convert_to_ssa): Eliminate dead code when calling
2307         life_analysis.
2308         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
2309         (for_each_successor_phi): Change parameter to basic_block.
2310         (coalesce_regs_in_successor_phi_nodes): Likewise.
2311         (coalesce_regs_in_copies): Likewise.
2312         (compute_coalesced_reg_partition): Use basic_block instead of index.
2313         * rtl.h (convert_to_ssa): Delete.
2314         (convert_from_ssa): Likewise.
2315         (successor_phi_fn): Likewise.
2316         (for_each_successor_phi): Likewise.
2317         (in_ssa_form): Likewise.
2318         * basic-block.h (convert_to_ssa): Moved from rtl.h.
2319         (convert_from_ssa): Likewise.
2320         (successor_phi_fn): Likewise.
2321         (in_ssa_form): Likewise.
2322         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
2323         * flow.c (calculate_global_regs_live): Pass a basic_block to
2324         for_each_successor_phi.
2325
2326 2000-04-08  Richard Henderson  <rth@cygnus.com>
2327
2328         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
2329         was modified in the current insn.
2330
2331 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
2332
2333         * arm/thumb.md: Delete.
2334         * arm/thumb-protos.h: Delete.
2335
2336 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
2337
2338         Merge changes from merged-arm-thumb-backend-branch onto trunk.
2339
2340         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
2341
2342         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
2343         into branch.
2344
2345         * arm.md (nop): Use the standard RTL expression.  Don't code as a
2346         define_expand.
2347         (*arm_nop, *thumb_nop): Delete.
2348
2349         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
2350         constants.  Use casts instead.
2351         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
2352         output_multi_immediate, arm_poke_function_name): Likewise.
2353         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
2354         MASK_RETURN_ADDDR): Likewise.
2355
2356         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
2357
2358         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
2359         into branch.
2360
2361         * arm.md (eh_epilogue): New function.
2362         * arm.h (struct machine_function): Move to here ...
2363         * arm.c: ... from here.
2364         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
2365         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
2366         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
2367
2368         2000-03-30  Nick Clifton  <nickc@cygnus.com>
2369
2370         * config/arm/semi.h (ASM_SPEC): Restore definition.
2371         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
2372
2373         * config/arm/elf.h (ASM_SPEC): Restore definition.
2374         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
2375
2376         * config/arm/arm.h (ASM_SPEC): Remove definition.
2377         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
2378
2379         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
2380
2381         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
2382
2383         2000-03-24  Nick Clifton  <nickc@cygnus.com>
2384
2385         Various formating tidyups, elimination of compile time
2386         warnings and synchronisation with internal sources:
2387
2388         * config/arm/arm-protos.h (assemble_align): Add prototype.
2389         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
2390         (gen_comapre_reg): Rename to arm_gen_compare_reg.
2391         (arm_return_addr_rtx): Rename to arm_return_addr.
2392
2393         * config/arm/arm.c: Include except.h.
2394         Define shorter typenames for strict minipool_node and struct
2395         minipool_fix.
2396         (arm_return_in_memory): For WinCE return all structures <= 32 bits
2397         in memory.
2398         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
2399         (gen_comapre_reg): Rename to arm_gen_compare_reg.
2400
2401         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
2402         already defined.
2403         (ASM_SPEC): Define if not already defined.
2404         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
2405
2406         * config/arm/arm.md: Rename references to gen_rotated_half_load to
2407         arm_gen_rotated_half_load, and references to gen_comapre_reg to
2408         arm_gen_compare_reg.
2409         (indirect_jump):  Only accept register operands.
2410         (load_indirect_jump): Keep this pattern since combine can generate
2411         it.
2412
2413         * config/arm/coff.h: Include aout.h.
2414         (MULTILIB_DEFAULTS): Only define if not already defined.
2415
2416         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
2417         into arm.h (so that COFF ports can support thumb based aliases).
2418         (ASM_SPEC): Move definition into arm.h
2419
2420         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
2421         redundant apcs spec.
2422         (ASM_SPEC): Move definition to arm.h
2423
2424         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
2425
2426         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
2427         for entries in the .bss section
2428
2429         2000-03-23  Nick Clifton  <nickc@cygnus.com>
2430
2431         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
2432         to thumb_far_jump_used_p.
2433
2434         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
2435         single integer parameter.
2436
2437         * config/arm/arm.c (struct machine_function): Add two new
2438         fields, 'far_jump_used' and 'arg_pointer_live'.
2439         (thumb_far_jump_used_p): Once the decision has been made that
2440         far jumps might be used, always return true.
2441         If being called from the initial elimination offset macro then
2442         do not bother to perform the test if the arg pointer is not
2443         being used.
2444         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
2445         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
2446
2447         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
2448
2449         * arm.c (output_return_instruction): Handle more cases where we can
2450         return from a function with an ldr instruction.
2451         (arm_output_epilogue): Likewise.
2452
2453         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
2454         if we need to push a large stack frame and there are no callee-saved
2455         registers.
2456
2457         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
2458         in ARM code if the frame pointer has been eliminated.
2459
2460         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
2461         unspec_volatile arguments to avoid duplicates.
2462         (consttable_1, consttable_2): Fixes for big-endian mode.
2463
2464         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
2465         as appropriate.
2466
2467         Re-write constant pool code.
2468         * arm.c (minipool_node, minipool_fix): New types.
2469         (minifix): Delete type.
2470         (arm_add_minipool_constant): Delete.
2471         (arm_compute_minipool_offsets, arm_find_barrier,
2472         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
2473         (get_jump_table_size): Now returns HOST_WIDE_INT.
2474         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
2475         functions.
2476         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
2477         (assign_minipool_offsets, arm_print_value): Likewise.
2478         (dump_minipool): Rewrite.
2479         (arm_barrier_cost): New function.
2480         (create_fix_barrier): New function.
2481         (push_minipool_barrier): New function.
2482         (push_minipool_fix): Record additional information about the fixup
2483         required.
2484         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
2485         check the mode of what needs fixing.
2486         (arm_reorg): Rewrite.
2487
2488         2000-03-08  Nick Clifton  <nickc@cygnus.com>
2489
2490         * config/arm/arm.md (indirect_jump): Force constant addresses into
2491         a register.
2492
2493         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
2494
2495         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
2496
2497         2000-02-24  Nick Clifton  <nickc@cygnus.com>
2498
2499         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
2500         adjust is word aligned.
2501         (thumb_expand_epilogue): Make sure that stack adjust is word
2502         aligned.
2503
2504         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
2505
2506         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
2507
2508         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
2509         pointer relative addresses.
2510
2511         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
2512
2513         * arm.c (find_barrier): Find the last barrier within the allowed
2514         range.
2515
2516         2000-02-09  Nick Clifton  <nickc@cygnus.com>
2517
2518         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
2519
2520         2000-02-09  Nick Clifton  <nickc@cygnus.com>
2521
2522         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
2523         ARM_FUNCTION_PROFILER.
2524
2525         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
2526         ARM_FUNCTION_PROFILER.
2527
2528         * config/arm/linux-oldld.h: Imported from mainline sources.
2529
2530         2000-02-07  Nick Clifton  <nickc@cygnus.com>
2531
2532         * config/arm/lib1funcs.asm: Merge in thumb functions from
2533         lib1thumb.asm.
2534
2535         * config/arm/lib1thumb.asm: Delete.
2536
2537         2000-02-04  Nick Clifton  <nickc@cygnus.com>
2538
2539         * config/arm/arm.c: Sychronised with current Red hat local
2540         sources.
2541         * config/arm/arm.h: Ditto.
2542         * config/arm/arm-protos.h: Ditto.
2543
2544         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
2545
2546         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
2547
2548         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
2549         byte stores.
2550
2551         2000-02-02  Nick Clifton  <nickc@cygnus.com>
2552
2553         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
2554
2555         * config/arm/arm.md (epilogue): Fix rtl checking abort because
2556         (return) was emited using an emit_insn() call.
2557
2558         2000-01-31  Nick Clifton  <nickc@cygnus.com>
2559
2560         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
2561         thumb stack frame.
2562         (thumb_exit): Move frame pointer back into hard frame pointer
2563         register if backtracing is being used.
2564
2565         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
2566
2567         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
2568         into branch.
2569
2570         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
2571
2572         * config/arm/arm.md (neg_pool_offset): Provide default for new
2573         attribute.
2574         (arm_movsi_insn): Add neg_pool_offset attribute.
2575         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
2576         rtx for the insn that starts the scan and an unsigned long for its
2577         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
2578         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
2579         instructions in *PINSERTED.
2580         (struct minipool_fixup): Add MIN_ADDRESS elt.
2581         (sort_fixups): Compute it.
2582         (arm_reorg): Changes to support inserting pools before the insn to be
2583         fixed up.
2584
2585         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
2586
2587         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
2588         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
2589         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
2590
2591         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
2592
2593         * config/arm/semi.h (TARGET_VERSION): Do not define if already
2594         defined.
2595         (TARGET_DEFAULT): Do not define if already defined.
2596
2597         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
2598
2599         * config/arm/arm.md (anddi3): Allow disjoint source operands.
2600         (iordi3): Allow disjoint source operands.
2601         (xordi3): Allow disjoint source operands.
2602         (negdi2): Permit construction for ARM and Thumb.
2603         (arm_negdi2): Renamed version of old negdi2 pattern.
2604         (thumb_negdi2): New pattern: Only permit non-overlapping
2605         source and destination.
2606
2607         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
2608
2609         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
2610         scratch low register so that it will not be deleted.
2611
2612         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
2613
2614         * config/arm/pe.h (ARM_PE): Define.
2615
2616         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
2617         interfacearm attribute if this is a PE toolchain.
2618         (output_return_instruction): Do not emit anything if the function
2619         has the naked attribute set.
2620         (is_called_in_ARM_mode): If the function has the interfacearm
2621         attribute then return true.
2622         (thumb_expand_prologue): Do not generate a prologue for naked
2623         functions.
2624         (thumb_expand_epilogue): Do not generate an epilogie for a naked
2625         function.
2626         (output_thumb_prologue): Do not bother if the function is naked.
2627         Strip PE encoding from function name before emitting.
2628
2629         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
2630
2631         * arm.md (pic_load_addr): Fix constraints.
2632
2633         * arm.md (casesi_insn): Fix mis-applied patch.
2634
2635         * arm.md ("core" function unit): Add rules for single- and
2636         multi-cycle insns.
2637         (All TARGET_THUMB patterns): Add "type" attribute information
2638         where needed.
2639         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
2640         the following insn is a CALL.
2641
2642         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
2643         pointer.
2644         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
2645         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
2646         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
2647
2648         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
2649
2650         * config/arm/linux-gas.h: oops - this file was missed out when the
2651         branch was created...
2652
2653         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
2654
2655         * thumb.c: Deleted.  Move contents to ...
2656         * arm.c: ... here.
2657         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
2658         rule for thumb.o
2659         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
2660         * configure: Regen.
2661
2662         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
2663         declare a prototype for asm_output_align();
2664
2665         * arm.c (thumb_condition_code): Delete.
2666         (arm_print_operand): Always use arm_condition_code array.
2667
2668         * arm.c (thumb_return_addr_rtx): Delete.
2669         (arm_save_machine_status, arm_restore_machine_status): Delete.
2670         (arm_init_machine_status, arm_mark_machine_status): New functions.
2671         (arm_init_expanders): Update accordingly.
2672         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
2673         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
2674         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
2675
2676         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
2677
2678         * configure.in : Fix arm-*-aout target to use new t-arm-aout
2679         script.
2680         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
2681         targets.
2682
2683         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
2684
2685         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
2686         stack backtrace structure.
2687
2688         * config/arm/arm-protos.h: Add prototypes for functions defined in
2689         arm/pe.h.
2690
2691         * config/arm/arm.c (arm_override_options): Fix selection of
2692         attributes of default processor.
2693
2694         * config/arm/coff.h: Delete needless #include.
2695
2696         * config/arm/pe.c: Delete unused code.
2697
2698         * config/arm/pe.h (CPP_DEFINES): Delete
2699         (SUBTARGET_CPP_SPEC): Define.
2700         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
2701
2702         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
2703
2704         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
2705
2706         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
2707         updated.
2708         (CAN_DEBUG_WITHOUT_FP): Define.
2709         (FIXED_REGISTERS): Make r11 call-saved.
2710         (CALL_USED_REGISTERS): Likewise.
2711         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
2712         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
2713         frame-pointer is required.
2714         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
2715         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
2716         if the target normally needs a stack frame in non-leaf functions.
2717         (use_return_insn): Correct logic for determining when a return
2718         instruction can be used.
2719         (output_return_instruction): Handle the frame-pointer register as
2720         a normal register when not TARGET_APCS_FRAME.
2721         (arm_output_prologue): Likewise.
2722         (arm_output_epilogue): Likewise.
2723         (output_func_epilogue): Likewise.
2724         (arm_expand_prologue): Likewise.
2725         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
2726
2727         * arm.c (use_return_insn): No need to check floating point regs if
2728         TARGET_SOFT_FLOAT.
2729         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
2730         the code of value stored in the minipool array.
2731         (arm_add_minipool_constant): Likewise.
2732
2733 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2734
2735         * basic-block.h (conflict_graph_enum_fn): K&R fix.
2736
2737 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2738
2739         * tree.c (tree_expr_nonnegative_p): New function.
2740
2741         * tree.h (tree_expr_nonnegative_p): Declare.
2742
2743         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
2744         elide some sign_compare warnings.
2745         (build_conditional_expr): Likewise.
2746
2747 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
2748
2749         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
2750
2751         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
2752         * i386.c (print_operand): Use the proper suffix for a 387 HImode
2753         operand.  Abort if a 387 operand has an unsupported size.
2754
2755 2000-04-08  Neil Booth  <NeilB@earthling.net>
2756
2757         * cppexp.c (parse_charconst): Null does not end character
2758         constants.
2759         * cppinit.c (ISTABLE): Null character handled as whitespace.
2760         * cpplex.c (null_warning):  new function.
2761         (skip_string): Emit warning if nulls encountered.
2762         (_cpp_skip_hspace): Emit warning if nulls encountered.
2763         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
2764         them.
2765         * cpp.texi: Update.
2766
2767 2000-04-07  Richard Henderson  <rth@cygnus.com>
2768
2769         * flow.c (loop_depth): Remove.
2770         (reg_next_use, cc0_live, mem_set_list): Replace with ...
2771         (struct propagate_block_info): New.
2772         (life_analysis): Don't allocate reg_next_use.
2773         (propagate_block_delete_insn): Break out of propagate_block.
2774         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
2775         (propagate_block_delete_libcall): Likewise.
2776         (propagate_block): Create a propagate_block_info struct to pass
2777         to subroutines.  Allocate one not two temporary regsets.  Don't
2778         clobber memory for const calls.  Look for clobbers in
2779         CALL_INSN_FUNCTION_USAGE.
2780         (mark_set_regs): Recognize COND_EXEC.
2781         (mark_set_reg): Break out of mark_set_1.
2782         (mark_used_reg): Break out of mark_used_regs.
2783         (mark_used_regs): Recognize COND_EXEC.
2784         (insn_dead_p): Use propagate_block_info struct.
2785         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
2786         (find_auto_inc, try_pre_increment_1): Likewise.
2787         (print_rtl_with_bb): Dump regs live at end too.
2788         (count_reg_sets_1): Pass in loop_depth.
2789         (count_reg_sets, count_reg_references): Likewise.
2790         (recompute_reg_usage): Provide it.
2791
2792 2000-04-07  Richard Henderson  <rth@cygnus.com>
2793
2794         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
2795         not the raw files.
2796
2797 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
2798
2799         * cpplib.c (do_elif): Skip the rest of the line if we're
2800         not going to bother evaluating it.
2801         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
2802         to avoid pointless calls to the lexer.
2803
2804 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
2805
2806         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
2807
2808 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
2809
2810         * calls.c (expand_call): emit_queue if we're trying a sibcall.
2811
2812 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
2813
2814         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
2815
2816 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
2817
2818         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
2819         crtend so they can be multilibbed.
2820         (STAGESTUFF): Remove s-crt and s-crtS.
2821
2822 2000-04-07  Richard Henderson  <rth@cygnus.com>
2823
2824         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
2825         if we discover we need a pseudo and no_new_pseudos is true.
2826         * config/alpha/alpha.md (ne:DI insn): New.
2827         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
2828
2829 2000-04-07  Richard Henderson  <rth@cygnus.com>
2830
2831         * rtl.def (COND_EXEC): New.
2832         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
2833         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
2834
2835         * genconfig.c (have_cond_arith_flag): Remove.
2836         (have_cond_exec_flag): New.
2837         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
2838         (main): Print HAVE_conditional_execution.
2839
2840         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
2841         (sched_analyze_insn, print_pattern): Likewise.
2842         * reload.c (find_equiv_reg): Likewise.
2843         * rtlanal.c (reg_referenced_p): Likewise.
2844         (note_stores, dead_or_set_regno_p): Likewise.
2845         (reg_overlap_mentioned_p): Rewrite to use a switch.
2846
2847         * ggc.h (struct rtx_def): Forward declare.
2848
2849         * print-rtl.c (debug_rtx_range): New.
2850         * rtl.h (debug_rtx_range): Declare.
2851
2852         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
2853
2854         * gcse.c (gcse_main): Don't rebuild the CFG here.
2855         (delete_null_pointer_checks): Likewise.
2856         * ssa.c (convert_to_ssa): Likewise.
2857         * toplev.c (rest_of_compilation): Do it here instead.  Combine
2858         sequential calls to TIMEVAR.  Consistently use `insns' instead of
2859         `get_insns()'.  Always split insns after reload when optimizing.
2860
2861         * basic-block.h (merge_blocks_nomove): Declare.
2862         (tidy_fallthru_edge): Declare.
2863         * flow.c (merge_blocks_nomove): Document as merging into previous
2864         blocks.  Remove cruft from between blocks; remove all edges out of A.
2865         (tidy_fallthru_edge): Export.
2866
2867 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
2868
2869         * ssa.c (compute_conservative_reg_partition): Declare with
2870         void arguments.
2871         * toplev.c (clean_dump_file): Remove previously-deleted function
2872         inadvertantly merged back in.
2873         * conflict.c (conflict_graph_add): Use a single call to
2874         htab_find_slot to look up and insert.
2875
2876 2000-04-06  Richard Henderson  <rth@cygnus.com>
2877
2878         * genrecog.c (*): Rename _last_insn to last_insn.
2879         (make_insn_sequence): Set the position of the peephole2 C test
2880         to be at the last insn.
2881
2882 2000-04-06  Richard Henderson  <rth@cygnus.com>
2883
2884         * flow.c (compute_flow_dominators): Free worklist.
2885
2886 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
2887
2888         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
2889
2890 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
2891
2892         * rtl.h (INSN_P): New macro.
2893         (successor_phi_fn): New typedef.
2894         (for_each_successor_phi): New prototype.
2895         (in_ssa_form): New variable.
2896         (PHI_NODE_P): Likewise.
2897         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
2898         phi nodes in successors.
2899         (mark_used_regs): Add PHI case.
2900         (set_phi_alternative_reg): New function.
2901         (life_analysis): Assert that dead code elimination is not selected
2902         when in SSA form.
2903         * toplev.c (to_ssa_time): New variable.
2904         (from_ssa_time): Likewise.
2905         (compile_file): Zero to_ssa_time and from_ssa_time.
2906         Print time to convert to and from SSA.
2907         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
2908         (print_time): Compute percent fraction as integer.
2909         * ssa.c (PHI_NODE_P): Moved to rtl.h.
2910         (convert_to_ssa): Check if we're already in SSA.
2911         Don't eliminate dead code in life_analysis.
2912         Rerun flow and life analysis at bottom.
2913         (eliminate_phi): Use canonical regnos when adding nodes.
2914         (mark_reg_in_phi): New function.
2915         (mark_phi_and_copy_regs): Likewise.
2916         (convert_from_ssa): Rerun life analysis at top.
2917         Use coalesced partition.
2918         Check for removing a phi node at the end of the block.
2919         (compute_coalesced_reg_partition): New function.
2920         (coalesce_regs_in_copies): Likewise.
2921         (coalesce_reg_in_phi): Likewise.
2922         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
2923         (for_each_successor_phi): Likewise.
2924         (rename_context): New struct.
2925         (rename_block): Use a rename_context with rename_insn_1.  When
2926         renaming sets of a subreg, emit a copy of the entire reg first.
2927         (rename_insn_1): Treat data as a rename_context *.  Save current
2928         insn in set_data.
2929         (rename_set_data): Add field set_insn.
2930         * Makefile.in (HASHTAB_H): Move up in file.
2931         (OBSTACK_H): New macro.
2932         (collect2.o): Use OBSTACK_H in dependencies.
2933         (sdbout.o): Likewise.
2934         (emit-rtl.o): Likewise.
2935         (simplify-rtx.o): Likewise.
2936         (fix-header.o): Likewise.
2937         (OBJS): Add conflict.o.
2938         (conflict.o): New rule.
2939         * basic-block.h: Include partition.h.
2940         (conflict_graph): New typedef.
2941         (conflict_graph_enum_fn): Likewise.
2942         (conflict_graph_new): New prototype.
2943         (conflict_graph_delete): Likewise.
2944         (conflict_graph_add): Likewise.
2945         (conflict_graph_conflict_p): Likewise.
2946         (conflict_graph_enum): Likewise.
2947         (conflict_graph_merge_regs): Likewise.
2948         (conflict_graph_print): Likewise.
2949         (conflict_graph_compute): Likewise.
2950         * conflict.c: New file.
2951
2952 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
2953
2954         * tlink.c (read_repo_files): Don't look for .rpo info for
2955         linker flags.
2956
2957 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2958
2959         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
2960
2961 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2962
2963         * config/sh/lib1funcs.asm (___udivsi3_i4):
2964         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
2965         only depends on FMOVD_WORKS.
2966
2967 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2968
2969         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
2970         make double constant 8-byte aligned.
2971
2972 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
2973
2974         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
2975         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
2976         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
2977         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
2978         Accept storing GENERAL_REGS into offsetable memory.
2979         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
2980         building a TFmode constant other than 0.0L into GENERAL_REGS.
2981
2982 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
2983
2984         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
2985
2986 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
2987
2988         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
2989         (macro_cleanup): No need to cast pbuf->macro.
2990         (collect_expansion): Use _cpp_get_define_token.  Goto done if
2991         it returns VSPACE.  Remove check for trailing space after
2992         CPP_COMMENT.
2993         (_cpp_create_definition): Don't diddle flags here.  Return
2994         directly on error.
2995         (unsafe_chars): Handle c1 being EOF.
2996         (push_macro_expansion): Use unsafe_chars for both accidental-paste
2997         checks.  Don't push the buffer till after we're done with
2998         them.
2999         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
3000         (PEEKN, FORWARD, GETC, PEEKC): Use them.
3001         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
3002         appropriately.
3003         (_cpp_parse_assertion): Don't NUL terminate.
3004         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
3005         hspace before calling _cpp_parse_assertion.  Remove all sets
3006         of only_seen_white. Treat '\f' as hspace.  Don't do anything
3007         special with '\n' here.
3008         (maybe_macroexpand): Handle T_EMPTY hash entries without
3009         pushing a buffer at all.
3010         (cpp_get_token): Handle clearing only_seen_white here.  Handle
3011         incrementing the line number here.  Clear
3012         potential_control_macro as well as only_seen_white, if
3013         appropriate.
3014         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
3015         (_cpp_get_define_token): New function, basically like
3016         _cpp_get_directive_token was but doesn't eat horizontal space.
3017         Don't do anything with only_seen_white here.
3018         (_cpp_get_directive_token): Just call _cpp_get_define_token
3019         repeatedly till it returns non-hspace.
3020
3021         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
3022         (conditional_skip, skip_if_group): Return int.
3023         (DIRECTIVE_TABLE): Change origin of all conditional directives
3024         to "COND".
3025         (TRAD_DIRECT_P): New macro.
3026         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
3027         an error for a bogus directive, unless -lang-asm.  Use
3028         TRAD_DIRECT_P. Loop calling handler functions till one returns
3029         zero.
3030         (get_macro_name): Don't diddle flags here.
3031         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
3032         Create T_EMPTY nodes for #define macro /* nothing */.
3033         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
3034         Use hp->name when calling pass_thru_directive.
3035         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
3036         Return the result of conditional_skip and/or skip_if_group.
3037         Don't call _cpp_output_line_command.
3038         (consider_directive_while_skipping): Use _cpp_get_directive_token.
3039         Issue -Wtraditional warnings as appropriate.  Don't complain
3040         about unrecognized directives.  If we are to stop skipping,
3041         return the number of the directive that ended the skip.
3042         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
3043         expansion and line commands while skipping.  Return the result
3044         of consider_directive_while_skipping, if nonzero.
3045         (do_endif): Just set potential_control_macro here.
3046         (validate_else): Use _cpp_get_directive_token.
3047         (do_assert, do_unassert): Don't save pointers into the
3048         token_buffer across calls to the lexer.  Use
3049         _cpp_get_directive_token.
3050
3051         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
3052         pointer, not an offset.  Replace 'data', which was a generic
3053         pointer, with 'macro', which points to a struct hashnode.
3054         (cpp_reader): Add 'potential_control_macro' pointer.
3055         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
3056         (CPP_BUF_GET, CPP_FORWARD): Delete.
3057         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
3058         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
3059         ACTIVE_MARK_P): Update.
3060         (_cpp_get_define_token): New internal function.
3061         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
3062
3063 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
3064
3065         * configure.in: And here.
3066         * configure: Regenerate.
3067         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
3068         --enable-libstdcxx-v3 is passed at configure time.
3069         * config.h.in: Regenerate.
3070
3071 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
3072
3073         * final.c (final): Use xcalloc to allocate line_note_exists.
3074         * function.c (free_after_compilation): Free the temp_slots.
3075         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
3076         (combine_temp_slot): Free temp_slots when they get combined.
3077         (purge_addressof): Fix typo in comment.
3078         * stmt.c (mark_goto_fixup): Mark the fixup itself.
3079         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
3080
3081         * ggc.h: Include varray.h.
3082         (ggc_pending_trees): Declare.
3083         (ggc_mark_tree_children): Remove declaration.
3084         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
3085         * ggc-common.c (ggc_pending_trees): New variable.
3086         (ggc_mark_roots): Call ggc_mark_trees.
3087         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
3088         the ggc_pending_trees.
3089         * Makefile.in (GGC_H): New variable.  Use it throughout in place
3090         of ggc.h.
3091
3092 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3093
3094         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
3095         GET_MODE_SIZE.
3096
3097 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3098
3099         * sh.c (sh_insn_length_adjustment): New function.
3100         * sh-protos.h (sh_insn_length_adjustment): Declare.
3101         * sh.h (ADJUST_INSN_LENGTH): Use it.
3102
3103 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
3104
3105         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
3106         from the insn where REG_RETVAL is added.
3107         (emit_no_conflict_block): Ditto.
3108
3109         * md.texi (Standard Names): Clarify when movX is needed.
3110
3111         * combine.c (simplify_comparison) [MINUS]: Do not replace
3112         all (op (minus A B) 0) with (op A B).
3113
3114 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
3115                           J"orn Rennecke <amylaar@cygnus.co.uk>
3116
3117         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
3118         (block_lump_real): Likewise.
3119
3120 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
3121
3122         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
3123         remaining non-zero debugging masks.
3124
3125 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
3126
3127         * basic-block.h (verify_flow_info): Declare.
3128         (flow_loop_outside_edge_p): Declare.
3129         * flow.c (verify_flow_info): Remove declaration.
3130         (clear_log_links, flow_loop_outside_edge_p): Likewise.
3131
3132 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
3133
3134         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
3135         not C++ comments.
3136
3137 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
3138
3139         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
3140         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
3141         seqdi_zero_trunc+1): Allow splits only if registers are
3142         different.
3143
3144 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
3145
3146         * acconfig.h: Add HAVE_GAS_HIDDEN.
3147         * config.in: Regenerated.
3148         * configure.in: Add test for .hidden pseudo-op in gas.
3149         * configure: Regenerated.
3150         * crtstuff.c: Include auto-host.h.
3151         Emit additional .hidden pseudo-op for __dso_handle if the
3152         assembler knows about it.
3153
3154 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
3155
3156         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
3157         before freeing argnames.
3158         * cpplib.c (do_ifndef): Cast return value of xstrdup.
3159
3160 2000-04-05  Michael Meissner  <meissner@redhat.com>
3161
3162         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
3163         Walton <jonboy@gordian.com> to make memory references with update
3164         work wtih -mregnames.
3165
3166 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3167
3168         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
3169         (regrename_optimize): Rename variables `def_uses' and
3170         `ext_basic_blocks' to avoid conflicts with similarly named
3171         typedefs in traditional C.
3172
3173         * calls.c (initialize_argument_information): Fix typo in previous
3174         change.
3175
3176 2000-04-04  Richard Henderson  <rth@cygnus.com>
3177
3178         * regrename.c (consider_available): Test fixed_regs not
3179         PIC_OFFSET_TABLE_REGNUM.
3180
3181 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
3182
3183         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
3184         crtend.
3185         (CRTSTUFF_T_CFLAGS_S): Delete definition.
3186         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
3187         (ENDFILE_LINUX_SPEC): Always use crtend.
3188         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
3189         (powerpc-*-linux-gnu): Likewise.
3190         * configure: Regenerate.
3191
3192         * config/rs6000/eabi.h: Don't include sysv4.h.
3193         (MULTILIB_DEFAULTS): Don't define.
3194         * config/rs6000/eabiaix.h: Don't include eabi.h.
3195         * config/rs6000/eabile.h: Delete.
3196         * config/rs6000/eabilesim.h: Delete.
3197         * config/rs6000/eabisim.h: Don't include eabi.h.
3198         * config/rs6000/linux.h: Don't include sysv4.h.
3199         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
3200         (MULTILIB_DEFAULTS): Don't redefine.
3201         * config/rs6000/rtems.h: Don't include eabi.h.
3202         * config/rs6000/sol2.h: Don't include sysv4le.h.
3203         * config/rs6000/sysv4le.h: Don't include sysv4.h.
3204         * config/rs6000/t-ppc: Delete.
3205         * config/rs6000/t-ppcgas: Correct comment.
3206         * config/rs6000/t-ppcos: Correct comment.  Don't build
3207         multilibs for -fPIC, rather use -fPIC -mstrict-align
3208         as default.
3209         * config/rs6000/t-ppc: Delete.
3210         * config/rs6000/vxppc.h: Don't include sysv4.h.
3211         * config/rs6000/vxppcle.h: Delete.
3212         * configure.in: Use multiple header files for p2pc ELF targets
3213         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
3214         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
3215         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
3216         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
3217         always available for these platforms.
3218
3219 2000-04-04  Richard Henderson  <rth@cygnus.com>
3220
3221         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
3222
3223 2000-04-04  Stan Cox  <scox@cygnus.com>
3224
3225         * Makefile.in: Add rules for regrename.o
3226         * regrename.c: New file.
3227         * rtl.h (regrename_optimize): Add prototype.
3228         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
3229         (compile_file, decode_d_option): Add support for -frename-registers.
3230         (rest_of_compilation): Call regrename_optimize.
3231         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
3232         New macros.
3233
3234 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3235
3236         * Makefile (gccbug): New target.
3237         (doc): Depend on it.
3238         * gcc.texi (Bugs): Link subnodes.
3239         (gccbug): New node.
3240         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
3241         Document severities, priorities, and classes in bug form.
3242
3243 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
3244
3245         * cpplex.c (trigraph_map, speccase): Combine into single
3246         table, chartab.
3247         (NORMAL, NONTRI): New macros.
3248         (_cpp_read_and_prescan): Change to use unified table.  Use
3249         is_hspace to test for whitespace.
3250
3251         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
3252         definition that doesn't provoke the "empty body in an
3253         if-statement" warning.
3254
3255 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
3256
3257         * builtins.c (expand_builtin_strlen): Force the source to
3258         be a memory address.
3259
3260 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3261
3262         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
3263
3264 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3265
3266         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
3267          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
3268         (ECF_IS_CONST): Rename to ECF_CONST.
3269         (special_function_p): Make static, change interface.
3270         (flags_from_decl_or_type, try_to_integrate): Break out from ...
3271         (expand_call) ... here; convert number of variables to flags.
3272         (emit_library_call_vlue_1): Likewise.
3273         (setjmp_call_p): New function.
3274         (initialize_argument_information): Accepts flags as argument;
3275         return flags.
3276         (precompute_arguments): Likewise.
3277         * tree.h (special_function_p): Remove.
3278         (setjmp_call_p): Add prototype.
3279
3280 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
3281
3282         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
3283         so that addresses are offsetable by up to 16 bytes.
3284         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
3285         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
3286         offsetable.
3287
3288         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
3289         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
3290         (movsf): Don't force any constant to memory if target is integer
3291         hard register.
3292         Move fp_zero_operand check below the const0_rtx check.
3293         (movtf): Likewise. Also allow fp_zero_operand for stores into
3294         memory.
3295         (movdf): Likewise. Also allow fp_zero_operand for stores into
3296         memory and into integer hard registers.
3297         (clear_df, clear_dfp, movdf_const_intreg_sp32,
3298         movdf_const_intreg_sp64): Remove.
3299         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
3300         conditions.
3301         (movdf_no_e_insn_v9_sp32): New pattern.
3302         (movdf_insn_v9only): Remove.
3303         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
3304         (movdf_insn_sp64): Remove.
3305         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
3306         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
3307         (following splits): Rewrite conditions. Add two new splits
3308         for storing 0.0 into memory and registers.
3309         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
3310         (movtf_insn_sp32): Redo constraints and conditions.
3311         (movtf_insn_vis_sp32): New pattern.
3312         (movtf_no_e_insn_sp32): Redo constraints and conditions.
3313         (movtf_insn_hq_sp64): Likewise.
3314         (movtf_insn_hq_vis_sp64): New pattern.
3315         (movtf_insn_sp64): Redo constraints and conditions.
3316         (movtf_insn_vis_sp64): New pattern.
3317         (movtf_no_e_insn_sp64): Redo constraints and conditions.
3318         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
3319         or memory.
3320         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
3321         -mvis or -m64 to take down the number of various reload patterns.
3322
3323 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
3324
3325         * pa/pa-64.h: New file.
3326         * pa/pa64-regs.h: New file.
3327         * pa/pa64-start.h: New file.
3328         * pa/t-pa64: New file.
3329         * pa/xm-pa64hpux.h: New file.
3330
3331 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3332
3333         * sparc.c (output_restore_regs): Prototype.
3334         (sparc_emit_float_lib_cmp): Constification.
3335
3336         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
3337
3338         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
3339         Prototype.
3340
3341         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
3342         (get_value_hash, hash_rtx): Likewise.
3343
3344         * ssa.c (compute_conservative_reg_partition): Prototype.
3345
3346         * tree.c (mark_hash_entry): Prototype.
3347
3348 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
3349
3350         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
3351         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
3352         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
3353
3354         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
3355         * objc/lang-specs.h: Likewise.
3356
3357 2000-04-03  Neil Booth  <NeilB@earthling.net>
3358
3359         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
3360         and SYNTAX_ERROR2. Replace `' in messages with ''.
3361         (op_to_str): Make re-entrant.
3362         (_cpp_parse_expr): Implement new error macros. Use | rather
3363         than || to logically or 2 boolean integers.  Simply expression
3364         checking we have a left operand iff needed.
3365
3366 2000-04-03  Nick Clifton  <nickc@cygnus.com>
3367
3368         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
3369
3370 2000-04-03  Philip Blundell  <philb@gnu.org>
3371
3372         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
3373
3374 2000-04-03  Felix Lee  <flee@cygnus.com>
3375
3376         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
3377         (run_shell): Use it.
3378
3379 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
3380
3381         * Makefile.in (stmp-int-hdrs): Make include subdir here...
3382         (stmp-fixproto): ...rather than here.
3383
3384 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
3385
3386         * pa.c (print_operand): Compute 'base' only inside the code paths
3387         that use it.
3388
3389 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
3390
3391         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
3392         CEIL_DIV_EXPR.
3393
3394 2000-04-03  Philipp Thomas  <pthomas@suse.de>
3395
3396         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
3397
3398 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
3399
3400         * Makefile.in (alias.o): Depend on $(TREE_H).
3401
3402 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
3403
3404         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
3405         processing C++.
3406         * cpplib.c (_cpp_handle_directive): Improve warnings for
3407         traditional C and indented directives.
3408
3409         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
3410         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
3411         fixinc/inclhack.def: Indent the # of #include_next one space.
3412         * cp/rtti.c: Un-indent #if and #endif.
3413
3414         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
3415         syntax error, but an error has already been printed.
3416         * cpplex.c (_cpp_parse_assertion): Give a more specific error
3417         message when called with nothing remaining on the line.
3418         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
3419         OTHER token, not an ASSERTION.
3420         * cpplib.c (do_assert): When we create a 'base' node, clear
3421         its aschain pointer.
3422
3423 2000-04-02  Neil Booth <NeilB@earthling.net>
3424
3425         * cppexp.c:  New typedef op_t.  struct operation and struct
3426         token updated to use it.
3427         (op_to_str): New function.
3428         (_cpp_parse_expr): Error messages modified to use op_to_str.
3429
3430 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3431
3432         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
3433         before checking MUST_PASS_IN_STACK.
3434
3435 2000-04-02  Neil Booth <NeilB@earthling.net>
3436
3437         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
3438         flags and initial priority into a single constant.  New
3439         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
3440         (_parse_cpp_expr): Implement new constants.  Take left operand
3441         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
3442         parse indicated by reducing FINISHED token.  Remove new lines
3443         from cpp_error messages.
3444
3445 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
3446
3447         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
3448         permanent obstack.
3449
3450 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
3451
3452         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
3453         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
3454         the strings and function names on the fly.  Take the #sccs
3455         entry out of the table if SCCS_DIRECTIVE is not defined.
3456         (_cpp_handle_directive): Decide if the # was at the beginning
3457         of the line here.  Issue -pedantic warnings for extended
3458         directives here.  Warn about K+R directives with the #
3459         indented, and C89/extended directives with the # not indented,
3460         here.
3461         (do_import, do_include_next, do_warning, do_ident, do_sccs,
3462         do_assert, do_unassert): Don't issue pedantic warning here.
3463
3464         * cpphash.h: Add CPP_WTRADITIONAL macro.
3465         * cpplib.h (struct cpp_options): Rename warn_stringify to
3466         warn_traditional; update comments.
3467         * cppinit.c (handle_option): Set warn_traditional not
3468         warn_stringify.
3469         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
3470         CPP_WTRADITIONAL (pfile).
3471         * cpplex.c (_cpp_lex_token): Don't decide if directives should
3472         be ignored in -traditional mode here.
3473
3474         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
3475         to initialize speccase[] and trigraph_map[].  Delete all
3476         references to pfile->input_speccase.  Always treat '?' as a
3477         special character.  Remove table-initialization code from
3478         _cpp_init_input_buffer.
3479
3480         * cpplib.h (struct cpp_reader): Remove input_speccase field.
3481         * cppinit.c (cpp_cleanup): Don't free input_speccase.
3482
3483 2000-04-01  Richard Henderson  <rth@cygnus.com>
3484
3485         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
3486         (mostlyclean): Likewise.
3487
3488         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
3489         (struct dump_file_info, enum dump_file_index, dump_file): New.
3490         (open_dump_file): Take a dump_file_index not a suffix, and a decl
3491         not a string.  Clean out file if we havn't yet done so.  Do nothing
3492         if the dump isn't enabled.
3493         (close_dump_file): Do nothing if the dump isn't open.  Dump
3494         graph data if requested.
3495         (dump_rtl, clean_dump_file): Remove.
3496         (compile_file): Don't clean the dump files.  Only finalize .bp dump
3497         if flag_test_coverage or flag_branch_probabilities.  Only finalize
3498         .combine dump if optimizing.  Iterate over dump_file to finalize the
3499         graph dumps.
3500         (rest_of_compilation): Update for open_dump_file/close_dump_file.
3501         Convert all uses of dump_rtl.
3502         (decode_d_option): Iterate over dump_file to implement 'a' and to
3503         locate pass-specific dumps.
3504
3505 2000-04-01  Neil Booth <NeilB@earthling.net>
3506
3507         * cppexp.c: Redefine priority constants.
3508         (_cpp_parse_expr): Replace left and right priority scheme with
3509         single priority logic.  Move LOGICAL to same place as COMPARE.
3510         Remove bogus check for multiple unary +/- operators.
3511
3512 2000-04-01  Neil Booth <NeilB@earthling.net>
3513
3514         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
3515         within the switch statement.  Binary operations break out of
3516         the switch naturally.  '(' tokens handled by forcing
3517         immediate shift.  ')' handled by forcing immediate reduce to
3518         the previous '('.  New error messages.
3519
3520 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
3521
3522         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
3523         part', it's already in use.  Use %K instead.  Add a return at the
3524         end of what is now %K.
3525         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
3526
3527 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3528
3529         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
3530         allocate_dynamic_stack_space.
3531         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
3532         update stack_pointer_delta; do not update arg_size_so_far.
3533         (compute_argument_block_size): Use stack_delta instead of
3534         stack_pointer_pending and arg_size_so_far.
3535         (expand_call): Add sanity checking for stack_pointer_delta;
3536         save and restore stack_pointer_delta for SIB, use
3537         stack_pointer_delta for alignment; do not update arg_space_so_far.
3538         (emit_library_call_value): Use stack_pointer_delta for alignment.
3539         (store_one_arg): Do not update arg_space_so_far.
3540         * explow.c (adjust_stack, anti_adjust_stack): Update
3541         stack_pointer_delta.
3542         (allocate_dynamic_stack_space): Add sanity checking for
3543         stack_pointer_delta.
3544         * expr.c (init_expr, clear_pending_stack_adjust): Clear
3545         stack_pointer_delta.
3546         (emit_push_insn): Update stack_pointer_delta.
3547         * function.h (struct expr_status): Add x_stack_pointer_delta;
3548         remove x_arg_space_so_far.
3549         (arg_space_so_far): Remove.
3550         (stack_pointer_delta): New macro.
3551
3552 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
3553
3554         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
3555         Reorder struct cpp_options and struct cpp_reader for better
3556         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
3557         takes two args.  Change all 'char' flags to 'unsigned char'.
3558         Move show_column flag into struct cpp_options.  Don't
3559         prototype cpp_options_init.
3560         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
3561         cppinit.c, cpplex.c, cpplib.c:
3562         Replace CPP_OPTIONS (pfile)->whatever with
3563         CPP_OPTION (pfile, whatever), and likewise for
3564         opts = CPP_OPTIONS (pfile); ... opts->whatever;
3565
3566         * cppinit.c (merge_include_chains): Take a cpp_reader *.
3567         Extract CPP_OPTION (pfile, pending) and work with that
3568         directly.
3569         (cpp_options_init): Delete.
3570         (cpp_reader_init): Turn on on-by-default options here.
3571         Allocate the pending structure here.
3572         (cl_options, enum opt_code): Define these from the same table,
3573         kept in a large macro.  Add -fshow-column and -fno-show-column
3574         options.
3575
3576         * cpperror.c (v_message): If show_column is off, don't print
3577         the column number.
3578
3579         * cppmain.c: Update for new interface.
3580         * fix-header.c: Likewise.
3581
3582 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
3583
3584         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
3585         definition.
3586         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
3587         are passed to any invocation of AR_FOR_TARGET.
3588         (AR_CREATE_FOR_TARGET): New macro.
3589         (AR_EXTRACT_FOR_TARGET): New macro.
3590         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
3591         AR_EXTRACT_FOR_TARGET.
3592         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
3593         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
3594         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
3595         AR_EXTRACT_FOR_TARGET to sub-makes.
3596
3597 2000-03-31  Neil Booth <NeilB@earthling.net>
3598
3599         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
3600         PAREN_INNER_PRIO.
3601         (_cpp_parse_expr): Check for multiple unary +/- operators.
3602         Correct priorities of ':' and '?'.  Treat ')' as having a
3603         value.  Ensure conditional expression is not void.
3604
3605 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
3606
3607         * alias.c (canon_rtx): Make it global.
3608         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
3609         equality.
3610         * cse.c (struct table_elt): Add canon_exp.
3611         (insert): Clear it.
3612         (invalidate): Canonicalize expressions only once.
3613         * rtl.h (canon_rtx): Declare.
3614
3615 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
3616
3617         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
3618         * alias.c (reg_known_value): Add comments.
3619         (init_alias_analysis): Likewise.
3620         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
3621         address.
3622         (cse_basic_block): Fix typo in comment.
3623         * emit-rtl.c: Include hashtab.h.
3624         (const_int_htab): New variable.
3625         (const_int_htab_hash): New function.
3626         (const_int_htab_eq): Likewise.
3627         (rtx_htab_mark_1): Likewise.
3628         (rtx_htab_mark): Likewise.
3629         (gen_rtx_CONST_INT): Cache all CONST_INTs.
3630         (unshare_all_rtx): Fix formatting.
3631         (init_emit_once): Initialize const_int_htab.
3632         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
3633         address.
3634         * rtl.texi: Document the fact that all CONST_INTs with the same
3635         value are shared.
3636
3637 2000-03-30  Richard Henderson  <rth@cygnus.com>
3638
3639         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
3640
3641 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
3642
3643         * configure.in: Comment out --enable-c-cpplib stanza.
3644         * configure: Regenerate.
3645
3646 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3647
3648         * expr.c (store_constructor): Properly compute displacement and
3649         alignment when offset is variable.
3650
3651         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
3652         cases of alignment in bytes.
3653
3654 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
3655
3656         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
3657         since it is used to generate c-parse.y.
3658         * objc-parse.c, objc-parse.y: Regenerated.
3659
3660         * function.c (expand_function_end): Pass alignment argument to
3661         emit_block_move in bits, not bytes.
3662
3663 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3664
3665         * expr.c (move_by_pieces_ninsns): Fix one more missing align
3666         correction.
3667
3668         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
3669
3670         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
3671         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
3672         * function.c (assign_parms): Likewise.
3673         * integrate.c (expand_inline_function): Likewise.
3674         * stmt.c (expand_decl): Likewise.
3675         (copy_rtx_and_substitute): Likewise.
3676         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
3677         (clear_by_pieces): Fix error in last change.
3678         * emit-rtl.c (init_emit): Set known registers alignment in bits.
3679         * function.h (regno_pointer_align): Now unsigned.
3680         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
3681         is in bits.
3682         * config/i386/i386.c (aligned_operand): Likewise.
3683         * config/sparc/sparc.c (mem_min_alignment): Likewise.
3684         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
3685         (unaligned_memory_operand): Likewise.
3686         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
3687         Also make alignments and sizes unsigned and some whitespace cleanup.
3688         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
3689
3690         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
3691         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
3692         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
3693         (expand_builtin_memset): Likewise, but to clear_storage.
3694         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
3695         (restore_fixed_argument_area): Likewise.
3696         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
3697         (load_register_parameters): Likewise, to emit_group_load.
3698         (expand_call): Likewise, to emit_group_store and emit_block_move.
3699         (emit_library_call_value_1): Likewise, to emit_block_move.
3700         (store_one_arg): Likewise, and to emit_push_insn.
3701         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
3702         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
3703         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
3704         (emit_block_move, emit_group_load, emit_group_store): Likewise.
3705         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
3706         (expand_assigment, store_expr, store_constructor_field): Likewise.
3707         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
3708         (store_constructor, store_field, get_inner_reference): Likewise.
3709         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
3710         (expand_expr, case COMPONENT_REF): Likewise.
3711         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
3712         and positions; reindent code.
3713         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
3714         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
3715         (assign_parms): Likewise to emit_group_store.
3716         * optabs.c (prepare_cmp_insn): Alignment is in bits.
3717         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
3718         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
3719         (expand_return): Likewise to {extract,store}_bit_field.
3720         * stor-layout.c (get_mode_alignment): Minor cleanup.
3721         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
3722         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
3723
3724 2000-03-29  Nick Clifton  <nickc@cygnus.com>
3725
3726         * config/arm/arm.h: Undo effects of previous delta:
3727         (ASM_SPEC): Do not define.
3728         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
3729
3730         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
3731         typo.
3732
3733 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3734
3735         * cppinit.c (cpp_start_read): Call initialize_dependency_output
3736         only after reading in the primary source file.
3737
3738 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
3739
3740         * c-common.c (c_common_nodes_and_builtins): The first parameter to
3741         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
3742         or a reference to a va_list.
3743         * builtins.c (stabilize_va_list): Simplify now we don't have to
3744         work around C array address decay.
3745         * c-typeck.c (convert_for_assignment): Handle assignment to
3746         a reference parameter by taking the address of the RHS.
3747         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
3748         (va_copy): Likewise.
3749         (__va_copy): Likewise.
3750         * ginclude/varargs.h (va_start): Likewise.
3751         (__va_copy): Likewise.
3752
3753 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
3754
3755         * i386/djgpp.h: Remove extraneous "+".
3756
3757         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
3758
3759         * calls.c (expand_call): Fix typo in last change.
3760
3761 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
3762
3763         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
3764         been expanded.
3765
3766 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3767
3768         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
3769         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
3770         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
3771         * tree.c (bit_position, byte_position): Likewise.
3772         * tree.h: Declare new functions.
3773
3774 2000-03-29  Nick Clifton  <nickc@cygnus.com>
3775
3776         * config/arm/arm.c: Minor formatting changes/
3777         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
3778         already defined.
3779         (ASM_SPEC): Define if not already defined.
3780
3781 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3782
3783         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
3784         _cpp_calc_hash.
3785
3786 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
3787
3788         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
3789         value, don't output it as unsigned.
3790
3791 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
3792
3793         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
3794
3795 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3796
3797         * c-common.c (c_common_nodes_and_builtins): Don't special case
3798         cplus_mode when declaring builtin bzero/bcmp, always avoid
3799         prototype arguments.
3800
3801 2000-03-29  Bruce Korb  <bkorb@gnu.org>
3802
3803         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
3804         to a non-file
3805
3806 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3807
3808         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
3809         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
3810         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
3811         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
3812         (save_fixed_argument_area, restore_fixed_argument_area):
3813         conditionize by #ifdef REG_PARM_STACK_SPACE only.
3814         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
3815         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
3816         (precompute_register_parameters): Avoid #ifdefs on
3817         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
3818         (stire_one_args): Likewise.
3819         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
3820         (emit_library_call_value_1): Likewise.
3821         (compute_argument_block_size): Align to STACK_BOUNDARY only for
3822         ACCUMULATE_OUTGOING_ARGS.
3823         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
3824         value.
3825         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
3826         (use_crosses_set_p): Likewise.
3827         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
3828         #define ACCUMULATE_OUTGOING_ARGS 1.
3829         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
3830         frames.
3831         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
3832         constants.
3833         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
3834         (TARGET_SWITCHES): Add push-args, no-push-args,
3835         accumulate-outgoing-args and no-accumulate-outgoing-args.
3836         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
3837         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
3838         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
3839         and PUSH_ROUNDING.
3840         (emit_push_insn): Likewise.
3841         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
3842         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
3843         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
3844         (STACK_DYNAMIC_OFFSET): Define correctly for both
3845         ACCUMULATE_OUTGOING_ARGS and normal mode.
3846         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
3847         * tm.texi (PUSH_ARGS): Document.
3848         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
3849
3850 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3851
3852         * flags.h (flag_optimize_sibling_calls): Declare.
3853         * calls.c (expand_call): Fail sibcall when
3854         !flag_optimize_sibling_calls
3855         * invoke.texi (flag_optimize_sibling_calls): Document.
3856         * toplev.c (flag_optimize_sibling_calls): New global variable.
3857         (f_options): Add flag_optimize_sibling_calls.
3858         (rest_of_compilation): Conditionize
3859         optimize_sibling_and_tail_recursive_calls by
3860         flag_optimize_sibling_calls.
3861         (main): Set flag_optimize_sibling_calls for -O2.
3862         * stmt.c (expand_return): Conditionize tail recursion by
3863         flag_optimize_sibling_calls.
3864
3865 2000-03-29  Richard Henderson  <rth@cygnus.com>
3866
3867         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
3868         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
3869
3870 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
3871
3872         * except.c (add_eh_table_entry): Mark type_info's as referenced.
3873
3874 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3875
3876         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
3877         is given.
3878         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
3879         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
3880         * config/rs6000/aix.h: then modified likewise.
3881
3882 2000-03-28  Richard Henderson  <rth@cygnus.com>
3883
3884         * rtl.h: Redistribute enum reg_note documentation.
3885         Kill trailing whitespace.
3886         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
3887         Kill trailing whitespace.
3888
3889 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
3890
3891         * cppfiles.c (hash_IHASH): Just return i->hash.
3892         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
3893         htab_find_with_hash.
3894         (cpp_read_file): Likewise.
3895         (find_include_file): Likewise.  Properly initialize
3896         ih->nshort.  Share ih->name and ih->nshort if possible.
3897         * cpphash.c (_cpp_calc_hash): New function.
3898         (hash_HASHNODE): Just return h->hash.
3899         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
3900         htab_find_with_hash.
3901         * cpphash.h: Prototype _cpp_calc_hash.
3902         * cppinit.c (initialize_builtins): Provide a valid hash
3903         to _cpp_make_hashnode, using _cpp_calc_hash.
3904
3905         * cpphash.c (collect_expansion): # is not a special character
3906         in object-like macros.  In -traditional mode, /**/ is not
3907         token paste at the beginning or end of the line.
3908         * cpplib.c (do_include, do_import, do_include_next): If
3909         parse_include fails, return immediately.
3910
3911 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
3912
3913         * config/arm/arm.md (return peepholes): Update to reflect the new
3914         call insn patterns.
3915         * config/arm/arm.c (arm_volatile_func): Also check
3916         current_function_nothrow.
3917         (output_return_instruction, output_func_prologue): Use it.
3918         (arm_output_epilogue, arm_expand_prologue): Likewise.
3919
3920 2000-03-27  Tom Tromey  <tromey@cygnus.com>
3921
3922         * gcc.c (handle_braces): In {x*...} case, break out of loop if
3923         switch is found.
3924
3925 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3926
3927         * expr.c (store_constructor): SIZE now signed.
3928         For EXPR_SIZE, don't evaluate size; just needed if constant.
3929         * fold-const.c (fold): Fix a number of cases when folded tree is
3930         wrong type.
3931         * function.c (flush_addressof): Reenable.
3932         * tree.h (flush_addressof): Likewise.
3933         * toplev.c (independent_decode_option): Look at strings_processed.
3934         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
3935
3936 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
3937
3938         * sibcall.c (indentify_call_return_value): Find last call in the chain;
3939         Allow stack adjustment after function call.
3940
3941         * regmove.c (struct csa_memlist): Make mem field rtx *.
3942         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
3943         (try_apply_stack_adjustment): Replace whole MEM rtx.
3944         (combine_stack_adjustments_for_block): Update calls
3945         to record_one_stack_ref.
3946
3947 2000-03-28  Neil Booth  <NeilB@earthling.net>
3948
3949         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
3950         '\\' rather than a null character, so nulls are not special.  Fix
3951         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
3952         speed trigraph conversion.
3953         (_cpp_init_input_buffer): Initialize trigraph map.
3954
3955 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
3956
3957         * config/i386/i386.c (output_387_binary_op): Correct intel
3958         mode assembly output, and add spaces after commas in AT&T
3959         output.  Correct Unixware assembler comment.  Document input
3960         constraints.  Comment fp operations.  Reduce profligate buffer
3961         size.  Remove extraneous abort.  Localize temp var.
3962         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
3963         (output_fix_trunc): Add spaces after commas in assembly output.
3964
3965 2000-03-27  Richard Henderson  <rth@cygnus.com>
3966
3967         * i386-protos.h (ix86_match_ccmode): Declare.
3968         * i386.c (ix86_match_ccmode): New.
3969         (ix86_expand_fp_compare): Update for pattern renames.
3970         (ix86_expand_strlensi_unroll_1): Likewise.
3971         * i386.h (EXTRA_CC_MODES): Add CCZ.
3972         (SELECT_CC_MODE): Use it for EQ/NE zero.
3973         * i386.md (cmpsi_ccz_1): New.
3974         (cmpqi_ccz_1): New.
3975         (*testsi_ccz_1): New.
3976         (testqi_ccz_1): New.
3977         (cmpsi_ccno_1): Rename from cmpsi_0.
3978         (testsi_ccno_1): Rename from testsi_1.
3979         (testqi_ccno_1): Rename from testqi_1.
3980         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
3981         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
3982         (*cmphi_0): Use ix86_match_ccmode.
3983         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
3984         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
3985         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
3986         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
3987         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
3988         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
3989         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
3990         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
3991         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
3992         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
3993         (appropriate peepholes): Likewise.
3994         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
3995         (*subsi_3, *subhi_3, *subqi_3): Remove.
3996         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
3997         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
3998         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
3999         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
4000         (x86_shift_adj_1): Use CCZ.
4001         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
4002
4003 2000-03-27  Stan Cox  <scox@cygnus.com>
4004
4005         * resource.h (mark_resource_type): New.
4006         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
4007         find_free_register): Use mark_resource_type.
4008         (mark_set_resources): Change include_delayed_effects
4009         to mark_resource_type.
4010         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
4011         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
4012         Use mark_resource_type.
4013
4014 2000-03-27  Richard Henderson  <rth@cygnus.com>
4015
4016         * i386.md (call_pop_0, call_value_pop_0): New.
4017         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
4018         (call_value_pop_1): Likewise.
4019         (call_0, call_value_0): New.
4020         (call_1, call_value_1): Remove constraint from unused arg.
4021
4022 2000-03-27  Nick Clifton  <nickc@cygnus.com>
4023
4024         * invoke.texi (Spec Files): Document new spec % command created by
4025         Tom Tromey's recent patch.
4026
4027 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
4028
4029         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
4030         if not defined.
4031
4032 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4033
4034         * expr.c (expand_assignment): Fix typo in last change.
4035
4036         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
4037
4038 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4039
4040         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
4041         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
4042         and DECL_INLINE if FUNCTION_DECL.
4043         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
4044         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
4045         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
4046         (combine_parm_decls): Likewise.
4047         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
4048         * print-tree.c (print_node): Likewise.
4049         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
4050         DECL_TRANSPARENT_UNION on proper decl types.
4051         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
4052         * stor-layout.c (layout_decl): Only check DECL_PACKED and
4053         DECL_BIT_FIELD of FIELD_DECL.
4054         * tree.h (DECL_RESULT_FLD): New macro.
4055
4056         * expr.c (expand_assignment): Add code to handle variable-sized
4057         BLKmode case.
4058
4059 2000-03-26  Richard Henderson  <rth@cygnus.com>
4060
4061         * calls.c (expand_call): Pass parms not original exp to
4062         optimize_tail_recursion.  Mind return value instead of looking
4063         for a barrier.
4064         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
4065         call_expr.  Move checks for call_expr and current_function_decl ...
4066         (expand_return): ... here.
4067
4068 2000-03-26  Tom Tromey  <tromey@cygnus.com>
4069
4070         * gcc.c (handle_braces): Recognize `%{<S}' construct.
4071         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
4072         defines.
4073         (process_command): Use them.
4074         (check_live_switch): Likewise.
4075         (give_switch): Skip ignored switches.
4076
4077 2000-03-26  Jan Hubicka  <jh@suse.cz>
4078
4079         * jump.c (jump_optimize_1): Fix typo in elide optimizations
4080         for minimal jump pass test.
4081
4082 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
4083
4084         * integrate.c (function_cannot_inline_p): Do inline functions that
4085         return `void'.
4086
4087 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4088
4089         * stor-layout.c (layout_type, set_sizetype): early_type_list is
4090         now a list of TREE_LIST entries, not types.
4091         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
4092
4093         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
4094         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
4095         int_bit_position.
4096         * config/mips/mips.c (function_arg): Likewise; also remove cast
4097         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
4098         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
4099         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
4100         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
4101         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
4102         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
4103         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
4104         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
4105         num_adjusts now unsigned.
4106         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
4107         * config/sparc/sparc.c (struct function_arg_record_value_parms):
4108         NREGS now unsigned.
4109         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
4110         as is BITPOS variable; use host_integerp and int_bit_position.
4111         (function_arg_record_value_2): Likewise.
4112         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
4113         Variable REGNO now unsigned.
4114         (function_arg_record_value): NREGS now unsigned.
4115
4116 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
4117
4118         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
4119
4120 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4121
4122         * Rework fields used to describe positions of bitfields and
4123         modify sizes to be unsigned and use HOST_WIDE_INT.
4124         * alias.c (reg_known_value_size): Now unsigned.
4125         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
4126         (really_start_incremental_init): Use bitsize_zero_node.
4127         (push_init_level, pop_init_level, output_init_element): Likewise.
4128         Use bitsize_unit_node and bitsize_one_node.
4129         (output_pending_init_elements, process_init_element): Likewise.
4130         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
4131         (make_extraction): Position and length HOST_WIDE_INT and unsigned
4132         HOST_WIDE_INT, respectively.
4133         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
4134         (num_sign_bit_copies): Returns unsigned.
4135         BITWIDTH now unsigned; rework arithmetic.
4136         Remove recursive call from arg to MAX.
4137         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
4138         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
4139         REGNO now unsigned.
4140         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
4141         (find_split_point, expand_compound_operation, make_extraction): LEN
4142         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
4143         (make_field_assignment): Likewise.
4144         (combine_simplify_rtx): Add cast.
4145         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
4146         (force_to_mode): WIDTH now unsigned; add cast.
4147         (if_then_else_cond): SIZE now unsigned.
4148         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
4149         (extended_count): Now returns unsigned.
4150         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
4151         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
4152         (simplify_comparison): MODE_WIDTH now unsigned.
4153         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
4154         (mark_used_regs_combine): Likewise; rework arithmetic.
4155         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
4156         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
4157         (record_promoted_value): REGNO now unsigned.
4158         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
4159         (get_last_value): REGNO now unsigned.
4160         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
4161         (reg_dead_regno, reg_dead_endregno): Now unsigned.
4162         (remove_death): Arg REGNO now unsigned.
4163         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
4164         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
4165         now unsigned.
4166         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
4167         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
4168         (struct cse_reg_info): REGNO now unsigned.
4169         (cached_regno): Now unsigned.
4170         (REGNO_QTY_VALID_P): Add cast.
4171         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
4172         (remove_invalid_regs): Likewise.
4173         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
4174         as are variables END and I.
4175         (get_cse_reg_info, insert): Likewise.
4176         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
4177         (canon_hash): Likewise.
4178         (insert_regs, lookup_for_remove): REGNO now unsigned.
4179         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
4180         New variable RN.
4181         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
4182         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
4183         * emit-rtl.c (subreg_realpart_p): Add cast.
4184         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
4185         (operand_subword_force): Arg I is now unsigned.
4186         * except.c (eh_regs): Variable I is now unsigned.
4187         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
4188         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
4189         length is unsigned HOST_WIDE_INT; likewise for internal variables.
4190         (store_split_bit_field, extract_fixed_bit_field): Likewise.
4191         (extract_split_bit_field, store_bit_field, extract_bit_field):
4192         Likewise.
4193         * expr.c (store_constructor_fields, store_constructor, store_field):
4194         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
4195         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
4196         (do_jump): Likewise.
4197         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
4198         MAX_SIZE is now unsigned.
4199         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
4200         (emit_group_store): Likewise.
4201         (emit_move_insn): I now unsigned.
4202         (store_constructor): Use host_integerp, tree_low_cst, and
4203         bitsize_unit_node.
4204         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
4205         Rework all calculations to use trees and new fields.
4206         * expr.h (promoted_input_arg): Regno now unsigned.
4207         (store_bit_field, extract_bit_field): Adjust types of pos and size.
4208         (mark_seen_cases): Arg is HOST_WIDE_INT.
4209         * flow.c (verify_wide_reg_1): REGNO now unsigned.
4210         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
4211         precisions and alignments are unsigned.
4212         (optimize_bit_field_compare, fold_truthop): Likewise.
4213         (int_const_binop): Adjust threshold for size_int_type_wide call.
4214         (fold_convert): Likewise.
4215         (size_int_type_wide): Make table larger and fix thinko that only
4216         had half of table used.
4217         (all_ones_mask_p, fold): Precisions are unsigned.
4218         * function.c (put_reg_info_stack): REGNO is unsigned.
4219         (instantiate_decl): Size is HOST_WIDE_INT.
4220         (instantiate_virtual_regs): I is unsigned.
4221         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
4222         (promoted_input_arg): REGNO is unsigned.
4223         * function.h (struct function): x_max_parm_reg is now unsigned.
4224         * gcse.c (max_gcse_regno): Now unsigned.
4225         (struct null_pointer_info): min_reg and max_reg now unsigned.
4226         (lookup_set, next_set): REGNO arg now unsigned.
4227         (compute_hash_table): REGNO and I now unsigned.
4228         (handle_avail_expr): regnum_for_replacing now unsigned.
4229         (cprop_insn): REGNO now unsigned.
4230         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
4231         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
4232         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
4233         * hard-reg-set.h (reg_class_size): Now unsigned.
4234         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
4235         * jump.c (mark_modified_reg): I now unsigned; add cast.
4236         (rtx_equal_for_thread_p): Add cast.
4237         * loop.c (max_reg_before_loop): Now unsigned.
4238         (struct_movable): REGNO now unsigned.
4239         (try_copy_prop): REGNO arg unsigned.
4240         (regs_match_p): XN and YN now unsigned.
4241         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
4242         (strength_reduce): Likewise; NREGS also unsigned.
4243         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
4244         * loop.h (struct iv_class): REGNO now unsigned.
4245         (max_reg_before_loop, first_increment_giv, last_increment_giv):
4246         Now unsigned.
4247         * machmode.h (mode_size, mode_unit_size): Now unsigned.
4248         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
4249         * optabs.c (expand_binop): I and NWORDS now unsigned.
4250         (expand_unop): I now unsigned.
4251         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
4252         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
4253         * real.c (significand_size): Now returns unsigned.
4254         * real.h (significand_size): Likewise.
4255         * regclass.c (reg_class_size): Now unsigned.
4256         (choose_hard_reg_mode): Both operands now unsigned.
4257         (record_reg_classes): REGNO and NR now unsigned.
4258         (reg_scan): NREGS now unsigned.
4259         (reg_scan_update): old_max_regno now unsigned.
4260         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
4261         * reload.c (find_valid_class): BEST_SIZE now unsigned.
4262         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
4263         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
4264         Likewise for variable R.
4265         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
4266         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
4267         (find_equiv_reg): Add casts.
4268         (regno_clobbered_p): Arg REGNO now unsigned.
4269         * reload.h (struct reload): NREGS now unsigned.
4270         (refers_to_regno_for_reload_p): Regno args are unsigned.
4271         (regno_clobbered_p): Likewise.
4272         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
4273         (compute_use_by_pseudos): REGNO now unsigned.
4274         (find_reg): I and J now unsigned, new variable K, and change loop
4275         variables accordingly; THIS_NREGS now unsigned.
4276         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
4277         (spill_hard_reg): REGNO arg now unsigned; add casts.
4278         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
4279         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
4280         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
4281         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
4282         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
4283         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
4284         (emit_reload_insns): REGNO now unsigned.
4285         (reload_cse_move2add): Add cast.
4286         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
4287         and rework loop.
4288         * resource.c (mark_referenced_resources, mark_set_resources): New
4289         variable R; REGNO and LAST_REGNO now unsigned.
4290         (mark_target_live_regs): J and REGNO now unsigned.
4291         * rtl.c (mode_size, mode_unit_size): Now unsigned.
4292         * rtl.h (union rtunion_def): New field rtuint.
4293         (XCUINT): New macro.
4294         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
4295         (operand_subword, operand_subword_force): Word number is unsigned.
4296         (choose_hard_reg_mode): Operands are unsigned.
4297         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
4298         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
4299         (regno_use_in, combine_instructions, remove_death): Likewise.
4300         (reg_scan, reg_scan_update): Likewise.
4301         (extended_count): Return is unsigned.
4302         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
4303         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
4304         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
4305         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
4306         (reg_reg_last_1): FIRS and LAST now unsigned.
4307         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
4308         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
4309         now unsigned.
4310         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
4311         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
4312         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
4313         (replace_regs): Arg NREGS now unsigned.
4314         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
4315         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
4316         (simplify_binary_operation): Likewise.
4317         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
4318         THIS_LAST now unsigned.
4319         (cselib_record_set): Add cast.
4320         * ssa.c (ssa_max_reg_num): Now unsigned.
4321         (rename_block): REGNO now unsigned.
4322         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
4323         sizes now unsigned.
4324         (all_cases_count): Just return -1 not -2.
4325         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
4326         Rework tests to use trees whenever possible.
4327         Use host_integerp and tree_low_cst.
4328         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
4329         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
4330         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
4331         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
4332         (smallest_mode_for_size): Likewise.
4333         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
4334         KNOWN_ALIGN is now an alignment, so simplify code.
4335         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
4336         (start_record_layout): Renamed from new_record_layout_info.
4337         Update to new fields.
4338         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
4339         New functions.
4340         (place_union_field): Renamed from layout_union_field.
4341         Update to use new fields in rli.
4342         (place_field): Renamed from layout_field.
4343         Major rewrite to use new fields in rli; pass alignment to layout_decl.
4344         (finalize_record_size): Rework to use new fields in rli and handle
4345         union.
4346         (compute_record_mode): Rework to simplify and to use new DECL fields.
4347         (finalize_type_size): Make rounding more consistent.
4348         (finish_union_layout): Deleted.
4349         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
4350         (layout_type, case RECORD_TYPE): Call new function names.
4351         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
4352         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
4353         (get_best_mode): UNIT is now unsigned; remove casts.
4354         * tree.c (bit_position): Compute from new fields.
4355         (byte_position, int_byte_position): New functions.
4356         (print_type_hash_statistics): Cast to remove warning.
4357         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
4358         (build_index_type): Likewise; make subtype of sizetype.
4359         (build_index_2_type): Pass sizetype to build_range_type.
4360         (build_common_tree_nodes): Use size_int and bitsize_int to
4361         initialize nodes; add bitsize_{zero,one,unit}_node.
4362         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
4363         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
4364         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
4365         (DECL_FIELD_BITPOS): Deleted.
4366         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
4367         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
4368         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
4369         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
4370         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
4371         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
4372         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
4373         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
4374         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
4375         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
4376         (DECL_ALIGN): Adjust to new field in union.
4377         (DECL_OFFSET_ALIGN): New field.
4378         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
4379         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
4380         (union tree_decl): Add struct for both aligns.
4381         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
4382         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
4383         (struct record_layout_info): Rework fields to have offset
4384         alignment and byte and bit position.
4385         (start_record_layout, place_field): Renamed from old names.
4386         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
4387         (byte_position, int_byte_position): Likewise.
4388         (get_inner_reference): Change types of position and length.
4389         * unroll.c (unroll_loop): New variable R; use for some loops.
4390         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
4391         (calculate_giv_inc): Arg REGNO now unsigned.
4392         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
4393         * varasm.c (assemble_variable): Clean up handling of size using
4394         host_integerp and tree_low_cst.
4395         (decode_addr_const): Use byte, not bit, position.
4396         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
4397         use tree_low_cst and int_bit_position.
4398         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
4399
4400 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
4401
4402         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
4403         (reorder_block_def): New members eff_head and eff_end.
4404         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
4405         (verify_insn_chain): New function.
4406         (skip_insns_between_block): Add code to skip deleted insns.
4407         Check for note before using.
4408         (chain_reorder_blocks): Replace calls to skip_insns_between_block
4409         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
4410         Check for note before using.
4411         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
4412         (fixup_reorder_chain): Restructure, clean up, defect removal.
4413         (reorder_basic_blocks): Remove last_insn and references to it.
4414         Moved insn chain verification code into a new function (see above).
4415         Delete defective code that sets last insn.
4416         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
4417         all blocks.
4418
4419 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4420
4421         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
4422
4423 2000-03-24  Richard Henderson  <rth@cygnus.com>
4424
4425         * tree.c (lang_safe_for_unsave): Remove.
4426         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
4427         allowing for two levels of unsafeness.  Remove lang hook.
4428         * tree.h: Update declarations.
4429         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
4430         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
4431         Always fail sibcalls when there are pending cleanups.
4432
4433 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
4434
4435         * flow.c (propagate_block): When we delete an ADDR_VEC,
4436         also delete the BARRIER following it if there is one.
4437
4438 2000-03-24  Richard Henderson  <rth@cygnus.com>
4439
4440         * builtins.c (expand_builtin_bzero): Convert `length' argument
4441         to sizetype.
4442
4443 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
4444
4445         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
4446         comparison if regno's are equal.
4447         * calls.c (initialize_argument_informat): Add ecf_flags argument.
4448         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
4449         (expand_call): Update caller.
4450         Avoid making a sibling call if argument size of the callee is larger
4451         than argument size of the caller.
4452         Call hard_function_value with outgoing set if in sibcall pass.
4453         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
4454
4455         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
4456         Change LEAF_REGISTERS from an array initializer to actual array
4457         identifier. Move static global variable into the function.
4458         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
4459         sequences for leaf functions.
4460         * global.c (global_alloc): Likewise.
4461         * tm.texi (LEAF_REGISTERS): Update documentation.
4462
4463         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
4464         TARGET_FLAT leaf disabling hack.
4465         (LEAF_REGISTERS): Changed from an array initializer to actual array
4466         identifier to avoid duplication and remove the above hack.
4467         (FUNCTION_OK_FOR_SIBCALL): Define.
4468         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
4469         always like call attribute.
4470         (eligible_for_sibcall_delay): New attribute.
4471         (sibcall): New delay type.
4472         (sibcall, sibcall_value, sibcall_epilogue): New expands.
4473         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
4474         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
4475         * config/sparc/sparc.c (sparc_leaf_regs): New array.
4476         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
4477         New functions.
4478         (output_function_epilogue): Move part of the code into
4479         output_restore_regs.
4480         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
4481         TYPE_SIBCALL.
4482         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
4483         prototypes.
4484
4485         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
4486         until infrastructure is finished.
4487
4488 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
4489
4490         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
4491         (save_parm_insns): Not here.
4492
4493 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4494
4495         * builtins.c (expand_builtin_bzero): New function.
4496         (expand_builtin): Handle bzero.
4497
4498         * builtins.def: Add BUILT_IN_BZERO.
4499
4500         * c-common.c (c_common_nodes_and_builtins): Provide builtin
4501         prototype & function for bzero.
4502
4503 2000-03-23  Michael Meissner  <meissner@redhat.com>
4504
4505         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
4506         change adding TARGET_FP to the TF floating point insns, except for
4507         trunctfsf2, which generates direct calls to truncdfsf2.
4508
4509 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
4510
4511         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
4512         try to protect against middle-end changes that break binary
4513         compatibility.
4514         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
4515
4516 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4517
4518         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
4519
4520 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4521
4522         * calls.c (expand_call): If TARGET is passed by reference and
4523         is readonly, write a CLOBBER.
4524
4525 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4526
4527         * builtins.c (expand_builtin): Handle bcmp.
4528
4529         * builtins.def: Add BUILT_IN_BCMP.
4530
4531         * c-common.c (c_common_nodes_and_builtins): Provide builtin
4532         prototype & function for bcmp.
4533
4534 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
4535
4536         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
4537         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
4538         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
4539
4540 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
4541
4542         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
4543         alternative when using -fp64 -gp32.
4544
4545 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
4546
4547         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
4548         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
4549         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
4550
4551         * frame.h (frame_state): Revert last change.
4552         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
4553         * libgcc2.c (throw_helper): Revert last change.
4554
4555 2000-03-22  Richard Henderson  <rth@cygnus.com>
4556
4557         * stmt.c (expand_asm_operands): Don't promote the temporary.
4558
4559 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4560
4561         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
4562         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
4563           c_get_alias_set): Likewise.
4564         * c-decl.c (duplicate_decls): Likewise.
4565         * c-typeck.c (default_conversion,build_unary_op): Likewise.
4566         * calls.c (initialize_argument_information): Likewise.
4567         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
4568         Likewise.
4569         * dwarfout.c (decl_class_context,output_type): Likewise.
4570         * expr.c (get_inner_reference): Likewise.
4571         * fold-const.c (simple_operand_p,fold): Likewise.
4572         * function.c (aggregate_value_p): Likewise.
4573         * stmt.c (expand_asm_operands): Likewise.
4574         * varasm.c (named_section): Likewise.
4575
4576 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
4577
4578         Implement dwarf2 exception handling for the ARM.
4579         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
4580         (DWARF_FRAME_RETURN_COLUMN): Define.
4581         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
4582         REG_FRAME_RELATED_EXPR note.
4583         (emit_sfm): Likewise.
4584         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
4585         * dwarf2out.c (reg_save): Handle saving a register to itself.
4586         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
4587         * except.c (eh_regs): Don't use the static chain reg if it's
4588         callee-saved.
4589         * frame.h (frame_state): Add cfa_saved field.
4590         * frame.c (execute_cfa_insn): Set it.
4591         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
4592         the epilogue.
4593         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
4594         Now takes a parm.
4595         (instantiate_virtual_regs): Adjust.
4596         * tm.texi: Adjust.
4597         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
4598         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
4599         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
4600
4601         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
4602         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
4603
4604 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4605
4606         * builtins.def: New file.
4607
4608         * Makefile.in (TREE_H): Depend on builtins.def.
4609
4610         * builtins.c (built_in_names): Use builtins.def.
4611
4612         * tree.h (built_in_function): Likewise.
4613
4614 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
4615
4616         * tree.c (size_in_bytes): Return size_zero_node, not
4617         integer_zero_node.
4618
4619 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
4620
4621         * config/fp-bit.c (pack_d): Correct the case when a denormal
4622         is rounded up and stops being denormal.
4623
4624 2000-03-21  Richard Henderson  <rth@cygnus.com>
4625
4626         * config/alpha/alpha.c (function_arg): Check for void_type_node
4627         before using MUST_PASS_IN_STACK.
4628
4629 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
4630
4631         * regmove.c (combine_stack_adjustments_for_block): Check that
4632         the stack pointer is a valid memory address.
4633
4634 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
4635
4636         * calls.c: re-install Mar 16 emit_library_call merge.
4637
4638 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
4639
4640         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
4641         we cannot be sure that if reload_completed base register will
4642         be properly aligned.
4643
4644 2000-03-21  Richard Henderson  <rth@cygnus.com>
4645
4646         * flow.c (delete_block): Fix typo last change.
4647
4648 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
4649
4650         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
4651         not COMPLETE_TYPE_P, to check the type of the expression.
4652
4653 2000-03-21  Michael Meissner  <meissner@redhat.com>
4654
4655         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
4656         all floating point insns that just tested the macro
4657         TARGET_HAS_XFLOATING_LIBS.
4658         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
4659         used to only use the gprs.
4660
4661 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
4662
4663         * tree.h (COMPLETE_TYPE_P): New macro.
4664         (COMPLETE_OR_VOID_TYPE_P): New macro.
4665         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
4666         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
4667         * c-aux-info.c (gen_type): Use them.
4668         * c-common.c (c_expand_expr_stmt): Likewise.
4669         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
4670         grokdeclarator, grokparms, finish_struct, start_function,
4671         store_parm_decls, combine_parm_decls): Likewise.
4672         * c-parse.y (cast_expr): Likewise.
4673         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
4674         c_size_in_bytes, c_alignof, build_component_ref,
4675         build_indirect_ref, build_array_ref, convert_arguments,
4676         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
4677         * calls.c (initialize_argument_information): Likewise.
4678         * convert.c (convert_to_integer): Likewise.
4679         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
4680         * dwarfout.c (location_or_const_value_attribute,
4681         output_enumeration_type_die, output_structure_type_die,
4682         output_union_type_die, output_type): Likewise.
4683         * expr.c (safe_from_p, expand_expr): Likewise.
4684         * function.c (assign_parms): Likewise.
4685         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
4686         * tree.c (build_array_type, build_function_type,
4687         build_method_type, build_offset_type, build_complex_type): Likewise.
4688         * c-parse.c, c-parse.h: Regenerated.
4689
4690 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4691
4692         * config/c4x/rtems.h: Include config/rtems.h.
4693
4694 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
4695
4696         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
4697         decl is a FUNCTION_DECL
4698
4699 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
4700
4701         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
4702         function uses output registers.  Don't save RP for leaf functions.
4703         Do save RP even if no epilogue.
4704         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
4705         (CALL_USED_REGISTERS): Unmark in registers.
4706         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
4707         to near the middle.
4708
4709 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
4710
4711         * config/rs6000/rs6000.md (bunordered): New expander.
4712         (bordered): New expander.
4713         (buneq): New expander.
4714         (bunge): New expander.
4715         (bungt): New expander.
4716         (bunle): New expander.
4717         (bunlt): New expander.
4718         (bltgt): New expander.
4719
4720         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
4721         (ccr_bit_negated_p): New function.
4722         (print_operand): For %C, generate appropriate cror for UNEQ,
4723         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
4724
4725 2000-03-20  Andreas Jaeger  <aj@suse.de>
4726
4727         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
4728         warning.
4729
4730         * tree.h (safe_for_unsave): Prototype.
4731
4732 2000-03-20  Richard Henderson  <rth@cygnus.com>
4733
4734         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
4735         (combine_stack_adjustments_for_block): Don't allow sp references
4736         in the side of a set we're not fixing up.
4737         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
4738         after life_analysis.
4739
4740 2000-03-20  Richard Henderson  <rth@cygnus.com>
4741
4742         * calls.c (expand_call): Don't bother generating tail call
4743         sequences if there are pending cleanups.  Use
4744         expand_start_target_temps/expand_end_target_temps to elide
4745         cleanups created during sibcall expansion.
4746
4747 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
4748
4749         * configure.in: Set $IFS to a value if it doesn't already have one
4750         in the --enable-checking handling.
4751         * configure: Regenerate.
4752
4753 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4754
4755         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
4756         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
4757         Regenerated.
4758
4759 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
4760
4761         * jump.c (delete_noop_moves): Remove code attempting to
4762         combine stack adjustments.
4763
4764 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4765
4766         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
4767         * except.c (emit_cleanup_handler): Use them.
4768         (expand_end_all_catch): Likewise.
4769         * function.c (fixup_var_refs): Likewise.
4770         (expand_function_end): Clear catch_clauses_last.
4771         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
4772         * except.h (struct eh_status): New field x_catch_clauses_last.
4773         (catch_clauses_last): New define.
4774
4775         * Makefile.in (tree.o): Depend on HASHTAB_H.
4776         * tree.c: Include hashtab.h.
4777         (struct type_hash): Remove next field.
4778         (TYPE_HASH_SIZE): Remove.
4779         (TYPE_HASH_INITIAL_SIZE): New define.
4780         (type_hash_table): Change type to htab_t.
4781         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
4782         mark_hash_entry): New functions.
4783         (init_obstacks): Allocate type hash.
4784         (type_hash_lookup): Use htab functions.
4785         (type_hash_add, mark_type_hash): Likewise.
4786         (dump_tree_statistics): Call print_type_hash_statistics.
4787
4788 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4789
4790         * rs6000/t-aix41: New file.
4791
4792         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
4793
4794 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
4795
4796         * tm.texi (Driver): Fix typos and tweak entry for
4797         INCLUDE_DEFAULTS.
4798         Move misplaced STRUCT_FORCE_BLK entry ...
4799         (Storage Layout): ... to here.
4800         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
4801
4802 2000-03-19  Richard Henderson  <rth@cygnus.com>
4803
4804         * flow.c (delete_block): Delete the addr_vec along with the block.
4805         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
4806         reference labels.
4807
4808         * fold-const.c (extract_muldiv): Apply type check for defined
4809         overflow to multiply as well as divide.
4810
4811         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
4812
4813 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
4814
4815         * emit-rtl.c (remove_unncessary_notes): Check that all
4816         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
4817         associated NOTE_BLOCK.
4818         * function.h (identify_blocks): Update comments.
4819         (reorder_blocks): Declare.
4820         * function.c (identify_blocks): Don't take paramters.
4821         (reorder_blocks): Don't take parameters.
4822         * loop.h (find_loop_tree_blocks): Remove.
4823         (unroll_block_trees): Likewise.
4824         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
4825         reorder_blocks instead of unroll_block_trees.h
4826         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
4827         * stmt.c (find_loop_tree_blocks): Remove.
4828         (unroll_block_trees): Likewise.
4829         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
4830         in whole-function mode.
4831         * tree.h (reorder_blocks): Remove declaration.
4832
4833         * expr.c: Include intl.h.
4834         * Makefile.in (expr.o): Depend on intl.h.
4835
4836 2000-03-18  Richard Henderson  <rth@cygnus.com>
4837
4838         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
4839
4840 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
4841
4842         * tree.h (tree_index): Remove enumerals for integer types.
4843         (integer_type_kind): New type.
4844         (integer_types): New variable.
4845         (char_type_node): Adjust.
4846         (signed_char_type_node): Likewise.
4847         (unsigned_char_type_node): Likewise.
4848         (short_integer_type_node): Likewise.
4849         (short_unsigned_type_node): Likewise.
4850         (integer_type_node): Likewise.
4851         (unsigned_type_node): Likewise.
4852         (long_integer_type_node): Likewise.
4853         (long_unsigned_type_node): Likewise.
4854         (long_long_integer_type_node): Likewise.
4855         (long_long_unsigned_type_node): Likewise.
4856         * tree.c (integer_types): New variable.
4857         (init_obstacks): Register it as a root.
4858
4859 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
4860
4861         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
4862         NEXT_INSN. Update last insn in chain.
4863
4864 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
4865
4866         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
4867         with TYPE_DECL_SUPPRESS_DEBUG set.
4868
4869 2000-03-18  Richard Henderson  <rth@cygnus.com>
4870
4871         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
4872
4873 2000-03-18  Richard Henderson  <rth@cygnus.com>
4874
4875         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
4876         care for HALF_PIC_P.
4877         (expander_call_insn_operand): Remove.
4878         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
4879         * i386.h (PREDICATE_CODES): Update.
4880         * i386.md (all call expanders): Remove predicates, remove special
4881         handling for half-pic.
4882         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
4883         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
4884         (sibcall_epilogue): New.
4885
4886 2000-03-17  Richard Henderson  <rth@cygnus.com>
4887
4888         * rtlanal.c (single_set): Reject if the parallel has anything
4889         except SET or USE or CLOBBER.
4890
4891 2000-03-17  Jeff Law  <law@cygnus.com>
4892             Richard Henderson  <rth@cygnus.com>
4893
4894         * Makefile.in (OBJS): Add sibcall.o.
4895         (sibcall.o): New.
4896         * sibcall.c: New file.
4897         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
4898         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
4899         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
4900         Emit sibcall patterns when requested.  Update all callers.
4901         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
4902         elimination seems feasable.
4903         * final.c (leaf_function_p): Sibling calls don't discount being
4904         a leaf function.
4905         * flow.c (HAVE_sibcall_epilogue): Provide default.
4906         (find_basic_blocks_1): Sibling calls don't throw.
4907         (make_edges): Make edge from sibling call to EXIT.
4908         (propagate_block): Don't remove sibcall_epilogue insns.
4909         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
4910         (sibcall_epilogue): New.
4911         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
4912         (identify_blocks_1): Likewise.  Break out from ...
4913         (identify_blocks): ... here.
4914         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
4915         (reorder_blocks): ... here.
4916         (init_function_for_compilation): Zap prologue/epilogue as varrays.
4917         (record_insns): Extend a varray instead of mallocing new memory.
4918         (contains): Read a varray not array of ints.
4919         (sibcall_epilogue_contains): New.
4920         (thread_prologue_and_epilogue_insns): Emit and record
4921         sibcall_epilogue patterns.
4922         (init_function_once): Allocate prologue/epilogue varrays.
4923         * genflags.c (gen_insn): Treat sibcall patterns as calls.
4924         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
4925         Broken out from ...
4926         (save_for_inline_nocopy): ... here.
4927         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
4928         Broken out from ...
4929         (expand_inline_function): ... here.
4930         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
4931         (subst_constants): Handle 'n' formats.
4932         * jump.c (jump_optimize_minimal): New.
4933         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
4934         optimizations if it's set.
4935         * rtl.c (copy_rtx): Do copy jump & call for insns.
4936         * rtl.h (struct rtx_def): Document use of jump and call for insns.
4937         (SIBLING_CALL_P): New.
4938         (sibcall_use_t): New.
4939         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
4940         Invoke optimize_sibling_and_tail_recursive_calls.
4941         * tree.c (lang_safe_for_unsave): New.
4942         (safe_for_unsave): New.
4943         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
4944
4945         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
4946         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
4947         (*sibcall_osf_1, *sibcall_value_osf_1): New.
4948
4949 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
4950
4951         * objc/objc-act.c (encode_method_prototype): Pass types, not
4952         PARM_DECLs, to int_size_in_bytes.
4953
4954 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
4955
4956         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
4957
4958         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4959         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
4960
4961 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4962
4963         * Clean up usages of TREE_INT_CST_LOW.
4964         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
4965         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
4966         Regenerated.
4967         * c-tree.h (min_precision): Move declaration to here.
4968         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
4969         (build_unary_op, add_pending_init): Use bit_position.
4970         (pending_init_member, process_init_element): Likewise.
4971         (really_start_incremental_init, push_init_level, pop_init_level):
4972         Don't make copies of nodes or modify them in place, use consistent
4973         types when tracking positions, and use tree routines computations.
4974         (set_init_index, output_init_element): Likewise.
4975         (output_pending_init_elements, process_init_element): Likewise.
4976         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
4977         tree_low_cst and int_bit_position; also minor cleanup.
4978         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
4979         (print_cst_octal): Precision is unsigned.
4980         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
4981         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
4982         (simple_type_align_in_bits): Result is unsigned int.
4983         Use tree_int_low_cst and host_integerp.
4984         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
4985         (field_byte_offset): Result is HOST_WIDE_INT.
4986         Change types of internal variables so alignments are unsigned int,
4987         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
4988         Use host_integerp, tree_low_cst, and int_bit_position.
4989         (add_bit_offset_attribute): Likewise.
4990         (add_data_member_location_attribute): Use tree_cst_low.
4991         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
4992         (add_bit_size_attribute): Use tree_low_cst.
4993         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
4994         * dwarfout.c: Similar changes to dwarf2out.c.
4995         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
4996         * genoutput.c (n_occurences): Return -1 for null string.
4997         (strip_whitespace): Accept null string and make into function.
4998         (scan_operands): Reflect above changes.
4999         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
5000         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
5001         * ssa.c (rename_registers): Add missing cast of arg to bzero.
5002         * tree.c (int_size_in_bytes): Check for too big to represent.
5003         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
5004         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
5005         New declarations.
5006         (min_precision): Delete from here.
5007         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
5008         and int_bit_position.
5009         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
5010         (encode_method_def): Likewise.
5011         (build_ivar_list_initializer): Use int_bit_position.
5012         (generate_shared_structures): Convert size.
5013         (encode_type, encode_complete_bitfield): Use integer_zerop.
5014         (encode_bitfield): Use tree_low_cst and int_bit_position.
5015
5016 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5017
5018         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
5019
5020 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5021
5022         * call.c (special_function_p): It is only malloc if it returns
5023         Pmode.
5024
5025 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5026
5027         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
5028         (C33_FLAG, TARGET_C3X): Add macros.
5029         (TARGET_SWITCHES): Add -m33 option.
5030         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
5031
5032 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5033
5034         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
5035         (PARALLEL_PACK_FLAG): Delete.
5036         (TARGET_SWITCHES): Update.
5037         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
5038
5039 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5040
5041         * fold-const.c (fold): Fix a few cases when the returned result
5042         is not of the same type as the input.
5043
5044 2000-03-16  Nick Clifton  <nickc@cygnus.com>
5045
5046         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
5047         warning.
5048
5049 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5050
5051         * libgcc2.h: Move prototypes above macros with the same name.
5052         Wrap some function prototypes in the conditional which indicates
5053         whether they are supported, i.e. "BITS_PER_UNIT == 8".
5054
5055 2000-03-16  Richard Henderson  <rth@cygnus.com>
5056
5057         * calls.c: Revert last two changes.
5058
5059 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
5060
5061         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
5062         has exponent 0 is a zero.
5063
5064         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
5065         HASH may already be nonzero.  Add code/mode into hash value
5066         immediately after repeat label.
5067         (cselib_lookup): Don't leave the hash table in an inconsistent
5068         state before a hash lookup operation.
5069
5070 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
5071
5072         * i386.md (all HI and QI mode non-move patterns):  Conditionize
5073         by TARGET_[HQ]IMODE_MATH.
5074         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
5075         x86_promote_qi_regs): Declare.
5076         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
5077         TARGET_PROMOTE_QI_REGS): New macros.
5078         (PROMOTE_MODE): New macro.
5079         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
5080         x86_promote_qi_regs): New global variables.
5081
5082 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
5083
5084         * calls.c (emit_library_call_value_1): Break out from ...; handle
5085         VOIDmode function calls too.
5086         (emit_library_call_value): ... here.
5087         (emit_library_call): Implement by calling emit_library_call_value_1.
5088
5089 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
5090
5091         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
5092         Update arg_space_so_far on stack adjustments.
5093         (emit_library_call, emit_library_call_value): Likewise; take into
5094         account arg_space_so_far and pending_stack_adjust when calculcating
5095         the boundary.
5096
5097 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
5098
5099         * flow.c: Move all basic block reordering code into its own file.
5100         (create_basic_block): Externalize.
5101         * bb-reorder.c: New file. Copy all basic block reordering code from
5102         flow.c to this file.
5103         (reorder_basic_blocks): Fix fencepost error in for-loop.
5104         (reorder_basic_blocks): Remove braces from single statement for-loops.
5105         * basic-block.h: Add declaration for create_basic_block.
5106         * Makefile.in: Add rules for bb-reorder.o.
5107
5108 2000-03-16  Neil Booth  <NeilB@earthling.net>
5109
5110         * cppinit.c (handle_option):  Implement #unassert directive
5111         as -A- command line option.
5112         (print_help):  Update.
5113         * cpptexi.c:  Update.
5114
5115 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5116
5117         * md.texi (Standard Names): Document `jump'.
5118
5119 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
5120
5121         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
5122         gotos.
5123
5124 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
5125
5126         Merge changes from newppc-branch onto trunk.
5127
5128         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
5129
5130         * rs6000.c (toc_hash_table): Update for new hash table functions.
5131         (toc_hash_function): Likewise.
5132         (toc_hash_eq): Likewise.
5133         (toc_hash_mark_entry): Likewise.
5134         (toc_hash_mark_table): Likewise.
5135         (output_toc): Likewise.
5136         (rs6000_add_gc_roots): Likewise.
5137
5138         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5139
5140         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
5141         (AR_FLAGS_FOR_TARGET): here.  New macro.
5142
5143         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
5144
5145         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
5146         fpmem_operand) Delete.
5147         (xer_operand) New.
5148         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
5149         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
5150         (rs6000_save_machine_status, rs6000_restore_machine_status,
5151         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
5152         references to above variables.
5153         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
5154         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
5155         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
5156         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
5157         (XER_REGNO_P, XER_REGNO): New.
5158         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
5159         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
5160         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
5161         XER_REGNO_P.
5162         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
5163         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
5164         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
5165
5166         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5167
5168         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
5169         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
5170         * rs6000.h: from here.
5171
5172         * rs6000-protos.h (rs6000_select_section): Provide prototype.
5173         (rs6000_select_rtx_section): Likewise.
5174         (rs6000_encode_section_info): Likewise.
5175         (sdata_section): Likewise.
5176         (sdata2_section): Likewise.
5177         (sbss_section): Likewise.
5178         * sysv4.h (rs6000_select_section): Delete prototype.
5179         (rs6000_select_rtx_section): Likewise.
5180         (rs6000_encode_section_info): Likewise.
5181         (sdata_section): Likewise.
5182         (sdata2_section): Likewise.
5183         (sbss_section): Likewise.
5184         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
5185
5186         * sysv4.h: Delete various unnecessary #undef's and put a comment
5187         on the remaining ones.
5188         Change various comments according to coding standard.
5189
5190         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
5191
5192         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
5193         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
5194         (CR0_REGNO_P) Remove.
5195         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
5196         setup_incoming_varargs, mtcrf_operation, print_operand,
5197         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
5198         Use the above macros.
5199
5200         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
5201
5202         * config/rs6000/rs6000.md: Added a new alternative for each
5203         pattern that had a 'x' alternative but no 'y' alternative.
5204         Added a new split for each of the above patterns.
5205
5206         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
5207
5208         * aix41.h (ASM_CPU_SPEC): Delete.
5209         (CPP_CPU_SPEC): Delete.
5210
5211         * aix.h (RS6000_OUTPUT_BASENAME): Define.
5212         (ASM_OUTPUT_LABEL): Define.
5213         (ASM_GLOBALIZE_LABEL): Define.
5214         (STRIP_NAME_ENCODING): Define.
5215         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
5216         (STRIP_NAME_ENCODING): Don't define.
5217         (ASM_OUTPUT_LABEL): Don't define.
5218         (ASM_GLOBALIZE_LABEL): Don't define.
5219         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
5220         names, and ASM_OUTPUT_LABEL to output labels, rather than
5221         asm_fprintf.
5222         (ASM_OUTPUT_LABEL): Define.
5223         (ASM_OUTPUT_INT): Use assemble_name.
5224         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
5225         (STRIP_NAME_ENCODING): Don't undefine first.
5226         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
5227         ELF.
5228         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
5229         specified with 'asm' even with -fleading-underscore.
5230         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
5231         (output_epilog): Likewise.
5232         (output_toc): Likewise.
5233         * tramp.asm: Handle -fleading-underscore correctly.
5234
5235         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
5236         -mminimal-toc.
5237         (nonlocal_goto_receiver): Delete.
5238         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
5239
5240         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
5241         (SET_ASM_OP): Define.
5242         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
5243
5244         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
5245         (ASM_LONG): Define.
5246
5247         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
5248         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
5249
5250         * rs6000.h: Add 'u' to more constants.
5251
5252         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
5253
5254         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
5255
5256         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
5257
5258         * rs6000.c (reg_or_u_cint_operand): New function.
5259         (logical_operand): Handle 64-bit hosts.
5260         (logical_u_operand): New function.
5261         (non_logical_cint_operand): Handle 64-bit hosts.
5262         (non_logical_u_cint_operand): New function.
5263         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
5264         (PREDICATE_CODES): Define new functions.
5265         * rs6000-protos.h: Declare new functions.
5266         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
5267         (movdi_64): Bracket code intended for 64-bit hosts.  Create
5268         CONST_DOUBLE for 32-bit values.
5269         (scc insns): Generate DImode compares.
5270         (mfcr insns): Create DImode versions.
5271         (sge matchers): New patterns.
5272
5273         2000-02-15  Gabriel Paubert  <paubert@iram.es>
5274
5275         * rs6000.md: Correct instructions length attributes and
5276         constraints on unsigned compare instructions.
5277         (*ne0): Disable for PowerPC64.
5278
5279         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5280
5281         * rs6000.c (output_function_profiler): Use .long for a 32-bit
5282         quantity, fix profile1.C test failure under -fPIC.
5283
5284         * rs6000.c: Add 'u' to many constants to suppress warnings.
5285         (constant_pool_expr_1): Make static.
5286         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
5287         * rs6000.h: Add 'u' to many constants to suppress warnings.
5288
5289         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
5290         for the start of the TOC, instead of LCTOC..0.
5291         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
5292         of the TOC.
5293         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
5294         (load_toc_aix_di): Use LCTOC..1.
5295
5296         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
5297         * rs6000.c (rs6000_legitimize_address): New function from
5298         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
5299         symbols in the constant pool that really are TOC references.
5300         (print_operand_address): For ELF, write TOC offsets under
5301         -fPIC as subtractions in the insn.
5302         (output_toc): For ELF, define symbols in TOC as normal labels,
5303         to match RTL.
5304         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
5305         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
5306         (create_TOC_reference): Prototype only when RTX_CODE is defined.
5307         * rs6000.md (movsi): Only use create_TOC_reference on
5308         symbols in the constant pool that really are TOC references.
5309
5310         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
5311         * rs6000.c (rs6000_reorg): Delete.
5312         * rs6000-protos.h (rs6000_reorg): Delete.
5313
5314         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
5315
5316         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
5317
5318         * aix.h (SETUP_FRAME_ADDRESSES): Define.
5319         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
5320         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
5321         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
5322         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
5323         rs6000_aix_emit_builtin_unwind_init.
5324         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
5325         rs6000_emit_eh_toc_restore on AIX.
5326         (return_eh_si): Use r2.
5327         (return_eh_di): Use r2.
5328
5329         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
5330         since we're breaking binary compatibility anyway.
5331
5332         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5333
5334         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
5335         constant_pool_expr_p): Declare them.
5336         (constant_pool_expr_p): Declare it.
5337         * config/rs6000/rs6000.c (toc_label_name): Define.
5338         (rs6000_override_options): Set toc_label_name.
5339         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
5340         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
5341         uses_TOC): New functions.
5342         (print_operand): Delete old '*' case.
5343         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
5344         and strip off rtl for TOC before calling output_addr_const.
5345         (rs6000_emit_load_toc_table): Use toc_label_name.
5346         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
5347         the default.
5348         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
5349         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
5350         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
5351         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
5352         into explicit TOC_REGISTER offsets.
5353         (TOC_REGISTER): New macro.
5354         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
5355         TARGET_TOC to reference TOC_REGISTER.
5356         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
5357         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
5358         uses_TOC before emitting label references.
5359
5360         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
5361
5362         * rs6000.md (stack_tie): Fix warning.
5363
5364         * eabi-ctors.c: Use 'asm' names for the start/end variables,
5365         to handle -fleading-underscore.
5366         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
5367         (USER_LABEL_PREFIX): New macro.
5368         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
5369         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
5370         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
5371         call-linux can use the same multilibs.
5372         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
5373         and call-linux multilibs.  Do multilib with -fleading-underscore.
5374         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
5375         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
5376         to call-aix.
5377
5378         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
5379         have MASK_SOFT_FLOAT set.
5380         (CPP_FLOAT_DEFAULT_SPEC): New macro.
5381         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
5382         CPP_FLOAT_DEFAULT_SPEC.
5383
5384         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
5385         * rs6000.md: Whitespace change.
5386         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
5387         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
5388
5389         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
5390
5391         * rs6000.md (eh_epilogue): New expander.
5392         (eh_reg_restore): New expand/split/insn combination.
5393         (return_eh_si): New insn.
5394         (return_eh_di): New insn.
5395
5396         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
5397         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
5398         * eabi-ctors.c (__do_global_ctors): Register this object's
5399         frame.  Clean up.  Call atexit() after the constructors.
5400         (__do_global_dtors): Deregister this object's frame.  Clean up.
5401         Allow for recursive calls to exit().
5402         * rs6000.c (fixuplabelno): New variable.
5403         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
5404         TARGET_RELOCATABLE, it slows down exec() under linux.
5405         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
5406
5407         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
5408         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
5409         (ASM_OUTPUT_DWARF_DELTA2): New macro.
5410         (ASM_OUTPUT_DWARF_DELTA4): New macro.
5411         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
5412         (ASM_OUTPUT_DWARF_ADDR): New macro.
5413         (ASM_OUTPUT_DWARF_DATA4): New macro.
5414         (ASM_OUTPUT_DWARF_DATA2): New macro.
5415         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
5416         (ASM_OUTPUT_DWARF_OFFSET): New macro.
5417         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
5418
5419         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
5420
5421         * rs6000.c (rs6000_sr_alias_set): New variable.
5422         (rs6000_override_options): Initialise rs6000_sr_alias_set.
5423         (rs6000_emit_stack_tie): New function.
5424         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
5425         in a way that dwarf2out can understand.
5426         (rs6000_frame_related): New function.
5427         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
5428         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
5429         Use rs6000_emit_stack_tie when needed.
5430         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
5431         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
5432         * rs6000.md (stack_tie): New insn.
5433         (return_internal_si): Allow return value to be in the count
5434         register.
5435         (return_internal_di): Likewise.
5436
5437         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
5438
5439         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
5440
5441         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
5442
5443         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
5444
5445         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
5446
5447         * rs6000.md (stmw): Use the right POWER opcode.
5448         (lmw): Likewise.
5449
5450         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5451
5452         * rs6000-protos.h: New file.
5453
5454         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
5455
5456         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
5457         warnings.
5458
5459         * sysv4.h: Likewise.
5460
5461         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
5462
5463         * ../../configure.in: Delete powerpcle-*-winnt*
5464         and powerpcle-*-pe|powerpcle-*-cygwin*.
5465         * ../../configure: Regenerated.
5466         * cygwin.h: Delete.
5467         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
5468         (TARGET_WINDOWS_NT): Delete.
5469         (ABI_NT): Delete.
5470         (CALL_NT_DLLIMPORT): Delete.
5471         Delete NT-specific code.
5472         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
5473         * win-nt.h: Delete.
5474         * t-winnt: Delete.
5475         * nt-ci.asm: Delete.
5476         * nt-cn.asm: Delete.
5477         * ntstack.asm: Delete.
5478
5479         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5480
5481         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
5482         (ASM_FILE_START): Likewise.
5483         (ASM_DECLARE_FUNCTION_NAME): Likewise.
5484         (ASM_OUTPUT_LABELREF): Likewise.
5485         (ASM_OUTPUT_SKIP): Likewise.
5486         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
5487         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5488         (ASM_OUTPUT_CASE_LABEL): Likewise.
5489         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
5490         (ASM_OUTPUT_ASCII): Likewise.
5491
5492         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
5493
5494         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
5495         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
5496         increment rs6000_pic_labelno here.
5497         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
5498         and increment rs6000_pic_labelno here.
5499
5500         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
5501
5502         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
5503         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
5504         allocation knows (reg) is dead before the insn.
5505
5506         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
5507
5508         * rs6000.md (movsi_to_cr): Correct typo in output template.
5509
5510         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
5511
5512         * rs6000.c (rs6000_pic_labelno): Always define.
5513         (rs6000_pic_func_labelno): Delete.
5514         (lmw_operation): Check for a zero base register,
5515         which doesn't mean what we want.
5516         (stmw_operation): New function.
5517         (print_operand): Define new 'l' modifier.
5518         (rs6000_stack_info): We must save all 64 bits of the registers
5519         if TARGET_POWERPC64.
5520         (rs6000_output_load_toc_table): Delete.
5521         (rs6000_emit_load_toc_table): New function.
5522         (rs6000_allocate_stack_space): Delete.
5523         (rs6000_emit_allocate_stack): New function.
5524         (rs6000_emit_prologue): New function.
5525         (output_prolog): Use rs6000_emit_prologue.
5526         (rs6000_emit_epilogue): Change a few variable names to be
5527         more accurate.  Restore all 64 bits of the registers if
5528         TARGET_POWERPC64.  Only restore the FP registers which were used
5529         if they are being saved/restored one-at-a-time.
5530         (output_mi_thunk): Delete inefficient code generation.
5531         (output_function_profiler): Don't use rs6000_output_load_toc_table.
5532         * rs6000.h: Declare rs6000_emit_load_toc_table,
5533         rs6000_allocate_stack_space, stmw_operation.  Don't declare
5534         rs6000_output_load_toc_table.
5535         * rs6000.md (elf_high): Allow register 0, but discourage it
5536         heavily.
5537         (elf_low): Support loading into register 0.
5538         (load_toc_aix_si): New pattern.
5539         (load_toc_aix_di): New pattern.
5540         (load_toc_v4_pic_si): New pattern.
5541         (load_toc_v4_pic_di): New pattern.
5542         (load_toc_v4_PIC_1): New pattern.
5543         (load_toc_v4_PIC_1b): New pattern.
5544         (load_toc_v4_PIC_2): New pattern.
5545         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
5546         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
5547         (prologue): New expander.
5548         (movesi_from_cr): New pattern.
5549         (stmw): New pattern.
5550         (save_fpregs_si): New pattern.
5551         (save_fpregs_di): New pattern.
5552
5553         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5554
5555         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
5556         (movdi): Likewise.
5557         (movhi): Likewise.
5558         (movqi): Likewise.
5559
5560         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5561
5562         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
5563         at present.
5564         (movsi_got_internal): Likewise.
5565         (movsi_got_internal+1): Likewise.
5566         (set_sp): 'unspec 7' does a SImode clobber.
5567
5568         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5569
5570         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
5571         allocate a stack temporary.
5572         (floatsidf2_internal): Likewise.
5573         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
5574         with unspec.
5575         (floatunssidf2): Don't use the fpmem "register", just
5576         allocate a stack temporary.
5577         (floatunssidf2_internal): Likewise.
5578         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
5579         with unspec.
5580         (floatsidf2_loadaddr): Delete.
5581         (floatsidf2_store1): Delete.
5582         (floatsidf2_store2): Delete.
5583         (floatsidf2_load): Delete.
5584         (fix_truncdfsi2): Don't use the fpmem "register", just
5585         allocate a stack temporary.
5586         (fix_truncdfsi2_internal_si): Delete.
5587         (fix_truncdfsi2_internal_di): Delete.
5588         (fix_truncdfsi2_internal): New insn.
5589         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
5590         (fix_truncdfsi2_store): Delete.
5591         (fix_truncdfsi2_load): Delete.
5592         (fctiwz): Produce gen_fctiwz.
5593
5594         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
5595
5596         * eabi.h (INVOKE__main): Define.
5597         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
5598         specially.
5599         (rs6000_emit_prologue): Likewise.
5600         * rs6000.h (struct rs6000_stack): Don't keep track of whether
5601         this is the main program.
5602
5603         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5604
5605         * rs6000.c (rs6000_va_arg): Delete some unused variables.
5606
5607         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5608
5609         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
5610         goes after the argument.
5611
5612         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
5613
5614         * rs6000.md: Document 'unspec' values used.
5615         (epilogue): New expander.
5616         (movesi_to_cr_one): New expander.
5617         (movesi_to_cr and following): New pattern.
5618         (lmw): New pattern.
5619         (return_internal_si): New pattern.
5620         (return_internal_di): New pattern.
5621         (return_and_restore_fpregs_si): New pattern.
5622         (return_and_restore_fpregs_di): New pattern.
5623         * rs6000.h: Declare new functions.
5624         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
5625         rather than rs6000_calls_p.
5626         (rs6000_makes_calls): Delete.
5627         (lmw_operation): New function.
5628         (mtcrf_operation): New function.
5629         (rs6000_emit_epilogue): New function.
5630         (output_epilog): Call rs6000_emit_epilogue and final if
5631         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
5632
5633         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
5634
5635         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
5636         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
5637         * aix.h (SUBTARGET_SWITCHES): Document switches.
5638         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
5639         sched-prolog and sched-epilog the same.  Document all the
5640         switches.
5641         (TARGET_OPTIONS): No longer allow -mdebug-.
5642
5643         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
5644
5645         * rs6000.h (ASM_FILE_END): Move to aix.h.
5646         (EXTRA_SECTIONS): Move to aix.h.
5647         (READONLY_DATA_SECTION): Move to aix.h.
5648         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
5649         (SELECT_SECTION): Move to aix.h.
5650         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
5651         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
5652         (LINK_REGISTER_REGNUM): New definition.
5653         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
5654         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
5655         AIX and SVR4.
5656         * sysv4.h: Delete the code between the inclusion of rs6000.h
5657         and svr4.h.
5658         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
5659         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
5660         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
5661         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
5662         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
5663         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
5664         (fix_truncdfsi2_internal_di): New pattern.
5665         (fix_truncdfsi2_store): The second arg here is Pmode too.
5666         (fix_truncdfsi2_load): The second arg here is Pmode too.
5667         (tablejumpdi): Now that switch tables hold only SImode values,
5668         gcc needs to know how to add them to the pc which is DImode.
5669         * rs6000.c (rs6000_stack_info): Use symbolic name for
5670         LINK_REGISTER_REGNUM.
5671         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
5672         (output_toc): Delete unused variables s1 and s2.
5673         (output_ascii): Use fputs not fprintf on a variable string.
5674
5675         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
5676
5677         * rs6000.c (processor_target_table): Add power3 as alias for 630.
5678         * aix43.h: Revert Aug 2 change.
5679         (HAS_INIT_SECTION): Define, not visible yet.
5680         (LD_INIT_SWITCH): Define, not visible yet.
5681         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
5682
5683         2000-01-04  Joel Sherrill (joel@OARcorp.com>
5684
5685         * config/rs6000/rtems.h: Include config/rtems.h.
5686
5687         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
5688
5689         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
5690         (SLOW_UNALIGNED_ACCESS): Define.
5691         (CASE_VECTOR_MODE): Always use 32-bit offsets.
5692         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
5693         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
5694         (toc_section): Likewise and .toc pseudo-op.
5695         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
5696         64-bit mode.
5697         (TEXT_SECTION_ASM_OP): Likewise.
5698         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
5699         32-bit offsets.
5700
5701         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
5702
5703         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
5704         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
5705         compiling libgcc2.
5706
5707         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5708
5709         * rs6000.h: Move more stuff from here...
5710         * aix.h: to here.
5711         * sysv4.h: Cleanup accordingly.
5712         * netware.h: Likewise
5713
5714         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5715
5716         * rs6000.h: Continue cleanup.
5717         * aix.h: Likewise.
5718         * lynx.h: Likewise.
5719         * netware.h: Likewise.
5720         * sol2.h: Likewise.
5721         * sysv4.h: Likewise.
5722         * win-nt.h: Likewise.
5723
5724         * rs6000.h (TARGET_SWITCHES): Add descriptions.
5725         (TARGET_OPTIONS): Likewise.
5726
5727         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
5728         (SUBTARGET_OPTIONS): Likewise.
5729
5730         * rs6000.md: Fix compile time warnings.
5731
5732         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
5733
5734         vxworks patches from the Cygnus tree originally by
5735         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
5736         <vmakarov@cygnus.com>.
5737         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
5738         (ENDFILE_SPEC): Likewise.
5739         (LIB_VXWORKS_SPEC): New macro.
5740         (STARTFILE_VXWORKS_SPEC): New macro.
5741         (ENDFILE_VXWORKS_SPEC): New macro.
5742         (LINK_START_VXWORKS_SPEC): New macro.
5743         (LINK_OS_VXWORKS_SPEC): New macro.
5744         (CPP_OS_VXWORKS_SPEC): New macro.
5745         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
5746         * vxppc.h: Rewrite to use proper configuration method.
5747         * vxppcle.h: New file.
5748         * ../../configure.in: Add powerpcle-wrs-vxworks*.
5749         * ../../configure: Rebuilt.
5750
5751         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
5752
5753         Lots of changes to rs6000.h, sysv4.h, aix.h,
5754         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
5755         with the aim that rs6000.h is the first header
5756         included and the others override it.
5757         * aix.h: New file.
5758
5759         * x-aix41-gld: Remove.
5760         * x-aix43: Remove.
5761         * x-aix41: Remove target-specific switches, and don't specify
5762         -Wl,-bbigtoc as we don't need it any more.
5763         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
5764         Use t-aix43 for AIX 4.3 and above.
5765         * ../../configure: Regenerated.
5766
5767         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
5768         options, that don't do anything yet.
5769         (MASK_SCHED_PROLOG): New macro.
5770         (MASK_SCHED_EPILOG): New macro.
5771         (TARGET_SCHED_PROLOG): New macro.
5772         (TARGET_SCHED_EPILOG): New macro.
5773
5774         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
5775
5776         * rs6000.c: Correct comment, the `minimal' TOCs are actually
5777         one per translation unit, not one per function.
5778         (output_toc): Also do duplicate constant elimination
5779         for per-translation-unit TOCs.
5780
5781         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
5782         a comment explaining _exactly_ when this pattern gets used.
5783         (builtin_setjmp_receiver): New pattern for better clarity.
5784         (init_v4_pic): Move it into a section dealing with TOC registers.
5785
5786         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
5787
5788         * rs6000.c (toc_hash_table): New variable.
5789         (rs6000_hash_constant): New function.
5790         (toc_hash_function): New function.
5791         (toc_hash_eq): New function.
5792         (toc_hash_mark_entry): New function.
5793         (toc_hash_mark_table): New function.
5794         (output_toc): Don't output duplicate TOC entries in
5795         a single file.
5796         (rs6000_add_gc_roots): Add the hash table as a GC root.
5797         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
5798         where they clearly shouldn't be.  This may need to be fixed
5799         later when there is a GNU ar for AIX.
5800         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
5801         Don't define BOOT_LDFLAGS as it is now not necessary.
5802
5803         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
5804
5805         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
5806         for va_list on AIX.  Use unsigned_char_type_node rather than
5807         constructing our own version on svr4.
5808
5809         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
5810
5811         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
5812         since patently it's not.
5813
5814         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
5815
5816         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
5817         define_expand/define_insn pair, and handle restore of the
5818         SVR4 -fpic register.
5819
5820 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
5821
5822         * acconfig.h (HAVE_GAS_WEAK): New define.
5823         * configure.in (assembler weak support): Check for .weak support.
5824         * config.in, configure: Rebuilt.
5825         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
5826         HAVE_GAS_WEAK is defined.
5827
5828 2000-03-15  Nick Clifton  <nickc@cygnus.com>
5829
5830         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
5831         asm_fprintf().
5832
5833 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
5834
5835         * cppfiles.c (open_include_file): New function.
5836         (find_include_file, cpp_read_file): Use it.
5837
5838 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
5839
5840         * cpphash.c (dump_hash_helper): Take the slot, not the element.
5841
5842 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
5843
5844         * flow.c (verify_flow_info): Check for unconditional return.
5845
5846 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
5847
5848         * config/ia64/ia64.md (restore_stack_nonlocal): New.
5849         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
5850         (__ia64_restore_stack_nonlocal): New.
5851         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
5852
5853 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5854
5855         * cpphash.c (collect_formal_parameters): Do not complain about
5856         parameter names that just start with `__VA_ARGS__'.
5857
5858 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
5859
5860         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
5861         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
5862         * i386.c (pentiumpro_cost): Set mul cost to 4.
5863         (x86_use_movx): Set for PPro.
5864
5865 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
5866
5867         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
5868         STACK_BOUNDARY for empty frames now.
5869
5870 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
5871
5872         * stor-layout.c (layout_union): Remove.
5873         (layout_union_field): New function, split out from layout_union.
5874         (finish_union_layout): Likewise.
5875         (layout_field): Handle unions by calling layout_union_field.
5876         (finish_record_layout): Handle unions.
5877         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
5878         QUAL_UNION_TYPE handling.
5879
5880 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
5881
5882         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
5883         end of basic block is jump_insn, not barrier; use create_basic_block
5884         instead of creating basic block by hand.
5885
5886 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
5887
5888         * flow.c (reorder_basic_blocks): Account for barriers when writing
5889         over NEXT_INSN (last_bb->end).
5890         (verify_flow_info): Add check for missing barriers.
5891
5892 2000-03-14  Greg McGary  <gkm@gnu.org>
5893
5894         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
5895         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
5896         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
5897         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
5898         __unbounded, __unbounded__): New keywords.
5899         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
5900         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
5901         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
5902
5903 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
5904
5905         * cselib.h: New file.
5906         * alias.c: Include "cselib.h".
5907         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
5908         MEMs as two new arguments.
5909         (get_addr): New static function.
5910         (find_base_term): Handle VALUEs.
5911         (memrefs_conflict_p): Likewise.
5912         (true_dependence): Call get_addr on the addresses.
5913         Call fixed_scalar_and_varying_struct_p with addresses that have been
5914         passed through get_addr and canon_rtx.
5915         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
5916         with true_dependence.
5917         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
5918         * loop.c: Include "cselib.h".
5919         (load_mems): Process extended basic block that enters the loop with
5920         cselib.  Use that information to change initialization of the shadow
5921         register so that a constant equivalence is seen by later passes.
5922         * reload1.c: Include "cselib.h".
5923         (reload_cse_invalidate_regno): Delete function.
5924         (reload_cse_mem_conflict_p): Likewise.
5925         (reload_cse_invalidate_mem): Likewise.
5926         (reload_cse_invalidate_rtx): Likewise.
5927         (reload_cse_regno_equal_p): Likewise.
5928         (reload_cse_check_clobber): Likewise.
5929         (reload_cse_record_set): Likewise.
5930         (reg_values): Delete static variable.
5931         (invalidate_regno_rtx): Likewise.
5932         (reload_cse_delete_noop_set): New static function.
5933         (reload_cse_simplify): New static function, broken out of
5934         reload_cse_regs_1.
5935         (reload_cse_noop_set_p): Delete unused argument INSN.
5936         Just call rtx_equal_for_cselib_p on set source and destination.
5937         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
5938         reload_cse_delete_noop_set.  Delete code to keep track of values; use
5939         cselib functions instead.  Delete code to push/pop obstacks.
5940         (reload_cse_simplify_set): Use cselib to find equivalent values.
5941         Delete code to push/pop obstacks.
5942         (reload_cse_simplify_operands): Likewise.
5943         * rtl.def (VALUE): New rtx code.
5944         * rtl.h (union rtunion_def): New elt rt_cselib.
5945         (X0CSELIB, CSELIB_VAL_PTR): New macros.
5946         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
5947         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
5948         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
5949         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
5950         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
5951         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
5952         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
5953         cselib_record_set, cselib_record_sets): New static functions.
5954         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
5955         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
5956         references_value_p): New functions.
5957         (MAX_USELESS_VALUES, REG_VALUES): New macros.
5958         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
5959         n_useless_values, reg_values, callmem, cselib_obstack,
5960         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
5961         New static variables.
5962         * varray.h (union varray_data_tag): New elt te.
5963         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
5964         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
5965         dependencies.
5966
5967 2000-03-14  Nick Clifton  <nickc@cygnus.com>
5968
5969         * gcc.c (do_spec_1): Catch the case where %* is used in a
5970         substitution pattern, but it has not been initialised.
5971         Issue a meaningful error message if an unrecognised operator
5972         is encountered in a spec string.
5973
5974 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
5975
5976         * function.c (prepare_function_start): Correctly initialize
5977         cfun->stack_alignment_needed.
5978
5979 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
5980
5981         * cppfiles.c (find_include_file): Don't assume nshort is a
5982         substring of name.
5983
5984 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
5985
5986         * configure.in (hppa configurations): Add pa32-regs.h to the
5987         list of tm files as appropriate.
5988         * configure: Rebuilt.
5989         * pa.c (compute_frame_size): Remove explicit knowledge about FP
5990         register numbering.
5991         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
5992         (fmpyaddoperands, fmpysuboperands): Likewise.
5993         * pa.h: Remove various definitions which depend on knowing
5994         how registers are numbered.
5995         * pa32-regs.h: New file with PA32 register numbering specific
5996         definitions.
5997
5998 2000-03-14  Richard Henderson  <rth@cygnus.com>
5999
6000         * regmove.c (combine_stack_adjustments): New.
6001         (stack_memref_p, single_set_for_csa): New.
6002         (free_csa_memlist, record_one_stack_memref): New.
6003         (try_apply_stack_adjustment): New.
6004         (combine_stack_adjustments_for_block): New.
6005         * rtl.h (combine_stack_adjustments): Declare.
6006         * toplev.c (rest_of_compilation): Call it.
6007
6008         * i386.md: Revert 2000-01-16 change.
6009
6010 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6011
6012         * gccbug.in: Add web category, gcc specific classes.
6013
6014 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
6015
6016         * stor-layout.c (finalize_record_size): Fix typo.
6017
6018 2000-03-14  Stan Shebs  <shebs@apple.com>
6019
6020         * c-typeck.c (c_alignof): Error on incomplete types.
6021         * extend.texi (Alignment): Document this.
6022
6023 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
6024
6025         * cppfiles.c: Include mkdeps.h.
6026         (find_include_file, read_include_file): Remove _cpp_ prefix
6027         from name, make static.
6028         (_cpp_execute_include): New function, broken out of
6029         do_include.
6030
6031         * cpplib.c: Don't include mkdeps.h.
6032         (struct directive): Remove type field. Reorder entries.  The
6033         function takes only one argument.
6034         (struct if_stack): Make type field an int.
6035         (directive_table): Rename to dtable.  Generate it, the
6036         prototypes of the directive handlers, and the enum for the
6037         directive numbers, from a template macro.
6038         (do_ifndef, do_include_next, do_import): New functions.
6039         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
6040         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
6041         do_ident, do_assert, do_unassert, do_sccs): Take only one
6042         argument.
6043         (do_sccs): Define always, but alter behavior based on
6044         SCCS_DIRECTIVE.
6045         (_cpp_handle_directive, consider_directive_while_skipping):
6046         Restructure for new directive table layout.
6047
6048         (pass_thru_directive): Take a directive number, not a pointer
6049         to a struct directive.
6050         (parse_include): New function, broken out of do_include.
6051         (do_include, do_import, do_include_next): Use parse_include
6052         and _cpp_execute_include.
6053         (do_elif, do_else): Test for T_ELSE specifically when checking
6054         for #elif/#else after #else.
6055         (parse_ifdef): New function, broken out of do_ifdef.
6056         (validate_else): Expect a name arg without a leading #.
6057         (if_directive_name): Delete.
6058         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
6059         directive handlers with only one argument.
6060
6061         * cpphash.h: Update prototypes.
6062         (enum node_type): Remove entries for directives.
6063         * Makefile.in: Update dependencies.
6064
6065         * cpphash.c (dump_hash_helper): Only dump nodes of type
6066         T_MACRO.  Emit a newline after each definition.
6067
6068 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6069
6070         * gccbug.in: New file.
6071         * configure.in (all_outputs): Add gccbug.
6072         * Makefile.in (install-common): Install gccbug.
6073         (GCCBUG_INSTALL_NAME): New variable.
6074         * configure: Rebuilt.
6075
6076 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
6077
6078         * function.c (put_var_into_stack): Use type_for_mode to calculate
6079         part_type.  Use MEM_SET_IN_STRUCT_P.
6080         * expr.c (store_field): Handle CONCAT.
6081         (store_constructor): Use fields_length.
6082         * tree.c (fields_length): New fn.
6083         * tree.h: Declare it.
6084
6085 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
6086
6087         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
6088         (cpplex.o): New target.
6089         * po/POTFILES.in: Add cpplex.c.
6090
6091         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
6092         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
6093         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
6094         skip_block_comment, skip_line_comment, skip_comment,
6095         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
6096         _cpp_parse_name, skip_string, parse_string,
6097         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
6098         _cpp_get_directive_token, find_position,
6099         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
6100         (maybe_macroexpand, _cpp_lex_token): New functions.
6101
6102         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
6103         parse_goto_mark): Delete.
6104         (_cpp_handle_eof): New function.
6105         (_cpp_handle_directive): Rename from handle_directive.
6106         (_cpp_output_line_command): Rename from output_line_command.
6107         (do_if, do_elif): Call _cpp_parse_expr directly.
6108         * cppfiles.c (_cpp_read_include_file): Don't call
6109         init_input_buffer here.
6110         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
6111         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
6112         here; pop the token_buffer and skip the rest of the line here.
6113         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
6114         here.
6115
6116         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
6117         Define here.
6118         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
6119         CPP_GOTO_MARK): New macros.
6120         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
6121         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
6122         _cpp_read_and_prescan, _cpp_init_input_buffer,
6123         _cpp_grow_token_buffer, _cpp_get_directive_token,
6124         _cpp_handle_directive, _cpp_handle_eof,
6125         _cpp_output_line_command): Prototype them here.
6126         * cpplib.h (enum cpp_token): Add CPP_MACRO.
6127         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
6128         quote_string, output_line_command): Remove.
6129
6130 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
6131
6132         * stmt.c (expand_end_case): RANGE may be signed, and when checking
6133         whether it is too large we must also verify that it isn't negative.
6134
6135 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
6136
6137         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
6138         (movsi_zero_liveg0): Remove.
6139         (movsf_insn_novis_liveg0): Remove.
6140         (negsi2): Remove.
6141         (negsi2_not_liveg0): Rename to negsi2.
6142         (one_cmplsi2): Remove.
6143         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
6144         (one_cmplsi2_liveg0): Remove.
6145         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
6146         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
6147         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
6148         (PREDICATE_CODES): Remove zero_operand.
6149         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
6150         TARGET_BROKEN_SAVERESTORE.
6151         (zero_operand): Remove.
6152         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
6153         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
6154         options.
6155         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
6156         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
6157         TARGET_BROKEN_SAVERESTORE): Remove.
6158         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6159         Remove.
6160         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6161         Remove.
6162         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6163         Remove.
6164
6165         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
6166
6167 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
6168
6169         * cpplib.c (do_pragma_implementation): Fix off-by-one error
6170         truncating a string.  Don't assume tokens are nul terminated.
6171         Problem noted by Andreas Jaeger <aj@suse.de>
6172
6173 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
6174
6175         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
6176         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
6177         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
6178
6179 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
6180
6181         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
6182         STRUCTURE_SIZE_BOUNDARY.
6183
6184 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
6185
6186         * tree.h (record_layout_info_s): New structure.
6187         (record_layout_info): New type.
6188         (new_record_layout_info): New function.
6189         (layout_field): Likewise.
6190         (finish_record_layout): Likewise.
6191         * stor-layout.c (layout_record): Remove.
6192         (new_record_layout_info): New function.
6193         (layout_field): New function, broken out from layout_record.
6194         (finalize_record_size): Likewise.
6195         (compute_record_mode): Likewise.
6196         (finalize_type_size): New function, broken out from layout_type.
6197         (finish_record_layout): Likewise.
6198         (layout_type): Use them.
6199
6200 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
6201
6202         * cpphash.c: Don't include version.h.
6203         (special_symbol) [case T_VERSION]: Look for the string in
6204         hp->value.cpval; don't use version_string.
6205         * cppinit.c (initialize_builtins): Set hp->value.cpval for
6206         __VERSION__ to version_string.
6207         * Makefile.in (cpphash.o): Update deps.
6208
6209 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
6210
6211         Convert cpplib to use libiberty/hashtab.c.
6212
6213         * cpplib.h (struct cpp_reader): Make hashtab and
6214         all_include_files of type 'struct htab *'.  Delete HASHSIZE
6215         and ALL_INCLUDE_HASHSIZE macros.
6216
6217         * cpphash.h: Update prototypes.
6218         (struct hashnode): Remove next, prev, and bucket_hdr members.
6219         Make length a size_t.  Add hash member.
6220         (struct ihash): Remove next member.  Add hash member.  Make
6221         name a flexible array member.
6222
6223         * cppfiles.c: Include hashtab.h.
6224         (include_hash): Delete.
6225         (IHASHSIZE): New macro.
6226         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
6227         (cpp_included): Do the hash lookup here.
6228         (_cpp_find_include_file): Rewrite.
6229         (cpp_read_file): Put the "fake" hash entry into the hash
6230         table.  Honor the control_macro, if it turns out we've seen
6231         the file before.  Don't push the buffer here.
6232         (_cpp_read_include_file): Push the buffer here.
6233         (OMODES): New macro.  Use it whenever we call open(2).
6234
6235         * cpphash.c: Include hashtab.h.
6236         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
6237         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
6238         _cpp_lookup_slot): New functions.
6239         (HASHSIZE): new macro.
6240         (hashf, _cpp_install, _cpp_delete_macro): Delete.
6241         (_cpp_lookup): Use hashtab.h routines.
6242
6243         * cppinit.c: Include hashtab.h.
6244         (cpp_reader_init): Call _cpp_init_macro_hash and
6245         _cpp_init_include_hash.  Don't allocate hashtab directly.
6246         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
6247         pfile->all_include_files.
6248         (initialize_builtins): Use _cpp_make_hashnode and
6249         htab_find_slot to add hash entries.
6250         (cpp_finish): Just call _cpp_dump_macro_hash.
6251         * cpplib.c: Include hashtab.h.
6252         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
6253         create hash entries.
6254         (do_pragma_poison, do_assert): Likewise.
6255         (do_include): Don't push the buffer here.  Don't increment
6256         system_include_depth unless _cpp_read_include_file succeeds.
6257         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
6258         or htab_remove_elt.
6259         (do_pragma_implementation): Use alloca to create copy.
6260
6261         * Makefile.in: Update dependencies.
6262
6263 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6264
6265         * cppinit.c (cl_directive_handler): More K&R fixing.
6266
6267 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
6268
6269         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
6270         STACK_BOUNDARY.
6271         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
6272
6273 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6274
6275         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
6276         Change from char[] to macros.
6277
6278 2000-03-12  Neil Booth  <NeilB@earthling.net>
6279
6280         * cppinit.c (cpp_start_read): Update indirect function
6281         call to K&R C.
6282
6283 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
6284
6285         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
6286         entry.
6287
6288         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
6289         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
6290
6291 2000-03-11  Neil Booth  <NeilB@earthling.net>
6292
6293         * cppinit.c (struct pending option): Replace undef with a
6294         pointer to a directive handling routine.
6295         (struct cpp_pending): Replace separate assert_ and define_
6296         lists with one directive_ list.
6297         (new_pending_define): Rename new_pending_directive. Extra
6298         argument is the directive's handling routine.
6299         (handle_option): Update to use new_pending_directive.
6300
6301 2000-03-11  Neil Booth  <NeilB@earthling.net>
6302
6303         * cppfiles.c (file_cleanup, _cpp_find_include_file,
6304         remap_filename, _cpp_read_include_file, actual_directory,
6305         hack_vms_include_specification): Replace bcopy(), index() etc
6306         calls.  Add casts to some allocations.  Make some variables
6307         pointers to const [unsigned] char.
6308         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
6309         collect_formal_parameters): Similarly.
6310         * cppinit.c (struct pending_option, append_include_chain,
6311         cpp_options_init, cpp_reader_init, initialize_standard_includes,
6312         cpp_start_read, new_pending_define, handle_option): Similarly.
6313         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
6314         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
6315         do_pragma_implementation, detect_if_not_defined,
6316         do_ifdef, skip_if_group, cpp_get_token, parse_string,
6317         do_assert, do_unassert): Similarly.
6318         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
6319         function prototypes.
6320         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
6321
6322 2000-03-10  Richard Henderson  <rth@cygnus.com>
6323
6324         * builtins.c (expand_builtin_strlen): Revert last change.
6325         Use emit_insn_before if we're at the beginning of a sequence.
6326
6327 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
6328
6329         * builtins.c (expand_builtin_strlen): Make sure that we have something
6330         at the beginning of the sequence.
6331
6332         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
6333         deferred inlines.
6334
6335         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
6336
6337 2000-03-10  Richard Henderson  <rth@cygnus.com>
6338
6339         * except.c (can_throw): Use INTVAL on a CONST_INT.
6340         (reachable_handlers): Likewise.
6341         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
6342
6343 2000-03-10  Andreas Jaeger  <aj@suse.de>
6344
6345         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
6346         MD_STARTFILE_PREFIX since those are not needed on linux.
6347         (ASM_FILE_START): New, from mips/gnu.h.
6348
6349 2000-03-09  Richard Henderson  <rth@cygnus.com>
6350             Alex Samuel  <samuel@codesourcery.com> and others
6351
6352         * Makefile.in (ssa.o): New rule.
6353         (OBJS): Add ssa.o.
6354         (STAGESTUFF): Add *.ssa and *.ussa.
6355         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
6356         * rtl.def (PHI): New RTL expression.
6357         * rtl.h (clear_log_links): New declaration.
6358         (convert_to_ssa): Likewise.
6359         (convert_from_ssa): Likewise.
6360         * flow.c (split_edge): If the entry node falls through to the
6361         split edge's source block, split the entry edge.
6362         (clear_log_links): New function.
6363         * toplev.c (ssa_dump): New variable.
6364         (flag_ssa): Likewise.
6365         (f_options): Add "ssa".
6366         (compile_file): Create SSA dump files.
6367         (rest_of_compilation): Go to and from SSA if enabled.
6368         (decide_d_option): Handle -de for SSA dump files.
6369         * ssa.c: New file.
6370
6371 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
6372
6373         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
6374         same as VAR_DECL.
6375
6376 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
6377
6378         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
6379
6380 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
6381
6382         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
6383         (MD_STARTFILE_PREFIX_1): New macro.
6384
6385 2000-03-09  Robert Lipe  <robertl@sco.com>
6386
6387         * config/ia64/ia64.c: Include system.h.
6388
6389 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
6390
6391         * except.c (nothrow_function_p): If -fno-exceptions, just return.
6392         (init_eh_nesting_info): Likewise.
6393
6394         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
6395         (TREE_NOTHROW): Rename from TREE_RAISES.
6396         * toplev.c (rest_of_compilation): Set it.
6397         * print-tree.c (print_node): Adjust.
6398         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
6399         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
6400         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
6401         REG_EH_REGION note as appropriate.
6402         (libfunc_nothrow): New fn.
6403         (emit_library_call, emit_library_call_value): Use it.
6404         (expand_call): Check TREE_NOTHROW.
6405
6406         * varasm.c (make_decl_rtl): Skip initial '*' when setting
6407         DECL_ASSEMBLER_NAME.
6408
6409 2000-03-09  Andreas Jaeger  <aj@suse.de>
6410
6411         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
6412         (TARGET_MEM_FUNCTIONS): Define.
6413
6414 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
6415
6416         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
6417
6418         * except.c (can_throw): See through a SEQUENCE.
6419         (nothrow_function_p): New fn.
6420         * except.h: Declare it.
6421         * function.c (current_function_nothrow): New var.
6422         (prepare_function_start): Initialize it.
6423         * output.h: Declare it.
6424         * toplev.c (rest_of_compilation): Set it.
6425         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
6426
6427 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
6428
6429         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
6430         match.  (cpp_compare_defs): Count the nul separator when
6431         advancing over argument names.
6432
6433 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
6434
6435         * recog.c (preprocess_constraints): Matching constraints affect
6436         same alternative/different operand, not same operand/different
6437         alternative.
6438
6439         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
6440         register and a constant specially.
6441
6442 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6443
6444         * libgcc2.h: New file.
6445         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
6446
6447 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
6448
6449         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
6450         * configure: Regenerate.
6451         * config/ia64: New.
6452
6453 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
6454
6455         * Makefile.in (LIBCPP_DEPS): New macro.
6456         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
6457         it to declare deps.
6458         * cpperror.c: Include cpphash.h.
6459         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
6460         dingleberry.
6461         (lex): Don't use CPP_WARN_UNDEF.
6462         (_cpp_parse_expr): Return an int, the truth value.
6463         * cppfiles.c: Include cpphash.h.
6464         (_cpp_merge_include_chains): Move to cppinit.c and make static.
6465         * cppinit.c (include_defaults_array): Disentangle.
6466         (cpp_cleanup): Don't free the if stack here.
6467         (cpp_finish): Pop off all buffers, not just one.
6468         * cpplib.c (eval_if_expr): Return int.
6469         (do_xifdef): Rename do_ifdef.
6470         (handle_directive): Don't use CPP_PREPROCESSED.
6471         (cpp_get_token): Don't use CPP_C89.
6472         * fix-header.c: Don't use CPP_OPTIONS.
6473
6474         * cpplib.h: Move U_CHAR, enum node_type, struct
6475         file_name_list, struct ihash, is_idchar, is_idstart,
6476         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
6477         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
6478         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
6479         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
6480         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
6481         of _cpp_simplify_pathname, _cpp_find_include_file,
6482         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
6483         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
6484         cppinit.c.
6485         Change all uses of U_CHAR to be unsigned char instead.
6486         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
6487
6488 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
6489
6490         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
6491         (dwarf2out_begin_prologue): Set it.
6492         (output_call_frame_info): Don't emit EH unwind info for leaves.
6493
6494         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
6495         can occur outside of an EH region.
6496         * except.c: Correct comments about rethrow behavior.
6497         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
6498
6499 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
6500
6501         * flow.c (make_edges): Always call make_eh_edge for calls.
6502
6503 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
6504
6505         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
6506         (struct cpp_buffer): Remove fname and underflow fields.
6507         (struct cpp_reader): Remove get_token field.
6508         (struct include_hash): Rename to struct ihash.  Add typedef to
6509         IHASH.
6510         (struct if_stack): Remove fname field.
6511         (IF_STACK_FRAME): Rename to IF_STACK.
6512
6513         * cpperror.c (print_containing_files): Trust that there are no
6514         macro buffers below the top file buffer.
6515         * cppfiles.c: Replace all references to 'struct include_hash'
6516         with 'IHASH'.  Rename initialize_input_buffer to
6517         init_input_buffer.  Don't set or reference cpp_buffer->fname,
6518         use buffer->ihash->name instead.
6519         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
6520         not CPP_NULL_BUFFER.
6521         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
6522         IF_STACK_FRAME, IHASH not struct include_hash.
6523         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
6524         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
6525         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
6526         references to cpp_buffer->fname (delete entirely, or use
6527         ->ihash->name instead) and IF_STACK->fname.
6528         (cpp_push_buffer): Don't set new->underflow.
6529         (do_include): Use cpp_file_buffer.
6530
6531         * cpphash.c (collect_formal_parameters): Remove duplicate
6532         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
6533         used as a macro argument name.  Don't append "..." to namebuf
6534         for varargs macros.  After we're done scanning, go through
6535         namebuf and make it NUL separated, not comma separated.
6536         (_cpp_compare_defs): Remove register tag from variables.
6537         Expect defn->argnames to be NUL separated.
6538         (_cpp_dump_definition): Expect defn->argnames to be NUL
6539         separated and in forward order.
6540         * cpphash.h: Update documentation of argnames field.
6541
6542 2000-03-08  Richard Henderson  <rth@cygnus.com>
6543
6544         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
6545         to fail.  Don't pre-expand the source operand.
6546
6547         * i386.md (strlensi): Initialize eoschar and align before use.
6548
6549 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
6550
6551         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
6552         CONSTRUCTOR element.
6553
6554 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
6555
6556         * mips.c (mips_expand_prologue): If the last
6557         named argument is the vararg marker "va_list", treat it as
6558         an unnamed argument.
6559
6560 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
6561
6562         * dbxout.c (dbxout_parms): When correcting for promoted
6563         big-endian parameters, use the mode of the DECL_RTL rather
6564         than UNITS_PER_WORD.
6565
6566 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
6567
6568         * c-common.h (make_fname_decl): Declare.
6569         * c-common.c (make_fname_decl): Define.
6570         (declare_hidden_char_array): Remove.
6571         (declare_function_name): Use make_fname_decl.
6572         * c-decl.c (c_make_fname_decl): New function.
6573         (init_decl_processing): Set make_fname_decl.
6574
6575 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
6576
6577         * cccp.c (handle_directive): Initialize backslash_newlines_p.
6578
6579 2000-03-07  Philipp Thomas  <pthomas@suse.de>
6580
6581         * po/POTFILES.in: Remove cppalloc.c from file list.
6582
6583 2000-03-07  Steve Chamberlain  <sac@pobox.com>
6584
6585         * pj.c (pj_expand_prologue): current_function->args_info is
6586         now current_function_args_info.
6587
6588         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
6589         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
6590         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
6591
6592 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6593
6594         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
6595         output as hexadecimal rather than the default octal.
6596
6597 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
6598
6599         * cpphash.c (special_symbol): Fix thinko in previous commit.
6600
6601 2000-03-07  Neil Booth  <NeilB@earthling.net>
6602
6603         * cppexp.c (struct operation, left_shift, right_shift,
6604         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
6605         "int"s to "unsigned int"s.
6606         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
6607         Similarly.
6608         * cpplib.h: Update for above.
6609         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
6610         returned from allocations.
6611
6612         * cppinit.c (opt_comp, parse_options): New functions.
6613         (handle_option): Use parse_option to parse a single command
6614         line option, that possibly takes an argument.
6615         (cpp_handle_options): Sort the array of command line options on
6616         first invocation (non-ASCII hosts only).
6617         (print_help): Update.
6618
6619 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
6620
6621         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
6622         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
6623
6624         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
6625         initialized.
6626         * cppinit.c (cpp_cleanup): Free imp->nshort also.
6627
6628         * cpperror.c (cpp_print_containing_files,
6629         cpp_print_file_and_line, v_cpp_message): Rename to
6630         print_containing_files, print_file_and_line, and v_message.
6631         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
6632         to _cpp_parse_expr, parse_escape, and lex.
6633         (parse_charconst): Remove broken multibyte support.
6634         * cppfiles.c (include_hash): Make static.
6635         (cpp_included): New function.
6636         (merge_include_chains, find_include_file, finclude,
6637         simplify_pathname): Rename to _cpp_merge_include_chains,
6638         _cpp_find_include_file, _cpp_read_include_file, and
6639         _cpp_simplify_pathname.
6640         * cpphash.c (cpp_lookup, free_definition, delete_macro,
6641         cpp_install, create_definition, macroexpand, compare_defs,
6642         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
6643         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
6644         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
6645         * cppinit.c (cpp_handle_option): Rename to handle_option, make
6646         static.
6647         * cpplib.c: Remove extern prototype of cpp_parse_expr.
6648
6649         * cpphash.h: Update prototypes.
6650         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
6651
6652 2000-03-07  Andrew Haley  <aph@cygnus.com>
6653
6654         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
6655         PTRDIFF_TYPE should be based solely on Pmode.
6656         (SIZE_TYPE): ditto.
6657
6658 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6659
6660         * rtl.h (rtunion_def): Constify member `rtstr'.
6661         (emit_line_note_after, emit_line_note, emit_line_note_force,
6662         emit_note, decode_asm_operands): Constify.
6663
6664         * cse.c (canon_hash): Likewise.
6665
6666         * dbxout.c (dbxout_block): Likewise.
6667
6668         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
6669         v_warning_for_asm): Likewise.
6670
6671         * dwarfout.c (function_start_label): Likewise.
6672
6673         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
6674         emit_line_note_force): Likewise.
6675
6676         * final.c (last_filename, asm_insn_count, final_scan_insn,
6677         output_source_line): Likewise.
6678
6679         * function.h (struct emit_status): Likewise.
6680
6681         * gcse.c (hash_expr_1): Likewise.
6682
6683         * genattr.c (gen_attr, main): Likewise.
6684
6685         * genattrtab.c (struct function_unit, current_alternative_string,
6686         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
6687         attr_numeral, check_attr_test, check_attr_value,
6688         convert_set_attr_alternative, convert_set_attr,
6689         compute_alternative_mask, simplify_by_exploding, gen_attr,
6690         gen_unit): Likewise.
6691
6692         * genflags.c (gen_insn): Likewise.
6693
6694         * gengenrtl.c (type_from_format): Likewise.
6695
6696         * genopinit.c (gen_insn): Likewise.
6697
6698         * genoutput.c (n_occurrences, process_template, process_template):
6699         Likewise.
6700
6701         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
6702         Likewise.
6703
6704         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
6705         Likewise.
6706
6707         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
6708         ggc_set_mark, ggc_get_size): Likewise.
6709
6710         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
6711
6712         * optabs.c (init_one_libfunc): Likewise.
6713
6714         * output.h (assemble_start_function): Likewise.
6715
6716         * recog.c (decode_asm_operands): Likewise.
6717
6718         * toplev.c (rest_of_compilation): Likewise.
6719
6720         * tree.h (emit_line_note_after, emit_line_note,
6721         emit_line_note_force): Likewise.
6722
6723         * varasm.c (asm_output_bss, asm_output_aligned_bss,
6724         asm_emit_uninitialised, assemble_start_function,
6725         assemble_variable, const_hash, compare_constant_1,
6726         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
6727
6728         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
6729
6730         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
6731
6732         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
6733
6734         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
6735
6736         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
6737         arm_dllimport_name_p): Likewise.
6738
6739         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
6740         Likewise.
6741
6742         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
6743
6744         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6745
6746         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
6747         arm_mark_dllexport, arm_mark_dllimport,
6748         arm_pe_encode_section_info): Likewise.
6749
6750         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
6751         ASM_FINISH_DECLARE_OBJECT): Likewise.
6752
6753         * arm/thumb.c (thumb_function_prologue): Likewise.
6754
6755         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
6756
6757         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6758
6759         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
6760
6761         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
6762
6763         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
6764
6765         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6766
6767         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
6768         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
6769
6770         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
6771
6772         * i386/i386.c (asm_output_function_prefix): Likewise.
6773
6774         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
6775
6776         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6777
6778         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
6779
6780         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
6781         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
6782         ASM_OUTPUT_SECTION_NAME): Likewise.
6783
6784         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
6785
6786         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
6787
6788         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
6789
6790         * m32r/m32r.c (m32r_encode_section_info): Likewise.
6791
6792         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6793
6794         * mcore/mcore.c (mcore_encode_section_info): Likewise.
6795
6796         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6797
6798         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6799
6800         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6801
6802         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
6803
6804         * mips/mips.md (movdi, movsi): Likewise.
6805
6806         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6807
6808         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6809
6810         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6811
6812         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
6813         ASM_OUTPUT_ASCII): Likewise.
6814
6815         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
6816         output_mi_thunk, output_toc): Likewise.
6817
6818         * rs6000/rs6000.md (movsi): Likewise.
6819
6820         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
6821
6822         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
6823
6824         * v850/v850.c (print_operand, print_operand_address,
6825         v850_encode_data_area): Likewise.
6826
6827 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
6828
6829         * config/mips/mips.md (zero_extendsidi2): Always force operand
6830         one to memory for mips16.
6831
6832 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6833
6834         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
6835         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
6836         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
6837         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
6838         (min_precision): Result is unsigned.
6839         (add_double, neg_double, mul_double): Low word is unsigned.
6840         (lshift_double, rshift_double, lrotate_double): Likewise.
6841         (rrotate_double, div_and_round_double): Likewise.
6842         (tree_floor_log2, compare_tree_int): New functions.
6843         (preserve_rtl_expr_temps): New declaration.
6844         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
6845         (decl_attributes): Use tree_log2 to find alignment.
6846         Check for TREE_INT_CST_HIGH for format args.
6847         (min_precision): Now unsigned.
6848         Use tree_floor_log2.
6849         (truthvalue_conversion): Delete long-disabled code.
6850         * c-decl.c (finish_struct): Clean up tests on field width.
6851         (finish_function): Use compare_tree_int.
6852         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
6853         * c-typeck.c (comptypes): Use tree_int_cst_equal.
6854         (default_conversion, digest_init): Use compare_tree_int.
6855         (build_binary_op): Use integer_all_onesp and compare_tree_int.
6856         Fix type errors in forming masks.
6857         * calls.c (initialize_argument_information): Use compare_tree_int.
6858         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
6859         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
6860         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
6861         (store_field): Use compare_tree_int.
6862         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
6863         (expand_expr, case ARRAY_REF): Use compare_tree_int.
6864         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
6865         (do_store_flag): Use compare_tree_int.
6866         * fold-const.c (encode, decode): Low part is always unsigned.
6867         (force_fit_type, add_double, neg_double, mul_double): Likewise.
6868         (lshift_double, rshift_double, lrotate_double): Likewise.
6869         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
6870         (fold_convert): Use compare_tree_int.
6871         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
6872         (invert_truthvalue, case INTEGER_CST): Likewise.
6873         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
6874         * mkdeps.c (deps_dummy_targets): Make I unsigned.
6875         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
6876         (lshift_double, rshift_double, lrotate_double, rrotate_double):
6877         Likewise.
6878         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
6879         (expand_end_case): Use compare_tree_int.
6880         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
6881         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
6882         (layout_decl): Likewise.
6883         (layout_record, layout_union): Make sizes unsigned.
6884         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
6885         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
6886         * tree.c (struct type_hash): hashcode is unsigned.
6887         (build_type_attribute_variant, type_hash_list): Likewise.
6888         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
6889         (attribute_hash_list, build_array_type, build_method_type): Likewise.
6890         (build_complex_type): Likewise.
6891         (real_value_from_int_cst): Remove unneeded casts.
6892         (integer_all_onesp): Add casts.
6893         (tree_floor_log2, compare_tree_int): New functions.
6894         (build_index_type): Use tree_int_cst_sgn.
6895         * varasm.c (assemble_variable): Use compare_tree_int.
6896
6897 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
6898
6899         * cpphash.c (collect_expansion): Also catch ## at start of macro.
6900
6901         * varasm.c (make_decl_rtl): Don't add a number to members of
6902         local classes.
6903         (make_function_rtl): Likewise.
6904
6905 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6906
6907         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
6908         patch from 2000-01-28.
6909
6910 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
6911
6912         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
6913         filled with an insn from the jump target.
6914
6915 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6916
6917         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
6918         (c4x_external_ref): Likewise.
6919         * config/c4x/c4x.c (struct name_list): Likewise.
6920
6921 1999-12-16  Ben Collins  <bcollins@debian.org>
6922
6923         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
6924         argument to genmultilib.
6925         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
6926         the contents into the multilib.h header.
6927         * gcc.c: Declare multilib_exclusions for the specs file.
6928         (set_multilib_dir): Use it.
6929         (print_multilib_info): Likewise.
6930         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
6931         to pass to genmultilib.
6932
6933 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6934
6935         * builtins.c (built_in_class_names, built_in_names): Constify a
6936         char*.
6937
6938         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
6939         int.
6940         (_mcleanup): Ensure value matches format specifier in sprintf.
6941
6942         * cpphash.c (special_symbol): Don't needlessly cast away
6943         const-ness.
6944
6945         * cppinit.c (base_name): Delete unused prototype.
6946
6947         * mkdeps.c (deps_init): Make definition K&R safe.
6948
6949         * tree.h (built_in_class_names, built_in_names): Constify a
6950         char*.
6951
6952 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
6953
6954         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
6955         floating point instructions for epilogue delay.
6956
6957         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
6958         to gas if it supports .register pseudo.
6959
6960         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
6961         LONG_DOUBLE_TYPE_SIZE if not defined.
6962         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
6963         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
6964         * real.c: Likewise.
6965         * gengenrtl.c: Likewise.
6966         * print-rtl.c: Likewise.
6967         * rtl.c: Likewise.
6968         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
6969         MASK_LONG_DOUBLE_128.
6970         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
6971         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
6972         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
6973         (SUBTARGET_SWITCHES): Define.
6974         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
6975         with -mlong-double-128.
6976         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
6977         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
6978         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
6979         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
6980         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
6981         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
6982         with -mlong-double-128.
6983         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
6984         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
6985         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
6986         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
6987         TARGET_LONG_DOUBLE_128): Define.
6988         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
6989         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
6990         long double on TARGET_ARCH64.
6991
6992 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
6993
6994         * function.c (free_temps_for_rtl_expr): Don't free slots
6995         that have been pushed into a higher level.
6996
6997         Revert this patch:
6998         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
6999
7000 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
7001
7002         * basic-block.h (ALLOCA_REG_SET): Remove.
7003         (INITIALIZE_REG_SET): New macro.
7004         * flow.c (update_life_info): Use it.
7005         (calculate_global_regs_live): Likewise.
7006         (propagate_block): Likewise.
7007         * global.c (build_insn_chain): Likewise.
7008         * haifa-sched.c (schedule_region): Likewise.
7009
7010 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
7011
7012         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
7013         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
7014         (DWARF_ARANGES_PAD_SIZE): New define.
7015         (output_aranges): Use it to pad the address range header.
7016         (DWARF_ROUND): Fix for non power of 2 rounding.
7017
7018 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
7019
7020         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
7021
7022 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
7023
7024         * tree.def (RTL_EXPR): Update documentation.
7025         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
7026         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
7027         * function.c (preserve_rtl_expr_temp): New function.
7028         (preserve_rtl_expr_temps): Likewise.
7029         (preserve_rtl_expr_result): Use it.
7030
7031         Revert this patch:
7032         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
7033
7034 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
7035
7036         * regmove.c (copy_src_to_dest)  Do not create src->dest move
7037         for unchanging destination.
7038
7039 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
7040
7041         * function.h (struct sequence_stack): Remove rtl_expr.
7042         (struct emit_staus): Likewise.
7043         (seq_rtl_expr): Remove.
7044         * tree.h (free_temps_for_rtl_expr): Don't declare.
7045         (start_sequence_for_rtl_expr): Likewise.
7046         * rtl.h (preserve_rtl_expr_result): Likewise.
7047         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
7048         (start_sequence_for_rtl_expr): Remove.
7049         (push_topmost_sequence): Don't save sequence_rtl_expr.
7050         (pop_topmost_sequence): Remove comment about not restoring it.
7051         (end_sequence): Don't set seq_rtl_expr.
7052         (init_emit): Don't initialize it.
7053         (mark_sequence_stack): Don't mark it.
7054         (mark_emit_status): Likewise.
7055         * except.c (protect_with_terminate): Use
7056         start_sequence_for_rtl_expr, not start_sequence.
7057         * expr.c (expand_expr, case RTL_EXPR): Don't call
7058         preserve_rtl_expr_result or free_temps_for_rtl_expr.
7059         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
7060         (preserve_rtl_expr_result): Remove.
7061         (free_temps_for_rtl_expr): Likewise.
7062         (pop_temp_slots): Likewise.
7063         (mark_temp_slot): Don't mark the rtl_expr.
7064         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
7065         start_sequence_for_rtl_expr.
7066
7067 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
7068
7069         * mkdeps.c, mkdeps.h: New files.
7070         * po/POTFILES.in: Add them.
7071         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
7072         (cpplib.o, cppinit.o): Depend on mkdeps.h.
7073         (mkdeps.o): New target.
7074
7075         * cppfiles.c: Delete deps_output.
7076         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
7077         OBJECT_SUFFIX, and base_name.
7078         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
7079         the include hash.
7080         (initialize_dependency_output): Use deps_init,
7081         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
7082         all the unnecessary string bashing.
7083         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
7084         level.
7085         * cpplib.c (do_include): Use deps_add_dep.
7086         * cpplib.h (struct cpp_reader): Replace deps_buffer,
7087         deps_allocated_size, deps_size, deps_column members with
7088         single pointer to a struct deps.  Delete prototype of
7089         deps_output.
7090
7091         * cppinit.c: Fix thinko in previous patch.
7092
7093 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7094
7095         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
7096         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
7097         (mode_for_size_tree): New function.
7098         (layout_decl, layout_type): Call it and clean up BLKmode checks.
7099         * tree.h (mode_for_size_tree): New declaration.
7100
7101         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
7102
7103 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
7104
7105         * stmt.c (is_body_block): Move...
7106         * dwarfout.c, dwarf2out.c: ...from here.
7107         * tree.h: Declare it.
7108         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
7109         * final.c (final_start_function): Do call remove_unnecessary_notes
7110         when scheduling.
7111
7112 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
7113
7114         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
7115
7116         * cpplib.h (_dollar_ok): New macro.
7117         (is_idchar, is_idstart): Use it.
7118         (IStable): Rename to _cpp_IStable.  Declare it const if
7119         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
7120         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
7121         is_space): Update for renamed IStable.
7122
7123         * cppinit.c: Delete all references to FAKE_CONST and CAT
7124         macros. Define init_IStable as empty macro if gcc >=2.7 or
7125         C99. Change TABLE() to ISTABLE and hardcode name of table.
7126         (cpp_start_read): Don't change the IStable based on
7127         dollars_in_ident.
7128
7129         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
7130         changed.  Handle '$' for char1 correctly.
7131         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
7132
7133         * cppexp.c (tokentab2): Make const.
7134         (cpp_lex): Make toktab const.
7135         * cppinit.c (include_defaults_array): Make const.
7136         (initialize_standard_includes): Make default_include const.
7137
7138 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
7139
7140         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
7141         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
7142         (gen_decl_die): Likewise.
7143         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
7144         (output_decl): Likewise.
7145
7146         * varasm.c (make_function_rtl): If we change the name used in the
7147         rtl, update DECL_ASSEMBLER_NAME accordingly.
7148         (make_decl_rtl): Likewise.
7149
7150         * toplev.c (rest_of_compilation): Tweak formatting.
7151
7152         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
7153         remove_unnecessary_notes.
7154         (debug_ignore_block): New fn.
7155         * toplev.h: Declare it.
7156         * emit-rtl.c (remove_unncessary_notes): Call it.
7157         * dwarf2out.c (dwarf2out_ignore_block): New fn.
7158         * dwarf2out.h: Declare it.
7159         * final.c (final_start_function): Don't call remove_unnecessary_notes
7160         if we did insn scheduling.
7161
7162 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
7163
7164         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
7165         * cpplib.h: Delete SET_CPP_PEDANTIC.
7166
7167 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7168
7169         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
7170         result is a RECORD_TYPE.
7171
7172 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
7173
7174         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
7175
7176 2000-03-03  Richard Henderson  <rth@cygnus.com>
7177
7178         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
7179         addition over compliments over shifts.
7180
7181 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7182
7183         * reload1.c (reload_combine_note_use): Handle return register USEs.
7184         REG case: Handle multi-hard-register hard regs.
7185
7186 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7187
7188         * md.texi: Document use of '*' in insn pattern name.
7189
7190 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
7191
7192         * calls.c (special_function_p): operator new may not be malloc-like.
7193
7194         * gcse.c (dump_hash_table): Really fix error in last change.
7195
7196 2000-03-02  Denis Chertykov  <denisc@overta.ru>
7197
7198         * avr.c (print_operand): Use print_operand_address instead of
7199         output_addr_const.
7200         * avr/libgcc.S: Cleanup code.
7201
7202 2000-03-02  Richard Henderson  <rth@cygnus.com>
7203
7204         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
7205
7206 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
7207
7208         * tree.h (TYPE_ALIGN_UNIT): New macro.
7209
7210 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
7211
7212         * i386.c: (constant_call_address_operand): Reject CONST_INT.
7213
7214 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
7215
7216         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
7217         for the buffer.
7218         (SET_CPP_PEDANTIC): New macro.
7219         * cpplib.c (do_include): Don't bother checking system_header_p.
7220         (do_warning, do_ident, do_assert, do_unassert): Likewise.
7221         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
7222
7223         * function.h (struct expr_status): Add x_arg_space_so_far.
7224         (arg_space_so_far): New macro.
7225         * expr.c (init_expr): Initialize it.
7226         * calls.c (emit_call_1): Reset it.
7227         (compute_argument_block_size, expand_call): Use it.
7228         (expand_call, store_one_arg): Increment it.
7229
7230 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7231
7232         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
7233         a UNION_TYPE.
7234
7235 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
7236
7237         * cppfiles.c (cpp_read_file): New function.
7238
7239         * cpphash.c (collect_expansion): Make sure to reset last_token
7240         to NORM when we hit a string.  Handle trailing whitespace
7241         properly when the expansion is empty.
7242         (create_definition): Disable line commands while parsing the
7243         directive line.
7244         (dump_definition): If pfile->lineno == 0, output a line
7245         command ahead of the dump, and add a trailing newline.
7246
7247         * cppinit.c (append_include_chain): Add fifth argument, which
7248         indicates whether or not system headers are C++ aware.
7249         (initialize_standard_includes): New function,
7250         broken out of read_and_prescan.  Pass 'cxx_aware' value from
7251         the include_defaults_array on to append_include_chain.
7252         (dump_special_to_buffer): Const-ify char array.
7253         (builtin_array): Don't dump __BASE_FILE__.
7254         (cpp_start_read): Use cpp_read_file.  Reorder code for
7255         clarity.  Don't output line commands here for -D/-A/-U
7256         switches.  Don't call deps_output for files included with
7257         -include or -imacros.
7258
7259         * cpplib.c (do_define): Don't pay any attention to the second
7260         argument.
7261         (cpp_expand_to_buffer): Disable line commands while scanning.
7262         (output_line_command): Work in the file buffer.
7263         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
7264         Fix formatting of comments.  Prototype cpp_read_file.
7265
7266 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7267
7268         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
7269         reference the language-equivalent of sizetype.
7270         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
7271         * fold-const.c (size_binop, size_diffop): Put back checks.
7272         * gcse.c (dump_hash_table): Fix minor error in last change.
7273         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
7274         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
7275         all sizetypes.
7276
7277 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
7278
7279         * calls.c (expand_call)  Do not attempt to combine stack adjustments
7280         with inhibit_defer_pop set.
7281
7282 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
7283
7284         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
7285         the DECL_SIZE for a FIELD_DECL.
7286
7287 2000-03-01  Bruce Korb  <bkorb@gnu.org>
7288
7289         * fixinc/inclhack.tpl: remove unused symlinks
7290         * fixinc/README: GCC Maintainer info
7291         * fixinc/inclhack.sh: regen
7292         * fixinc/fixincl.sh: regen
7293
7294 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
7295
7296         * cpphash.c (collect_expansion): Trim trailing white space
7297         from macro definitions, but don't go past the last insertion
7298         point.
7299
7300 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
7301
7302         * i386.md (mulqi3): New pattern.
7303
7304 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
7305
7306         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
7307         token types.
7308         (struct cpp_reader): Add parsing_if_directive and
7309         parsing_define_directive flags.
7310         (struct cpp_options): Remove output_conditionals flag.
7311         (check_macro_name): Delete prototype.
7312
7313         * cpphash.h (struct macrodef): Delete.
7314         (struct reflist): Separate from struct definition.
7315         (struct definition): Remove unused fields.  Add column number.
7316         (create_definition): Returns a DEFINITION *.  Takes a
7317         cpp_reader * and an int.
7318
7319         * cpphash.c (SKIP_WHITE_SPACE): Delete.
7320         (PEEKC): Copy defn from cpplib.c.
7321         (rest_extension, REST_EXTENSION_LENGTH): Delete.
7322         (struct arg): New.
7323         (struct arglist): Simplify.
7324         (collect_expansion): Rewrite.  Get tokens by calling
7325         cpp_get_token.  Add more error checking.
7326         (collect_formal_parameters): New function, broken out of
7327         create_definition and reworked to use get_directive_token.
7328         (create_definition): All real work is now in collect_expansion
7329         and collect_formal_parameters.  do_define handles finding the
7330         macro name.  Return a DEFINITION, not a MACRODEF.
7331         (macroexpand): Replace bcopy with memcpy throughout.  Replace
7332         character-at-a-time copy loop with memcpy and pointer increments.
7333         (compare-defs): d1->argnames / d2->argnames might be null.
7334
7335         * cpplib.c (copy_rest_of_line): Delete function.
7336         (skip_rest_of_line): Do all the work ourselves.
7337         (skip_string): New function.
7338         (parse_string): Use skip_string.
7339         (get_macro_name): New function.
7340         (check_macro_name): Delete.
7341         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
7342         (cpp_skip_hspace): Use CPP_BUMP_LINE.
7343         (handle_directive): ICE if we're called on a macro buffer.
7344         (do_define): Determine macro name and type (funlike/objlike)
7345         here.  Expunge all uses of MACRODEF.
7346         (cpp_push_buffer): Set line_base to NULL.
7347         (do_undef, read_line_number): Don't worry about getting a POP token.
7348         (eval_if_expression): Set/reset parsing_if_directive around
7349         cpp_parse_expr. Don't clear only_seen_white.
7350         (skip_if_group): Remove output_conditionals logic.  Use
7351         skip_rest_of_line.
7352         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
7353         tokens under appropriate conditions.
7354         (cpp_unassert): Call do_unassert not do_assert.  Oops.
7355
7356         * cppexp.c (parse_defined): New function, break out of
7357         cpp_lex.
7358         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
7359         ourselves, with cpp_defined.
7360         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
7361
7362         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
7363         * gcc.dg/strpaste-2.c: New.
7364
7365 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
7366
7367         * fold-const.c (size_binop): Don't asert inputs are the same and
7368         have TYPE_IS_SIZETYPE set.
7369         (size_diffop): Likewise.
7370
7371 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
7372
7373         * dwarfout.c (output_block): Output abstract blocks even if they
7374         don't have TREE_ASM_WRITTEN set.
7375
7376         * calls.c (emit_library_call): Check for null REG.
7377
7378 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
7379
7380         * c-decl.c (current_function_decl): Move to toplev.c.
7381         (init_decl_processing): Don't add current_function_decl as a ggc
7382         root here.
7383         * dbxout.c (dbxout_symbol): Change return type to int.
7384         (dbxout_symbol_location, dbxout_syms): Likewise.
7385         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
7386         any locals. Use current_function_func_begin_label if set.
7387         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
7388         * dwarf2out.c (dwarf2out_begin_prologue): Set
7389         current_function_func_begin_label.
7390         * final.c (final_start_function): Reset it.
7391         * toplev.c (current_function_decl): Define it here.
7392         (current_function_func_begin_label): New variable.
7393         (main): Add both as ggc roots.
7394         * tree.h (current_function_func_begin_label): Declare.
7395
7396 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7397
7398         * gcse.c: Cleanups throughout: mostly white-space, but also
7399         some minor rearrangement of code.
7400
7401 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
7402
7403         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
7404         returns a PARALLEL.  Use emit_group_load and use_group_regs
7405         as needed.
7406         (emit_library_call_value): Similarly.
7407
7408         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
7409         * pa/quadlib.asm: Remove.
7410         * pa/quadlib.c: New file.
7411
7412         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
7413         * configure: Rebuilt.
7414
7415 2000-02-29  Philip Blundell  <pb@futuretv.com>
7416
7417         * config/arm/conix-elf.h: New file.
7418         * configure.in (arm*-*-conix*): New configuration.
7419         * configure: Regenerate.
7420
7421 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
7422
7423         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
7424         don't have TREE_ASM_WRITTEN set.
7425
7426 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7427
7428         * Eliminate DECL_FIELD_SIZE.
7429         * builtins.c (built_in_class_names, built_in_names): New variables.
7430         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
7431         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
7432         DECL_SIZE, not DECL_FIELD_SIZE.
7433         * print-tree.c (print_node): Remove code that prints extra blank
7434         lines in some cases.
7435         Properly handle inline and builtin function cases.
7436         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
7437         * tree.h (built_in_class_named, built_in_names): New declarations.
7438         (union tree_decl): Rename internal unions to u1 and u2 and change
7439         some of their components.
7440         Add new field built_in_class.
7441         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
7442         Reflect above changes.
7443         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
7444         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
7445         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
7446         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
7447
7448 2000-02-28  Dmitri Makarov  <dim@windriver.com>
7449
7450         * extend.texi: Document ARM's support for long/short calls.
7451
7452         * invoke.texi: Document ARM's -mlong-calls command line switch.
7453
7454         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
7455         (arm_encode_call_attribute): Add prototype.
7456         (arm_set_default_type_attribute): Add prototype.
7457         (arm_strip_name_encoding): Add prototype.
7458
7459         * config/arm/arm.c (arm_init_cumulative_args): replace
7460         initialisation og 'long_calls' field with initialisation of
7461         'call_cookie' field.
7462         (enum arm_pragma_enum): New enum.
7463         (arm_pragma_long_calls): New static variable.
7464         (arm_process_pragma): Also process "#pragma long_calls_off".
7465         (arm_valid_type_attribute_p): Accept short_call attribute.
7466         (arm_comp_type_attributes): Check long/short call attributes.
7467         (arm_encode_call_attribute):  New function:  Encode long_call
7468         or short_call attribute in function name.
7469         (arm_set_default_type_attributes): New function: Assign
7470         default attributes to newly defined type.
7471         (current_file_function_operand): New function: Return true if
7472         the symbol is a function which has already been compiled.
7473         (arm_is_longcall_p): New function: Return true if the
7474         indicated function should be called via a long call.
7475         (arm_get_strip_length): New function.  Returns number of
7476         prefix characters to be stripped from a function's name.
7477         (arm_strip_name_encoding): New function.  Strip prefix characters
7478         from a function's name.
7479
7480         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
7481         with 'call_cookie'.
7482         (SHORT_CALL_FAG_CHAR): Define.
7483         (LONG_CALL_FAG_CHAR): Define.
7484         (ENCODED_SHORT_CALL_ATTR_P): Define.
7485         (ENCODED_LONG_CALL_ATTR_P): Define.
7486         (ARM_NAME_ENCODING_LENGTHS): Define.
7487         (STRIP_NAME_ENCODING): Define.
7488         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
7489         (ARM_ENCODE_CALL_TYPE): Define.
7490         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
7491         (ARM_DECLARE_FUNCTION_SIZE): Define.
7492         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
7493
7494         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
7495         if a long call is needed.
7496         (call_value): Ditto.
7497         (call_symbol): Ditto.
7498
7499         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
7500         ARM_DECLARE_FUNCTION_SIZE.
7501
7502         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
7503         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
7504         (ARM_STRIP_NAME_ENCODING): Undefine.
7505         (STRIP_NAME_ENCODING): Undefine.
7506         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
7507         (ASM_DECLARE_FUNCTION_NAME): Ditto.
7508         (ASM_OUTPUT_COMMON): Ditto.
7509         (ASM_DECLARE_OBJECT_NAME): Ditto.
7510
7511         * config/arm/pe.c (arm_dllexport_name_p): Check for
7512         ARM_PE_FLAG_CHAR.
7513         (arm_dllimport_name_p): Ditto.
7514         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
7515         (arm_mark_dllimport): Ditto.
7516
7517 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7518
7519         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
7520
7521 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
7522
7523         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
7524
7525 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
7526
7527         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
7528         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
7529         NO_BUILTIN_WCHAR_TYPE is not defined.
7530         (CPP_WCHAR_TYPE): Delete.
7531         * cccp.c (main): Don't change wchar_type if cplusplus.
7532         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
7533
7534 2000-02-28  Nick Clifton  <nickc@cygnus.com>
7535
7536         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
7537
7538 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
7539
7540         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
7541         (ASM_WEAKEN_LABEL): Define.
7542
7543 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
7544
7545         * expr.c (store_constructor): Do not emit USE.
7546         * rtl.h (stupid_life_analysis): Remove.
7547
7548 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7549
7550         * function.c (number_blocks): Reset next_block_index based on
7551         what debugging format is used, not what is defined.
7552
7553         * lcm.c: Minor reformatting throughout.
7554         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
7555
7556         * toplev.c (rest_of_compilation): Account for time in
7557         optimize_mode_switching.
7558
7559         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
7560         if only marking labels.
7561
7562 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
7563
7564         * calls.c (expand_call): Attempt to combine stack adjustments with
7565         pending stack adjustments.
7566
7567 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7568
7569         * loop.c (reg_in_basic_block_p): Don't abort when falling through
7570         to the end of the function.
7571
7572 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
7573
7574         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
7575         blocks.
7576         * final.c (next_block_index): Remove.
7577         (max_block_depth): Likewise.
7578         (pending_blocks): Likewise.
7579         (init_final): Don't initialize them.
7580         (final_start_function): Don't set next_block_index.  Set up
7581         BLOCK_NUMBER.
7582         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
7583         * function.h (number_blocks): New function.
7584         * function.c (get_block_vector): New function.
7585         (identify_blocks): Use it.
7586         (reorder_blocks): Set NOTE_BLOCK.
7587         (number_blocks): New function.
7588         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
7589         * tree.h (BLOCK_NUMBER): New macro.
7590         (tree_block): Add block_num field.
7591         * dbxout.c (next_block_number): Remove.
7592         (dbxout_init): Don't set it.
7593         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
7594         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
7595         block numbers.
7596         * toplev.c (rest_of_compilation): Always call
7597         find_loop_tree_blocks.  Fix indentation.
7598         * dwarf2out.c (next_block_number): Remove.
7599         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
7600         to determine block numbers.
7601         (gen_inlined_subroutine_die): Likewise.
7602         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
7603         (decls_for_scope): Don't increment next_block_number.
7604         * dwarfout.c (next_block_number): Remove.
7605         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
7606         to determine block numbers.
7607         (output_inlined_subroutine_die): Likewise.
7608         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
7609         (output_decls_for_scope): Don't increment next_block_number.
7610         * sdbout.c (next_block_number): Remove.
7611         (sdbout_block): Use BLOCK_NUMBER.
7612         (sdbout_begin_block): Simplify.
7613         * xcoffout.c (next_block_number): Remove.
7614         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
7615         (xcoffout_begin_block): Don't set next_block_number.
7616         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
7617         next_block_number.
7618
7619 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7620
7621         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
7622         (expand_builtin_strcpy): Pass correct type to size_binop.
7623         (expand_builtin_strcmp): Likewise.
7624         Clean up conditional structure.
7625         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
7626         (complete_array_type): Don't use size_binop for MAXINDEX.
7627         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
7628         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
7629         (c_alignof): Use size_one_node.
7630         (build_unary_op): Pass arg of proper type to size_binop.
7631         (really_start_incremental_init, push_init_level): Use sizetype for
7632         constructor{,_bit,_unfilled}_index.
7633         (pop_init_label, output_init_element): Likewise.
7634         (output_pending_init_elements, process_init_element): Likewise.
7635         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
7636         * expr.c (store_expr): Use size_int.
7637         (store_constructor): Use proper types for size_binop args.
7638         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
7639         (expand_expr_unaligned): Likewise.
7640         (string_contant): Return object of sizetype.
7641         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
7642         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
7643         (ARGS_SIZE_TREE): Pass proper types to size_binop.
7644         * fold-const.c (int_const_binop): Refine when size_int is called.
7645         (fold_convert): Likewise.
7646         (size_int_wide): Rework to take KIND as arg, only take low order
7647         bits, handle new sizetype_tab datatype, and chain entries in
7648         size_table.
7649         (size_int_type_wide): New function.
7650         (size_binop): Validate types of arguments.
7651         (ssize_binop): Deleted.
7652         (size_diffop): New function.
7653         (extract_muldiv): Only fold division into multiplication for sizetypes.
7654         * function.c (assign_parms): Use size_diffop and make sure
7655         VAR field is of ssizetype; also pass proper type to size_binop.
7656         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
7657         (round_down): Deleted from here.
7658         * store-layout.c (sizetype_tab): Now an array.
7659         (sizetype_set, early_root_list): New variables.
7660         (variable_size): Use size_one_node.
7661         (round_up): Pass proper type to size_binop.
7662         (round_down): Moved to here and corrected as above.
7663         (layout_record): Pass proper arg types to size_binop.
7664         (layout_type): Likewise.
7665         If sizetype_set is zero, record the type just laid out.
7666         (make_unsigned_type): Don't call set_sizetype;
7667         (make_signed_type): Likewise; also, call fixup_signed_type.
7668         (initialize_sizetypes): New function.
7669         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
7670         set name of bitsizetype to "bit_size_type".
7671         Fix up type of sizes of all types made before call.
7672         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
7673         * tree.c (fix_sizetype): Deleted.
7674         (build_common_tree_nodes): Call initialize_sizetypes.
7675         (build_common_tree_nodes_2): Don't call fix_sizetype.
7676         * tree.h (TYPE_IS_SIZETYPE): New macro.
7677         (initialize_sizetype): New declaration.
7678         (enum size_type_kind): New type.
7679         (struct sizetype_tab): Deleted.
7680         (sizetype_tab): Now array; adjust sizetype macros.
7681         (size_diffop, size_int_type_wide): New functions.
7682         (size_int_wide): Change number of args and type; access macros changed.
7683         (ssize_int, sbitsize_int): New macros.
7684         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
7685         (ROUND_TYPE_SIZE_UNIT): New macro.
7686
7687 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
7688
7689         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
7690
7691 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7692
7693         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
7694         Mark as possibly unused.
7695
7696         * cse.c (cse_insn): Delete dead code involving tablejump.
7697         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
7698
7699         * Makefile.in (libcpp.a): Start by deleting it.
7700
7701 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7702
7703         * cpplib.h (enum file_change_code): Added rename_file.
7704         * cpplib.c (do_line): If a filename is given, set file_change to
7705         rename_file.
7706         (output_line_command): If file_change is rename_file, always
7707         output a # directive with the file name.
7708
7709         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
7710
7711 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
7712
7713         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
7714         when copying a PARM_DECL or RESULT_DECL.
7715
7716 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7717
7718         * fix-header.c (recognized_function): Also fix prototypes for
7719         functions taking "void".
7720
7721 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
7722
7723         * reload1.c (do_output_reload): Check reg_reloaded_valid before
7724         looking at reg_reloaded_contents.
7725
7726 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
7727
7728         * Makefile.in (STMP_FIXINC): New toggle.
7729         (LIBGCC2_DEPS): Delete all references.
7730         (stmp-headers): Delete target.  All references either deleted
7731         or changed to stmp-int-headers.
7732         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
7733         (LIBCPP_OBJS): Take out cppalloc.o.
7734         (cppalloc.o): Delete target.
7735         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
7736         (gen-protos, fix-header): Link with libiberty.a.
7737         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
7738         to empty.
7739
7740         * configure.in: Remove refs to strerror.
7741         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
7742         * system.h: Take out strerror stanza.
7743
7744         * cpperror.c (my_strerror): Delete function.
7745         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
7746         * cppmain.c (main): Call xmalloc_set_program_name first thing.
7747         * cppalloc.c: Delete file.
7748         * gen-protos.c: Don't provide xrealloc.
7749
7750         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
7751         xstrerror throughout.
7752
7753 2000-02-26  Bruce Korb  <bkorb@gnu.org>
7754
7755         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
7756         match for DOS headers, too.
7757         * fixinc/inclhack.sh,fixincl.x: Regenerate.
7758
7759 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
7760
7761         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
7762         is right for most ELF targets.
7763         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
7764         Let the default file use %U properly.
7765         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
7766         default.
7767
7768         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
7769         numbers.
7770
7771 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7772
7773         * toplev.c (documented_lang_options): Correct spelling error.
7774         (decode_d_option, decode_f_option, main): Likewise.
7775
7776         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
7777
7778         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
7779         to tell assembler it is permitted to expand large constants.
7780
7781 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
7782
7783         * protoize.c: (AUX_INFO_SUFFIX): New macro.
7784         (aux_info_suffix): Use.
7785         (SAVE_SUFFIX): New macro.
7786         (save_suffix): Use.
7787         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
7788         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
7789         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
7790
7791         * invoke.texi (Running Protoize): Update documentation.
7792
7793 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
7794
7795         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
7796
7797 2000-02-25  John Wehle  (john@feith.com)
7798
7799         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
7800
7801 2000-02-25  Anthony Green  <green@cygnus.com>
7802
7803         * toplev.c (rest_of_compilation): Rebuild jump labels if
7804         combine_instructions has created a new direct jump.
7805         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
7806         when appropriate.
7807         (combine_instructions): Call try_combine with new argument.
7808         Return non-null value when new direct jump instruction is created.
7809         * rtl.h: combine_instructions returns an int.
7810
7811 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
7812
7813         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
7814         jump when changing a computed jump into a jump to a known
7815         target.
7816
7817 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
7818
7819         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
7820         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
7821
7822         * i386.md (define_expand "clrstrsi"): Fix typo.
7823
7824 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
7825
7826         * rtl.texi: Fix typo.
7827
7828 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7829
7830         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
7831         UNITS_PER_WORD.  Change caller initial_elimination_offset.
7832         (rounded_frame_size): Take into account that argument pushed has
7833         changed.  Fix TARGET_ALIGN_DOUBLE problem.
7834
7835 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
7836
7837         * haifa-sched.c (schedule_block): Explain the real reason
7838         we delete REG_SAVE_NOTEs on the first insn of a block.
7839         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
7840
7841 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
7842
7843         * input.h (push_srcloc): New function.
7844         (pop_srcloc): Likewise.
7845         * toplev.c (push_srcloc): Define it.
7846         (pop_srcloc): Likewise.
7847
7848 2000-02-24  Richard Henderson  <rth@cygnus.com>
7849
7850         * flow.c (life_analysis): When collecting reg info, clear
7851         regs_ever_live.
7852
7853 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7854
7855         Fix bug exposed by reload.c no longer rounding the frame
7856         size to BIGGEST_ALIGNMENT:
7857         * sh.c (rounded_frame_size): New function.
7858         (sh_expand_prologue, sh_expand_epilogue): Use it.
7859         (initial_elimination_offset): Likewise.
7860
7861 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7862
7863         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
7864         * sh-protos.h (sh_need_epilogue): Declare.
7865         * sh.c (sh_need_epilogue_known): New static variable.
7866         (sh_need_epilogue): New function.
7867         (function_epilogue): Clear need_epilogue_known.
7868         * sh.md (return): Split into expander / insn pattern.
7869         Make the expander conditional on ! sh_need_epilogue ().
7870
7871 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
7872
7873         * machmode.h (get_mode_alignment): Declare.
7874         (GET_MODE_ALIGNMENT): Call it.
7875         * stor-layout.c (get_mode_alignment): New function. Make
7876         sure alignment is always power of 2.
7877
7878 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
7879
7880         * i386.h: Remove useless definition of "I386" and misleading
7881         comment above it.
7882
7883 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
7884
7885         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
7886         under which TREE_PERMANENT will be set.
7887         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
7888         build1): Use TREE_SET_PERMANENT.
7889         * print-tree.c (print_node): Don't report value of
7890         TREE_PERMANENT if ggc_p is true.
7891
7892         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
7893         decide whether to give a type a new alias set.
7894         * objc/objc-act.c (build_objc_string_object): Never copy the string.
7895         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
7896         of value of 'obstack'.
7897
7898
7899 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7900
7901         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
7902
7903 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7904
7905         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
7906         * cpplib.c (cpp_get_token): Produce them.
7907         * cppexp.c (cpp_lex): Handle them.
7908
7909 2000-02-23  Nick Clifton  <nickc@cygnus.com>
7910
7911         * config/arm/arm.c (arm_comp_type_attributes): Simply and
7912         comment tests on type attributes.
7913
7914 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7915
7916         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
7917         conform to documentation.
7918         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
7919         to check for special cases.
7920         * sh-protos.h (sh_loop_align): Declare.
7921         * sh.c (sh_loop_align): Define.
7922
7923 2000-02-22  Andrew Haley  <aph@cygnus.com>
7924
7925         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
7926         (SIZE_TYPE): Is 32 bits when using -mgp32.
7927         (PTRDIFF_TYPE): Ditto.
7928
7929 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7930
7931         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
7932
7933 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
7934
7935         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
7936         BIGGEST_FIELD_ALIGNMENT a constant.
7937
7938 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
7939
7940         * dwarf2out.c (output_line_info): Put the marker for the end of
7941         the line number info at the actual end.
7942         (gen_struct_or_union_type_die): Use decl_function_context
7943         to check for local classes.
7944         * dwarfout.c (output_type): Likewise.
7945
7946 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
7947
7948         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
7949         for arguments with a mode, but no type.
7950         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
7951         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
7952         * pa/long_double.h: New file.
7953         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
7954         both have 128bit wide long doubles.
7955         * configure: Rebuilt.
7956
7957 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7958
7959         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
7960
7961         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
7962         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
7963         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
7964
7965         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
7966
7967         * integrate.c (compare_blocks, find_block): Likewise.
7968
7969         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
7970
7971         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
7972
7973         * stmt.c (stmt_status, set_file_and_line_for_stmt,
7974         expand_asm_operands): Likewise.
7975
7976 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
7977
7978         * predict.c (estimate_probability): Added the pointer heuristic to
7979         the collection of static branch predictors.
7980
7981 2000-02-21  Catherine Moore  <clm@cygnus.com>
7982
7983         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
7984         * invoke.texi (-mfix7000): Document.
7985
7986 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
7987
7988         * diagnostic.c (init_output_buffer): Make it possible to output at
7989         least 32 characters if we're given a too long prefix.
7990
7991 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
7992
7993         * varasm.c (initializer_constant_valid_p): Call
7994         lang_expand_constant to simplify the constant.
7995
7996 2000-02-20  Bruce Korb  <bkorb@gnu.org>
7997
7998         * fixinc/inclhack.def(stdio_va_list):
7999         typedef needs to be disabled.
8000         * fixinc/inclhack.sh: regen
8001         * fixinc/fixincl.x: regen
8002
8003 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
8004
8005         * print-rtl.c (print_rtx): Don't print addresses when
8006         flag_dump_unnumbered.
8007
8008 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8009
8010         * sparc.c (sparc_output_scratch_registers): Mark parameter with
8011         ATTRIBUTE_UNUSED.
8012         (sparc_va_arg, sparc_flat_output_function_prologue,
8013         sparc_flat_output_function_epilogue): Cast value to unsigned in
8014         comparison.
8015         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
8016
8017         * sparc.md: Add default case in switch.
8018
8019 2000-02-19  Richard Henderson  <rth@cygnus.com>
8020
8021         * c-typeck.c (add_pending_init): Don't abort for multiple
8022         fields at the same offset.
8023         (pending_init_member): Test the correct member.
8024
8025 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8026
8027         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
8028         instead of SImode.
8029         (start_catch_handler) : Same.
8030
8031 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
8032
8033         * Makefile.in: Have flow.o depend on $(EXPR_H)
8034
8035 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8036
8037         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
8038         * c-decl.c (duplicate_decls, finish_enum): Likewise.
8039         (finish_decl): Remove -Wlarger-than code from here.
8040         * flags.h (id_clash_len): Now int.
8041         (larger_than_size): Now HOST_WIDE_INT.
8042         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
8043         Clean up checking to see if in table.
8044         (make_bit_field_ref): Remove extra parm to bitsize_int.
8045         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
8046         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
8047         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
8048         and for computing size of decl.
8049         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
8050         Move -Wlarger-than code to here.
8051         (layout_record): Remove extra arg to bitsize_int.
8052         Set TYPE_BINFO_SIZE_UNIT.
8053         (layout_union): Remove extra arg to bitsize_int.
8054         Use proper type for size of QUAL_UNION.
8055         (layout_type): Remove extra arg to bitsize_int.
8056         * toplev.c (id_clash_len): Now int.
8057         (larger_than_size): Now HOST_WIDE_INT.
8058         (decode_W_option): Clean up id-clash and larger-than- cases.
8059         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
8060         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
8061         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
8062         (struct tree_decl): New field size_unit.
8063         (size_int_wide): No HIGH operand; NUMBER is now signed.
8064         (size_int_2): Deleted.
8065         (size_int, bitsize_int): Don't use it and rework args.
8066         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
8067
8068 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
8069
8070         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
8071
8072 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
8073
8074         * invoke.texi (Warning Options): Add an explanation of why
8075         you might want the -Wfloat-equal flag.
8076
8077 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8078
8079         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
8080         * cppinit.c (new_pending_define): Add cast to avoid warning.
8081         * expmed.c (extract_bit_field): Likewise.
8082         * flow.c (enum reorder_skip_type): New type.
8083         (skip_insns_between_blcok): New it.
8084         Rework to avoid warning about possibly undefined variable.
8085         * function.c (assign_parms): Make thisparm_boundary unsigned.
8086         * genrecog.c (write_switch): Cast XWINT result to int.
8087         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
8088         * mips-tfile.c (init_file): Make two versions of FDR intializer:
8089         one for MIPS and one for Alpha.
8090         (get_tag, copy_object): Add casts to avoid warnings.
8091         * optabs.c (init_one_libfunc): Cast NAME to (char *).
8092         * reload.c (find_reloads): Make TYPE enum reload_type.
8093         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
8094         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
8095         * varasm.c (compare_constant_1): Add cast to avoid warning.
8096         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
8097         to (char *).
8098         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
8099         Cast switch operand of size to int.
8100         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
8101         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
8102         in unhandled case.
8103
8104 2000-02-18  Nick Clifton  <nickc@cygnus.com>
8105
8106         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
8107         anything for an alignment of zero.
8108
8109         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
8110         anything for an alignment of zero.
8111
8112 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
8113
8114         * gcc.texi (Bug Reporting): Refer to bugs.html.
8115         (Bug Lists): Likewise.
8116         * system.h (GCCBUGURL): New preprocessor define.
8117         * rtl.c (fancy_abort): Use it.
8118         * gcc.c (main): Likewise.
8119
8120 2000-02-18  Richard Henderson  <rth@cygnus.com>
8121
8122         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
8123         (life_analysis_1): Subsume into ...
8124         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
8125         Use update_life_info for the relaxation.
8126         (update_life_info): Update REG_BASIC_BLOCK for registers live on
8127         entry and regs_live_at_setjmp.
8128         (set_noop_p): Simplify.
8129         (notice_stack_pointer_modification_1): Renamed from s/_1//.
8130         (record_volatile_insns): Split into ...
8131         (delete_noop_moves): ... here,
8132         (notice_stack_pointer_modification): ... here,
8133         (insn_dead_p): ... and here.
8134         (propagate_block): Don't query INSN_VOLATILE.
8135         (mark_used_regs): Mind !PROP_REG_INFO.
8136         * toplev.c (rest_of_compilation): Call mark_constant_function here,
8137         not in life_analysis.
8138
8139 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
8140
8141         * loop.c (canonicalize_condition): New function,
8142         broken out of get_condition.
8143         (get_condition): Use it.
8144         * expr.h (canonicalize_condition): Prototype it.
8145
8146         * tree.h (tree_int_cst_msb): Declare.
8147         * tree.c (tree_int_cst_msb): New function.
8148
8149 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
8150
8151         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
8152         isn't set.
8153
8154         * invoke.texi (-fmessage-length=n): Document.
8155
8156 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
8157
8158         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
8159
8160 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
8161
8162         * function.c (thread_prologue_and_epilogue_insns): Put a line note
8163         after the prologue.
8164
8165 2000-02-17  Nick Clifton  <nickc@cygnus.com>
8166
8167         * config/arm/thumb.c: Replace includes of system headers with
8168         #include "system.h".
8169
8170 2000-02-16  Richard Henderson  <rth@cygnus.com>
8171
8172         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
8173         Add crtbeginS.o and crtendS.o.
8174         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
8175         (ENDFILE_SPEC): Use crtendS.o.
8176         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
8177
8178         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
8179         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
8180         shared and present.
8181         (__dso_handle): New variable.
8182         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
8183         bias to __CTOR_END__.
8184
8185 2000-02-16  Richard Henderson  <rth@cygnus.com>
8186
8187         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
8188
8189 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8190
8191         * longlong.h (__clz_tab): Declare as static to match definition.
8192
8193 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
8194         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
8195         (XREF_FILE_NAME): Define.
8196
8197         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
8198         (EH_FRAME_SECTION_ASM_OP): Define.
8199         (IDENT_ASM_OP): Define.
8200         (TEXT_SECTION_ASM_OP): Define.
8201         (CPP_SPEC): Define.
8202         (CTORS_SECTION_ASM_OP): Define.
8203         (CTOR_SECTION_FUNCTION): Use it.
8204         (DTORS_SECTION_ASM_OP): Define.
8205         (DTOR_SECTION_FUNCTION): Use it.
8206
8207 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
8208
8209         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
8210         NOTE_BASIC_BLOCK.
8211
8212         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
8213         debug_bb_n): New functions.
8214         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
8215         * basic-block.h: Prototype new functions.
8216
8217 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
8218
8219         * configure.in: Add support for avr target.
8220         * configure: Rebuilt.
8221
8222         * invoke.texi: Add AVR invocation docs.
8223         * install.texi: Add information about AVR.
8224         * md.texi: Add AVR constraint letters description.
8225         * extend.texi: Add description for AVR specific attributes.
8226
8227 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
8228
8229         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
8230
8231 2000-02-16  Nick Clifton  <nickc@cygnus.com>
8232
8233         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
8234         (make_insn_raw): Move RTL check here.
8235
8236 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8237
8238         * version.c: Include gansidecl.h and version.h.
8239
8240         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
8241
8242         * configure.in (gcc_version): When setting, narrow search to
8243         lines containing `version_string'.
8244
8245         * Makefile.in (mainversion): Likewise.
8246         (GCC_H): New variable.
8247         (gcc.h): Delete target.
8248         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
8249         (version.o): Depend on version.h.
8250         (dbxout.o): Don't depend on gcc.h.
8251
8252 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8253                           Michael Meissner  <meissner@cygnus.com>
8254
8255         * md.texi (Simple Constraints): Add item about whitespace.
8256         * genoutput.c (strip_whitespace): New.
8257         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
8258         strip_whitespace for constraints.
8259         Test pointer using NULL, not 0.
8260
8261 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8262
8263         * cpplib.c (do_line): Pedwarn for #line > 32767.
8264
8265         * c-lex.c (readescape): Warn about '\x', but do not reject it.
8266
8267 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
8268
8269         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
8270         to default cpp spec.
8271         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
8272         * cpp.texi: Document __GNUC_PATCHLEVEL__.
8273         * cpp.1: Likewise.
8274
8275         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
8276         default spec.
8277
8278 2000-02-15  Denis Chertykov  <denisc@overta.ru>
8279
8280         * configure.in: Add support for avr target.
8281
8282 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8283
8284         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
8285         (sh_addr_diff_vec_mode): Don't declare.
8286         * sh.c (sh_addr_diff_vec_mode): Delete.
8287
8288 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8289
8290         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
8291
8292 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8293
8294         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
8295         (smulsi3_highpart_i): Name.
8296         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
8297         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
8298         (smulsi3_highpart, umulsi3_highpart): Likewise.
8299
8300         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
8301         correctly independent of endianness.
8302         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
8303         confuse the optimizers.
8304         (mulsidi3+1, umulsidi3+1): New define_split.
8305
8306 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
8307
8308         * config/sh/sh.md: Guard insn splits against illegal registers.
8309         * config/sh/sh.h: Correct comment about macros.
8310
8311 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8312                           Andrew MacLeod  <amacleod@cygnus.com>
8313
8314         * Makefile.in (lcm.o): Depend on insn-attr.h.
8315         * basic-block.h (optimize_mode_switching): Declare.
8316         * lcm.c (tm_p.h, insn-attr.h): #include.
8317         (seginfo, bb_info): New structs.
8318         (antic, transp, comp, delete, insert) : New file-scope static variables.
8319         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
8320         (reg_becomes_live, optimize_mode_switching): Likewise.
8321         * tm.texi: Add description of mode switching macros.
8322         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
8323
8324         * sh-protos.h (remove_dead_before_cse): Remove prototype.
8325         (fldi_ok, fpscr_set_from_mem): New prototypes.
8326         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
8327         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
8328         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
8329         (sh_flag_remove_dead_before_cse): Remove declaration.
8330         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
8331         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
8332         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
8333         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
8334         (barrier_align): Allow for JUMP_INSNS containing a parallel.
8335         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
8336         (fldi_ok): New function.
8337         (get_fpscr_rtx): Add fpscr_rtx as GC root.
8338         (emit_sf_insn): Only generate fpu switches when optimize < 1.
8339         (emit_df_insn): Likewise.
8340         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
8341         (sh_flag_remove_dead_before_cse): Delete.
8342         (get_free_reg, fpscr_set_from_mem): New functions.
8343         * sh.md (movdf, movsf): Remove no_new_pseudos code.
8344         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
8345
8346 2000-02-15  Loren Rittle  <ljrittle@acm.org>
8347
8348         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
8349
8350 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8351
8352         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
8353         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
8354
8355         * cccp.c: Include version.h and/or don't declare `version_string'.
8356         * collect2.c: Likewise.
8357         * alpha.c: Likewise.
8358         * arm/aof.h: Likewise.
8359         * arm/coff.h: Likewise.
8360         * arm/elf.h: Likewise.
8361         * arm/pe.h: Likewise.
8362         * arm/tcoff.h: Likewise.
8363         * arm/telf.h: Likewise.
8364         * arm/tpe.h: Likewise.
8365         * arm/vxarm.h: Likewise.
8366         * convex/convex.c: Likewise.
8367         * i386/dgux.c: Likewise.
8368         * i386/sun386.h: Likewise.
8369         * m88k/m88k.c: Likewise.
8370         * mcore/mcore-pe.h: Likewise.
8371         * mips/mips.h: Likewise.
8372         * romp/romp.h: Likewise.
8373         * sh/sh.c: Likewise.
8374         * cpphash.c: Likewise.
8375         * cppinit.c: Likewise.
8376         * dwarf2out.c: Likewise.
8377         * dwarfout.c: Likewise.
8378         * gcc.c: Likewise.
8379         * gcc.h: Likewise.
8380         * mips-tfile.c: Likewise.
8381         * protoize.c: Likewise.
8382         * toplev.c: Likewise.
8383         * tree.h: Likewise.
8384
8385         * version.c (version_string): Constify a char*.
8386
8387         * version.h: New file.
8388
8389 2000-02-14  Nick Clifton  <nickc@cygnus.com>
8390
8391         * configure.in: Add mcore-elf and mcore-pe targets.
8392         * configure: Regenerate.
8393
8394         * NEWS: Add note that MCore port has been contributed.
8395
8396         * invoke.texi: Document command line switches for MCore port.
8397         * install.texi: Add MCore to list of supported targets.
8398
8399 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
8400
8401         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
8402         then we will need to import the frame handling functions.
8403         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
8404         to import the frames themselves.
8405
8406 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
8407                           Jason Eckhardt  <jle@cygnus.com>
8408
8409         * basic_block.h: Added prototype for reorder_basic_blocks.
8410         * toplev.c: Changes to add -freorder-blocks and graph dump after
8411         block reordering is done.
8412         * flow.c (reorder_block_def): New structure for use during block
8413         reordering.
8414         (REORDER_BLOCK_*): New macros to access members of above structure.
8415         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
8416         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
8417         functions for block reordering.
8418
8419 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8420
8421         * gcc.texi (Passes): Fix typo.
8422         * md.texi (Standard Names): Ditto.
8423         * tm.texi (Storage Layout): Ditto.
8424
8425 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
8426
8427         * cpplib.c (do_define): Only free the old definition if it
8428         actually had one.
8429
8430 2000-02-13   Neil Booth  <NeilB@earthling.net>
8431
8432         * cppfiles.c (read_and_prescan): When emitting deferred
8433         newlines, test speccase[] again instead of checking each
8434         possible whitespace character in turn.  When we encounter \r,
8435         look behind for \n first, then ahead.
8436
8437 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
8438
8439         * cse.c (cse_altered): New internal flag.
8440         (cse_insn): Set it if we changed an insn.
8441         (cse_main): Clear cse_altered before each basic block.
8442         Only garbage collect if cse_altered is true afterward.
8443
8444 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8445
8446         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
8447
8448 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
8449
8450         * combine.c (simplify_comparison): Fix typo.
8451
8452 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
8453
8454         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
8455         consistently.
8456
8457 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8458
8459         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
8460         previously inserted node instead of root node.  Caller changed.
8461
8462 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8463
8464         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
8465
8466 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8467
8468         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
8469         __dereg_frame_dtor): Add prototype argument.
8470
8471         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
8472
8473         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
8474
8475         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
8476
8477         * gthr-vxworks.h (__gthread_once): Likewise.
8478
8479         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
8480
8481 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
8482
8483         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
8484         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
8485         stack pointer in functions w/o saved registers, output LEAVE more often
8486         on TARGET_USE_LEAVE machines.
8487
8488 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
8489
8490         * config/arm/arm.c (arm_init_cumulative_args); New function:
8491         Initlaise the CUMULATIE_ARGS strcuture for a function
8492         defintion.
8493         (arm_function_arg): New function: Determine where to place a
8494         function's argument.  Also handles deciding the function's
8495         call cookie.
8496         (current_file_function_operand): New function: Return true if
8497         the symbol is a function which has already been compiled.
8498         (arm_is_long_call_p): New function: Return true if the
8499         indicated function should be called via a long call.
8500         (arm_valid_type_attribute_p): New function: Return true if the
8501         attribute is a valid, arm specific, attribute.
8502         (arm_comp_type_attribute): New function: Return true if the
8503         two types have compatable, arm specific, attributes.
8504
8505         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
8506         structure.
8507         (FUNCTION_ARG): Redefine to call arm_function_arg.
8508         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
8509         structure field.
8510         (INIT_CUMULATIVE_ARGS): Redefine to call
8511         arm_init_cumulative_args.
8512         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
8513         field.
8514         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
8515         field.
8516         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
8517         functions.
8518         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
8519         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
8520         (COMP_TYPE_ATTRIBUTES): Define.
8521
8522         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
8523         if a long call is needed.
8524         (call_value): Call arm_is_long_call_p to decide if a long call
8525         is needed.
8526         (call_symbol): Call arm_is_long_call_p to decide if a long call
8527         is needed.
8528
8529         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
8530
8531 2000-02-11  Denis Chertykov  <denisc@overta.ru>
8532
8533         * README.AVR: New file with information about the avr ports.
8534         * config/avr: New directory with avr port files.
8535
8536 2000-02-11  Andreas Jaeger  <aj@suse.de>
8537
8538         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
8539
8540 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
8541
8542         * cpphash.c: Fix formatting, update commentary.
8543         (dump_definition): Take three separate arguments instead of a
8544         MACRODEF structure argument.
8545         * cpphash.h: Update prototype of dump_definition.
8546         * cppinit.c (cpp_finish): Update call of dump_definition.
8547
8548         * cpplib.c (do_define): Always create new hash entry with
8549         T_MACRO type.  Remove redundant check for redefinition of
8550         poisoned identifier.  Update call of dump_definition.
8551         (do_undef): Don't call check_macro_name.  Rename sym_length to
8552         len.
8553         (do_error, do_warning): Don't use copy_rest_of_line or
8554         SKIP_WHITE_SPACE.
8555         (do_warning): Don't use pedwarn for the actual warning,
8556         only the notice about its not being in the standard.  (Fixes
8557         bug with #warning in system headers.)
8558         (do_ident): Stricter argument checking - accept only a single
8559         string after #ident.  Also, macro-expand the line.
8560         (do_xifdef): Use cpp_defined.  De-obfuscate.
8561
8562         (do_pragma): Split out specific pragma handling to separate
8563         functions.  Use get_directive_token.  Update commentary.  Do
8564         not pass on #pragma once or #pragma poison to the front end.
8565         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
8566         do_pragma_default): New.
8567
8568 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
8569
8570         * jump.c (jump_optimize_1): The first operand in a relational
8571         can be a CONST_INT.
8572         * optabs.c (emit_conditional_move): Handle relationals which
8573         have a known true/false result.
8574
8575 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
8576
8577         * function.c (thread_prologue_and_epilogue_insns): Don't insert
8578         a RETURN insn into a block which already ends with a jump.
8579
8580 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
8581
8582         * haifa-sched.c (BUF_LEN): Increase a lot.
8583
8584 2000-02-11  Nick Clifton  <nickc@cygnus.com>
8585
8586         * configure.in: Add tm_p_file specification for thumb targets.
8587         * configure: Regenerate.
8588
8589         * config/arm/thumb-protos.h: New file: Prototypes for exported
8590         functions defined in thumb.c.
8591
8592 2000-02-11  Robert Lipe  <robertl@sco.com>
8593
8594         * Makefile.in (bootstrap-lean): Remove additional files.
8595         (bootstrap2-lean): Likewise.
8596         (VOL_FILES): List of files for above.
8597
8598 2000-02-11  Nathan Sidwell  <nathan@acm.org>
8599
8600         * cpphash.c (special_symbol): Remove spurious argument to
8601         cpp_lookup.
8602
8603 2000-02-11  Joel Sherrill (joel@OARcorp.com>
8604
8605         * configure.in: (i*86-*-rtems*): Swapped elf and coff
8606         stanzas.
8607         * configure: Rebuilt.
8608
8609 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
8610
8611         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
8612
8613 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
8614
8615         * pa.c, pa.h: Remove trigraph sequences within comments.
8616
8617 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
8618
8619         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
8620
8621 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
8622
8623         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
8624
8625 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8626
8627         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
8628
8629 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8630
8631         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
8632         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
8633         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
8634         (ASM_FILE_END): Use c4x_file_end.
8635         * config/c4x/c4x.c (c4x_global_label): New function.
8636         (c4x_external_ref, c4x_file_end): Likewise.
8637
8638         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
8639         (c4x_external_ref, c4x_end_file): Likewise.
8640
8641 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
8642
8643         * cppexp.c: Don't include cpphash.h.
8644         (parse_charconst, cpp_lex): Use cpp_defined.
8645         (cpp_lex): Use get_directive_token throughout.  Remove
8646         unnecessary cases from switch.  Move assertion-handling code
8647         down to OTHER case.
8648         (cpp_parse_expr): If we see '+' or '-', check the context to
8649         determine if they are unary or binary operators.  Streamline
8650         the jumps a bit.  Do not call skip_rest_of_line.
8651
8652         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
8653         static.  Export get_directive_token.  Update commentary.
8654         (cpp_defined): New function.
8655         (do_define): Remove reference to T_PCSTRING.  Call
8656         free_definition to release memory for old definition, when
8657         redefining a macro.
8658         (eval_if_expression): Set only_seen_white to 0 before calling
8659         cpp_parse_expr.  Call skip_rest_of_line after it returns.
8660         (cpp_read_check_assertion): Don't preserve a pointer into the
8661         token buffer across a call to cpp_get_token.
8662
8663         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
8664         * cppfiles.c (redundant_include_p): Use cpp_defined.
8665         * cpphash.c (free_definition): New function.
8666         (delete_macro): Use it.  Update commentary.
8667         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
8668         free_definition.
8669         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
8670         from enum node_type.  Prototype cpp_defined and get_directive_token.
8671         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
8672
8673         * fix-header.c (check_macro_names): Use cpp_defined.
8674         (read_scan_file): Set inhibit_warnings and inhibit_errors in
8675         the options structure.
8676
8677 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8678
8679         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
8680
8681 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
8682
8683         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
8684         rather than die->die_tag.
8685
8686 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8687
8688         * combine.c (make_extraction, force_to_mode): Avoid warning on
8689         mixed-signedness conditionals.
8690         (make_field_assignment, nonzero_bits): Likewise.
8691         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
8692         (store_split_bit_field, extract_split_bit_field): Likewise.
8693         (extract_fixed_bit_field, store_bit_field,
8694         * expr.c: Change alignment to be unsigned everywhere.
8695         (move_by_pieces, store_constructor_field, store_constructor):
8696         Alignment parm is unsigned.
8697         (emit_block_move, emit_group_load, emit_group_store): Likewise.
8698         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
8699         (do_compare_rtx_and_jump): Likewise.
8700         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
8701         Compare align with GET_MODE_ALIGNMENT.
8702         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
8703         (get_inner_reference): Likewise.
8704         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
8705         (expand_assignment): Local vars for alignment now unsigned.
8706         (store_constructor, store_field, expand_expr, do_jump): Likewise.
8707         (do_compare_and_jump): Likewise.
8708         (store_field): Call new function expr_align.
8709         * expr.h (emit_block_move, emit_group_load, emit_group_store):
8710         Alignment arg now unsigned.
8711         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
8712         (do_compare_rtx_and_jump, store_bit_field): Likewise.
8713         (extract_bit_field): Likewise.
8714         * fold-const.c (add_double): Add cast to eliminate signedness warning.
8715         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
8716         (get_best_mode): Alignment arg is unsigned.
8717         * rtl.h (move_by_pieces): Likewise.
8718         * store-layout.c (maximum_field_alignment, set_alignment):
8719         Now unsigned.
8720         (layout_decl): Alignment arg is now unsigned.
8721         Remove unneeded casts.
8722         (layout_record, layout_union, layout_type): Remove unneeded casts.
8723         Local alignment variables now unsigned.
8724         (get_best_mode): Alignment arg now unsigned.
8725         * tree.c (expr_align): New function.
8726         * tree.h (expr_align): Likewise.
8727         (maximum_field_alignment, set_alignment): Now unsigned.
8728         (get_inner_reference): Alignment argument is now pointer to unsigned.
8729         * varasm.c (assemble_variable): Add cast to eliminate warning.
8730
8731 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
8732
8733         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
8734         then store directly into op0.
8735
8736         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
8737         the CALL_INSN, and emit the note immediately after it.
8738
8739 2000-02-10  Nick Clifton  <nickc@cygnus.com>
8740
8741         * config/arm/thumb.md (epilogue): Include a (return) in the
8742         generated insn, and emit it using emit_jump_insn not
8743         emit_insn.
8744
8745 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
8746
8747         * function.c (assign_temp): Change zero-sized arrays to size 1.
8748         * integrate.c (expand_inline_function): Do not update
8749         stack_alignment_needed
8750         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
8751         add some sanity checking, remove optimization for function with
8752         zero frame size.
8753
8754 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8755
8756         * flow.c (mark_regs_live_at_end): Delete unused variables.
8757
8758         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
8759
8760         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
8761         in macro FRAME_GROWS_DOWNWARD.
8762
8763         * stmt.c (expand_end_bindings): Delete unused variable.
8764
8765         * unroll.c (iteration_info): Mark parameter `loop' with
8766         ATTRIBUTE_UNUSED.
8767
8768 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8769
8770         * fixinc/server.c (load_data): Return NULL if the marker line is
8771         not found.
8772         (run_shell): If load_data returns NULL, retry the command once, in
8773         a new shell.
8774
8775         * configure: Rebuilt.
8776
8777 2000-02-09  Bruce Korb  <bkorb@gnu.org>
8778
8779         * gcc/fixincludes:  ** DELETED **
8780         * gcc/fixcpp:  ** DELETED **
8781         * gcc/fixinc-nt.sed:  ** DELETED **
8782         * gcc/just-fixinc:  ** DELETED **
8783         * gcc/Makefile.in:  Removed out-dated commentary
8784         * gcc/configure.in: Removed fast-fixincludes disablement.
8785         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
8786
8787 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
8788         * function.c (thread_prologue_and_epilogue_insns): Uncomment
8789         last change.
8790
8791 2000-02-09  Richard Henderson  <rth@cygnus.com>
8792
8793         * jump.c (delete_insn): Don't delete user labels at -O0.
8794
8795 2000-02-09  Robert Lipe  <robertl@sco.com>
8796
8797         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
8798         Don't link with HOST_LIBS.
8799
8800 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
8801
8802         * configure.in: Correct --help text for --with-dwarf2.
8803         Put tm-dwarf2.h after other tm files, if it's requested.
8804         * configure: Regenerate.
8805         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
8806         defining it.
8807
8808 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
8809
8810         * cpplib.h: Provide HASHNODE typedef and forward decl of
8811         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
8812         DEFINITION, struct hashnode, struct macrodef, struct
8813         definition, scan_decls prototype, default defn of
8814         INCLUDE_LEN_FUDGE moved elsewhere.
8815
8816         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
8817         definition, and struct hashnode moved here. Remove the unused
8818         'predefined' field from struct definition.  Replace the 'args'
8819         union with its sole member.  All users updated (cpphash.c).
8820         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
8821         multiple include guard.
8822
8823         * cpphash.c (hashf): Make static; use better algorithm; drop
8824         HASHSIZE parameter; return an unsigned int.
8825         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
8826         used. Calculate HASHSIZE modulus here.
8827         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
8828         here.
8829         (create_definition): Drop PREDEFINITION parameter.
8830         * cpplib.c (do_define): Don't calculate a hash value here.
8831         Don't pass (keyword == NULL) to create_definition.
8832
8833         * scan.h: Prototype scan_decls here.
8834         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
8835         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
8836         callers of cpp_lookup and cpp_install updated.
8837
8838         * cpphash.c (macarg): Hoist all the flag diddling out of the
8839         function...
8840         (macroexpand): ... and out of the loop that calls macarg.
8841         Skip over the initial paren before macro arguments with
8842         cpp_get_non_space_token; point may be some distance before
8843         that paren.  Abort if it's not there.
8844
8845         * cpplib.c (parse_clear_mark): Delete function.
8846         (parse_set_mark, parse_goto_mark): Make static.
8847         (ACTIVE_MARK_P): New macro.
8848         (skip_block_comment, skip_line_comment): Do not bump the line
8849         if ACTIVE_MARK_P is true.
8850         (cpp_pop_buffer): The buffer to be popped may not have an
8851         active mark.
8852         (cpp_get_token): When looking for the initial paren before
8853         macro arguments, only set a mark in a file buffer, Always
8854         return to that mark before proceeding to call macroexpand or
8855         return a NAME token.
8856
8857         * cpplib.h: Remove prototypes of parse_set_mark,
8858         parse_clear_mark, parse_goto_mark.
8859         (struct cpp_options): Rename 'put_out_comments' to
8860         'discard_comments' and invert its sense.
8861         * cppinit.c, cpphash.c, cpplib.c: All users of
8862         put_out_comments changed to use discard_comments, with
8863         opposite sense.
8864
8865 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
8866
8867         * function.c (thread_prologue_and_epilogue_insns): Don't delete
8868         the edge from a block that both jumps and falls through to the
8869         fallthru block.
8870
8871 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
8872
8873         * config/arm/arm.md (movsi): In PIC mode, make sure that a
8874         constant source address is legitimate.
8875
8876 2000-02-09  Philip Blundell  <pb@futuretv.com>
8877
8878         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
8879         correctly.
8880
8881         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
8882         generating PIC.
8883         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
8884
8885 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
8886
8887         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
8888         ends with a newline and a NUL.  Don't be so clever manipulating
8889         strings.
8890
8891 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
8892
8893         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
8894         not to BIGGEST_ALIGNMENT.
8895
8896 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
8897
8898         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
8899         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
8900         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
8901         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
8902         * frame.c (execute_cfa_insn): Handle
8903         DW_CFA_GNU_negative_offset_extended.
8904
8905 2000-02-08  Richard Henderson  <rth@cygnus.com>
8906
8907         * flow.c (tidy_fallthru_edges): Split out from ...
8908         (delete_unreachable_blocks): ... here.
8909         (find_basic_blocks): Use it.
8910
8911 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8912
8913         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
8914
8915 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
8916
8917         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
8918         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
8919         (fix-header.o): Don't depend on cpphash.h.
8920
8921         * scan.c (hashstr): New function.
8922         * scan.h: Prototype it.
8923         * fix-header.c: Don't include cpphash.h.  Use hashstr.
8924         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
8925         hashstr.  Report hash table statistics.  Add private
8926         definition of xrealloc.
8927
8928 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8929
8930         * i386.h (TARGET_SWITCHES): Fix typo in option name.
8931
8932 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
8933
8934         * function.c (thread_prologue_and_epilogue_insns): Don't replace
8935         jumps with returns unless they are jumps to the fallthru block.
8936
8937 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
8938
8939         * i386.md (addqi3_cc): Fix contraints.
8940
8941 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8942
8943         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
8944
8945 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
8946
8947         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
8948         carriage return after a macro name.
8949
8950 2000-02-07  Fred Fish  <fnf@be.com>
8951
8952         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
8953         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
8954
8955 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
8956
8957         * cppfiles.c (deps_output): Count spacers in deps_column.
8958
8959 2000-02-07  Neil Booth  <NeilB@earthling.net>
8960
8961         * cppinit.c (initialize_dependency_output): If there is no
8962         suffix, don't try to look for known suffixes.  Use strrchr.
8963         (cpp_start_read): Remove duplicate initialization.
8964
8965 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
8966
8967         * calls.c (compute_argument_block_size): New argument
8968         preferred_stack_boundary.
8969         (expand_call): update cfun->preferred_stack_boundary, update call of
8970         compute_argument_block_size
8971         (emit_library_call): Increate cfun->preferred_stack_boundary
8972         to PREFERRED_STACK_BOUNDARY
8973         (emit_library_call_value): Likewise.
8974         * explow.c (allocate_dynamic_stack_spave): Likewise.
8975         * function.c (prepare_function_start): Set
8976         cfun->preferred_stack_boundary
8977         * function.h (struct function): Add preferred_stack_boundary field.
8978         * integrate.c (expand_inline_function): Update
8979         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
8980         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
8981         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
8982
8983 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
8984
8985         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
8986         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
8987         cpp_pedwarn, cpp_pedwarn_with_line,
8988         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
8989         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
8990         v_cpp_error_with_line, v_cpp_warning_with_line,
8991         cpp_message_from_errno, cpp_perror_with_name): Delete.
8992
8993         * cpperror.c (cpp_print_containing_files): Take starting
8994         buffer as argument.
8995         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
8996         (v_cpp_message): Now called directly by all entry points.
8997         Remove -1 case.
8998         (cpp_pfatal_with_name, cpp_message): Delete.
8999         (cpp_notice_from_errno, cpp_ice): New functions.
9000         (cpp_notice): Is now for reporting error conditions, just
9001         without an associated file.
9002         (cpp_error, cpp_error_with_line): Don't do anything if
9003         opts->inhibit_errors is on.
9004         (cpp_pedwarn_with_file_and_line): Take column argument also.
9005
9006         * cpplib.h: Update prototypes of exported functions.
9007         (struct cpp_options): Add inhibit_errors.
9008
9009         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
9010         non-error messages.  Include intl.h.
9011
9012         * cppinit.c, cppmain.c: Likewise.  Also, use
9013         cpp_notice_from_errno instead of cpp_perror_with_name or
9014         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
9015
9016         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
9017         report internal errors.
9018
9019         * cpplib.c (do_define): Switch bcopy to memcpy.
9020         Give cpp_pedwarn_with_file_and_line a dummy column argument.
9021
9022         * cpplib.c (copy_rest_of_line): Revert previous change: don't
9023         bail out early if we hit a line comment.
9024
9025 2000-02-06  Richard Henderson  <rth@cygnus.com>
9026
9027         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
9028         * basic-block.h: Declare them.
9029         * emit-rtl.h (active_insn_p): New.
9030         (next_active_insn, prev_active_insn): Use it.
9031         * rtl.h: Declare it.
9032         * function.c (emit_return_into_block): New.
9033         (thread_prologue_and_epilogue_insns): Insert return insns instead
9034         of epilogues when possible.
9035         * jump.c (jump_optimize_1): Remove code to insert a return insn
9036         on the fallthru to the exit block.
9037
9038         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
9039         and for non-empty stack frames.
9040         * i386.md (return): Expand to return-pop as needed.
9041
9042 2000-02-06  Richard Henderson  <rth@cygnus.com>
9043
9044         * simplify-rtx.c (simplify_relational_operation): Canonicalize
9045         constant to op1 for testing.
9046
9047 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9048
9049         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
9050         (fixuns_truncqfqi2): Use it.
9051
9052 2000-02-06  Richard Henderson  <rth@cygnus.com>
9053
9054         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
9055         as a TYPE_LEA insn.
9056
9057         * i386.md (widening and peepholes): Mask the constant instead of
9058         using gen_lowpart.
9059
9060 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
9061
9062         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
9063         input pointer before possibly branching off to the backslash
9064         code.
9065         * cpphash.c (macroexpand): Correctly delete \r escapes when
9066         stringifying parameters.
9067         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
9068         if we can; bail out early if we hit a line comment.
9069         (handle_directive): Treat '# 123' in an .S file just like
9070         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
9071         Return 1 for '# not_a_directive'.
9072         (get_directive_token): Pop macro buffers here, so that
9073         cpp_get_token can't sneakily move past a newline.
9074         Add sanity checks.
9075         (cpp_get_token): goto randomchar if handle_directive returns 0.
9076
9077         * cppalloc.c: Update copyright.
9078         * cpplib.c: Merge all the static function prototypes into one
9079         block.
9080         * cpplib.h: Remove #if 0 block.
9081
9082         * cpperror.c: Remove #ifdef EMACS block.
9083         * cppmain.c: Likewise.
9084         * cpphash.c: Remove #if 0 blocks.
9085         * cppinit.c: Remove #if 0 blocks, and the -lint option.
9086         * cpplib.c: Remove #if 0 blocks and code referencing
9087         pcp_inside_if or for_lint.  Remove duplicate error message.
9088         Fix error messages for #else after #else or #elif.  Reformat.
9089         Remove archaic TODO list.
9090         * cpplib.h: Remove pcp_inside_if and for_lint flags.
9091
9092 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
9093
9094         * i386/osf1elf.h: Add missing backslash to multiline string.
9095
9096 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9097
9098         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
9099
9100 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9101
9102         * Makefile.in (c-common.o): Depend on $(EXPR_H).
9103
9104         * c-common.c: Include expr.h.
9105
9106         * c-pragma.c (mark_align_stack): Add prototype.
9107
9108         * caller-save.c (add_stored_regs): Likewise.
9109
9110         * combine.c (record_promoted_value): Likewise.
9111
9112         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
9113         Likewise.
9114
9115         * cppinit.c (new_pending_define): Likewise.
9116
9117         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
9118
9119         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
9120         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
9121         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
9122         class_scope_p): Likewise.
9123
9124         * dwarf2out.h (dwarf2out_set_demangle_name_func,
9125         dwarf2out_add_library_unit_info): Likewise.
9126
9127         * ggc.h (ggc_page_print_statistics): Likewise.
9128
9129         * haifa-sched.c (propagate_deps): Likewise.
9130
9131         * reg-stack.c (next_flags_user, record_label_references): Likewise.
9132
9133         * rtl.h (set_stack_check_libfunc): Likewise.
9134
9135         * toplev.h (set_fatal_function): Likewise.
9136
9137         * toplev.c (set_fatal_function): Delete prototype.
9138
9139         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
9140
9141 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
9142
9143         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
9144         (FUNC_END): Likewise.
9145
9146 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9147
9148         * caller-save.c: Include tm_p.h.
9149
9150 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9151
9152         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
9153
9154 2000-02-04  Neil Booth  <NeilB@earthling.net>
9155
9156         * cccp.c (main): Check 'dir' for a NULL pointer before passing
9157         it to strcmp.
9158
9159 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
9160
9161         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
9162         * genflags.c: Use the max_operand_1 logic from genemit.c to
9163         calculate how many arguments gen_insn prototypes have.  Remove
9164         NO_MD_PROTOTYPES ifdefs from the generated file.
9165         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
9166         file.  Cast gen_insn initializers to insn_gen_fn.
9167         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
9168         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
9169
9170 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9171
9172         * fixinc/Makefile.in (HDR): Add machname.h.
9173         (clean): Likewise.
9174
9175 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9176
9177         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
9178         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
9179         (c4x_cpu_version): Ditto.
9180         * config/c4x/c4x-protos.h: ... here.
9181
9182 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
9183
9184         * dwarf2out.c (add_abstract_origin_attribute): Don't call
9185         gen_abstract_function on our context if we're a nested function.
9186
9187 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9188
9189         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
9190         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
9191
9192 2000-02-04  Bruce Korb  <bkorb@gnu.org>
9193
9194         * fixinc/genfixes(machname.h):
9195         Move the functionality from gen-machine.h into this file.
9196         UNdef MN_NAME_PAT if there are no names to change.
9197         Also, be a little kinder when AutoGen is not present.
9198
9199         * fixinc/Makefile.in(machname.h):
9200         Change the generation rule to use genfixes.
9201
9202         * fixinc/fixfixes.c(machine_name):
9203         machine_name_fix's functionality now dependent upon whether
9204         MN_NAME_PAT is defined.
9205
9206         * fixinc/fixtests.c(machine_name):
9207         ditto.
9208
9209         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
9210         of MN_NAME_PAT.
9211
9212         * fixinc/fixlib.h(mn_get_regexps):
9213         ditto
9214
9215         * fixinc/gen-machine.h: DELETED
9216
9217 2000-02-04  Jan Hubicka  <jh@suse.cz>
9218             Richard Henderson  <rth@cygnus.com>
9219
9220         * i386.c (SAVE_REGS_FIRST): Remove.
9221         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
9222         (ix86_compute_frame_size): Likewise.
9223         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
9224         (ix86_emit_restore_regs): Remove.
9225         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
9226         when a frame pointer is in use.
9227         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
9228         instead of pop to restore a register when profitable; emit leave
9229         when profitable.
9230         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
9231         as a TYPE_LEA insn.
9232         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
9233         * i386.md (prologue_allocate_stack): Remove.
9234         (epilogue_deallocate_stack): Remove.
9235         (pro_epilogue_adjust_stack): New.
9236
9237 2000-02-04  Richard Henderson  <rth@cygnus.com>
9238
9239         * function.c (diddle_return_value): Rework to use a callback function.
9240         Use current_function_return_rtx if it's been set up.
9241         (do_clobber_return_reg, clobber_return_register): New.
9242         (do_use_return_reg, use_return_register): New.
9243         (expand_function_end): Use them.
9244         * stmt.c (expand_null_return): Likewise.
9245         * function.h: Declare them.
9246         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
9247         (mark_reg): Change arguments as appropriate for callback.
9248         * integrate.c (expand_inline_function): Revert 19 Jan change.
9249
9250 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9251
9252         * tm.texi (Values in Registers): Fix typo: "fo" "for".
9253         (Misc): Say the scheduler, not the Haifa scheduler.
9254
9255 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
9256
9257         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
9258         when in_mem is set.  Update all callers.
9259
9260 2000-02-04  Richard Henderson  <rth@cygnus.com>
9261
9262         * i386/openbsd.h (INT_ASM_OP): Define.
9263
9264 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9265
9266         * tm.texi: Fix various typos.
9267
9268 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
9269
9270         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
9271         (MD_STARTFILE_PREFIX_1): New macro.
9272
9273 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
9274
9275         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
9276         destination when needed.
9277         (strmovsi, strsetsi): New expander.
9278         (strmovsi_1, strsetsi_1): New pattern.
9279         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
9280         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
9281         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
9282         * invoke.texi (align-stringops, inline-all-stringops): Document.
9283
9284 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
9285
9286         * i386/netbsd.h (INT_ASM_OP): Define.
9287
9288 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
9289
9290         * cpplib.h (cpp_reader): Add new flag, no_directives.
9291         * cpphash.c (macarg): Set it.
9292         * cpplib.c (handle_directive): If no_directives is on and we
9293         find a directive, issue an error and discard the line.
9294
9295 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
9296
9297         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
9298         FP constants.  Add ! TARGET_FPU check for FP constants.
9299
9300 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
9301
9302         * flow.c (find_basic_blocks): Don't kill label_value_list
9303         here.
9304         (cleanup_cfg): Kill it here.
9305
9306 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9307
9308         * expr.c (store_field): Ensure ALIGN is no stricter than the
9309         alignment of EXP.
9310
9311 2000-02-02  Richard Henderson  <rth@cygnus.com>
9312
9313         * jump.c (delete_insn): Partially revert 19 Jan change;
9314         don't convert unused code labels to notes at -O0.
9315
9316 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9317
9318         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
9319         split_all_insns to recreate REG_LABEL notes for flow2 pass.
9320
9321 2000-02-01  Richard Henderson  <rth@cygnus.com>
9322
9323         * i386.c (general_no_elim_operand): New.
9324         (nonmemory_no_elim_operand): New.
9325         (ix86_expand_move): Copy eliminable operands before a push.
9326         * i386-protos.h: Declare new functions.
9327         * i386.h (CAN_ELIMINATE): Simplify.
9328         (PREDICATE_CODES): Update.
9329         * i386.md (push insns): Don't allow eliminable register operands.
9330
9331 2000-02-01  Richard Henderson  <rth@cygnus.com>
9332
9333         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
9334         replace BLKmode with DECL_RTL's mode.
9335
9336 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
9337
9338         * frame.c (find_fde): Convert for loop to do-while so compiler
9339         sees it's always executed at least once.
9340         * libgcc2.c (BBINBUFSIZE): Kill.
9341         (__bb_init_prg): Use fgets.
9342         (__bb_exit_trace_func): Don't paste strings.
9343         * unroll.c (unroll_loop): Initialize unroll_type, not
9344         unroll_number, and tweak logic to match.
9345
9346         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
9347         all failure paths.
9348         (ix86_flags_dependant): Likewise.  Disentangle control flow.
9349         (ix86_sched_reorder): Break guts out to
9350         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
9351         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
9352         any possible use.
9353
9354         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
9355         use string concatenation.  Don't save and restore esi.
9356
9357         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
9358         (machname.h): Remove script to separate file.  Use two-step
9359         sequence so target is not created if script fails.
9360         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
9361         identifiers are defined.
9362         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
9363         an empty string, machine_name doesn't need to do anything at
9364         all.
9365         (is_cxx_header): Add more cases to regexp.
9366         * fixinc/fixlib.h: Update prototype.
9367         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
9368         mn_get_regexps.
9369         * fixinc/fixincl.c: Define NO_BOGOSITY.
9370
9371         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
9372         (hp_sysfile): Add missing comma.
9373         (math_exception): Put the wrapper ifdefs at the beginning and
9374         the end of the file.
9375         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
9376
9377 2000-02-01  Richard Henderson  <rth@cygnus.com>
9378
9379         * sparc.c (fp_zero_operand): Turn into a normal predicate.
9380         Use CONST0_RTX.  Update all callers.
9381         * sparc.h, sparc-protos.h: Update accordingly.
9382         * sparc.md (fp mov insns): Use fp_zero_operand directly
9383         where applicable.
9384
9385 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9386
9387         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
9388         example.
9389
9390 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9391
9392         * Makefile.in (specs.ready): New target.
9393         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
9394
9395 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9396
9397         * fixinc.irix: Use unique filenames for writing into /tmp,
9398         * fixinc.ptx: Likewise.
9399         * fixinc.sco: Likewise.
9400         * fixinc.svr4: Likewise.
9401         * fixinc.winnt: Likewise.
9402
9403 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9404
9405         * tsystem.h: New file.
9406
9407         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
9408         s-crtS): Depend on tsystem.h.
9409
9410         * crtstuff.c: Include tsystem.h.
9411         * frame.c: Likewise.
9412         * libgcc2.c: Likewise.
9413
9414 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
9415
9416         * builtins.c (expand_builtin_memset): Expand for variable sized
9417         lengths too.
9418
9419 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
9420
9421         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
9422         on ABI.
9423
9424 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9425
9426         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
9427
9428         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
9429
9430 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
9431
9432         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
9433         case 3->2 combining (combining with splitting) in which 2 is CC0
9434         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
9435         checked at the begining of the function with the aid of calling
9436         function 'can_combine_p'.
9437
9438 2000-01-31  Dave Brolley  <brolley@redhat.com>
9439
9440         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
9441
9442 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
9443
9444         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
9445         new label.
9446
9447 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9448
9449         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
9450
9451         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
9452         PROTO -> PARAMS.
9453
9454 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
9455
9456         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
9457         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
9458         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
9459         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
9460         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
9461         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
9462         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
9463         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
9464         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
9465         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
9466
9467         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
9468         Add %(cpp_cpu) to CPP_SPEC.
9469
9470         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
9471         Add %(cc1_cpu) to CC1_SPEC.
9472
9473 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
9474
9475         * c-decl.c (c_decode_option): Accept optional numeric argument to
9476         -Wformat and set warn_format.
9477         * c-common.c: Don't emit warning about non-constant printf format
9478         string unless warn_format > 1.
9479
9480 2000-01-30  Richard Henderson  <rth@cygnus.com>
9481
9482         * alpha.md (return_internal): Allow after reload only.
9483
9484 2000-01-30  Richard Henderson  <rth@cygnus.com>
9485
9486         * i386.c (ix86_compute_frame_size): Omit padding1 if the
9487         local frame size is zero.
9488
9489 2000-01-30  Richard Henderson  <rth@cygnus.com>
9490
9491         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
9492         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
9493         * alpha.md (return): Turn into an expander.
9494         (return_internal): Don't use $26.
9495         (epilogue): Emit the return insn.
9496
9497 2000-01-30  Richard Henderson  <rth@cygnus.com>
9498
9499         * alpha.md (negtf2, abstf2): Fix word order thinko.
9500         (extendsftf2): New.
9501         (trunctfsf2): Avoid intermediate rounding errors.
9502
9503 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
9504
9505         * cppfiles.c (find_position): Drop 'colp' argument, return the
9506         new line base.
9507         (read_and_prescan): Adjust to match.  Don't ever manipulate
9508         line or line_base except via find_position.
9509
9510 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
9511
9512         * c-parse.in: Apply Ulrich's changes from c-parse.y.
9513         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
9514         Regenerate.
9515
9516 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
9517
9518         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
9519         just print "<command line>".  If 'filename' is null or an
9520         empty string, print "<stdin>" for the filename.
9521         * cpplib.c (do_define): Don't print the 'location of the
9522         previous definition' message if we're still parsing the
9523         command line.
9524         (cpp_pedwarn_with_file_and_line): Always call
9525         cpp_file_line_for_message.
9526
9527 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
9528
9529         * flow.c (mark_regs_live_at_end): Fix typo.
9530
9531 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
9532
9533         * c-common.c: Adjust variable names, comments, help strings to c99.
9534         * c-lex.c: Likewise.
9535         * c-parse.y: Likewise.
9536         * c-tree.h: Likewise.
9537         * cccp.c: Likewise.
9538         * cpplib.h: Likewise.
9539         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
9540         * cppinit.c: Likewise.
9541
9542 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9543
9544         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
9545         * c4x.c: Define the optab rtx values.
9546         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
9547         (c4x_emit_libcall): Use new optab rtx values.
9548         (c4x_emit_libcall3): Likewise.
9549         (c4x_emit_libcall_mulhi): Likewise.
9550         * c4x-protos.h: Add prototypes for optab rtx values and change
9551         prototypes for above c4x_emit_libcall functions.
9552
9553 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9554
9555         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
9556         syntax is used.
9557         (c4x_function_prologue): Use regnames intead of float_reg_names when
9558         TI syntax is used.
9559         (c4x_function_epilogue): Likewise.
9560         (c4x_print_operand): Likewise.
9561         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
9562         * c4x.md (set_high): Disable for TARGET_TI.
9563
9564 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9565
9566         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
9567         of framepointer + constant to ADDR_REGS class.
9568         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
9569         * c4x.c (std_or_reg_operand): New function.
9570         * c4x-protos.h (std_or_reg_operand): Prototype it.
9571
9572 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9573
9574         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
9575                 object names as libgcc2.c.
9576         * libgcc.S: Use newly defined names.
9577
9578 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
9579         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
9580         function.
9581         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
9582         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
9583         (FLOW_LOOP_LAST_BLOCK): Likewise.
9584
9585 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9586
9587         * basic-block.h (struct loop): New fields 'first' and 'last'.
9588         * flow.c (flow_loops_find): Compute loop->first and loop->last.
9589         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
9590         and loop->last to check for NOTE_INSN_LOOP_END.
9591
9592 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
9593
9594         * predict.c (estimate_probability): Use the new FIRST and LAST fields
9595         of the loop descriptor rather than HEADER and LATCH. Also added
9596         missing break statements as well making some coding style modifications
9597         as suggested by Michael Hayes.
9598
9599 2000-01-28  Richard Henderson  <rth@cygnus.com>
9600
9601         * flow.c (find_basic_blocks): Remove do_cleanup argument.
9602         Break out that code ...
9603         (cleanup_cfg): ... here.
9604         (commit_one_edge_insertion): Detect a return instruction being
9605         emitted to an edge.  Emit a barrier following; clear fallthru.
9606         (commit_edge_insertions): Verify CFG consistency.
9607         * function.c (expand_function_start): Kill unused variable.
9608         (expand_function_end): Likewise.
9609         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
9610         to insert the epilogue.
9611
9612         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
9613         (delete_null_pointer_checks): Likewise.
9614         * output.h: Likewise.
9615         * reg-stack.c (reg_to_stack): Likewise.
9616         * toplev.c (rest_of_compilation): Likewise.  Run
9617         thread_prologue_and_epilogue_insns after rebuilding the CFG.
9618
9619 2000-01-28  Richard Henderson  <rth@cygnus.com>
9620
9621         * Makefile.in (flow.o): Revert 24 Jan change.
9622         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
9623         FUNCTION_VALUE result to DECL_RESULT's mode.
9624
9625         * haifa-sched.c (schedule_insns): Don't recompute reg info
9626         after reload.
9627
9628 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
9629
9630         * configure.in: Make --enable-cpplib the default.
9631         * configure: Regenerate.
9632         * gcc.dg/990119-1.c: No longer expected to fail.
9633
9634 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
9635
9636         * jump.c (jump_optimize_1): Delete an optimization that is also done
9637         by merge_blocks in flow.
9638
9639 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9640
9641         * diagnostic.c (build_message_string, output_printf,
9642         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
9643         (build_location_prefix): Fix non-literal format string.
9644
9645 2000-01-27  Richard Henderson  <rth@cygnus.com>
9646
9647         * alpha.md (trunctfsf2): New.
9648
9649 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
9650
9651         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
9652
9653 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
9654
9655         * cppinit.c (cpp_handle_option): Recognize C++ comments under
9656         -std=gnu89.
9657         * cpplib.c (skip_block_comment, skip_line_comment): Split code
9658         out of...
9659         (skip_comment) ... here.  Permit C++ comments in system
9660         headers always.  Warn about C++ comments in user code under
9661         -std=gnu89 -pedantic.
9662         (copy_comment): Use skip_comment.
9663         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
9664         return EOF.
9665         (consider_directive_while_skipping, do_else, do_endif): Call
9666         validate_else unconditionally.
9667         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
9668         text after the conditional in a system header.
9669         * cpplib.h (struct cpp_buffer): Add flag
9670         warned_cplusplus_comments.
9671
9672 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
9673
9674         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
9675         Use unshare_all_rtl_1.
9676         (unshare_all_rtl_again): New function.
9677         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
9678
9679         * function.c (purge_addressof_1): Use unshare_all_rtl_again
9680         rather than resetting the 'used' flags ourself.
9681
9682         * toplev.c (rest_of_compilation): Add current_function_decl
9683         to the unshare_all_rtl call.
9684         * tree.h: Prototype unshare_all_rtl.
9685         * rtl.h: Prototype unshare_all_rtl_again here.
9686
9687 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
9688
9689         * genoutput.c (output_prologue): Include ggc.h in generated
9690         files.
9691         * Makefile.in (insn-output.o): Depends on ggc.h.
9692
9693 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
9694             Hans-Peter Nilsson  <hp@bitrange.com>
9695
9696         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
9697         Remove redundant include of xm-ns32k.h.
9698         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
9699         Remove redundant include of xm-ns32k.h.
9700         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
9701         Remove redundant include of xm-ns32k.h.
9702         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
9703
9704         * ns32k/ns32k.h: Update comment on multiply-add instructions.
9705         (TARGET_SWITCHES): Add documentation strings.
9706         (DWARF_FRAME_REGNUM): Override default definition.
9707         (REG_CLASS_CONTENTS): Add comments.
9708         (SUBSET_P): Format to reduce line length.
9709         (SMALL_REGISTER_CLASSES): Make a run time option.
9710         (GO_IF_NONINDEXED_ADDRESS): Reformat.
9711         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
9712         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
9713         (regclass_map): fix typo in comment.
9714         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
9715         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
9716         (trace, reg_or_mem_operand): Delete, unused function.
9717         (calc_address_cost): Small offsets are cheaper than large ones.
9718         (expand_block_move): Generate more efficient code when bytes is a
9719         known at compile time.
9720         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
9721         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
9722         instead of reg_or_mem_operand.
9723
9724         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
9725         not general_operand.  Similarly use "=rm" or stricter, not "=g".
9726         For input operands, use stricter constraints than "g" if not
9727         general_operand.  Similarly use stricter predicate than
9728         "general_operand" when stricter constraints than "g" are present,
9729         except for matching constraints.
9730         (movstrsi): Use "memory_operand" for operands 0 and 1.
9731         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
9732         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
9733         not reg_or_mem_operand.
9734         (udivmoddisi4): Ditto.
9735         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
9736         Use nonimmediate_operand for operand 3, not register_operand.
9737         (udivmoddiqi4_internal): Use register_operand for operand 1, not
9738         reg_or_mem_operand.
9739
9740 2000-01-27  Fred Fish  <fnf@be.com>
9741
9742         * gthr-posix.h: Fix typo; compatibily -> compatibility.
9743         * gthr-single.h: Likewise.
9744         * gthr-solaris.h: Likewise.
9745         * gthr-vxworks.h: Likewise.
9746         * gthr-win32.h: Likewise.
9747         * gthr.h: Likewise.
9748
9749 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
9750
9751         * cppinit.c: Add " (cpplib)" to end of string printed by
9752         -v / --version.
9753
9754 2000-01-27  Richard Henderson  <rth@cygnus.com>
9755
9756         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
9757         testing for a signed comparison.
9758         (alpha_emit_floatuns): New.
9759         * alpha-protos.h: Declare it.
9760         * alpha.md (floatunsdisf2, floatunsdidf2): New.
9761         (extendsfdf2): Tidy.
9762
9763 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
9764
9765         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
9766         no -g option specifying debugging format, default to -gstabs+.
9767
9768 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
9769
9770         * calls.c (special_function_p): New argument fork_or_exec.
9771         (expand_call): When profile_arc_flag is set and the function
9772         is in the fork_or_exec group, call __bb_fork_func first.
9773         * libgcc2.c, _bb module (__bb_fork_func): New function.
9774         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
9775         output file.
9776         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
9777         * tree.h (special_function_p): Update prototype.
9778
9779 2000-01-26  Richard Henderson  <rth@cygnus.com>
9780
9781         * alpha.c (alpha_split_tfmode_pair): New.
9782         * alpha-protos.h: Declare it.
9783         * alpha.md (abstf2, negtf2): New.
9784         (movtf insn): Add input G constraint.
9785         (movtf splitter): Use alpha_split_tfmode_pair.
9786
9787 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9788
9789         * i386/cygwin.h: PROTO -> PARAMS.
9790
9791 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
9792
9793         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
9794         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
9795         using _Qp_cmp/_Q_cmp and testing the return value.
9796         (print_operand): Call reverse_condition_maybe_unordered if
9797         we are handling CCFPmode or CCFPEmode.
9798         Handle ORDERED, UN* and LTGT comparisons.
9799         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
9800         if not TARGET_HARD_QUAD.
9801         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
9802         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
9803         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
9804         Adjust gen_b* calls so that they reflect return comparison of
9805         sparc_emit_float_lib_cmp.
9806
9807 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9808
9809         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
9810         incoming operands array is large enough for one more operand.
9811         (alpha_emit_xfloating_arith): Likewise.
9812
9813 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
9814
9815         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
9816         file with one line and no trailing newline.
9817         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
9818         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
9819         checking if the match is on the line.
9820         * fixinc/gnu-regex.c: Provide regerror not __regerror.
9821
9822 2000-01-25  Richard Henderson  <rth@cygnus.com>
9823
9824         * sparc.c (output_cbranch): Fix accidental squashing of the
9825         fp branch pre-delay nop.
9826
9827 2000-01-25  Richard Henderson  <rth@cygnus.com>
9828
9829         * tree.def (UNNE_EXPR): Remove.
9830         * c-typeck.c (build_binary_op): Don't handle it.
9831         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
9832
9833         * rtl.def (UNNE): Remove.
9834         (LTGT): Add.
9835         * jump.c (reverse_condition): Update accordingly.
9836         (swap_condition): Likewise.
9837         (comparison_dominates_p): Handle unordered comparisons.
9838         (reverse_condition_maybe_unordered): New.
9839         * rtl.h (reverse_condition_maybe_unordered): Declare.
9840
9841         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
9842         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
9843         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
9844         * sparc.md (bltgt): New.
9845
9846 2000-01-25  Nick Clifton  <nickc@redhat.com>
9847
9848         * emit-rtl.c (emit_insn): Only check machine class insns for
9849         improper emission of a RETURN.
9850
9851 2000-01-25  Richard Henderson  <rth@cygnus.com>
9852
9853         * Makefile.in (flow.o): Depend on $(EXPR_H).
9854         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
9855         duplicate the structure of diddle_return_value for keeping regs live.
9856
9857 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9858
9859         * loop.c (current_loop_info): Delete.
9860         (consec_sets_invariant_p): Add loop argument, update callers.
9861         (get_condition_for_loop): Likewise.
9862         (count_nonfixed_reads, update_giv_derive): Likewise.
9863         (simplify_giv_expr, general_induction_var): Likewise.
9864         (consec_sets_giv, recombine_givs): Likewise.
9865         (move_movables): Delete loop_start and loop_end arguments,
9866         add loop argument, and update callers.
9867         (find_mem_givs, check_final_value): Likewise.
9868         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
9869         (loop_invariant_p): Rename from invariant_p, add loop argument, and
9870         update callers.
9871         (basic_induction_var): Add loop argument, delete loop_level argument,
9872         and update callers.
9873         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
9874         add loop argument, and update callers.
9875         (find_splittable_regs, find_splittable_givs): Likewise.
9876         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
9877         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
9878         (biv_total_increment): Delete loop_start and loop_end arguments;
9879         update callers.
9880         (precondition_loop_p): Delete loop_start and loop_info arguments;
9881         update callers.
9882         * loop.h (get_condition_for_loop): Add loop argument.
9883         (biv_total_increment): Delete loop_start and loop_end arguments.
9884         (precondition_loop_p): Delete loop_start and loop_info arguments;
9885         add loop argument.
9886         (final_biv_value): Delete loop_start and loop_end arguments;
9887         add loop argument.
9888         (final_giv_value, back_branch_in_range_p): Likewise.
9889
9890 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
9891
9892         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
9893
9894 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
9895
9896         * Makefile.in (c-gperf.h) : Change the "See" pointer to
9897         point to the new "generated_files" doc.
9898
9899 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
9900
9901         * config/fp-bit.c (_unord_f2): Fix typo.
9902
9903 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
9904
9905         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
9906         c-typeck.c, objc/objc-act.c: Remove all references to obstack
9907         functions obsoleted by GC, such as push_obstacks_nochange,
9908         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
9909         and code which existed only to decide whether or not to call
9910         them.  Remove now-unused NESTED argument from start_function;
9911         all callers changed.  Do not change behavior based on ggc_p.
9912         The use of the ixp_obstack in c-iterate.c and the util_obstack
9913         in objc/objc-act.c remain; these are not obsoleted by garbage
9914         collection.
9915         * c-tree.h: Update prototype for start_function.
9916
9917         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
9918
9919 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
9920
9921         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
9922         mips16.
9923
9924 2000-01-25  Richard Henderson  <rth@cygnus.com>
9925
9926         * sparc-protos.h (select_cc_mode): Declare.
9927         * sparc.c (select_cc_mode): New.  Handle unordered compares.
9928         (output_cbranch): Always reverse via code change.  Handle
9929         unordered compares.  Factor tests and string updates.
9930         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
9931         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
9932         * sparc.md (bunordered, bordered): New.
9933         (bungt, bunlt, buneq, bunge, bunle): New.
9934
9935 2000-01-25  Richard Henderson  <rth@cygnus.com>
9936
9937         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
9938         * ggc-common.c (ggc_add_rtx_varray_root): New.
9939         (ggc_mark_rtx_varray): New.
9940         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
9941         functions down below ggc_mark_foo.
9942         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
9943
9944 2000-01-25  Richard Henderson  <rth@cygnus.com>
9945
9946         * alpha.c (secondary_reload_class): Don't allocate a secondary
9947         for integral mode memories into FLOAT_REGS.  Rearrange the more
9948         complicated memory expression inward.
9949
9950 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
9951
9952         * inclhack.def: Fixes to play nicer with FreeBSD, and
9953         corrections to comments.
9954         (cxx_unready): Add select expression.
9955         (irix_sockaddr): Add bypass expression.
9956         (machine_ansi_h_va_list): New fix.
9957         (stdio_va_list): No need to edit _BSD_VA_LIST_.
9958         Split out addition of "#include <stdarg.h>" to...
9959         (stdio_stdarg_h): ... here.
9960         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
9961         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
9962         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
9963         size_t.
9964         (ultrix_ifdef): Tighten up select expression.
9965
9966         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
9967         re_ct and max_mach to avoid use of shell.  Make printed names
9968         match names in inclhack.def.  Use static copyright date.
9969         Don't count c_test and test expressions as requiring regex_t
9970         slots.  Add some commentary.
9971         * inclhack.tpl: Do not include the 'This script contains N
9972         fixup scripts' line if PROGRAM is defined.  Use static
9973         copyright date.
9974
9975 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
9976
9977         * dwarf2out.c: include "varray.h", not dyn-string.h.
9978         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
9979         (addr_const_to_string, addr_to_string): Lose.
9980         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
9981         (struct dw_val_struct): val_addr is now an rtx.
9982         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
9983         (used_rtx_varray): New varray.
9984         (dwarf2out_init): Initialize it.
9985         (save_rtx): New fn.
9986         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
9987         addr_to_string.
9988         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
9989         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
9990         * Makefile.in (dwarf2out.o): Update dependencies.
9991
9992 2000-01-24  Richard Henderson  <rth@cygnus.com>
9993
9994         * i386.c (i386_dwarf_output_addr_const): New.
9995         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
9996
9997         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
9998         if defined.
9999         * dwarfout.c (output_mem_loc_descriptor): Likewise.
10000         * i386.c (i386_simplify_dwarf_addr): New.
10001         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
10002
10003 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
10004
10005         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
10006         TYPE_STUB_DECL is NULL.
10007
10008 2000-01-24  Richard Henderson  <rth@cygnus.com>
10009
10010         * builtins.c (expand_tree_builtin): Move ...
10011         * c-common.c (expand_tree_builtin): ... here.
10012
10013 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10014
10015         * loop.h (LOOP_INFO): New accessor macro.
10016         * basic-block.h (struct loop): Rename field `info' to `aux'.
10017         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
10018         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
10019         * unroll.c (loop_iterations, unroll_loop): Likewise.
10020
10021 2000-01-24  Christopher Faylor <cgf@cygnus.com>
10022
10023         * config/i386/t-cygwin: Accomodate new winsup directory layout
10024         when searching for include files.
10025
10026 2000-01-24  Richard Henderson  <rth@cygnus.com>
10027
10028         * rtl.def: Add unordered fp comparisions.
10029         * tree.def: Likewise.
10030         * tree.h: Add ISO C 9x unordered fp comparision builtins.
10031
10032         * builtins.c (expand_tree_builtin): New function.
10033         * c-typeck.c (build_function_call): Use it.
10034         (build_binary_op): Support unordered compares.
10035         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
10036
10037         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
10038         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
10039         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
10040         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
10041         * jump.c (reverse_condition): Don't abort for UNLE etc, but
10042         return UNKNOWN.
10043         (swap_condition): Handle unordered compares.
10044         (thread_jumps): Check can_reverse before reversing.
10045         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
10046         reversed for FP.
10047
10048         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
10049         setcc is present before acking for cmp_optab.  Update all callers.
10050         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
10051         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
10052         * expr.c (expand_expr): Likewise.  Support unordered compares.
10053         (do_jump, do_store_flag): Likewise.
10054         * expr.h (enum libfunc_index): Add unordered compares.
10055
10056         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
10057         (DPBIT_FUNCS): Add _unord_df.
10058         * config/fp-bit.c (_unord_f2): New.
10059         * fp-test.c (main): Try unordered compare builtins.
10060
10061         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
10062         * alpha.c (alpha_comparison_operator): Check mode properly.
10063         (alpha_swapped_comparison_operator): Likewise.
10064         (signed_comparison_operator): Likewise.
10065         (alpha_fp_comparison_operator): New.
10066         (alpha_emit_conditional_branch): Handle unordered compares.
10067         * alpha.h (PREDICATE_CODES): Update.
10068         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
10069         (bunordered, bordered): New.
10070
10071 2000-01-24  Richard Henderson  <rth@cygnus.com>
10072
10073         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
10074         * alpha.md (movtf): New expander, insn, and splitter.
10075
10076 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
10077
10078         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
10079         dead registers.
10080
10081 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
10082
10083         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
10084         (FIXED_REGISTERS, CALL_USED_REGISTERS,
10085          REG_ALLOC_ORDER): Add frame pointer
10086         (FRAME_POINTER_REGNUM): Set to 20
10087         (HARD_FRAME_POINTER_REGNUM): New macro.
10088         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
10089         to HARD_FRAME_POINTER.
10090         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
10091         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
10092         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
10093         (HI_REGISTER_NAMES): Add "frame".
10094         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
10095         (debug_reg): Handle FRAME_POINTER_REGNUM.
10096         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
10097         GENERAL_REGS and INDEX_REGS.
10098         * i386.c (SAVED_REGS_FIRST): new macro.
10099         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
10100         (ix86_decompose_address, memory_address_length): Likewise.
10101         (regclass_map): Add frame pointer.
10102         (call_insn_operand): Handle frame_pointer_rtx.
10103         (reg_no_sp_operand): Likewise.
10104         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
10105         (print_operand, legitimize_pic_address): Fix formating.
10106         (ix86_compute_frame_size): Make static, update prototype, new
10107         parameters padding1, padding2, use ix86_nsaved_regs, use
10108         stack_alignment_needed.
10109         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
10110         to HARD_FRAME_POINTER_REGNUM conversions.
10111         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
10112         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
10113         (print_reg): Abort on FRAME_POINTER_REGNUM
10114
10115 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
10116
10117         * i386.h (PREDICATE_CODES): Add aligned_operand.
10118         * i386.c (aligned_operand): New function.
10119         (ix86_aligned_p): Kill.
10120         * i386.md (movhi_1): Emit mov for aligned operands.
10121         (promoting peep2s): Use aligned_operand.
10122
10123 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
10124
10125         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
10126         expression to allow underscores in macro names.
10127         (fix_char_macro_defines): Increment scanning pointer.
10128
10129 2000-01-23  Richard Henderson  <rth@cygnus.com>
10130
10131         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
10132         * alpha/osf5.h: New file.
10133         * configure.in (alpha-*-osf5): Add it to tm_file.
10134
10135         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
10136
10137         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
10138         (alpha_emit_xfloating_cvt, function_arg): Declare.
10139         * alpha.c (alpha_emit_conditional_branch): Call
10140         alpha_emit_xfloating_compare for TFmode compares.
10141         (alpha_lookup_xfloating_lib_func): New.
10142         (alpha_compute_xfloating_mode_arg): New.
10143         (alpha_emit_xfloating_libcall): New.
10144         (alpha_emit_xfloating_arith): New.
10145         (alpha_emit_xfloating_compare): New.
10146         (alpha_emit_xfloating_cvt): New.
10147         (print_operand): Add default abort case.
10148         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
10149         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
10150         (BIGGEST_ALIGNMENT): Increase to 128 bits.
10151         (RETURN_IN_MEMORY): True for TF/TCmode.
10152         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
10153         (FUNCTION_ARG): Move to function_arg.
10154         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
10155         (ASM_OUTPUT_LONG_DOUBLE): New.
10156         (ASM_OUTPUT_DOUBLE): Always output bits.
10157         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
10158         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
10159         (extenddftf2, trunctfdf2): New.
10160
10161 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10162
10163         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
10164         * config/sparc/sol2.h: ... here.
10165
10166 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10167
10168         * basic-block.h (struct loops): New field `levels'.
10169         * flow.c (flow_loops_level_compute): Traverse all outer loops.
10170         (flow_loop_level_compute): Initialise level to 1.
10171         (flow_loops_find): Set loops->levels.
10172         (flow_loops_dump): Print loops->levels.
10173
10174 2000-01-23  Richard Henderson  <rth@cygnus.com>
10175
10176         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
10177         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
10178
10179 2000-01-23  Richard Henderson  <rth@cygnus.com>
10180
10181         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
10182         * i386.h (DBX_REGISTER_NUMBER): Use them.
10183         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
10184         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
10185         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
10186         * i386/sequent.h: Kill incorrect comment.
10187
10188 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
10189
10190         * ggc-page.c (struct page_entry): Make `context_depth' an
10191         `unsigned short'.
10192         (struct globals): Likewise.
10193
10194 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
10195
10196         * loop.c (check_dbra_loop): When checking a loop for
10197         reversability, check the source of any stores to ensure
10198         they don't depend on an initial value.
10199
10200 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10201
10202         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
10203
10204 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
10205
10206         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
10207         'pz_scan' into scope of entire function.  Only affects
10208         compiles with -DDEBUG.
10209
10210 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
10211
10212         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
10213         section naming to that prior to 2000-01-07 patch.
10214         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
10215         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
10216         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
10217         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
10218         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
10219
10220 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
10221
10222         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
10223         constant.
10224
10225 2000-01-21  Jim Wilson  <wilson@cygnus.com>
10226
10227         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
10228         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
10229
10230 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
10231
10232         * cpphash.c (change_newlines): Delete function.
10233         (struct argdata): Delete 'newlines' and 'use_count' fields.
10234         (macroexpand): Remove code referencing those fields.
10235
10236 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10237
10238         * loop.c (loops_info): New variable.
10239         (loop_optimize): Allocate loops->array and free it on exit.
10240         Allocate memory for loops_info and assign to each loop,
10241         replacing alloca.
10242         (find_and_verify_loops): Do not allocate loops->array.
10243
10244 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
10245
10246         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
10247
10248 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
10249
10250         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
10251         pseudos if expanded after first flow.
10252         (movdi_pic_label_ref): Likewise.
10253
10254 2000-01-20  Richard Henderson  <rth@cygnus.com>
10255
10256         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
10257
10258 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
10259
10260         * Makefile.in (fixinc.sh): Depend on specs.
10261         * fixinc/Makefile.in: Add rule to create machname.h.
10262         (fixlib.o): Depend on machname.h.
10263         * fixinc/fixtests.c (machine_name): New test.
10264         * fixinc/fixfixes.c (machine_name): New fix.
10265         * fixinc/fixlib.c (mn_get_regexps): New helper function for
10266         the machine_name test and fix.
10267         * fixinc/fixlib.h: Prototype it.
10268         * fixinc/inclhack.def (machine_name): Use the C test and fix.
10269         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
10270
10271         * gcc.c (do_spec_1) [case P]: Take care not to create
10272         identifiers with three leading or trailing underscores.
10273
10274         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
10275         (fixincl): Don't specify libraries twice on link line.
10276         (gnu-regex.o): Remove special rule.
10277         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
10278         defined by config.h.  Do not define _REGEX_RE_COMP.
10279         (regcomp): Allocate and initialize a fastmap.
10280         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
10281
10282 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
10283
10284         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
10285
10286 2000-01-19  Richard Henderson  <rth@cygnus.com>
10287
10288         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
10289         arguments with BB.  Update all callers.  Tidy line wrapping.
10290
10291 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
10292
10293         * emit-rtl.c (try_split): Return last_insn if we split the
10294         last_insn.
10295
10296 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
10297
10298         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
10299         (ix86_initial_elimination_offset): Declare.
10300         * i386.c (ix86_nsaved_regs): Break out from ...
10301         (ix86_can_use_return_insn_p): ... here.
10302         (ix86_emit_save_regs): Break out from ...
10303         (ix86_expand_prologue): ... here.
10304         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
10305         out from ...
10306         (ix86_expand_epilogue): ... here.
10307         (ix86_compute_frame_size): Make static, add prototype.
10308         (ix86_initial_elimination_offset): Break out from ...
10309         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
10310
10311 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10312
10313         * recog.h (OUT_FCN): Delete.
10314
10315         * vax.md: Call `get_insn_template' instead of OUT_FCN.
10316
10317 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10318
10319         * cppalloc.c: PROTO -> PARAMS.
10320         * cpperror.c: Likewise.
10321         * cppfiles.c: Likewise.
10322         * cpplib.c: Likewise.
10323         * cpplib.h: Likewise.
10324
10325         * config/arm/arm-protos.h: PROTO -> PARAMS.
10326         * config/arm/arm.c: Likewise.
10327         * config/c4x/c4x.c: Likewise.
10328         * config/fr30/fr30-protos.h: Likewise.
10329         * config/nextstep.c: Likewise.
10330         * config/pa/pa.c: Likewise.
10331         * config/pj/pj.c: Likewise.
10332         * config/rs6000/rs6000.c: Likewise.
10333         * config/v850/v850-protos.h: Likewise.
10334         * config/v850/v850.c: Likewise.
10335
10336 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10337
10338         * i370-protos.h: New file.
10339
10340         * i370.c: Include tm_p.h.  Fix compile time warnings.
10341
10342         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
10343         warnings.
10344
10345         * i370.md: Likewise.
10346
10347 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10348
10349         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
10350         (target_isinf, target_isnan, eisnan): Mark parameter with
10351         ATTRIBUTE_UNUSED.
10352         (eiisinf): Wrap in INFINITY.
10353         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
10354         (ibmtoe): Remove unused variable `rndsav'.
10355
10356 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10357
10358         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
10359         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
10360
10361 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
10362
10363         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
10364         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
10365         (fix_char_macro_defines, fix_char_macro_uses): New functions.
10366
10367         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
10368         Recognize Emacs mode markers also.
10369         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
10370         C++ comments in C++ headers.  Call is_cxx_header only if
10371         necessary.
10372
10373         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
10374         bypass for ncurses.
10375         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
10376         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
10377         ... these, which use the new C fixes.
10378         (math_exception): Escape literal '+' in bypass expression.
10379
10380         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
10381         Regenerate.
10382
10383 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
10384
10385         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
10386         inside the MEM.
10387
10388 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10389
10390         * loop.c (loop_optimize): Allocate loop_info structure for each loop
10391         prior to calling scan_loop.
10392
10393 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10394
10395         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
10396         (split_branches, calc_live_regs): Likewise.
10397
10398 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10399
10400         * sh.md (fpu_single, fp_mode): New attributes.
10401
10402 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10403
10404         * loop.c (current_loop_info): Renamed from loop_info_data
10405         and changed to a pointer.
10406         (loop_optimize): Allocate loop_info structure for each loop
10407         and initialise to zero.
10408         (scan_loop): Set current_loop_info.
10409
10410         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
10411         on iteration_var.
10412
10413 2000-01-19  Richard Henderson  <rth@cygnus.com>
10414
10415         * stupid.c: Die die die.
10416         * Makefile.in (OBJS): Remove stupid.o.
10417         (stupid.o): Likewise.
10418
10419         * except.c (emit_eh_context): Don't emit USEs for stupid.
10420         * explow.c (probe_stack_range): Likewise.
10421         * flags.h (obey_regdecls): Remove.
10422         * flow.c (find_basic_blocks): Don't run try_merge_blocks
10423         when not optimizing.
10424         (life_analysis): Limit data collection when not optimizing.
10425         (mark_regs_live_at_end): Always mark the return value registers.
10426         (mark_used_regs): Remove dummy RETURN case.
10427         (print_rtl_with_bb): Don't consult obey_regdecls.
10428         * function.c (use_variable, use_variable_after): Remove.
10429         (assign_parms): Consult optimize not obey_regdecls.
10430         (expand_function_start): Don't emit USEs for stupid.
10431         (expand_function_end): Likewise.
10432         * global.c (build_insn_chain): Export.
10433         * integrate.c (expand_inline_function): Kill return-value USE
10434         handling code.
10435         * jump.c (jump_optimize_1): Do simple jump optimizations and
10436         dead code elimination.
10437         (calculate_can_reach_end): Remove check_deleted argument.
10438         (delete_insn): Patch out insns even when not optimizing.
10439         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
10440         * rtl.h (use_variable, use_variable_after): Remove declarations.
10441         (build_insn_chain): Declare.
10442         * stmt.c (expand_value_return): Don't emit USEs for stupid.
10443         (expand_end_bindings): Likewise.
10444         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
10445         * toplev.c (obey_regdecls): Remove.
10446         (rest_of_compilation): Don't set it.  Kill stupid in favour of
10447         flow1, local-alloc, and reload.
10448         (main): Don't set obey_regdecls.
10449
10450         * config/nextstep.c (handle_pragma): Likewise.
10451
10452         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
10453
10454         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
10455
10456 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10457
10458         * alpha-protos.h: PROTO -> PARAMS.
10459         * alpha.c: Likewise.
10460         * elf.h: Likewise.
10461         * h8300.c: Likewise.
10462         * i386-protos.h: Likewise.
10463         * i386.c: Likewise.
10464         * m32r-protos.h: Likewise.
10465         * m32r.c: Likewise.
10466         * mips.c: Likewise.
10467         * mips.md: Likewise.
10468         * gmon-sol2.c: Likewise.
10469         * sparc.c: Likewise.
10470
10471 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10472
10473         * ns32k-protos.h: New file.
10474
10475         * ns32k.c: Fix compile time warnings.
10476
10477         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
10478         warnings.
10479
10480         * ns32k.md: Likewise.
10481
10482 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10483
10484         * vax-protos.h: New file.
10485
10486         * vax.c: Fix compile time warnings.
10487
10488         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
10489         warnings.
10490
10491         * vax.md: Likewise.
10492
10493         * vaxv.md: Likewise.
10494
10495 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10496
10497         * romp-protos.h: New file.
10498
10499         * romp.c: Fix compile time warnings.
10500
10501         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
10502         warnings.
10503
10504         * romp.md: Likewise.
10505
10506 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10507
10508         * we32k-protos.h: New file.
10509
10510         * we32k.c: Fix compile time warnings.
10511
10512         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
10513         warnings.
10514
10515 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10516
10517         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
10518
10519         * except.c (eh_regs): Likewise.
10520
10521         * final.c (output_operand): Likewise.
10522
10523         * fold-const.c (target_isinf, target_isnan): Likewise.
10524
10525 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10526
10527         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
10528         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
10529
10530         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
10531         when optimize_size.
10532         (clrstrsi): Rewrite.
10533         (strsethi, strsetqi): New expanders.
10534         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
10535         (cmpstrsi): Emit compare insn before cmpstrsi_1
10536         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
10537         (strlensi_1): Likewise.
10538         (cmpstrsi_1): Likewise; do not output compare.
10539         (strlen expander): Do not unroll when optimizing for size.
10540         (*subsi3_carry): Rename to subsi3_carry
10541         (addqi3_cc): New pattern.
10542         * i386.h (processor_costs): Add move_ratio field.
10543         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
10544         * i386.c (*_cost): Set move_ratio.
10545         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
10546         (x86_expand_strlensi_1): Rewrite the main loop.
10547
10548 2000-01-17  Richard Henderson  <rth@cygnus.com>
10549
10550         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
10551         * cse.c (find_comparison_args, fold_rtx): Likewise.
10552         * integrate.c (subst_constants): Likewise.
10553         * loop.c (get_condition): Likewise.
10554
10555         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
10556
10557         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
10558
10559 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10560
10561         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
10562         (RESTORE_WARN_FLAGS): Unpack it.
10563         Change semantic type of extension to ttype.
10564         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
10565         * c-parse.y, c-parse.c, objc/objc-parse.y,
10566         objc/objc-parse.c: Regenerate.
10567
10568 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
10569
10570         * fixinc/fixlib.c: Add copyright notice.
10571         (compile_re): New function.
10572         * fixinc/fixlib.h: Prototype compile_re.
10573
10574         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
10575         Use compile_re to compile regular expressions.
10576
10577         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
10578         where the pattern matched.
10579
10580         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
10581         use 'replace'.
10582         (ultrix_ansi_compat): Likewise.
10583         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
10584         add egrep test.
10585         (interactv_add2, interactv_add3): Delete.
10586         (x11_sprintf): Don't use filename glob.
10587         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
10588         Regenerate.
10589
10590 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10591
10592         * print-rtl.c: PROTO -> PARAMS.
10593         * real.c: Likewise.
10594         * reg-stack.c: Likewise.
10595         * resource.c: Likewise.
10596         * sdbout.h: Likewise.
10597         * simplify-rtx.c: Likewise.
10598         * stor-layout.c: Likewise.
10599         * stupid.c: Likewise.
10600         * xcoffout.c: Likewise.
10601         * xcoffout.h: Likewise.
10602
10603 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10604
10605         * toplev.c: PROTO -> PARAMS.
10606         * toplev.h: Likewise.
10607         * tree.c: Likewise.
10608         * tree.h: Likewise.
10609         * unroll.c: Likewise.
10610         * varasm.c: Likewise.
10611         * varray.c: Likewise.
10612         * varray.h: Likewise.
10613
10614 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10615
10616         * reload.c: PROTO -> PARAMS.
10617         * reload.h: Likewise.
10618         * reload1.c: Likewise.
10619         * reorg.c: Likewise.
10620         * resource.h: Likewise.
10621         * rtl.c: Likewise.
10622         * rtl.h: Likewise.
10623         * rtlanal.c: Likewise.
10624         * sbitmap.h: Likewise.
10625         * sdbout.c: Likewise.
10626         * stack.h: Likewise.
10627         * stmt.c: Likewise.
10628         * system.h: Likewise.
10629
10630 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10631
10632         * machmode.h: PROTO -> PARAMS.
10633         * mbchar.h: Likewise.
10634         * mips-tdump.c: Likewise.
10635         * mips-tfile.c: Likewise.
10636         * optabs.c: Likewise.
10637         * output.h: Likewise.
10638         * prefix.c: Likewise.
10639         * profile.c: Likewise.
10640         * protoize.c: Likewise.
10641         * real.h: Likewise.
10642         * recog.c: Likewise.
10643         * recog.h: Likewise.
10644         * regclass.c: Likewise.
10645         * regmove.c: Likewise.
10646         * regs.h: Likewise.
10647
10648 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10649
10650         * ggc-common.c: PROTO -> PARAMS.
10651         * ggc-page.c: Likewise.
10652         * ggc-simple.c: Likewise.
10653         * ggc.h: Likewise.
10654         * global.c: Likewise.
10655         * graph.c: Likewise.
10656         * gthr-win32.h: Likewise.
10657         * haifa-sched.c: Likewise.
10658         * halfpic.h: Likewise.
10659         * integrate.c: Likewise.
10660         * integrate.h: Likewise.
10661         * jump.c: Likewise.
10662         * lcm.c: Likewise.
10663         * local-alloc.c: Likewise.
10664         * loop.c: Likewise.
10665         * loop.h: Likewise.
10666
10667 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10668
10669         * genattr.c: PROTO -> PARAMS.
10670         * genattrtab.c: Likewise.
10671         * gencheck.c: Likewise.
10672         * gencodes.c: Likewise.
10673         * genconfig.c: Likewise.
10674         * genemit.c: Likewise.
10675         * genextract.c: Likewise.
10676         * genflags.c: Likewise.
10677         * gengenrtl.c: Likewise.
10678         * genopinit.c: Likewise.
10679         * genoutput.c: Likewise.
10680         * genpeep.c: Likewise.
10681         * genrecog.c: Likewise.
10682
10683 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
10684
10685         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
10686
10687 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10688
10689         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
10690         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
10691         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
10692         * configure, config.in: Rebuilt.
10693
10694 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
10695
10696         * config/i386/i386.md: Add peephole to merge successive stack
10697         adjusts.
10698
10699 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
10700
10701         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
10702         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
10703         when walking backwards to find all the parameter loads when
10704         the basic block ends in a call.
10705
10706 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10707
10708         * loop.c (this_loop_info): Delete.
10709         (uid_loop): Add in place of uid_loop_num.  All uses updated.
10710         (loop_number_exit_count): Delete and replace with entry in loop
10711         structure.  All uses updated.
10712         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
10713         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
10714         (loop_outer_loop): Likewise.
10715         (loop_invalid, loop_number_exit_labels): Likewise.
10716         (loop_used_count_register): Delete and replace with entry in
10717         loop_info structure.
10718         (find_and_verify_loops): Add loops argument.
10719         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
10720         loop_end, etc. arguments with loop structure pointer.  All callers
10721         changed.
10722         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
10723         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
10724         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
10725         (insert_bct): Likewise.
10726         (basic_induction_var): New argument level.
10727         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
10728         vtop, and cont.  Add used_count_register.
10729         (uid_loop): Delete declaration.
10730         (loop_number_exit_count): Likewise.
10731         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
10732         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
10733         (loop_outer_loop, loop_used_count_register): Likewise.
10734         (loop_invalid, loop_number_exit_labels): Likewise.
10735         (unroll_loop): Replace loop_start and loop_end arguments
10736         with loop structure pointer.
10737         (loop_precondition_p, loop_iterations): Likewise.
10738         Include basic-block.h.
10739         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
10740         with loop structure pointer.
10741         (loop_precondition_p, loop_iterations): Likewise.
10742         * basic-block.h (struct loop): New entries vtop, cont,
10743         cont_dominator, start, end, top, scan_start, exit_labels,
10744         exit_count.
10745         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
10746
10747 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
10748
10749         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
10750
10751 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
10752
10753         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
10754
10755 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10756
10757         * pdp11-protos.h: New file.
10758
10759         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
10760         time warnings.
10761
10762         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
10763         warnings.
10764
10765         * pdp11.md: Likewise.
10766
10767         * 2bsd.h: Likewise.
10768
10769 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10770
10771         * mn10300-protos.h: New file.
10772
10773         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
10774         time warnings.
10775
10776         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
10777         warnings.
10778
10779         * mn10300.md: Likewise.
10780
10781 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10782
10783         * mn10200-protos.h: New file.
10784
10785         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
10786         time warnings.
10787
10788         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
10789         warnings.
10790
10791         * mn10200.md: Likewise.
10792
10793 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10794
10795         * h8300-protos.h: New file.
10796
10797         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
10798         time warnings.
10799
10800         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
10801         warnings.
10802
10803         * h8300.md: Likewise.
10804
10805 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10806
10807         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
10808         (asm_emit_uninitialised): Likewise.
10809
10810 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
10811
10812         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
10813         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
10814
10815 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
10816
10817         * config/mips/mips.c (override_options): Don't turn on extra
10818         alignment for mips16.
10819
10820 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
10821
10822         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
10823         eabi, and make sure queued POSTINCREMENT rtl is emitted at
10824         the right point.
10825
10826 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
10827
10828         * builtins.c (PAD_VARARGS_DOWN): Define.
10829         (std_expand_builtin_va_arg): Use the above macro.
10830         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
10831         * tm.texi (Register Arguments): Document the above macro.
10832
10833 2000-01-14  Nick Clifton  <nickc@cygnus.com>
10834
10835         * emit-rtl.c (emit_insn): If checking is enabled, make sure
10836         that this function has not been used to emit a jump
10837         instruction.
10838
10839         * jump.c (return_jump_1): Cope with being passed a null rtx.
10840
10841 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10842
10843         * eh-common.h: PROTO -> PARAMS.
10844         * emit-rtl.c: Likewise.
10845         * errors.c: Likewise.
10846         * errors.h: Likewise.
10847         * except.c: Likewise.
10848         * except.h: Likewise.
10849         * explow.c: Likewise.
10850         * expmed.c: Likewise.
10851         * expr.c: Likewise.
10852         * expr.h: Likewise.
10853         * final.c: Likewise.
10854         * fix-header.c: Likewise.
10855         * flow.c: Likewise.
10856         * fold-const.c: Likewise.
10857         * function.c: Likewise.
10858         * function.h: Likewise.
10859         * gcc.c: Likewise.
10860         * gcov-io.h: Likewise.
10861         * gcov.c: Likewise.
10862         * gcse.c: Likewise.
10863
10864 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10865
10866         * sh-protos.h: New file.
10867
10868         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
10869         Add static prototypes.  Fix compile time warnings.
10870
10871         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
10872         * sh.md: Likewise.
10873         * elf.h: Likewise.
10874
10875 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10876
10877         * arc-protos.h: New file.
10878
10879         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
10880         time warnings.
10881
10882         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
10883         warnings.
10884
10885         * arc.md: Likewise.
10886
10887 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10888
10889         * dsp16xx-protos.h: New file.
10890
10891         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
10892         time warnings.
10893
10894         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
10895         warnings.
10896
10897         * dsp16xx.md: Likewise.
10898
10899 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10900
10901         * convex-protos.h: New file.
10902
10903         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
10904         time warnings.
10905
10906         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
10907         warnings.
10908
10909 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10910
10911         * elxsi-protos.h: New file.
10912
10913         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
10914         time warnings.
10915
10916         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
10917         warnings.
10918
10919         * elxsi.md: Likewise.
10920
10921 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
10922
10923         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
10924         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
10925         match the comment for MIPS16.
10926
10927 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
10928
10929         * flow.c (split_edge): Do not call set_block_for_insn if we
10930         do not have a basic_block_for_insn structure.
10931
10932         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
10933         and destination functions are 32bit aligned within the trampoline.
10934         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
10935         (TRAMPOLINE_ALIGNMENT): Define.
10936
10937         * cse.c (cse_insn): When changing (set (pc) (reg)) to
10938         (set (pc) (label_ref)), verify the change creates a valid insn.
10939
10940         * fr30.c (call_operand): Tighten and rework to match rules for
10941         call RTL expressions.
10942         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
10943         * fr30.md (call patterns): Improve constraints.
10944
10945 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
10946
10947         * fr30.c (fr30_expand_epilogue): Revert last change.
10948         Use emit_jump_insn for the return insn.
10949
10950 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
10951                           Stan Cox  <scox@cygnus.com>
10952
10953         * predict.c: New file. Preliminary infrastructure work for static
10954         branch prediction and basic block reordering.
10955         * basic-block.h: Add prototype for estimate_probability.
10956         * Makefile.in: Add rules for predict.o.
10957
10958 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
10959
10960         * fixincludes (va_list): Use __not_va_list__ for the dummy.
10961         * fixinc/*: Likewise.
10962
10963 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10964
10965         * cccp.c: PROTO -> PARAMS.
10966         * cexp.y: Likewise.
10967         * collect2.c: Likewise.
10968         * combine.c: Likewise.
10969         * convert.h: Likewise.
10970         * cse.c: Likewise.
10971         * dbxout.c: Likewise.
10972         * dbxout.h: Likewise.
10973         * diagnostic.c: Likewise.
10974         * doprint.c: Likewise.
10975         * dwarf2out.c: Likewise.
10976         * dwarf2out.h: Likewise.
10977         * dwarfout.c: Likewise.
10978         * dwarfout.h: Likewise.
10979         * dyn-string.h: Likewise.
10980
10981 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10982
10983         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
10984         macro conditionals guarding use.
10985
10986         * dwarf2out.c: Include "tm_p.h".
10987
10988         * function.c (locate_and_pad_parm): Mark parameter with
10989         ATTRIBUTE_UNUSED.
10990         (expand_function_end): Likewise for variable `context'.
10991
10992         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
10993
10994 2000-01-13  Nick Clifton  <nickc@cygnus.com>
10995
10996         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
10997         register to prevent compile time warnings.
10998
10999 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
11000
11001         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
11002         to avoid -Wtraditional warning.
11003
11004 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11005
11006         * 1750a-protos.h: New file.
11007
11008         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
11009         time warnings.
11010
11011         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
11012         warnings.
11013
11014         * 1750a.md: Likewise.
11015
11016 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11017
11018         * a29k-protos.h: New file.
11019
11020         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
11021         time warnings.
11022
11023         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
11024         warnings.
11025
11026 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11027
11028         * clipper-protos.h: New file.
11029
11030         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
11031         time warnings.
11032
11033         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
11034         warnings.
11035
11036 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11037
11038         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
11039
11040 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
11041
11042         * configure.in (--enable-new-gxx-abi): New option.
11043         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
11044         * Makefile.in (GXX_ABI_FLAG): New variable.
11045         * configure: Regenerate.
11046
11047 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11048
11049         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
11050         * tm.texi (FORCE_STRUCT_BLK): Document.
11051         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
11052
11053 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
11054
11055         * config/ns32k/ns32k.md: Revert Jan 9 change.
11056
11057         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
11058         to a mode-test, if the predicate is address_operand.
11059
11060 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
11061
11062         * combine.c (if_then_else_cond): Be careful about what kinds
11063         of RTL expressions are passed to operand_subword.
11064
11065         * flow.c (split_edge): If we have to insert a new jump, make
11066         sure to associate it with a basic block.
11067
11068         * flow.c (commit_one_edge_insertion): A block with one successor
11069         can end in a JUMP_INSN that is not a simplejump.
11070
11071 2000-01-12  Robert Lipe  <robertl@sco.com>
11072
11073         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
11074         (BUILD_VA_LIST_TYPE): Define.
11075         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
11076         with crtstuff.c.
11077
11078 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
11079
11080         * cccp.c (do_pragma): Add cast to (char *).
11081
11082 2000-01-12  Richard Henderson  <rth@cygnus.com>
11083             Fred Fish  <fnf@be.com>
11084             Jason Merrill  <jason@cygnus.com>
11085
11086         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
11087         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
11088         * i386/beos-elf.h, i386/beos-pe.h: New files.
11089
11090         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
11091         * cross-make (SYSTEM_HEADER_DIR): Define using
11092         CROSS_SYSTEM_HEADER_DIR.
11093
11094         * gcc.c (LIBRARY_PATH_ENV): Provide default.
11095         (process_command): Use it.
11096         (main): Likewise.  Kill trailing = from env vars.
11097         (build_search_list): Put it back.
11098         * collect2.c (main): Use LIBRARY_PATH_ENV.
11099
11100         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
11101         * toplev.c: Use NEED_DECLARATION_ENVIRON.
11102
11103         * tm.texi (Frame Layout): Document SMALL_STACK.
11104         * c-common.c (c_common_nodes_and_builtins): Check it.
11105
11106         * system.h: Undef alloca after including glibc's <stdlib.h>,
11107         if USE_C_ALLOCA is defined.
11108
11109         * gcc.c (set_input): New fn.
11110         (main): After all input files are compiled, reset the input file
11111         info to the first.
11112
11113         * aclocal.m4 (rindex, index): If already defined, don't attempt
11114         to redefine.
11115
11116         * ginclude/varargs.h: (__va_list__): Define ifndef.
11117         * ginclude/stdarg.h: Likewise.
11118
11119         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
11120         instead of unsigned char.
11121
11122         * hash.h (true, false, boolean): Undef before enum.
11123
11124         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
11125         proper type of "HOST_WIDE_INT *", rather than their natural type of
11126         "unsigned HOST_WIDE_INT *".
11127
11128 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11129
11130         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
11131
11132         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
11133
11134         * regclass.c (choose_hard_reg_mode): Likewise.
11135
11136         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
11137
11138         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
11139
11140 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11141
11142         * c-common.c: PROTO -> PARAMS.
11143         * c-common.h: Likewise.
11144         * c-decl.c: Likewise.
11145         * c-iterate.c: Likewise.
11146         * c-lang.c: Likewise.
11147         * c-lex.c: Likewise.
11148         * c-lex.h: Likewise.
11149         * c-parse.in: Likewise.
11150         * c-pragma.c: Likewise.
11151         * c-pragma.h: Likewise.
11152         * c-tree.h: Likewise.
11153         * c-typeck.c: Likewise.
11154         * objc/objc-act.c: Likewise.
11155         * objc/objc-act.h: Likewise.
11156
11157 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11158
11159         * m88k-protos.h: New file.
11160
11161         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
11162         time warnings.
11163
11164         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
11165
11166         * m88k.md: Likewise.
11167
11168         * tekXD88.h: Likewise.
11169
11170 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11171
11172         * m68k-protos.h: New file.
11173
11174         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
11175         time warnings.
11176
11177         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
11178
11179         * mot3300.h: Likewise.
11180
11181 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
11182
11183         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
11184         extract_bitlst.
11185         (extract_bitlist): Declare bitlen.
11186
11187 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
11188
11189         * cccp.c: Accept and ignore -lang-fortran.
11190
11191         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
11192         qualifiers don't match at any level of pointerness.
11193
11194 2000-01-12  Robert Lipe  <robertl@sco.com>
11195
11196         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
11197
11198 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
11199
11200         * reload1.c (reload_reg_unavailable): New static variable.
11201         (reload_reg_free_p): Test it.
11202         (reload_reg_free_for_value_p): Test it instead of
11203         reload_reg_used.
11204         (choose_reload_regs_init): Compute it.
11205
11206 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
11207
11208         * reorg.c (fill_slots_from_thread): Check modified_in_p
11209         before replacing.
11210
11211 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
11212
11213         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
11214         these nodes even if INTERNALS is not set.
11215
11216 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
11217
11218         * gcse.c (delete_null_pointer_checks_1): Cope when
11219         get_condition cannot determine the condition.
11220
11221 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
11222
11223         * toplev.h (set_message_length): Declare.
11224
11225         * diagnostic.c (obstack_chunk_alloc): Define macro.
11226         (obstack_chunk_free): Likewise.
11227         (struct output_buffer): New data structure.
11228         (vmessage): Remove.
11229         (output_maximum_width): New variable.
11230         (doing_line_wrapping, set_message_length, init_output_buffer,
11231         get_output_prefix, output_space_left, emit_output_prefix,
11232         output_newline, output_append, output_puts, dump_output,
11233         vbuild_message_string, build_message_string, build_location_prefix,
11234         voutput_notice, output_printf, line_wrapper_printf,
11235         vline_wrapper_message_with_location):  New functions. Implement
11236         automatic line wrapping.
11237         (v_message_with_decl): Make it handle automatic line wrapping.
11238         (v_error_with_file_and_line): Likewise.
11239         (v_warning_with_file_and_line): Likewise.
11240         (announce_function): Likewise.
11241         (default_print_error_function): Likewise.
11242
11243 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
11244
11245         * cpplib.h (struct cpp_options): Change lang_asm to char.
11246         Add lang_fortran.
11247         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
11248         done in cpp_handle_option now.
11249         (initialize_builtins): Take out special case code used only by
11250         __STDC_VERSION__.
11251         (cpp_handle_option): Turn off trigraphs and trigraph warnings
11252         if -traditional.  Recognize -lang-fortran and set
11253         lang_fortran, also turn off cplusplus_comments.
11254         (print_help): Document -lang-fortran.
11255         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
11256         lang_asm. Ignore all directives other than `# 123 "file"' if
11257         CPP_PREPROCESSED.
11258         (cpp_get_token): If -traditional, don't recognize directives
11259         unless the # is in column 1.
11260         (parse_string): If lang_fortran or lang_asm, silently
11261         terminate strings ('' or "") at end of line.
11262         Remove unnecessary braces.
11263
11264 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11265             Richard Henderson  <rth@cygnus.com>
11266
11267         * resource.c (mark_referenced_resources): Mark a set strict_low_part
11268         as used.
11269         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
11270         strict_low_part when possible.
11271
11272 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11273
11274         * alias.c: PROTO -> PARAMS.
11275         * basic-block.h: Likewise.
11276         * bitmap.c: Likewise.
11277         * bitmap.h: Likewise.
11278         * builtins.c: Likewise.
11279         * c-aux-info.c: Likewise.
11280         * caller-save.c: Likewise.
11281         * calls.c: Likewise.
11282
11283 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11284
11285         * Makefile.in (toplev.o): Depend on regs.h.
11286
11287         * output.h (tdesc_section): Prototype.
11288
11289         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
11290
11291         * sdbout.c: Include "tm_p.h".
11292
11293         * toplev.c: Include "regs.h".
11294
11295 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
11296
11297         * unroll.c (unroll_loop): Add EH support.
11298
11299 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11300
11301         * pa-protos.h: New file.
11302
11303         * pa.c: Include recog.h and tm_p.h.
11304         (compute_zdepwi_operands, compute_movstrsi_length,
11305         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
11306         find_addr_reg, import_milli): Add static prototypes.
11307         (pa_cpu_string, pa_arch_string): Constify a char*.
11308         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
11309         (read_only_operand): Add argument `mode'.
11310         (singlemove_string, output_move_double, output_fp_move_double,
11311         output_block_move, output_and, output_ior, output_ascii,
11312         remove_useless_addtr_insns, milli_names, output_mul_insn,
11313         output_div_insn, output_mod_insn, output_arg_descriptor,
11314         output_cbranch, output_bb, output_bvb, output_dbra, ,
11315         output_millicode_call, output_call, hppa_encode_label,
11316         output_parallel_movb, output_parallel_addb): Constify a char*.
11317         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
11318         (output_parallel_addb): Remove extra arg to `constrain_operands'
11319
11320         * pa.h:  Move all prototypes to pa-protos.h.
11321         (pa_cpu_string, pa_arch_string): Constify a char*.
11322         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
11323
11324         * pa.md: Call `function_label_operand' with mode argument.
11325         Likewise for `read_only_operand'.
11326         Fix nesting of parens in call to `symbolic_operand'.
11327
11328 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11329
11330         * i860-protos.h: New file.
11331
11332         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
11333         time warnings.
11334
11335         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
11336
11337         * i860.md: Likewise.
11338
11339 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
11340
11341         * i386.md (movstrsi expander): Rewrite.
11342         (movstrsi_1 insn): Deleted.
11343         (strmovhi, strmovqi expander): New expanders.
11344         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
11345         * i386.c (x86_single_stringop): New global variable.
11346         * i386.h (x86_single_stringop): Declare.
11347         (TARGET_SINGLE_STRINGOP): New macro.
11348
11349 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
11350
11351         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
11352         integer vararg POSTINCREMENT before the destination of the jump
11353         for the hard fp case.
11354         (function_arg_pass_by_reference): Pass a copy of CUM to
11355         FUNCTION_ARG.
11356
11357         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
11358         for CONSTANT_ADDRESS_P above while loop for subreg.
11359
11360 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
11361
11362         * flow.c (propagate_block): When a prologue/epilogue insn
11363         is marked dead, unconditionally clear libcall_is_dead and
11364         insn_is_dead, and only dump rtl if warnings aren't being
11365         suppressed.
11366
11367 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
11368
11369         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
11370         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
11371         (FIXED_REGISTERS): Set dirflag as fixed.
11372         (CALL_USED_REGISTERS): Set dirflag as used.
11373         (REG_ALLOC_ORDER): Set dirflag as last one.
11374         (DIRFLAG_REG): New macro.
11375         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
11376         (HI_REGISTER_NAMES): Add dirflag.
11377         (DEBUF_PRINT_REG): Handle dirflag.
11378         * i386.md (type attribute): New cld and str types.
11379         (length_opcode attribute): Set cld and str to 1.
11380         (memory attribute): Set str to unknown - it is not clear from the
11381         patterns.
11382         (pent_np function unit): Prefixed string operations takes 12 cycles
11383         minimally; cld takes 2 cycles.
11384         (ppro_uops attribute): Str is "many" and cld is "few".
11385         (ppro_p0 unit): Handle cld here.
11386         (k6_alux unit): Handle cld and str types.
11387         (k6_load unit): It is ocupied by str opcodes.
11388         (k6_store unit): It is ocupied by str opcodes.
11389         (athlon_decode): Str is vector decoded.
11390         (athlon_ieu): Handle str and cld.
11391         (cld pattern): New.
11392         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
11393         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
11394         cmpstrsi_nz_1 insn): Do not output cld instruction
11395
11396 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
11397
11398         * gcc.texi (G++ and GCC): Add Java and Chill.
11399         (Bug Critera): Don't list languages.
11400
11401         * gcc.texi (Incompatibilities): No longer claim most C compilers
11402         are K&R.
11403
11404         * gcc.texi (G++ and GCC): Update other front-ends list.
11405
11406 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
11407
11408         * i386.c (ix86_expand_setcc): Fix typo.
11409         (ix86_expand_movcc): Similarly.
11410
11411         * Band-aid until haifa's bitset implementation is nuked.
11412         * haifa-sched.c (extract_bitlst): New parameter for size of the
11413         bitset in bits.  All callers changed.  Avoid looking at undefined
11414         bits in the bitset.
11415         (edgeset_bitsize): New variable.
11416         (schedule_region): Initialize edgeset_bitsize.
11417
11418 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11419
11420         * Makefile.in (optabs.o): Depend on real.h
11421         (resource.o): Depend on insn-attr.h
11422
11423         * builtins.c (result_vector): Wrap prototype in macro conditions
11424         governing definition and use.
11425
11426         * c-common.c: Include tm_p.h.
11427
11428         * c-lex.c: Likewise.
11429
11430         * elfos.h: Constify a char*.
11431
11432         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
11433         (get_attr_length, shorten_branches, profile_after_prologue): Mark
11434         parameter with ATTRIBUTE_UNUSED.
11435
11436         * fold-const.c (exact_real_inverse): Wrap variable `i' in
11437         CHECK_FLOAT_VALUE.
11438
11439         * haifa-sched.c (schedule_insns): Mark parameter with
11440         ATTRIBUTE_UNUSED.
11441
11442         * optabs.c: Include real.h.
11443
11444         * real.h (ereal_atof): Add prototype arguments.
11445
11446         * resource.c: Include insn-attr.h.
11447
11448         * sdbout.c (sdbout_queue_anonymous_type,
11449         sdbout_dequeue_anonymous_types): Wrap in macro
11450         SDB_ALLOW_FORWARD_REFERENCES.
11451         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
11452         ATTRIBUTE_UNUSED.
11453
11454         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
11455
11456         * stupid.c: Include tm_p.h.
11457
11458         * tree.c (real_value_from_int_cst): Mark parameter with
11459         ATTRIBUTE_UNUSED.
11460
11461 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11462
11463         * i960-protos.h: New file.
11464
11465         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
11466         time warnings.
11467
11468         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
11469
11470 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11471
11472         * combine.c (expand_field_assignment): Do not discard SUBREGs
11473         while computing nonzero_bits.
11474
11475 2000-01-09  Nick Clifton  <nickc@cygnus.com>
11476
11477         * config/arm/arm.c: Fix compile time warnings about signed vs
11478         unsigned constants.
11479         * config/arm/arm.h: Fix compile time warnings about signed vs
11480         unsigned constants.
11481
11482 2000-01-09  Philip Blundell  <philb@gnu.org>
11483
11484         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
11485         than `ldm' with only one register.
11486         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
11487         only one register.
11488
11489         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
11490         clobbered.
11491
11492 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
11493
11494         * config/ns32k/ns32k.md (load or push effective address): Operand 1
11495         must have SImode.
11496
11497 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11498
11499         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
11500         assignment used as truth value.
11501
11502         * function.c (assign_temp): Mark parameter `dont_promote' with
11503         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
11504         PROMOTE_FOR_CALL_ONLY.
11505
11506         * genrecog.c (write_subroutine): Mark variable `operands' with
11507         ATTRIBUTE_UNUSED.
11508
11509         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
11510         ATTRIBUTE_UNUSED.
11511
11512         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
11513         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
11514
11515         * toplev.c (note_deferral_of_defined_inline_function): Likewise
11516         for `decl'.
11517
11518 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11519
11520         * config/c4x.h: Tidy up comments.
11521         * config/c4x.c: Likewise.
11522
11523 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
11524
11525         * fold-const.c (lshift_double, rshift_double): Handle
11526         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
11527
11528 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11529
11530         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
11531         in prepare_function_start().
11532
11533 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
11534
11535         * config/v850/v850.c (expand_epilogue): Interrupt functions no
11536         longer allocate extra stack for function calls.
11537
11538 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11539
11540         * config/c4x/c4x.md (*subqf3_set): Fix typo.
11541
11542 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11543
11544         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
11545
11546 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
11547
11548         * rs6000.c (processor_target_table): Add power3 as alias for 630.
11549         * aix43.h: Revert Aug 2 change.
11550         (HAS_INIT_SECTION): Define, not visible yet.
11551         (LD_INIT_SWITCH): Define, not visible yet.
11552         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
11553
11554         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
11555
11556         * collect2.c (main): Expand ld2 size further.
11557         (export_object_lst): Cast assignment to avoid warning.
11558         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
11559         (scan_prog_file, COFF): Do not collect initialization or
11560         finalization functions generated for entire shared object if
11561         init/fini support present.
11562
11563 2000-01-07  Nick Clifton  <nickc@cygnus.com>
11564
11565         * config/elfos.h: Tidy up formatting of marcos.  Make sure
11566         that .section directives are always prefixed by a tab.
11567
11568         * config/svr4.h: Add #include "elfos.h" and remove duplicate
11569         definitions.
11570
11571 2000-01-07  Matt Austern  <austern@sgi.com>
11572
11573         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
11574         expon.
11575
11576 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
11577
11578         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
11579         crtstuff.c.
11580         (crtbegin.o, s-crtS): Likewise.
11581
11582 2000-01-06  Richard Henderson  <rth@cygnus.com>
11583
11584         * alpha.md (adddi_2+1): Limit offset such that it will be
11585         loadable with a single ldah+lda pair.
11586         (adddi_2+2): Explicitly fail split if we can't make it work.
11587
11588 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
11589
11590         * protoize.c: Conditionally include unistd.h.
11591         (IS_SAME_PATH_CHAR): New macro.
11592         (IS_SAME_PATH): New macro.
11593         (CPLUS_FILE_SUFFIX): New macro.
11594         (cplus_suffix): New static variable.
11595         (is_abspath): New static function.
11596         (in_system_include_dir): Handle DOS style pathnames.
11597         (file_could_be_converted): Likewise.
11598         (file_normally_convertible): Likewise.
11599         (directory_specified_p): Likewise.
11600         (file_excluded_p): Likewise.
11601         (abspath): Likewise.
11602         (shortpath): Likewise.
11603         (referenced_file_is_newer): Likewise.
11604         (save_def_or_dec): Likewise.
11605         (do_processing): Likewise.
11606         (main): Likewise.
11607         (edit_file): Likewise. Use rename instead of link.
11608         (rename_c_file): Likewise. Don't rename syscalls file.
11609         (munge_compile_params): Define null device for DOS based systems.
11610         (process_aux_info_file): Use binary mode if appliable.
11611         (edit_file): Likewise.
11612         * invoke.texi (Running Protoize): Document C++ suffixes used.
11613
11614         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
11615         IS_DIR_SEPARATOR macros.
11616         * collect2.c: Likewise.
11617         * cppinit.c: Likewise.
11618         * dwarf2out.c: Likewise.
11619         * gcc.c: Likewise.
11620         * gcov.c: Likewise.
11621         * prefix.c: Likewise.
11622         * rtl.c: Likewise.
11623         * toplev.c: Likewise.
11624         * system.h: And move to here.
11625
11626         * prefix.c (update_path): Fix typo in variable name.
11627
11628 2000-01-06  Richard Henderson  <rth@cygnus.com>
11629
11630         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
11631         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
11632         (count_reg_sets_1, count_reg_references): Likewise.
11633         (flow_loops_level_compute): Start counting actual loop depth at 1.
11634         (flow_loops_find): Likewise.
11635         * local-alloc.c (update_equiv_regs): Likewise.
11636         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
11637
11638 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
11639
11640         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
11641         FIRST_PSEUDO_REGISTER
11642         * dwarf2out.c: Don't include frame.h
11643         * dwarfout.c: Likewise
11644         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
11645         frame.h
11646
11647 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
11648
11649         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
11650         dead registers.
11651
11652         * i386.c (movsf splitter): Fix typo in my last checkin.
11653
11654 2000-01-05  Nick Clifton  <nickc@cygnus.com>
11655
11656         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
11657         own definition of this macro.
11658         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
11659         flag_data_sections or UNIQUE_SECTION_P are true.
11660
11661         * tm.texi (UNIQUE_SECTION): Document that it can be called for
11662         unitialised data decls.
11663
11664         * config/i386/winnt.c (i386_pe_unique_section): Cope with
11665         being called for uninitialised data.
11666
11667         * config/i386/interix.c (i386_pe_unique_section): Cope with
11668         being called for uninitialised data.
11669
11670         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
11671         for uninitialised data.
11672
11673         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
11674         for uninitialised data.
11675
11676         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
11677         for uninitialised data.
11678
11679         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
11680         (UNIQUE_SECTION_P): Always generate a unique section if
11681         flag_data_sections is true.
11682         (UNIQUE_SECTION): Also generate unique sections for
11683         uninitialised data.
11684         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
11685         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
11686         named_section().
11687
11688 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11689
11690         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
11691         SI, or DI.
11692
11693 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11694
11695         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
11696         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
11697         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
11698         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
11699         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
11700
11701         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
11702
11703 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
11704
11705         * c-decl.c (finish_enum): Simplify code to determine minimum and
11706         maximum values of the enum, and calculate the type.  Remove check
11707         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
11708         the DECL_INITIAL of each enumeration constant with a copy converted
11709         to the enumeration type.  When updating variant types, don't bother
11710         updating the type itself.
11711
11712         * c-typeck.c (build_binary_op): Simplify conditional expressions
11713         when weeding out spurious signed-unsigned warnings.  Add new
11714         spurious warning category: if the unsigned quantity is an enum
11715         and its maximum value fits in signed_type(result_type).  Update
11716         commentary.
11717         (build_conditional_expr): Warn here if one alternative is signed
11718         and the other is unsigned.
11719
11720 2000-01-05  Nick Clifton  <nickc@cygnus.com>
11721
11722         * config/fr30/fr30.h: Remove extraneous comments.
11723
11724 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
11725
11726         * reload1.c (choose_reload_regs): When disabling a reload, also
11727         set reload_spill_index to -1.
11728
11729 2000-01-04  Joel Sherrill (joel@OARcorp.com>
11730
11731         * configure.in (m68*-*-rtemscoff*): New target, formal name for
11732         old m68*-*-rtems*.
11733         (m68*-*-rtemself*): New target.
11734         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
11735         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
11736         (sparc*-*-rtemself*): New target.
11737         (sparc*-*-rtems*): Now elf not a.out.
11738         * config/i386/rtems.h: Include config/rtems.h.
11739         * config/i386/rtemself.h: Include config/rtems.h.
11740         * config/i960/rtems.h: Include config/rtems.h.
11741         * config/m68k/rtems.h: Include config/rtems.h.
11742         * config/m68k/rtemself.h: Include config/rtems.h.
11743         * config/mips/rtems64.h: Include config/rtems.h.
11744         * config/pa/rtems.h: Include config/rtems.h.
11745         * config/rs6000/rtems.h: Include config/rtems.h.
11746         * config/sh/rtems.h: Include config/rtems.h.
11747         * config/sh/rtemself.h: Include config/rtems.h.
11748         * config/sparc/rtems.h: Include config/rtems.h.
11749         * config/sparc/rtemself.h: Include config/rtems.h
11750
11751 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
11752
11753         * final.c (shorten_branches): Correctly compute length of
11754         asms without operands.
11755
11756 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
11757
11758         * configure.in: Add pj target.
11759         * configure: Regenerate.
11760         * config/pj: New directory.
11761         * config/pj/lib1funcs.S: New file.
11762         * config/pj/linux.h: New file.
11763         * config/pj/pj.c: New file.
11764         * config/pj/pj.md: New file.
11765         * config/pj/pjl.h: New file.
11766         * config/pj/t-pj: New file.
11767         * config/pj/xm-pj.h: New file
11768
11769 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
11770
11771         * toplev.c (rest_of_compilation): Run shorten-branches before
11772         reg-stack for now.
11773
11774 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11775
11776         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
11777         macros so that they're consistent with their names.
11778         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
11779         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
11780
11781 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11782
11783         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
11784         modified inadvertently.
11785
11786 2000-01-04  Joel Sherrill <joel@OARcorp.com>
11787
11788         * configure.in (v850*-*-rtems*): New target.
11789         * configure: Regenerate.
11790         * config/v850/rtems.h: New file.
11791
11792 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
11793
11794         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
11795         (__gthread_key_create): Likewise.
11796         (__gthread_key_dtor):  Likewise.
11797         (__gthread_once): Fix logic.
11798         (__gthread_key_delete): Cast away constness.
11799
11800         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
11801         * invoke.texi: Document.
11802         * i386/mingw32.h (CPP_SPEC): Use.
11803         (LIBGCC_SPEC): Likewise.
11804         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
11805
11806 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
11807
11808         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
11809         (HANDLE_PRAGMA_PACK): Undefine.
11810         (SLOW_UNALIGNED_ACCESS): Define.
11811
11812 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
11813
11814         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
11815         to default definition.
11816         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
11817         (store_fixed_bit_field): Call macro with word_mode and alignment.
11818         (extract_bit_field): Call macro with relevant mode and alignment.
11819         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
11820         to default definition.
11821         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
11822         and alignment.
11823         (move_by_pieces_ninsns): Likewise.
11824         (clear_by_pieces): Likewise.
11825         (emit_push_insn): Likewise.
11826         (store_field): Call macro with relevant mode and alignment.
11827         (expand_expr): Likewise.
11828         (expand_expr_unaligned): Likewise.
11829
11830         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
11831         (SLOW_UNALIGNED_ACCESS): Define.
11832         (CASE_VECTOR_MODE): Always use 32-bit offsets.
11833         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
11834         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
11835         (toc_section): Likewise and .toc pseudo-op.
11836         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
11837         64-bit mode.
11838         (TEXT_SECTION_ASM_OP): Likewise.
11839         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
11840         32-bit offsets.
11841
11842         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
11843         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
11844         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
11845         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
11846         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
11847
11848 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
11849
11850         * regclass.c: Revert my Jan 4 change to loop cost computation.
11851
11852 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11853
11854         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
11855         compilation.
11856
11857 2000-01-04  Stan Cox  <scox@cygnus.com>
11858
11859         * haifa-sched.c (build_control_flow): Change unreachable simple
11860         loop test to check if current block has only one predecessor.
11861         (find_rgns): Initialize degree.  Use dest as degree index, not src.
11862
11863 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11864
11865         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
11866
11867         * calls.c (expand_call): Likewise for
11868         `old_stack_arg_under_construction'.
11869
11870         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
11871
11872         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
11873         `save_constant'.
11874
11875         * gcc.c (execute): Likewise for `ut' and `st'.
11876
11877         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
11878
11879         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
11880
11881         * jump.c (jump_optimize_1): Likewise for `temp2'.
11882
11883         * local-alloc.c (block_alloc): Likewise for `r1'.
11884
11885         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
11886
11887         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
11888         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
11889
11890         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
11891         and `set2'.
11892
11893         * reload.c (find_reloads): Likewise for `goal_alternative_number'
11894         and `goal_earlyclobber'.
11895
11896         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
11897
11898         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
11899
11900         * stupid.c (stupid_life_analysis): Likewise for `chain'.
11901
11902         * unroll.c (copy_loop_body): Likewise for `copy'.
11903
11904         * varasm.c (output_constructor): Likewise for `byte'.
11905
11906 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11907
11908         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
11909         all FP constants for constant->reg moves.
11910         (ix86_split_to_parts): Try to convert memory address into immediate
11911         when available in the constant pool.
11912         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
11913         moves.
11914         (LEGITIMATE_CONSTANT_P): Return 1.
11915         * i386.md (pushsf): New splitter to convert constant pool memory
11916         reference to immediate.
11917         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
11918         reload.
11919
11920 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
11921
11922         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
11923         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
11924         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
11925         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
11926         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
11927
11928 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
11929
11930         * ginclude/stdbool.h:  Support compilation as C++.
11931
11932 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11933
11934         * fold-const.c (make_range): Don't try to reverse an unbounded range.
11935
11936 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
11937
11938         * regclass.c (regclass): Properly compute loop_cost.  Adjust
11939         comments.
11940
11941         * regclass.c: Fix minor whitespace problems.
11942
11943 2000-01-03  Anthony Green  <green@cygnus.com>
11944
11945         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
11946         Restore the pic register if required.
11947
11948 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
11949
11950         * c-common.c (format_char_info): Update comment.
11951         (check_format_info): Recognize 'z' modifier in the same way 'Z'
11952         was recognized.  Emit warning for formats new in ISO C99 only
11953         if flag_isoc9x is not set.
11954
11955 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
11956
11957         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
11958
11959 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11960
11961         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
11962         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
11963         (make_compound_operation): Choose cheaper alternative between
11964         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
11965
11966         * regclass.c (op_costs): Remove global variable.
11967         (record_reg_classes): New parameter "op_costs" and "reg_pref".
11968         (record_operand_costs): Break out from ...
11969         (scan_one_insn): ... here.
11970         (dump_regclass): Make dumps nicer.
11971         (regclass): Dump preferrences choosed and changes done during passes.
11972
11973 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
11974
11975         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
11976
11977 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
11978
11979         * config/sparc/sparc.c (gen_df_reg): New function.
11980         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
11981         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
11982         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
11983         movtf_cc_reg_sp64+1): Use it.
11984
11985 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
11986
11987         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
11988         copied LABEL_DECLs.
11989
11990 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11991
11992         * config/i386/i386.c (ix86_expand_unary_operator): Function
11993         definition made void.
11994         (ix86_expand_binary_operator): Update outdated preceding comment.
11995         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
11996         prototype.
11997
11998         * config/i386/i386.c (override_options): Fix option-name typo.
11999
12000 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
12001
12002         * system.h (CEIL): Define.
12003         * builtins.c (CEIL): Remove.
12004         * expmed.c (CEIL): Likewise.
12005         * expr.c (CEIL): Likewise.
12006         * stor-layout.c (CEIL): Likewise.
12007
12008 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12009
12010         * expr.c (store_constructor_field): Fix typo introduced with last
12011         gcc2 merge.
12012
12013 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
12014
12015         * tree.h (BINFO_N_BASETYPES): New macro.
12016
12017 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
12018
12019         * expmed.c (emit_store_flag): Prevent losing a pending stack
12020         adjust the same way we prevent losing queued increments.
12021
12022 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12023
12024         * function.c (update_temp_slot_address): Handle case where sum of
12025         temporary address plus offset in register is a valid address.
12026
12027 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
12028
12029         * genrecog.c (change_state) Corrected typo.
12030
12031 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12032
12033         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
12034         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
12035         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
12036
12037 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
12038
12039         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
12040         case, expand GT comparisons correctly.  Fix a comment before this
12041         part of the code.
12042
12043 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
12044
12045         * dwarfout.c: Include "frame.h"
12046         * dwarf2out.c: Likewise.
12047         * Makefile.in (dwarfout.o): Depend on frame.h
12048         (dwarf2out.o): Likewise.
12049
12050 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
12051
12052         Restore i386 binary compatibility in Dwarf EH info.
12053         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
12054         value of FIRST_PSEUDO_REGISTER.
12055         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
12056         (struct frame_state): Use DWARF_FRAME_REGISTERS.
12057         * dwarfout.c (output_reg_number): Ditto.
12058         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
12059         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
12060
12061 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
12062
12063         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
12064         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
12065         (<hack>_RE_CT): not needed
12066         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
12067         rewritten to scan the file text once only
12068         "template<..." test added
12069         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
12070         (is_cxx_header): declaration added
12071         * fixinc/fixtests.c(is_cxx_header): removed
12072         (apply_fix_p_t): removed
12073         (double_slash_test): is_cxx_header is only called once now
12074         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
12075         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
12076         within the templates.
12077         The borken spelling of "broken" was fixed.
12078         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
12079         The default level depends on FIXINC_DEBUG.
12080
12081 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12082
12083         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
12084         Otherwise provide a declaration for atexit.
12085         (init_dummy): Make sure dummy call to atexit is nevertheless
12086         called with correct number of args.
12087
12088         * frame.c: Update comments referring to other files.
12089
12090         * libgcc2.c: Likewise.
12091
12092 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12093
12094         * cse.c (free_element, get_element): Remove unused prototypes.
12095
12096         * fold-const.c (extract_muldiv): Initialize variables `op0' and
12097         `op1'.
12098
12099         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
12100         `else' clauses.
12101
12102 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
12103
12104         * configure.in,configure: case arm for mn10200-*-* now sets
12105         float_format=i32 so that float.h will correctly claim "double"
12106         to be 32 bits. Ran autoconf to generate configure from .in file.
12107
12108 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
12109
12110         * pa.md (conditional zero): If op1 is a register, force it into
12111         the same register as op0.
12112
12113 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
12114
12115         * tree.h (BINFO_BASETYPES): Improve documentation.
12116
12117 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12118
12119         * configure.in (--enable-checking): Use a more portable `for'
12120         loop syntax.
12121
12122 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12123
12124         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
12125         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
12126
12127         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
12128         Delete files.
12129
12130         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
12131         Delete descriptions.
12132
12133         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
12134         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
12135         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
12136         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
12137         xm-svr4.h: Remove all instances of sys_siglist handling.
12138
12139 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
12140
12141         * config/sparc/sparc.md (cmp_zero_qi,
12142         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
12143         cmp_zero_extendqidi2_andcc_set): New patterns.
12144
12145 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
12146
12147         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
12148         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
12149         (fpgnulib.c, xfgnulib.c): Add rules.
12150         * m68k/t-mot3300-gas: Likewise.
12151
12152 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
12153
12154         * configure.in: Avoid [[ by using test and changequote.  Add
12155         changequote required by 1999-12-14 change.
12156         * configure: Rebuild.
12157
12158 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
12159
12160         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
12161
12162 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
12163
12164         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
12165         * flow.c (find_use_as_address): Likewise.
12166         * function.c (fixup_var_refs_1): Likewise.
12167         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
12168         * jump.c (invert_exp, redirect_exp): Likewise.
12169         * loop.c (replace_call_address): Likewise.
12170         (count_nonfixed_reads): Likewise.
12171         * rtlanal.c (modified_between_p): Likewise.
12172         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
12173         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
12174         * unroll.c (remap_split_bivs): Likewise.
12175
12176 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12177
12178         * diagnostic.c (v_message_with_decl): Use .* format specifier
12179         instead of building the format specifier width manually.
12180
12181         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
12182         determining whether to provide a prototype.  Remove the
12183         sys_siglist clause in the conditional.
12184
12185 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12186
12187         * fold-const.c (operand_equal_p): Use memcmp to compare string
12188         constants.
12189         Suggested by D. J. Bernstein
12190
12191 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
12192
12193         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
12194         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
12195         compiling libgcc2.
12196         * config/mips/mips.h (TARGET_64BIT): Likewise.
12197         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
12198         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
12199         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
12200         dsps.  Give routines proper names if SI/DI modes are not used.
12201         * longlong.h: Use DWunion instead of DIunion.
12202
12203 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
12204
12205         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
12206         GC_CHECKING, GC_ALWAYS_COLLECT.
12207         * configure.in: Allow --enable-checking with an argument
12208         listing check modes to enable.
12209         * config.in, configure: Rebuilt.
12210         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
12211         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
12212         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
12213         ENABLE_GC_ALWAYS_COLLECT.
12214         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
12215         throughout.
12216         * tree.h, tree.c: Change ENABLE_CHECKING to
12217         ENABLE_TREE_CHECKING throughout.
12218
12219 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12220
12221         * fold-const.c (fold_truthop): Properly check for FP RHS.
12222
12223 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
12224
12225         * toplev.h (note_deferall_of_defined_inline_function): Declare.
12226         * toplev.c (note_deferral_of_defined_inline_function): New
12227         function, split out from ...
12228         (rest_of_compilation): ... here.  Use it.
12229
12230 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12231
12232         * expr.c (store_constructor): Don't call clear_storage if size is
12233         variable.
12234
12235 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12236
12237         * Makefile.in (toplev.o): Depend on loop.h.
12238
12239         * dwarfout.c: Include tm_p.h.
12240
12241         * emit-rtl.c (restore_emit_status): Mark parameter with
12242         ATTRIBUTE_UNUSED.
12243
12244         * final.c (final_scan_insn): Likewise.
12245
12246         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
12247         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
12248         flow_depth_first_order_compute, flow_loop_pre_header_find,
12249         flow_loop_tree_node_add, flow_loops_tree_build,
12250         flow_loop_level_compute, flow_loops_level_compute,
12251         flow_loop_outside_edge_p): Add prototypes.
12252         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
12253
12254         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
12255         Mark with ATTRIBUTE_NORETURN.
12256
12257         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
12258
12259         * local-alloc.c (no_conflict_p): Likewise.
12260
12261         * loop.c (insert_bct): Hide definitions of variables with hidden
12262         usage.
12263         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
12264
12265         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
12266         with ATTRIBUTE_UNUSED.
12267         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
12268         (reg_scan): Likewise.
12269
12270         * reload.c (find_reloads): Remove unused variables `changed'.
12271
12272         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
12273         away const-ness.
12274         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
12275         Remove unused variable `insn'.
12276
12277         * toplev.c: Include loop.h.
12278         (report_file_and_line): Remove unnecessary prototype.
12279
12280         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
12281
12282         * unroll.c (biv_total_increment): Likewise.
12283
12284 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12285
12286         * reload1.c (emit_input_reload_insns): Restore old behaviour
12287         wrt. 'special' reloads.
12288
12289 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
12290
12291         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
12292         hash.h.  (cse.c): Don't depend on hashtab.h.
12293
12294         * cse.c: Don't include hashtab.h.
12295         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
12296         of dead functions.
12297         * ggc-simple.c: Don't include hash.h.
12298
12299 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
12300
12301         * dwarf2out.c (add_abstract_origin_attribute): Call
12302         gen_abstract_function on our function context.
12303
12304 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
12305
12306         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
12307
12308 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12309
12310         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
12311         case in switch.
12312
12313 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12314
12315         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
12316         constraints to "a!r".
12317
12318 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
12319
12320         * Makefile.in (calls.o): Depend on function.h.
12321         (alias.o): Likewise.
12322
12323 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
12324
12325         * reload1.c (emit_reload_insns): Break out code and variables into...
12326         (input_reload_insns, other_input_address_reload_insns,
12327         other_input_reload_insns, input_address_reload_insns,
12328         inpaddr_address_reload_insns, output_reload_insns,
12329         output_address_reload_insns, outaddr_address_reload_insns,
12330         operand_reload_insns, other_operand_reload_insns,
12331         other_output_reload_insns): ... new static variables, and...
12332         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
12333         do_output_reload): ... new functions.
12334
12335 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12336
12337         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
12338
12339 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12340
12341         * md.texi: Add c4x constraints documentation.
12342
12343 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12344
12345         * config/i386/dgux.c (struct option): Rename to
12346         lang_independent_option.
12347         (struct m_options): Add description field.
12348         (output_options): Rename option type, add sep declaration, output
12349         ix86_cpu_string and ix86_arch_string only if set.
12350         (output_file_start): Rename option type.
12351
12352 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
12353
12354         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
12355         stmp-int-hdrs.
12356         (libgcc2.a): Similarly.
12357
12358 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
12359
12360         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
12361         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
12362         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
12363
12364 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
12365
12366         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
12367         Remove redundant initialization of "frexpon" and "expon".
12368
12369 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12370
12371         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
12372
12373         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
12374         (store_constructor_field, expand_expr): Pass new arg.
12375
12376 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
12377
12378         * Makefile.in (explow.o): Depend on function.h.
12379
12380         * stor-layout.c (set_sizetype): Fix typo.
12381
12382 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
12383
12384         * function.c (cfun): Renamed from current_function.  All users
12385         changed.
12386         * function.h (cfun): Rename declaration as well.
12387
12388         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
12389         to be of type regset_head, not regset.  All users changed by adding
12390         address operator.
12391         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
12392
12393 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12394
12395         * config/c4x/rtems.h: New file.
12396
12397 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
12398
12399         * reload1.c (spill_failure): Take class of failed reload as argument
12400         and print it.  Caller changed.
12401
12402 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12403
12404         * rs6000.h (SUBTARGET_DEFAULT): New macro.
12405         (TARGET_SWITCHES): Allow subtargets to default switches.
12406         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
12407
12408 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
12409
12410         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
12411         in a main program.
12412
12413 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
12414
12415         * cccp.c (main): Define __STDC_VERSION__ as necessary.
12416         * cppinit.c (cpp_handle_option): Likewise.
12417
12418         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
12419         determine when to define.
12420
12421 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
12422
12423         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
12424         cmove with mismatched test and data modes.
12425
12426 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
12427
12428         * c-typeck.c (c_expand_start_case): Don't warn for long switch
12429         in system headers.
12430
12431 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12432
12433         * alias.c: Minor reformatting.
12434         * flow.c: Likewise.
12435         * regs.h: Likewise.
12436         * stor-layout.c: Likewise.
12437         * fold-const.c: Likewise.
12438         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
12439         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
12440         not arg itself.
12441         (size_int_wide): Cache nodes even if garbage collecting.
12442         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
12443         of SAVE_EXPR has no side effects.
12444         * cse.c: Move a comment.
12445         * tree.c: Minor reformatting.
12446         (int_size_in_bytes): Return -1 if constant overflows.
12447
12448 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12449
12450         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
12451
12452 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
12453
12454         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
12455         after any change to c-parse.in, even if objc-parse.y didn't
12456         change.  Oops.
12457
12458 1999-12-18  David S. Miller  <davem@redhat.com>
12459
12460         * toplev.c (rest_of_compilation): Restore BLOCK tree
12461         reconstruction and branch shortening changes lost in
12462         December 18th change.
12463
12464 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
12465
12466         * config/arm/linux-elf.h: Change all instances of
12467         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
12468         * config/arm/uclinux-elf.h: Likewise.
12469
12470 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
12471
12472         * toplev.c (notice, vmessage, v_message_with_file_and_line,
12473         v_message_with_decl, file_and_line_for_asm,
12474         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
12475         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
12476         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
12477         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
12478         pfatal_with_name, fatal_io_error, need_error_newline,
12479         last_error_function, last_error_tick, announce_function,
12480         default_print_error_function, print_error_function,
12481         report_error_function, fnotice, error_with_file_and_line,
12482         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
12483         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
12484         warning_with_decl, warning_for_asm, warning, pedwarn,
12485         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
12486         diagnostic.c
12487         (compile_file): Use fnotice instead of notice.  Adjust call.
12488
12489         * diagnostic.c: New file.
12490
12491         * Makefile.in (OBJS): Include diagnostic.o
12492         (diagnostic.o): Define dependence.
12493
12494 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12495
12496         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
12497         Tweak formatting.
12498
12499 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12500
12501         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
12502
12503 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
12504
12505         * fixtests.c (is_cxx_header): New fn, split out of
12506         double_slash_test.
12507         (else_endif_label): Allow "#endif // comment" in C++ headers,
12508         as determined by is_cxx_header.
12509         * fixfixes.c (else_endif_label_fix): Update comment.
12510         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
12511         a tty.
12512         * genfixes: Correct double thinko in commandline parsing.
12513         * hackshell.tpl: Generate correct sh syntax for bypass
12514         entries.
12515
12516         * inclhack.def (all): Whenever an inserted preprocessor
12517         conditional is split over multiple lines, use double
12518         backslashes in this file so the fixed header will be readable.
12519
12520         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
12521         and add bypass entry for correct version of this header.
12522         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
12523         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
12524
12525         (hpux8_bogus_inlines): New fix, split from...
12526         (ultrix_atof_param) ... here.
12527         (math_expression): Add bypass entry keyed to glibc comment
12528         indicating the problem has been dealt with; disable
12529         unnecessary sed operations; update commentary.
12530         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
12531         add select and bypass entries, simplify shell operation.
12532         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
12533
12534         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
12535          ultrix_atof_param): Add select entry.
12536         (stdio_va_list, sunos_mather_decl): Add bypass entry.
12537         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
12538         comments with the fixes they describe.
12539
12540         * c-parse.in (string action): Do not warn about ANSI string
12541         concatenation in system headers.  Affects C parser only.
12542         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
12543
12544 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
12545
12546         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
12547         compiling libgcc2 the macro depends always on arch cpp defines.
12548
12549 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
12550
12551         * loop.c (insert_loop_mem): Don't record MEMs from inside
12552         EXPR_LISTs.
12553
12554 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
12555
12556         * regclass.c (regclass): Do not use flowgraph when not optimizing.
12557
12558         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
12559         notes too, create one when replacement failed, attempt to simplify
12560         resulting notes.
12561         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
12562         or REG_EQUIV notes.
12563
12564 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
12565
12566         * crtstuff.c (__dso_handle): Declare.
12567         (__cxa_finalize): Likewise.
12568         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
12569         non-NULL.
12570
12571         * invoke.texi: Document -fuse-cxa-atexit.
12572
12573         * tree.h (ptr_type_node): Document.
12574         (const_ptr_type_node): Likewise.
12575
12576 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12577
12578         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
12579         (optimize_reg_copy_2): Likewise.
12580         (optimize_reg_copy_3): Likewise.
12581         (fixup_match_2): Likewise.
12582         (regmove_optimize): Likewise.
12583         (fixup_match_1): Liekwise.
12584
12585         * i386.md (HI to SImode promoting splitters): Rewrite.
12586         (pushsf mem peep2): New.
12587         (testhi to andhi peep2): Remove.
12588         * i386.h (x86_promote_QImode): New.
12589         (TARGET_PROMOTE_QImode): New.
12590         (PREDICATE_CODES): Add promotable_binary_operator.
12591         * i386.c (x86_promote_QImode0: New.
12592         (promotable_binary_operator): New.
12593         * i386-protos.h (promotable_binary_operator): New.
12594
12595         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
12596         condition.
12597         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
12598
12599 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
12600
12601         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
12602         * function.c (insert_block_after_note): Remove.
12603         (retrofit_block): Likewise.
12604         (identify_blocks): Fix indentation.
12605         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
12606         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
12607         * function.h (insert_block_after_note): Remove prototype.
12608         (retrofit_block): Likewise.
12609         * integrate.c (expand_inline_function): Don't call
12610         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
12611         just expand_start_bindings.  Use the block_map to remap old
12612         NOTE_BLOCKs to new ones.
12613         (integrate_decl_tree): Keep track of remapped blocks.
12614         * integrate.h (struct inline_remap): Add block_map.
12615         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
12616         NOTE_BLOCK on the notes.
12617         (expand_start_bindings): Rename to ...
12618         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
12619         (expand_end_bindings): Set NOTE_BLOCK.
12620         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
12621         reconstruct the BLOCK tree.
12622         * tree.h (expand_start_bindings): Macroize.  Call ...
12623         (expand_start_bindings_and_block): New function.
12624
12625 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
12626
12627         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
12628         to match the format.
12629
12630 1999-12-16  David S. Miller  <davem@redhat.com>
12631
12632         * expr.c (emit_move_insn_1): Only emit clobbers if one of
12633         the outputs is a SUBREG.
12634         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
12635         change.
12636
12637         * config/sparc/sparc.c (epilogue_renumber): Add default case
12638         to switch stmt.
12639
12640 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12641
12642         * toplev.c (rest_of_compilation): Run branch shortening after
12643         reg-stack.
12644
12645         * regclass.c (loop_depth): Remove
12646         (scan_one_insn): Do not handle LOOP_NOTE insns.
12647         (regclass): Go through basic blocks and set loop_cost
12648
12649 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
12650
12651         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
12652
12653 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12654
12655         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
12656         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
12657         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
12658
12659 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
12660
12661         * loop.c (insert_loop_mem): Ignore memory clobbers.
12662
12663         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
12664         to (OP A B).
12665
12666 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
12667
12668         * profile.c: Remove redundant #include "output.h".
12669
12670         * h8300.md (HImode preinc peephole): Fix typo.
12671
12672 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
12673
12674         * function.c (retrofit_block): Abort if we don't find a suitable insn.
12675         (insert_block_after_note): Abort if we don't have a previous block.
12676         Remove FN parameter.
12677         * function.h: Adjust.
12678
12679 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
12680
12681         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
12682         argument more than once.
12683
12684 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
12685
12686         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
12687
12688 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
12689
12690         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
12691
12692 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12693
12694         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
12695         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
12696         update stack_alignment_needed.
12697         (prepare_function_start): Initialize stack_alignment_needed
12698         * function.h (struct function): Add field stack_alignment_needed.
12699
12700 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12701
12702         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
12703         Handle live_throughout / dead_or_set instead of live_before /
12704         live_after.
12705         (save_call_clobbered_regs): Get register livenessinformation from
12706         chain->live_throughout.
12707         (add_stored_regs): New function.
12708         (insert_restore, insert_save): Add restored / saved registers to
12709         dead_or_set.
12710         * global.c (reg_dies): New parameter chain.
12711         (reg_becomes_live): Third parameter is regs_set now.
12712         Changed all callers.
12713         (reg_dies): New parameter chain.  Changed all callers.
12714         (build_insn_chain): Set live_throughout instead of
12715         live_before / live_after.
12716         * reload.h (struct insn_chain): Replace members live_before /
12717         live_after with live_throughout / dead_or_set.
12718         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
12719         instead of live_before / live_after.
12720         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
12721         (order_regs_for_reload, find_reg, finish_spills): Likewise.
12722         (choose_reload_regs_init): Likewise.
12723         * stupid.c (current_chain, find_clobbered_regs): Delete.
12724         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
12725         instead of chain->live_before / chain->live_after.
12726         (mark_hard_ref): New function.
12727         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
12728
12729 1999-12-15  David S. Miller  <davem@redhat.com>
12730
12731         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
12732
12733 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12734
12735         * flow.c (calculate_loop_depth): Make global, remove prototype,
12736         rewrite to use new loop infrastructure.
12737         (find_basic_block): Remove calculate_loop_depth call.
12738         * toplev.c (rest_of_compilation): Call find_basic_block.
12739         * output.h (calculate_loop_depth): Declare.
12740
12741         * flow.c (dump_flow_info): Dump loop_depth.
12742         (flow_loops_nodes_find): Increase loop_depth for basic block in the
12743         body.
12744         (flow_loops_find): Initialize the loop_depth for each basic block.
12745
12746 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
12747
12748         * tree.c (decl_function_context): Handle virtual functions.
12749
12750         * tlink.c (scan_linker_output): Don't look in demangled name when
12751         looking for linker output keywords.
12752
12753         * dwarfout.c (output_type): We can defer namespace-scope classes.
12754
12755 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
12756
12757         * regclass.c (record_reg_classes): Update comment for merging
12758         register class preferences in reg->reg copies.  Tighten conditions
12759         for merging register class preferences in reg->reg copies.
12760
12761 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
12762
12763         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
12764
12765 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
12766
12767         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
12768         (INIT_SECTION_ASM_OP): Delete.
12769         (FINI_SECTION_ASM_OP): Delete.
12770         (STARTFILE_SPEC): Define to hold just crtbegin.o.
12771
12772 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
12773
12774         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
12775         the abstract origin wasn't emitted.
12776
12777         * dwarf2out.c (class_scope_p): New fn.
12778         (gen_subprogram_die): Use it.
12779         (gen_variable_die): Use it.  Tweak logic.
12780         (gen_struct_or_union_type_die): Check context_die to determine
12781         if we're function-local.
12782         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
12783
12784 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
12785
12786         * loop.c (check_dbra_loop): Can't reverse a biv that has
12787         maybe_multiple set.
12788
12789 1999-12-14  Nick Clifton  <nickc@cygnus.com>
12790
12791         * config/arm/arm.c: Add support for -mcpu=arm720 command line
12792         switch.
12793
12794 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12795
12796         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
12797         for givs made from biv increments.
12798
12799 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
12800
12801         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
12802         * alpha.c (override_options): Recognize -mcpu=ev67.
12803         * alpha.h (CPP_CPU_EV67_SPEC): New.
12804         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
12805         (EXTRA_SPECS): Update.
12806
12807 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
12808
12809         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
12810         appropriate for -lang-c89 and -std=*.
12811         * cppinit.c (cpp_handle_option): Likewise.
12812         (new_pending_define): New, split out from cpp_handle_option.
12813         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
12814         or enable trigraphs for -ansi/-std=*.
12815
12816         * ginclude/stdarg.h (__va_copy): New.
12817         (va_copy): Don't define for C89.
12818
12819 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
12820
12821         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
12822         for long long multiply-accumulate.
12823
12824 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12825
12826         * regclass.c (scan_one_insn): Set loop_cost to 1 when
12827         optimizing for size.
12828
12829 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
12830
12831         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
12832         if something changed.  Back out that part of yesterday's changes.
12833
12834         * loop.c (loop_max_reg): New static variable.
12835         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
12836         max_reg_num.
12837         (scan_loop): Call reg_scan_update whenever we may have added new
12838         registers, and update loop_max_reg.
12839
12840 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12841
12842         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
12843         when source does not die.
12844
12845         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
12846
12847 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
12848
12849         * config/sparc/linux64.h (TARGET_LIVE_G0,
12850         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
12851         variants on Linux.
12852         * config/sparc/linux.h (TARGET_LIVE_G0,
12853         TARGET_BROKEN_SAVERESTORE): Likewise.
12854         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
12855         TARGET_BROKEN_SAVERESTORE): Likewise.
12856
12857         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
12858         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
12859         not %g2.
12860         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
12861         as sparc64 block profiling register.
12862         * config/sparc/sparc.c (sparc_override_options): Allow block
12863         profiling with -m32.
12864         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
12865         profiling register.
12866         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
12867         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
12868         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
12869
12870         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
12871         for sparc64.
12872         * config/sparc/sparc.h: Likewise.
12873         * config/sparc/xm-sysv4-64.h: Likewise.
12874         * config/float-sparc.h: Likewise.
12875         * glimits.h: Likewise.
12876         * longlong.h: Likewise.
12877
12878         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
12879         (ASM_IDENTIFY_GCC): Remove.
12880
12881 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
12882
12883         * combine.c (combine_simplify_rtx): Don't make shared rtl.
12884         (simplify_logical): Likewise.
12885
12886 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
12887
12888         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
12889         * cppfiles.c (INO_T_EQ): Likewise.
12890
12891 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
12892
12893         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
12894         * i386/mingw32.h (LIB_SPEC): Likewise.
12895         (STARTFILE_SPEC): Likewise.
12896         * i386/uwin.h (LIB_SPEC): Likewise.
12897         (STARTFILE_SPEC): Likewise.
12898
12899         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
12900         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
12901
12902 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
12903
12904         * combine.c (combine_simplify_rtx): Fix order of checks for
12905         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
12906
12907 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
12908
12909         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
12910         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
12911
12912 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
12913
12914         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
12915         defined.
12916         * regclass.c (inv_reg_alloc_order): New array.
12917         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
12918
12919         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
12920         counted_for_groups, counted_for_nongroups.  Add fields rld and
12921         n_reloads.
12922         * reload.c (push_secondary_reload): Don't set nongroup field of
12923         new reloads.
12924         (push_reload): Likewise.
12925         (find_reloads): Delete code to compute nongroup fields.
12926         * reload1.c (reload_insn_firstobj): New static variable.
12927         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
12928         users changed.
12929         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
12930         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
12931         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
12932         functions.
12933         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
12934         functions.
12935         (struct hard_reg_n_uses): Deleted.
12936         (potential_reload_regs): Deleted.
12937         (init_reload): Initialize spilled_pseudos and pseudos_counted.
12938         (reload): Don't try to allocate reload registers if we already know
12939         we have to make another pass.  Call select_reload_regs.  Free memory
12940         starting with reload_firstobj when starting another pass.
12941         Don't allocate spilled_pseudos.
12942         (calculate_needs_all_insns): Call copy_reloads for an insn that
12943         needs reloads; don't call calculate_needs.
12944         (spill_cost): New static array.
12945         (used_spill_regs_local): New static variable.
12946         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
12947         to compute potential_reload_regs.
12948         (find_reload_regs): Completely rewritten to use find_reg.
12949         (allocate_reload_reg): Don't test counted_for_groups or
12950         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
12951         all cllers changed.
12952         (choose_reload_regs): Add fallback code that uses the existing
12953         register allocation from find_reload_regs.
12954
12955 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
12956
12957         * flow.c (create_edge_list): Cast xmalloc return value.
12958
12959 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
12960
12961         * doprnt.c: Remove incorrect comment closure.
12962
12963         * cse.c: Fix a few minor whitespace goofs.
12964
12965 1999-12-13  Don Bowman  <don@pixstream.com>
12966
12967         * mips/vxworks.h: Fix problem with comment termination.
12968         (EXTRA_SECTIONS): Add in_sbss.
12969         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
12970
12971 1999-12-12  David S. Miller  <davem@redhat.com>
12972
12973         * cse.c (struct cse_reg_info): Add hash_next member,
12974         reorder rest of struct for better packing on 64-bit
12975         hosts.
12976         (cse_reg_info_tree): Kill.
12977         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
12978         REGHASH_FN): New custom pow2 hash mechanism.
12979         (NBUCKETS): Kill.
12980         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
12981         use a pow2 hash table.
12982         (get_cse_reg_info): Rework to use new REGHASH.
12983         (new_basic_block): Likewise, use HASH_SIZE, and inline
12984         free_element call.
12985         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
12986         and inline free_element call.
12987         (lookup_as_function, insert, flush_hash_table, invalidate,
12988         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
12989         invalidate_for_call, use_related_value, find_comparison_args,
12990         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
12991         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
12992         get_element): Kill.
12993
12994 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
12995
12996         * cse.c (cse_basic_block): Free qty_table consistently.
12997
12998 1999-12-12  David S. Miller  <davem@redhat.com>
12999             Jakub Jelinek    <jakub@redhat.com>
13000
13001         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
13002         SUBREGs by hand, gen the appropriate hard reg directly.
13003         (movtf reg/mem split): Likewise and alter_subreg on destination
13004         if necessary.
13005         (movtf mem/reg split): Similarly.
13006         (movdf_cc_sp64): Rename from hidden pattern.
13007         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
13008         (movtf_cc_sp64, following split): New pattern and splitter.
13009         (movdf_cc_reg_sp64): Rename from hidden pattern.
13010         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
13011         TARGET_HARD_QUAD.
13012         (movtf_cc_reg_sp64, following split): New pattern and splitter.
13013
13014 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
13015
13016         * loop.c (load_mems): Don't hoist written floating point mem
13017         if -ffloat-store.
13018
13019 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
13020
13021         * except.h (struct eh_queue): Add `next' pointer.
13022         (struct eh_status): Make x_ehqueue a pointer.
13023         (push_ehqueue):  Declare.
13024         (pop_ehqueue): Likewise.
13025         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
13026         pointer.
13027         (expand_fixup_region_end): Likewise.
13028         (expand_leftover_cleanups): Likewise.
13029         (push_ehqueue): Define.
13030         (pop_ehqueue): Likewise.
13031         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
13032         than doing it inline.
13033         (expand_start_all_catch):  Adjust now that ehqueue is a
13034         pointer.
13035         (mark_eh_queue): Mark all level of the queue.
13036         (mark_eh_status):  Adjust now that ehqueue is a
13037         pointer.
13038         (init_eh_for_function): Allocate ehqueue.
13039         (free_eh_status): Free it.
13040         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
13041         expansion for a fixup.
13042
13043 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13044
13045         * gthr-single.h (__gthread_active_p): Add prototype arguments.
13046
13047         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
13048         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
13049         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
13050         function_ptr, getpagesize, __enable_execute_stack,
13051         __enable_execute_stack, __clear_insn_cache,
13052         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
13053         _cleanup, _exit, __default_terminate, __terminate_func,
13054         __terminate, __empty, __throw, new_eh_context,
13055         eh_context_initialize, eh_context_static, eh_context_specific,
13056         get_eh_context, __get_eh_context, __get_eh_info,
13057         init_reg_size_table, eh_threads_initialize,
13058         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
13059         __unwinding_cleanup, throw_helper, __throw, __rethrow,
13060         __pure_virtual): Add prototype arguments.
13061         (__bb_exit_func): Cast a sizeof to long when comparing against one.
13062         Cast a signed value to unsigned long when comparing against one.
13063         (new_eh_context): Wrap in _GTHREADS macro.
13064         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
13065         declaration.
13066         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
13067         (throw_helper): Initialize variables `handler_p' and `pc_p'.
13068
13069 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13070
13071         * combine.c (record_promoted_value): Remove unused variable
13072         `links2'.
13073
13074         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
13075
13076         * global.c (record_conflicts): Likewise for `j'.
13077
13078         * genoutput.c (output_insn_data): Don't unnecessarily cast away
13079         const-ness.
13080
13081 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13082
13083         * i386-protos.h (output_387_binary_op, output_fix_trunc,
13084         output_fp_compare): Constify a char*.
13085
13086         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
13087         static prototypes.
13088         (override_options, ix86_comp_type_attributes, print_operand,
13089         output_387_binary_op, output_fix_trunc, output_fp_compare):
13090         Constify a char*.
13091         (ix86_sched_reorder): Mark parameter `clock_var' with
13092         ATTRIBUTE_UNUSED.
13093
13094         * i386.h (DEBUG_PRINT_REG): Constify a char*.
13095
13096 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
13097
13098         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
13099         operand, for use in the Java front-end.
13100
13101 1999-12-10  Ben Collins  <bcollins@debian.org>
13102
13103         * configure.in: Fix typo for "-64" in 64bit as check.
13104         * configure: Rebuilt.
13105
13106 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
13107
13108         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
13109         appropriate.
13110
13111 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13112
13113         * c-parse.in (string): With -Wtraditional, warn if ANSI string
13114         concatenation is utilized.
13115
13116         * invoke.texi (-Wtraditional): Document it.
13117
13118 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13119
13120         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
13121         Cast a ptrdiff_t to long and pass it to printf with %ld.
13122
13123 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
13124
13125         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
13126         68881, we have no 68881 registers at all.
13127         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
13128         value in a 68881 register if it is available.
13129
13130 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
13131
13132         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
13133         for long long multiply-accumulate.
13134
13135 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
13136
13137         * loop.c (insert_loop_mem): Undo last change.
13138
13139 1999-12-10  David S. Miller  <davem@redhat.com>
13140
13141         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
13142         New functions.
13143         * config/sparc/sparc-protos.h: Add them.
13144         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
13145         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
13146         constraints which use those helpers.
13147         (EXTRA_CONSTRAINT): Use this new macro.
13148         * md.texi: Update sparc target constraints documentation.
13149         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
13150         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
13151         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
13152         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
13153         (movsf high/lo_sum split): Rework for new patterns.
13154         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
13155
13156 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
13157
13158         * c-common.c (c_common_nodes_and_builtins):
13159         Create __builtin_ptrdiff_t and __builtin_size_t.
13160
13161 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
13162
13163         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
13164
13165 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13166
13167         * regclass.c (globalize_reg): Re-instate test that allows
13168         fixed registers to be declared as a variable even after functions
13169         are defined.
13170
13171 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13172
13173         * i386.md (cpu attribute): Add "athlon".
13174         (athlon_decode): New attribute.
13175         (Athlon scheduling units definitions): New.
13176         (fcmp and shld patterns): Set athlon_decode to "vector".
13177         * i386.c (athlon_cost): New.
13178         (m_ATHLON): New.
13179         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
13180         x86_use_sahf): Set for Athlon.
13181         (x86_use_fiop): Unset for Athlon.
13182         (override_options): Define Athlon alignments and "athlon" name.
13183         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
13184         * i386.h (TARGET_ATHLON): New.
13185         (enum processor_type): Add PROCESSOR_ATHLON.
13186         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
13187         for CPU_DEFAULT==5
13188         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
13189
13190 1999-12-09  Andreas Jaeger  <aj@suse.de>
13191
13192         * loop.c (record_biv): Declare parameter as int.
13193
13194         * config/i386/i386-protos.h: Declare long_memory_operand.
13195
13196 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
13197
13198         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
13199         EXPR_WITH_FILE_LOCATION.
13200
13201 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
13202
13203         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
13204         in expander.
13205
13206         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
13207
13208         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
13209         updating code.
13210
13211 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
13212
13213         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
13214         default on linux64 again.
13215         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
13216         models for multilibing.
13217         * genmultilib: Accept | as alternative separator within a set in
13218         MULTILIB_OPTIONS.
13219
13220         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
13221
13222         * calls.c (precompute_arguments): Make sure initial_value contains
13223         value pseudo which CSE expects.
13224         * cse.c (struct set): New entry orig_src.
13225         (cse_insn): Set it early on entry, use it for libcall EQUIV note
13226         replacement.
13227
13228 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
13229
13230         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
13231
13232 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
13233
13234         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
13235
13236 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
13237
13238         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
13239         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
13240
13241         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
13242         if TARGET_ARCH32.
13243
13244         * longlong.h: Merge in changes from glibc.
13245         Also don't clobber %g2 register in 32bit SPARC assembly, so that
13246         -mno-app-regs libgcc can be compiled.
13247         * libgcc2.c: Add defines so that the updated longlong.h
13248         can be used in libgcc2.a. Also, make sure on most architectures
13249         (at least on all which have optimized code in longlong.h defined
13250         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
13251
13252 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13253
13254         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
13255         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
13256         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
13257         is GNU ld.
13258         * configure: Rebuilt.
13259
13260 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
13261
13262         * alpha.c (secondary_reload_class): For !BWX, sub-simode
13263         outputs require a register.
13264
13265 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
13266
13267         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
13268         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
13269         functions like dptoul will be resolved.
13270         (libgcc2.a): Make sure that the object files from DPBIT are named
13271         differently (prefix `_dp') from those that would be coming from
13272         FPBIT.
13273
13274 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
13275
13276         * configure.in: When target is sparc* and tm_file contains 64,
13277         test for 64bit support in assembler.  If not supported, remove
13278         sparc/t-sol2-64 from target-dependent Makefile fragments.
13279         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
13280         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
13281         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
13282         * acconfig.h (AS_SPARC64_FLAG): Added.
13283         * configure, config.in: Rebuilt.
13284         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
13285         support.  Use AS_SPARC64_FLAG.
13286
13287 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
13288
13289         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
13290         suitable for holding OFmode values so that gcc works with complex
13291         quad long doubles.
13292         (hard_64bit_mode_classes): Likewise.
13293
13294         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
13295         so that it is actually matched.
13296         (sethi_di_medlow): Likewise.
13297
13298         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
13299         as legitimate constant if -mvis.
13300         * config/sparc/sparc.md (movtf): Likewise.
13301         (clear_sf): Use const_double_operand.
13302         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
13303
13304         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
13305         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
13306         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
13307         routines, _Qp_* cannot be handled like that now.
13308         (INIT_TARGET_OPTABS): Likewise.
13309         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
13310         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
13311         sparc_emit_float_lib_cmp if ARCH64 and soft float.
13312         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
13313         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
13314         divtf3, sqrttf3): New expanders.
13315         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
13316         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
13317         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
13318         non-_hq patterns.
13319
13320         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
13321         * configure: Rebuilt.
13322         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
13323         -mcpu is given and we're doing 64bit compiles.
13324
13325 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
13326
13327         * loop.h (struct induction): Add multi_insn_incr.
13328         * loop.c (basic_induction_var): New multi_insn_incr argument.
13329         Set it if we search back through previous insns for the biv.
13330         (record_biv): New multi_insn_incr argument; fill in struct induction.
13331         (strength_reduce): Discard an iv with multiple bivs, any of
13332         which require multiple insns to increment.
13333
13334 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13335
13336         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
13337         documentation.
13338
13339 1999-12-06  David S. Miller  <davem@redhat.com>
13340
13341         * combine.c (check_promoted_subreg): Do not conditionalize this upon
13342         PROMOTE_FUNCTION_RETURN.
13343
13344 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
13345
13346         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
13347         and handle REG_UNUSED note on insn.
13348
13349         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
13350         inner_mask instead of mask.
13351
13352 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
13353
13354         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
13355         zero if there was an error.
13356
13357 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
13358
13359         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
13360         output string.
13361
13362         * longlong.h: Fix clobbers in SPARC asm statements.
13363
13364         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
13365         valid sethi operations when TARGET_ARCH64.
13366
13367         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
13368         always use move_by_pieces to avoid infinite recursion.
13369         (restore_fixed_argument_area): Likewise.
13370
13371         * combine.c (check_promoted_subreg, record_promoted_value): New
13372         functions.
13373         (combine_instructions): Use them to retain nonzero and sign bit
13374         information after SUBREGs are eliminated by optimizations in
13375         this pass if PROMOTE_FUNCTION_RETURN.
13376
13377         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
13378         .register declaration. Don't use variables with __ prefixes.
13379
13380 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13381
13382         * fold-const.c (optimize_bit_field_compare): Only use one mode
13383         for both RHS and LHS in non-constant case.
13384
13385 1999-12-06  Nathan Sidwell  <nathan@acm.org>
13386
13387         * frame.c (start_fde_sort): Only allocate erratic array, if
13388         linear one was allocated. Return allocated flag.
13389         (fde_insert): Only insert, if there's a valid array.
13390         (fde_end_sort): Split, sort and merge if linear and erratic
13391         arrays exist, else just sort linear one.
13392         (search_fdes): New function. Linear search through original fde
13393         structure.
13394         (frame_init): Permit multiple initializations. Cope with
13395         memory shortages.
13396         (find_fde): Fallback on linear search, if failed to sort array.
13397         (__deregister_frame_info): Only free sorted array, if we
13398         allocated it.
13399
13400 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
13401
13402         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
13403
13404 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
13405
13406         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
13407
13408 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
13409
13410         * tree.h (special_function_p): Declare.
13411         * calls.c (special_function_p): Make it global.  Don't take `name'
13412         as a parameter.  Fix typo in 1999-11-28 change.
13413         (expand_cal): Adjust.
13414
13415 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
13416
13417         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
13418         * tree.h (EXPR_WFL_FILENAME): Define in terms of
13419         EXPR_WFL_FILENAME_NODE.
13420         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
13421         the TREE_CHAIN.
13422         * print-tree.c (print_note): Print TREE_PRIVATE and
13423         TREE_PROTECTED.
13424
13425         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
13426         the original die cannot be found.
13427
13428         * varray.h (varray_head_tag): Add elements_used.
13429         (VARRAY_PUSH): New macro.
13430         (VARRAY_POP): Likewise.
13431         (VARRAY_TOP): Likewise.
13432         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
13433         types.
13434         * varray.c (varray_init): Initialize elements_used.
13435         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
13436         (INTEGRATE_H): New variable.
13437         (integrate.o): Depend on INTEGRATE_H.
13438         (unroll.o): Likewise.
13439
13440         * function.h (insert_block_after_note): Declare.
13441         * function.c (insert_block_after_note): Split out from ...
13442         (retrofit_block): ... here.
13443
13444         * stmt.c (expand_fixup): Fix typo in comment.
13445
13446 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13447
13448         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
13449         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
13450         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
13451         (regmove_optimize, fixup_match_1): Likewise.
13452
13453 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13454
13455         * flow.c (flow_loops_dump): Add missing argument when calling
13456         flow_loop_nested_p.
13457
13458 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
13459             Greg McGary  <gkm@gnu.org>
13460
13461         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
13462         (init_attributes): Add A_NO_LIMIT_STACK.
13463         (decl_attributes): Handle A_NO_LIMIT_STACK.
13464         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
13465         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
13466         Handle stack bounds checking.
13467         * flags.h (flag_stack_check): Use the word 'probe' rather than
13468         'check', because the flag doesn't actually cause any checking to
13469         be done.
13470         * function.c (expand_function_start): Set
13471         current_function_limit_stack.
13472         * function.h (struct function): Add limit_stack.
13473         (current_function_limit_stack): Define.
13474         * invoke.texi (Code Gen Options): Document new options.
13475         * rtl.h: Declare stack_limit_rtx.
13476         * toplev.c (stack_limit_rtx): New variable.
13477         (decode_f_option): Handle new options -fstack-limit-register=REG,
13478         -fstack-limit-symbol=IDENT, -fno-stack-limit.
13479         (main): Add stack_limit_rtx as GC root.
13480         * tree.h (DECL_NO_LIMIT_STACK): New macro.
13481         (struct tree_decl): New member no_limit_stack.
13482
13483         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
13484         stack_limit_rtx.
13485         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
13486         (conditional_trap+1): Get new mnemonic correct.
13487         (conditional_trap+2): New pattern for DImode traps.
13488
13489         * config/m68k/m68k.c (output_function_prologue): Handle
13490         stack_limit_rtx.
13491         * config/m68k/m68k.md (trap): New insn.
13492         (conditional_trap): New insn.
13493         * md.texi (Standard Names): Document `trap' and
13494         `conditional_trap'.
13495         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
13496         so a cc0 setter doesn't get emitted at some random place in the
13497         function.
13498
13499         * config/i960/i960.md (trap): New insn.
13500         (conditional_trap): New expander.
13501         (conditional_trap+1, conditional_trap+2): New insns for signed
13502         and unsigned cases.
13503         * config/i960/i960.c (i960_function_prologue): Use
13504         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
13505
13506 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
13507                           Geoffrey Keating  <geoffk@cygnus.com>
13508
13509         * flags.h (warn_padded, warn_packed): Add global var decls.
13510         * toplev.c (warn_padded, warn_packed): Add global var defns.
13511         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
13512         * stor-layout.c (layout_record): Add local variable `type'
13513         to hold often-used TREE_TYPE (field).  Add local variable
13514         `unpacked_align' to hold alignment that would be in force
13515         if no `packed' attribute were present.  Warn if `packed' attribute
13516         is unnecessary, or even harmful.  Warn when gcc inserts padding
13517         to satisfy alignment requirements of members.  Use NULL_TREE
13518         when checking whether var_size is set.
13519         * invoke.texi: Document new flags.
13520
13521 1999-12-03  Nathan Sidwell  <nathan@acm.org>
13522
13523         * frame.c (fde_split): Reimplement to avoid variable sized array.
13524
13525 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13526
13527         * combine.c (try_combine): Before fixing up LOG_LINKS for the
13528         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
13529
13530 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
13531
13532         * invoke.texi: Document the mips option -mno-crt0
13533
13534 1999-12-02  Mike Karr  <mkarr@mathworks.com>
13535
13536         * cccp.c (argdata): Added free_ptr member.
13537         (macroexpand): Initialize free_ptr of each argument. When an
13538         argument's buffers are freed, if the argument's free_ptr corresponds
13539         to a buffer on the input stack, then return the free_ptr to that stack
13540         frame, otherwise, free it.
13541         (macarg): If an argument begins and ends on the same input stack level,
13542         then transfer the free_ptr of that buffer to the argument in case
13543         the stack is popped during the processing of a subsequent argument.
13544
13545 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
13546
13547         * loop.c (note_reg_stored): New function.
13548         (struct note_reg_stored_arg): New structure.
13549         (try_copy_prop): Change to be more conservative; only replace within
13550         one extended basic block and stop replacing if a store to the
13551         replacement reg is seen.
13552
13553 1999-12-02  Nick Clifton  <nickc@cygnus.com>
13554
13555         * config/fp-bit.c: Initialise all fields of the NAN
13556         constants.
13557
13558         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
13559         to HANDLE_PRAGMA.
13560
13561 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
13562
13563         * i386.md (extend?f?f2): Force the input into a register, not
13564         the output.
13565
13566 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
13567
13568         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
13569         regclass' sake.
13570         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
13571         alternative because setting up 64bit constant is usually costly,
13572         especially when reload is in progress or completed.
13573         (movdf_const_intreg_sp64): Likewise.
13574         (movdf_const_intreg split): Fix building up constants when
13575         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
13576
13577 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
13578
13579         * combine.c (if_then_else_cond): Use const_true_rtx instead of
13580         const1_rtx for return values in EQ/NE comparison against (const_int 0)
13581         case.
13582
13583         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
13584         (asm_file_start): Emit .am33 into assembly file when compiling for
13585         the AM33.
13586         (print_operand_address): Handle POST_INC addresses.
13587         (can_use_return_insn, initial_offset): Check AM33 registers too.
13588         (expand_prologue): Check & save AM33 registers too.
13589         (expand_epilogue): Similarly.
13590         (secondary_reload_class): Handle AM33 specific secondary reloads.
13591         (output_tst): Emit efficient code for the AM33 too.
13592         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
13593         (TARGET_SWITCHES): Add -mam33 switch.
13594         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
13595         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
13596         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
13597         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
13598         (enum reg_class, REG_CLASS_NAMES): Likewise.
13599         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
13600         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
13601         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
13602         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
13603         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
13604         (HAVE_POST_INCREMENT): Define.
13605         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
13606         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
13607         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
13608         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
13609         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
13610         (zero_extend to SI from QI/HI): Likewise.
13611         (sign_extend to SI from QI/HI): Likewise.
13612         (mulsidi3, umulsidi3): New patterns for the AM33.
13613         (tstsi with zero extension from QI/HI): Add AM33 variants.
13614         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
13615         (return_internal_regs, store_movm): Handle new AM33 registers.
13616         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
13617         (LIBGCC, INSTALL_LIBGCC): Likewise.
13618         * invoke.texi: Document new flags.
13619
13620 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13621
13622         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
13623         (addsi3_carry): Likewise.
13624         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
13625         (sbbsi3_carry): Likewise.
13626         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
13627         (mulhi3): Likewise.
13628         (test?i_1): Ensure that only one operand is memory.
13629         (conditional move patterns): likewise.
13630         (shift and rotate patterns): Rewrite to expander, add
13631         "binary_operator_ok" to the condition.
13632
13633         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
13634         * i386.h (procesor_costs): Add movzbl_load field.
13635         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
13636         non-Q registers, accept DImode registers anywhere.
13637         (Q_CLASS_P): New.
13638         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
13639         * i386.c (*_cost): Set value for movxbl_load field.
13640
13641         * (addsi): New add to lea splitter.
13642         (ashlsi): Likewise.
13643         (lea to add/shift peep2): New.
13644
13645 1999-12-01  Mark Salter <msalter@cygnus.com>
13646
13647         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
13648         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
13649         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
13650
13651 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13652
13653         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
13654         * i386.md (movsi_xor): New.
13655         (movsi_or): New.
13656         (movsi_1, movhi_1, movqi_1): Remove.
13657         (movsi_2): Rename to movsi_1.
13658         (movhi_2): Rename to movhi_1.
13659         (movqi_2): Rename to movqi_1.
13660         (movdi_1): Remove; remove splitter.
13661         (movdi_2): Rename to movdi_1.
13662         (divmodsi4 splitter): Do not emit clobbers for move patterns.
13663         (long move peep2): Do not create QI or HI mode mov0s
13664         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
13665
13666         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
13667         rewrite splitters.
13668
13669         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
13670         (abs?f2_if): Likewise.
13671
13672 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
13673
13674         * ggc.h (ggc_test_and_set_mark): New macro.
13675         (ggc_mark_rtx): Use ggc_test_and_set_mark.
13676         (ggc_mark_tree): Likewise.
13677         (ggc_mark_rtvec): Likewise.
13678         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
13679
13680 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
13681
13682         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
13683         containing types.
13684         (decl_scope_table): Just an array of trees now.
13685         (push_decl_scope): Simplify.
13686         (dwarf2out_init): Adjust.
13687         (local_scope_p): New fn.
13688         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
13689         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
13690         (gen_typedef_die): Likewise.
13691         (gen_lexical_block_die): Don't call push/pop_decl_scope.
13692         (gen_inlined_subroutine_die): Likewise.
13693         (gen_abstract_function): Set current_function_decl temporarily.
13694         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
13695         Handle block extern declarations.  Don't call push/pop_decl_scope.
13696         (gen_decl_die): Fix logic for block externs.
13697
13698 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13699
13700         * calls.c (special_function_p): Remove `realloc' and add `strdup'
13701         to the list of functions which have attribute malloc by default.
13702
13703 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13704
13705         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
13706         integer constant does not match the traditional type, limit the
13707         warnings to cases where the base of the type is ten.
13708
13709         * invoke.texi (-Wtraditional): Document it.
13710
13711 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13712
13713         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
13714         * rs6000.md: Only access a CONST_INT with INTVAL
13715
13716 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
13717
13718         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
13719         (compute_nearerout): Likewise.
13720         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
13721         size_t to unsigned long for formatting.
13722
13723 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
13724
13725         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
13726         Allow the user to override call-used/fixed state of %g2-5
13727         registers from the command line (with the exception of %g4 for
13728         embedded model).
13729         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
13730         there is a higher chance of having a leaf function.
13731         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
13732         for ARCH64 which has %ccr register.
13733         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
13734         patterns.
13735         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
13736         insn accept into delay slot any insn which does not use %[ol]
13737         registers.  Accept some LO_SUM and shift left by 1 for the normal
13738         restore case.
13739         (output_function_epilogue): Likewise.
13740         (epilogue_renumber): Added argument which inhibits any renumbering
13741         and just tests if the rtx does not use any %[ol] registers.
13742         (output_return): Reflect above change.
13743
13744 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
13745
13746         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
13747         aggregate passing for sizes <= 16 bytes.
13748
13749 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
13750
13751         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
13752         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
13753         * reload.c (find_dummy_reload): Likewise.
13754         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
13755         * reload1.c (reload_as_needed): Likewise.
13756         * stupid.c (stupid_find_reg): Likewise.
13757         * tm.texi (Obsolete Register Macros): Delete section.
13758         * gmicro.h: Remove all traces of the two macros.
13759         * i386.h: Likewise.
13760         * m88k.h: Likewise.
13761         * mips.h: Likewise.
13762
13763 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
13764
13765         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
13766         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
13767         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
13768         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
13769         units for the sparclite86x chip.
13770         (flush): Revert October 14th change; add SImode specifically.
13771         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
13772         * invoke.texi: Document it.
13773
13774 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
13775
13776         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
13777         psimode_truncation_operand.
13778
13779         * config/mn10200/mn10200.c (psimode_truncation_operand): New
13780         function.  Return true if the operand is either a MEM valid
13781         for a PSImode address or not a MEM at all.
13782
13783         * config/mn10200/mn10200.md (truncsipsi2): Use
13784         psimode_truncation_operand.
13785
13786 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13787
13788         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
13789         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
13790         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
13791         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
13792         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
13793         (flow_loop_level_compute, low_loops_level_compute): Likewise.
13794         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
13795         * basic-block.h: Protect from multiple inclusion.
13796         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
13797         (struct loops, struct loop): Define structures.
13798         * sbitmap.c (sbitmap_a_subset_b_p): New function.
13799         * sbitmap.h: Protect from multiple inclusion.
13800         (sbitmap_a_subset_b_p): Add prototype.
13801         * Makefile.in (LOOP_H): New macro.
13802         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
13803
13804 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
13805
13806         * cppinit.c (CAT): The argument list of this macro may not contain
13807         spaces !
13808
13809 1999-11-29  David S. Miller  <davem@redhat.com>
13810
13811         Move quantity tables and register equivalence chains into
13812         per-qty and per-register structure arrays respectively.
13813         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
13814         qty_const_insn, qty_comparison_code, qty_comparison_const,
13815         qty_comparison_qty): Delete, replace with...
13816         (qty_table): this structure table.
13817         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
13818         (reg_eqv_table): this structure table.
13819         (make_new_qty): Add argument MODE.  Caller updated.
13820         Update to use qty_table and reg_eqv_table.
13821         (make_regs_eqv, delete_reg_equiv, insert_regs,
13822         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
13823         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
13824         cse_process_notes, cse_main, cse_basic_block): Likewise.
13825
13826 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13827
13828         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
13829         operation if C is negative.
13830         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
13831         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
13832         law for some divisions if constant is negative and change other
13833         divisions to the opposite rounding.
13834
13835         * expr.c (store_constructor_field): If bit position is not multiple
13836         of alignment of TARGET's mode, use BLKmode.
13837
13838         * expr.c (expand_expr_unaligned): Add more code from full case
13839         that is needed when OP0 is in a register.
13840
13841 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13842
13843         * dwarfout.c (field_byte_offset): Size can be zero if there was
13844         an error.
13845
13846 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
13847
13848         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
13849         (associate_trees): Delete unused var TEM.
13850         (extract_muldiv): Delete unused var CANCEL_P.
13851
13852         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
13853         (target_isinf, target_isnan, target_negative): Add return types to
13854         function definitions.
13855
13856 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
13857
13858         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
13859         * fixinc/hackshell.tpl: ditto
13860         * fixinc/fixtests.c(double_slash_test): more C++ header testing
13861         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
13862
13863 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
13864
13865         * reload.c (push_reload): When looking for a register to put into
13866         reg_rtx, make sure all hard regs in a multi-reg register are in the
13867         right class and nonfixed.
13868
13869         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
13870         pending_read_insns, pending_write_insns, pending_read_mems,
13871         pending_write_mems, pending_list_length, last_pending_memory_flush,
13872         last_function_call, sched_before_next_call): Move static variables
13873         into a structure.
13874         (bb_ prefixed versions): Replace with single array bb_deps.
13875         (struct deps): New structure.
13876         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
13877         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
13878         argument of type "struct deps *"; use that instead of global
13879         variables.  All callers changed.
13880         (init_rgn_data_dependencies): Delete function.
13881         (init_rtx_vector): Delete function.
13882         (init_deps): New function.
13883
13884         (free_pending_lists): Simplify, we always use the bb_deps array even
13885         if only one basic block.
13886         (compute_block_backward_dependences): Likewise.
13887         (schedule_region): Likewise.
13888
13889         (propagate_deps): New function, broken out of
13890         compute_block_backward_dependences.
13891         (compute_block_backward_dependences): Use it.
13892
13893         * alpha.md: Delete useless patterns that tried to work around
13894         register elimination problems.
13895
13896         * unroll.c (loop_iterations): Don't abort if iteration variable
13897         was made by loop.
13898
13899         From Joern Rennecke:
13900         * reload1.c (reloads_conflict): Reverse test comparing operand
13901         numbers when testing for conflict between output/outaddr reloads.
13902
13903 1999-11-29  David S. Miller  <davem@redhat.com>
13904
13905         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
13906         arg.
13907         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
13908
13909 1999-11-28  Robert Lipe  <robertl@cygnus.com>
13910
13911         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
13912         table from .fini into .dtor.
13913
13914 1999-11-28  Anthony Green  <green@cygnus.com>
13915
13916         * tree.h (struct tree_decl): Add malloc_flag.
13917         (DECL_IS_MALLOC): Define.
13918         * c-common.c (attrs): Add A_MALLOC attribute.
13919         (init_attributes): Add this attribute to the table.
13920         (decl_attributes): Handle malloc attribute.
13921         * calls.c (special_function_p): Check for the malloc attribute.
13922         * extend.texi (Function Attributes): Document malloc attribute.
13923
13924 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
13925
13926         * pa.md (reload shift-add patterns): Remove.
13927
13928 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13929
13930         * reorg.c (dbr_schedule) Print more statistics. Corrected
13931         problem when printing info when 3 delay slots are filled.
13932
13933 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
13934
13935         * combine.c (setup_incoming_promotions): Pass an outgoing
13936         regno to FUNCTION_ARG_REGNO_P which it expects.
13937
13938 1999-11-28  Andreas Jaeger  <aj@suse.de>
13939
13940         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
13941
13942 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
13943
13944         * cccp.c (do_include): Avoid initialization of automatic variable.
13945
13946         * integrate.c (mark_stores): Function definition made void, to match
13947         previous declaration.
13948         * regclass.c (dump_regclass): Ditto.
13949         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
13950
13951 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13952
13953         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
13954         known to be multiple of divisor.
13955
13956         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
13957
13958         * combine.c (try_combine): Add code to try to merge a set of a
13959         two-word pseudo to a constant with a setting of one of those words
13960         to a constant.
13961
13962         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
13963         (split_tree): Completely rework to make more general.
13964         (make_range, fold): Call negate_expr.
13965         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
13966         (fold, associate): Call new split_tree and associate_trees.
13967         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
13968
13969 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
13970
13971         * loop.c (try_copy_prop): Avoid GNU C extension.
13972
13973 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
13974
13975         * except.c (init_eh_for_function): Still zero eh_return_context,
13976         eh_return_stack_adjust, and eh_return_handler.
13977
13978         * except.h (eh_status): Adjust documentation for x_protect_list.
13979         (begin_protect_partials): New function.
13980         * except.c (enqueue_eh_entry): Fix formatting.
13981         (get_first_handler): Add consistency check.
13982         (add_partial_entry): Adjust usage of protect_list.
13983         (emit_cleanup_handler): Save and restore ehqueue.
13984         (expand_start_all_catch): Add comment.
13985         (begin_protect_partials): New function.
13986         (end_protect_partials): Adjust usage of protect_list.
13987         (init_eh_for_function): Use xcalloc.
13988
13989 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13990
13991         * c-common.c (check_format_info): Don't call a variadic function
13992         with a non-literal format string.
13993
13994         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
13995
13996         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
13997         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
13998         Likewise.
13999
14000         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
14001         Likewise.
14002
14003         * collect2.c (collect_wait): Likewise.
14004
14005         * dbxout.c (dbxout_type): Likewise.
14006
14007         * gcc.c (do_spec_1): Likewise.
14008
14009         * genemit.c (gen_insn, gen_expand): Likewise.
14010
14011         * genrecog.c (write_switch, write_subroutine): Likewise.
14012
14013         * mips-tfile.c (catch_signal, botch): Likewise.
14014
14015         * print-rtl.c (print_rtx): Likewise.
14016
14017         * toplev.c (default_print_error_function, report_error_function,
14018         _fatal_insn): Likewise.
14019
14020 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
14021
14022         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
14023
14024 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14025
14026         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
14027         operations when needed.
14028         * i386.md (fop_?f_comm): New.
14029         (fop_?f_1): Do not accept commutative operands.
14030
14031 1999-11-25  Andreas Jaeger  <aj@suse.de>
14032
14033         * config/mips/mips.md (casesi_internal): Add missing brace.
14034
14035 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
14036
14037         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
14038         (splice_child_die): Handle moving a child DIE from the declaration
14039         DIE of a class to its specification.
14040         (gen_struct_or_union_type_die): Use 'complete' consistently.
14041         (gen_decl_die): Generate the virtual context DIE first.
14042         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
14043
14044 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
14045
14046         * config/mips/mips.md (call_value_multiple_interanal1): New.
14047
14048 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
14049
14050         * dwarf2out.c (free_AT, free_die): New fns.
14051         (remove_children): Call them.
14052         (output_line_info): Disable removal of duplicate notes.
14053
14054         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
14055         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
14056         means pretend the type isn't defined.
14057         Don't defer emitting types.
14058         (gen_type_die_for_member): New fn.
14059         (gen_decl_die): Call it.
14060         (splice_child_die): New fn.
14061         (gen_member_die): Call it rather than generate duplicate dies.
14062
14063         Defer emitting information for the abstract instance of an inline
14064         until we either inline it or emit an out-of-line copy.
14065         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
14066         from output_inline_function if DECL_ABSTRACT is also set.
14067         (block_ultimate_origin): Likewise.
14068         (gen_abstract_function): New fn.
14069         (gen_decl_die, gen_inlined_subroutine_die): Call it.
14070         (gen_subprogram_die):  An abstract instance is not a declaration
14071         just because it doesn't match current_function_decl.  Don't abort
14072         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
14073         has an abstract origin.
14074         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
14075         abstract instance here.
14076
14077 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
14078
14079         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
14080         where we need to reload fpul from a system register.
14081
14082 1999-11-24  Andreas Jaeger  <aj@suse.de>
14083
14084         * config/mips/linux.h (CPP_PREDEFINES): Added.
14085         (LINK_SPEC): Remove -Y since this is only needed on sparc.
14086
14087 1999-11-24  Andreas Jaeger  <aj@suse.de>
14088
14089         * config/mips/linux.h (TARGET_VERSION): Added.
14090         (HANDLE_SYSV_PRAGMA): Added.
14091         (DEFAULT_VTABLE_THUNKS): Added.
14092
14093 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14094
14095         * local-alloc.c (qty): New structure and static variable.
14096         (qty_phys_reg): Remove, all references changed to qty.
14097         (qty_n_refs): Likewise.
14098         (qty_min_class): Likewise.
14099         (qty_birth): Likewise.
14100         (qty_death): Likewise.
14101         (qty_size): Likewise.
14102         (qty_mode): Likewise.
14103         (qty_n_calls_crossed): Likewise.
14104         (qty_alternate_class): Likewise.
14105         (qty_changes_size): Likewise.
14106         (qty_first_reg): Likewise.
14107         (alloc_qty): Rename variable QTY to QTYNO.
14108         (finf_free_reg): Likewise.
14109         (local_alloc): Allocate qty, do not allocate the removed variables.
14110
14111 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
14112
14113         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
14114         when -membedded-pic is passed.
14115
14116         * config/mips/mips.md (casesi): Handle 64-bit case too.
14117         (casesi_internal_di): New insn.
14118
14119         * config/mips/mips.c (embedded_pic_offset): Always make the
14120         embedded-pic subtractions relative to the name of the current
14121         function by use of the magic string "..CURRENT_FUNCTION".
14122         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
14123
14124 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
14125
14126         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
14127         of (const_int 0), when what we really care about is
14128         whether it's a zero constant anyway.
14129         (div_trap_mips16): Likewise.
14130
14131 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
14132
14133         * loop.c (loop_optimize): Always find_loop_tree_blocks and
14134         unroll_block_trees when generating debuggable code.
14135
14136         * tree.h (unsave_expr_1): New function.
14137         (lang_unsave): New variable.
14138         (get_callee_fndecl): New function.
14139         * tree.c (unsave_expr_now_r): New function.
14140         (lang_unsave): Define.
14141         (unsave_expr_1): Likewise.
14142         (unsave_expr_now_r): Split out from unsave_expr_now.
14143         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
14144         call unsave_expr_now_r.
14145         (get_callee_fndecl): Define.
14146
14147         * Makefile.in (gencheck): Don't depend on lang_tree_files.
14148         (gencheck.o): Do depend on lang_tree_files.
14149
14150         * integrate.h (copy_decl_for_inlining): New declaration.
14151         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
14152         (copy_decl_for_inlining): New function.
14153         (integrate_parm_decls): Use it.
14154         (integrate_decl_tree): Likewise.
14155
14156 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
14157
14158         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
14159         the second two from the first.
14160         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
14161         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
14162         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
14163         ISA_HAS_FP4.
14164         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
14165         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
14166         ISA_HAS_FP4.
14167
14168 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
14169
14170         * pa.md (call_internal_symref, call_value_internal_symref): No mode
14171         needed on the address operand.
14172         * pa.c (call_operand_address): Check for the correct mode.
14173
14174 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
14175
14176         * loop.c: Include "basic-block.h".
14177         (try_copy_prop, replace_loop_reg): New functions.
14178         (load_mems): Detect registers that just hold copies of the hoisted
14179         mem, and call try_copy_prop to eliminate them.
14180         * Makefile.in (loop.o): Update dependencies.
14181
14182 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
14183
14184         * Makefile.in (gencheck.o): Depend on gencheck.h.
14185         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
14186         (insn-peep.o): Depend on except.h and function.h.
14187         (insn-attrtab.o): Depend on RECOG_H.
14188         (insn-output.o): Depend on toplev.h and flags.h.
14189         (gengenrtl.o): Depend on real.h.
14190         (gen-protos.o): Depend on cpplib.h and cpphash.h.
14191         Unify all dependencies to be on RECOG_H rather than recog.h.
14192
14193 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14194
14195         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
14196         * configure.in: Try building a bi-arch 32/64-bit compiler on
14197         sparc-*-solaris2.7 and higher.
14198         * configure: Rebuild.
14199
14200 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
14201
14202         * config/freebsd.h: New, FreeBSD architecture independent file.
14203         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
14204         independent pieces.
14205         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
14206         directly by i386/freebsd.h.
14207         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
14208         independent configuration file.
14209         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
14210         directly by i386/freebsd.h.
14211         * configure: Rebuilt.
14212
14213         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
14214         which is in the user's namespace.
14215         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
14216         `i386' which is not in our namespace.
14217
14218 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
14219
14220         * invoke.texi (ARM Options): Add in -mno-alignment-traps
14221
14222 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
14223
14224         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
14225         (add_dwarf_attr, add_child_die): Just push onto the front.
14226         (reverse_die_lists): New fn.
14227         (add_sibling_attributes): Use it.
14228         (push_decl_scope): Reorganize.
14229         (add_name_and_src_coords_attributes): Don't set file and line for
14230         an artificial decl.
14231         (gen_subprogram_die): An artificial function doesn't need to match
14232         file and line.
14233         (gen_compile_unit_die): Return the generated die.  Only add
14234         AT_comp_dir if the filename is relative.
14235         (remove_AT): Simplify loop.  Also free string values.
14236         (output_die): A DIE ref can't be null.
14237         (output_value_format, value_format): Take a dw_attr_ref.
14238         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
14239         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
14240         AT_addr, AT_lbl): New fns.
14241         (various): Use them.
14242         (various): Constify.
14243
14244 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14245
14246         * combine.c (combine_simplify_rtx): When handling a SUBREG,
14247         take SUBREG_WORD into account.
14248         (if_then_else_cond): Likewise.
14249
14250 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
14251
14252         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
14253         clause from BSD license, pursuant with
14254
14255           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
14256
14257 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
14258
14259         * loop.c (load_mems): Reformat slightly.
14260         * basic-block.h (regset_head): New typedef.
14261         (INIT_REG_SET): New macro.
14262
14263 1999-11-22  Bruce Korb  <autogen@linuxbox.com
14264
14265         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
14266         (mips-dec-bsd*): non-functional code
14267         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
14268
14269         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
14270         added three replacement fixes
14271         (no_double_slash): removed comments that are not (any longer) pertinent
14272         (bad_lval): this fix currently runs against many files.
14273         The comment seems to indicate that we should select for files
14274         containing 'pragma extern_prefix'.
14275
14276         * fixinc/fixinc.x86-linux-gnu: deleted
14277         * fixinc/inclhack.sh:  regen
14278         * fixinc/fixincl.x:  regen
14279         * fixinc/fixincl.sh:  regen
14280
14281 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
14282
14283         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
14284         its code is INSN and it has no notes.
14285
14286 1999-11-22  Andrew Haley  <aph@cygnus.com>
14287
14288         * varasm.c (function_defined): Remove.
14289         (make_function_rtl): Don't set function_defined.
14290         (make_decl_rtl): Remove global register warning.
14291         * regclass.c (no_global_reg_vars): New variable.
14292         (globalize_reg): Warn if function has already been defined.
14293         (regclass_init): Set no_global_reg_vars.
14294
14295 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14296
14297         * regclass.c (reg_pref): New structure and static variable
14298         (prefclass): Delete.
14299         (altclass): Delete.
14300         (all uses of prefclass and altclass): Use reg_pref instead.
14301
14302 1999-11-21  Nick Clifton  <nickc@cygnus.com>
14303
14304         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
14305         -malignment-traps.
14306         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
14307         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
14308         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
14309
14310 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
14311
14312         * varasm.c (output_constructor): Solve problem with long long
14313         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
14314
14315 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14316
14317         * global.c (allocno): New structure and static variable.
14318         (allocno_reg): Remove, all references replaced by allocno.
14319         (allocno_size): Likewise.
14320         (hard_reg_conflicts): Likewise.
14321         (hard_reg_preferences): Likewise.
14322         (hard_reg_copy_preferences): Likewise.
14323         (hard_reg_full_preferences): Likewise.
14324         (regs_someone_prefers): Likewise.
14325         (allocno_calls_crossed): Likewise.
14326         (allocno_n_refs): Likewise.
14327         (allocno_live_length): Likewise.
14328         (find_reg): Rename ALLOCNO to NUM.
14329
14330         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
14331         references updated.
14332         (may_move_out_cost): New variable.
14333         (init_reg_sets_1): Initialize may_move_out_cost.
14334         (record_reg_classes): Use may_move_out_cost.
14335
14336         * regclass.c (dump_regclass): New function.
14337         (regclass): New parameter DUMP, call DUMP_REGCLASS.
14338         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
14339         pass rtl_dump_file to regclass.
14340         * rtl.h (regclass): Update prototype.
14341
14342 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14343
14344         * i386.md (neg, not and abs patterns): Revmap to use
14345         ix86_expand_unary_operator and ix86_unary_operator_ok.
14346         (add?f and sub?f expanders): Force operand 1 to register.
14347         * i386.c (ix86_expand_unary_operator): Rewrite.
14348         (ix86_unary_operator_ok): Ensure that memory operands
14349         match real opcode.
14350         (ix86_binary_operator_ok): Do not allow operand 1 to
14351         come into memory and operand 0 not.
14352         (ix86_expand_binary_operator): Ensure that
14353         src1 is not non-matching memory.
14354
14355         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
14356         to support integer registers and memory.
14357         (abss?2_integer): Likewise.
14358
14359         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
14360         (REG_CLASS_NAMES): Likewise.
14361         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
14362         and GENERAL_REGS.
14363         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
14364         (movsf): Likewise; unify 4th and 5th alternative.
14365         (pushdf): Likewise.
14366         (movdf_1): Likewise; rename to movdf_integer.
14367         (pushxf): Likewise; rename to pushxf_integer; fix output template;
14368         remove redundant splitter.
14369         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
14370         (movdf_nointeger): New.
14371         (movxf_nointeger): New.
14372         (pushxf_nointeger): New.
14373
14374         * i386.md (extend?f?f): Split to expander and pattern, refuse two
14375         memory operands in patterns.
14376         (fop*): Refuse two memory operands.
14377
14378         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
14379         on !TARGET_USE_CLTD CPUs.
14380
14381 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
14382
14383         * extend.texi: Document C++ restricted pointers and references.
14384
14385 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
14386
14387         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
14388         (invalidate_skipped_set): Call it unconditionally.
14389         (cse_set_around_loop): Likewise.
14390
14391 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
14392
14393         * rtl.texi (mem): Add documentation for alias-set argument
14394         to RTX `mem'.
14395
14396 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14397
14398         * i386.h (struct_processor_costs): New fields int_load, int_store,
14399         fp_move, fp_load and fp_store
14400         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
14401         fp->int moves
14402         (MEMORY_MOVE_COST): New macro.
14403         * i386.c (386_cost): Define new fields.
14404         (i486_cost): Likewise.
14405         (pentium_cost): Likewise.
14406         (pentiumpro_cost): Likewise.
14407         (k6_cost): Likewise.
14408
14409 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
14410                           Geoffrey Keating  <geoffk@cygnus.com>
14411
14412         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
14413
14414         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
14415         MASK_ALIGN_INT.
14416
14417         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
14418         (TARGET_STRICT_ALIGNMENT): New macro.
14419         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
14420         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
14421         * invoke.texi (M680x0 Options): Document -mstrict-align.
14422
14423 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
14424                           Richard Henderson  <rth@cygnus.com>
14425
14426         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
14427         (ix86_split_long_move): Declare.
14428         * i386.c (split_xf, ix86_split_movdi): Remove.
14429         (ix86_split_to_parts, ix86_split_long_move): New.
14430         * i386.md (dimode move splitters): Use ix86_split_long_move.
14431         (dfmode move splitters): Likewise.
14432         (xfmode move splitters): Likewise.
14433         (movsf_1): Allow F->r.
14434         (movdf_1, movxf_1): Allow F->ro.
14435
14436 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
14437
14438         * except.h (struct eh_entry): Add goto_entry_p.
14439         (eh_region_from_symbol): Remove prototype.
14440         * except.c (find_func_region_from_symbol): New function.
14441         (emit_cleanup_handler): Likewise.
14442         (eh_region_from_symbol): Make it static.
14443         (add_new_handler): Verify the argument.
14444         (find_func_region): Update comment.
14445         (expand_eh_region_end): Expand handlers here, rater than waiting
14446         until expand_leftover_cleanups or start_all_catch.
14447         (expand_leftover_cleanups): Don't expand here.
14448         (expand_start_all_catch): Or here.
14449         (expand_rethrow): Check the return value from find_func_region.
14450         * function.c (expand_function_end): Emit the catch_clauses.
14451
14452 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
14453
14454         * integrate.c (expand_inline_function): Add necessary check for NULL.
14455
14456 1999-11-18  Nick Clifton  <nickc@cygnus.com>
14457
14458         * toplev.c (main): Correctly detect an unrecognised option.
14459
14460         * cppinit.c (cpp_handle_option): Do not claim to have consumed
14461         a -f option if it has not been recognised.
14462
14463 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
14464
14465         * basic-block.h (update_life_extent): Remove trailing comma on
14466         enumeration type list.
14467
14468 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14469
14470         * varasm.c (output_constructor) Solved problem with long long
14471         bitfields. Corrected calculating this_time and shift. Also
14472         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
14473
14474 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
14475
14476         * flow.c (split_edge): Take looping structure into account when
14477         determining where to put the new block note.
14478
14479 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
14480
14481         * Makefile.in (ggc-none.o): Provide host specific version if
14482         needed.
14483
14484 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
14485
14486         * cse.c (delete_trivially_dead_insns): Identify no-op insns
14487         containing subregs too.
14488
14489 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
14490
14491         * invoke.texi: Add documentation for -muninit-const-in-rodata.
14492         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
14493         (TARGET_UNINIT_CONST_IN_RODATA): Define.
14494         (text_section): Add switches -munint-const-in-rodata and
14495         -mno-uninit-const-in-rodata.
14496         (ASM_OUTPUT_COMMON): Remove.
14497         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
14498         const objects should be placed in read-only data. Otherwise declare
14499         them in common.
14500
14501 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
14502
14503         * jump.c (jump_optimize_1): Revert last change.
14504
14505 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
14506
14507         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
14508         test if optimizing for size.
14509
14510 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
14511
14512         * Makefile.in (toplev.o): Depend on except.h.
14513         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
14514
14515 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14516
14517         * i386.md (divmodsi4): Rewrite to expander.
14518         (*divmodsi4_nocltd): New.
14519         (*divmodsi4_cltd): New.
14520         (divmodsi4 splitter): Handle the case when input comes in edx.
14521         (udivmodhi4): Do not use constraints in exander.
14522         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
14523
14524 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
14525
14526         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
14527         for the common case.
14528
14529 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
14530
14531         * explow.c (hard_function_value): Add outgoing argument.
14532         * expr.h (hard_function_value): Declare it.
14533         * calls.c (expand_call, emit_library_call_value): Update callers.
14534         * function.c (aggregate_value_p): Ditto.
14535         (diddle_return_value): Must look at the outgoing registers
14536         on archs with register windows.
14537
14538 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
14539
14540         * alpha.c (alpha_build_va_list): Use make_lang_type and
14541         initialize TYPE_NAME for the va_list record.
14542
14543         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
14544
14545         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
14546         for printing.
14547         * ggc.h (struct ggc_statistics): Rearrange elements for better
14548         packing on 64-bit hosts.
14549         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
14550         (compute_nearerout): Likewise.
14551
14552 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
14553
14554         * config/rs6000/rs6000.c (first_reg_to_save): Save
14555         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
14556
14557 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
14558
14559         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
14560         notion of nesting to find the DIE for a type or function.
14561         DIEs can go in limbo even if we got a context_die.
14562         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
14563         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
14564         for local type.
14565         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
14566         (gen_type_die): Writing out the context doesn't cause member class
14567         template instantiations to be written out as well.
14568
14569 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
14570
14571         * rs6000.h (ASM_OUTPUT_DEF): New.
14572         Based on proposed addition from David Edelsohn.
14573
14574 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
14575             Bruce Korb  <autogen@linuxbox.com>
14576
14577         * fixinc/inclhack.def
14578         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
14579         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
14580                 in net/inet.h.
14581         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
14582         (svr4_endian): enabled with SVR5
14583         (svr4_mkdev): simplified syntax and enabled with SVR5
14584
14585 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
14586
14587         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
14588         * configure: Rebuilt.
14589         * config/t-freebsd-thread: New file.
14590
14591 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
14592
14593         * i386.c (ix86_decompose_address): Verify the base is a REG
14594         before trying to examine its register number.
14595
14596         * basic-block.h: Remove all #defines and prototypes related to
14597         integer lists.
14598         (free_bb_mem, compute_preds_succs): Remove prototype.
14599         * rtl.h (free_bb_mem): Remove prototype.
14600         * flow.c (alloc_int_list_node); Remove function.
14601         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
14602         (compute_preds_succs, free_bb_mem): Likewise.
14603         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
14604         * toplev.c (rest_of_compilation): Likewise.
14605         * haifa-sched.c (build_control_flow): Use flow generated edge
14606         list to build the haifa specific edge list.
14607         (find_rgns): Use new CFG data structures instead of pred/succ lists.
14608         (schedule_insns): Do not build pred/succ lists anymore.  Instead
14609         build the edge table.
14610
14611         * basic-block.h (dump_bb_data): Remove declaration.
14612         * flow.c (dump_bb_data): Remove function.
14613         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
14614         (sbitmap_union_of_predsucc): Likewise.
14615
14616         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
14617         argument.  All callers changed.
14618         (delete_null_pointer_checks_1): No longer need to compute the
14619         pred/succ lists.
14620
14621         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
14622         All callers changed.
14623         (pre_expr_reaches_here_p_work): Likewise.
14624         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
14625         * lcm.c (compute_laterin): Fix initialization of LATER.
14626         (compute_nearerout): Similarly for NEARER.
14627
14628 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14629
14630         * cse.c (set_nonvarying_address_components): Delete unused function.
14631         (refers_to_p): Likewise.
14632
14633 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
14634
14635         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
14636         needed.
14637
14638 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14639
14640         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
14641         definition in do while (0).
14642
14643 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
14644
14645         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
14646
14647 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
14648
14649         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
14650
14651 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
14652
14653         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
14654         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
14655         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
14656         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
14657
14658         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
14659         saved on the stack.  Output more accurate stack frame statistics
14660         into assembler file.
14661
14662 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
14663
14664         * genextract.c (record_insn_name): New function.
14665         (get_insn_name): No longer a stub.
14666         (main): Call record_insn_name for each insn.  After each label
14667         written, print the insn name in a comment.
14668
14669 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14670
14671         * output.h (const_section, init_section, fini_section): Add
14672         prototypes.
14673
14674         * alpha/elf.h (const_section): Delete declaration.
14675
14676         * svr4.h (const_section): Likewise.
14677
14678 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
14679
14680         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
14681         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
14682         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
14683         expressions.
14684         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
14685         variable-sized array bounds.
14686
14687 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
14688
14689         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
14690         ASM_OUTPUT_LABEL.
14691
14692 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14693
14694         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
14695         addresses the same way GO_IF_LEGITIMATE_INDEX does.
14696
14697 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14698
14699         * cse.c (hash_arg_in_struct): Delete.
14700         (struct table_elt): Delete elt in_struct.
14701         (struct set): Delete elt src_in_struct.
14702         (merge_equiv_classes): Don't set either hash_arg_in_struct or
14703         the corresponding in_struct elts.
14704         (canon_hash): Likewise.
14705         (safe_hash): Likewise.
14706         (find_best_addr): Likewise.
14707         (record_jump_cond): Likewise.
14708         (cse_insn): Likewise.
14709
14710 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
14711
14712         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
14713
14714         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
14715         unsigned types.
14716
14717 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
14718
14719         * function.c (diddle_return_value): Put back check that the DECL_RTL
14720         for the function is a register.
14721
14722         * function.c (diddle_return_value): Use hard_function_value to
14723         get an rtx suitable for use in the USE/CLOBBER insn.
14724
14725         * global.c (global_conflicts): Update comments.
14726         (record_conflicts): No need to record conflicts between pseudos here.
14727
14728 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
14729
14730         * fixinc/fixincl.c: Added verbose levels for status messages
14731
14732 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14733
14734         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
14735         operand as argument to expand_and or expand_binop.
14736
14737 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
14738
14739         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
14740         gcc_add_string_root.
14741
14742 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
14743
14744         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
14745
14746 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
14747
14748         * flow.c (compute_flow_dominators): Initially put all blocks on
14749         the worklist.
14750         * lcm.c (compute_antinout_edge, compute_available): Similarly.
14751         * gcse.c (compute_cprop_avinout): Remove.
14752         (compute_cprop_data): Use compute_available.
14753         (delete_null_pointer_checks_1): Use compute_available.
14754
14755         * basic-block.h (compute_available): Returns a void now.
14756         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
14757         to return a value anymore.
14758         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
14759         worklists.  Fix boundary cases. Compute maximal solutions.
14760         (compute_laterin, compute_nearerout): Similarly.
14761
14762         * dwarf2out.c (add_AT_location_description): Allow
14763         (mem (plus (pseudo) (...)) too.
14764
14765 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
14766
14767         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
14768
14769 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
14770                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14771
14772         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
14773
14774         * gansidecl.h: Likewise.
14775
14776         * rtl.c: Likewise.
14777
14778         * rtl.h: Likewise.
14779
14780         * toplev.h: Likewise.
14781
14782         * tree.c: Likewise.
14783
14784         * tree.h: Likewise.
14785
14786         * varray.c: Likewise.
14787
14788         * varray.h: Likewise.
14789
14790 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
14791
14792         * gcov.c (struct arcdata): Add hits and total, remove prob.
14793         (output_branch_counts): New.
14794         (process_args): Set output_branch_counts if -c.
14795         (calculate_branch_probs): Store hits and total instead of
14796         percentage.
14797         (output_data): Emit counts if output_branch_counts is true.
14798         * gcov.texi (Invoking Gcov): Document -c switch..
14799
14800 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
14801
14802         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
14803         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
14804
14805 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
14806
14807         * invoke.texi (C Dialect Options): Add missing builtins from
14808         c-common.c to list.
14809         * extend.texi (Other Builtins): Copy to this list.
14810
14811 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14812
14813         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
14814         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
14815         redundant bitmap.h.
14816
14817 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
14818
14819         * flow.c (compute_flow_dominators): No longer treat basic block 0
14820         or (n_basic_blocks - 1) specially.  Clear the AUX field before
14821         starting computation of doms/pdoms.  Fix initial state for pdoms.
14822
14823 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14824
14825         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
14826         match rtl.o's: added ggc.h and toplev.h
14827         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
14828         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
14829         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
14830
14831 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
14832
14833         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
14834         from HAVE_DOS_BASED_FILESYSTEM.
14835         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
14836         HAVE_DOS_BASED_FILESYSTEM.
14837         (main): Likewise.
14838         (split_directories): Only special-case DOS file names if
14839         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
14840         instead of explicit tests.  Conditionalize on !VMS.
14841         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
14842         tests.  Conditionalize on !VMS.
14843         (process_command): Only use make_relative_prefix if !VMS.
14844         (free_split_directories): Conditionalize on !VMS.
14845         (DIR_UP): Conditionalize on !VMS.
14846
14847 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14848
14849         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
14850
14851 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14852
14853         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
14854         case.
14855
14856 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
14857
14858         * invoke.texi (Environment Variables): Document relative path
14859         lookup.
14860         * gcc.c (DIR_UP): If not defined, define as "..".
14861         (standard_bindir_prefix): New static, holds target location to
14862         install binaries.
14863         (split_directories): New function to split a filename into
14864         component directories.
14865         (free_split_directories): New function, release memory allocated
14866         by split_directories.
14867         (make_relative_prefix): New function, make a relative pathname if
14868         the compiler is not in the expected location.
14869         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
14870         can figure out an appropriate prefix from argv[0].
14871         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
14872         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
14873         STANDARD_BINDIR_PREFIX.
14874
14875 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14876
14877         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
14878         in c4x.c.
14879         * config/c4x/c4x.h: Moved prototypes to c4x.h.
14880         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
14881         c4x_secondary_memory_needed) Delete.
14882         (fp_zero_operand): Add mode argument.
14883
14884 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
14885
14886         * reload1.c (reload_reg_free_for_value_p): Don't use a register
14887         that is in reload_reg_used.
14888
14889 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
14890
14891         * config/arm/arm-protos.h: New file: Prototypes for functions
14892         defined in arm.c and pe.c.
14893         * config/arm/arm.h: Fix compile time warnings.
14894         * config/arm/arm.c: Fix compile time warnings.
14895         * config/arm/pe.h: Fix compile time warnings.
14896         * config/arm/aout.h: Fix compile time warnings.
14897
14898 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
14899
14900         * config/m32r/m32r-protos.h: New file: Prototypes for functions
14901         defined in m32r.c
14902
14903         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
14904         Add support for subtargets.
14905         Add prototypes for new predicates.
14906         Add scheduling macros.
14907
14908         * config/m32r/m32r.c: Fix compile time warnings.
14909         (int8_operand): New predicate function.
14910         (reg_or_cmp_int16_operand): New predicate function.
14911         (extend_operand): New predicate function.
14912         (m32r_adjust_code): New scheduling function.
14913         (m32r_adjust_priorty): New scheduling function.
14914         (m32r_sched_init): New scheduling function.
14915         (m32r_sched_reorder): New scheduling function.
14916         (m32r_sched_variable_issue): New scheduling function.
14917         (direct_return): New codegen function.
14918         (m32r_not_same_reg): New rtl testsing function.
14919
14920         * config/m32r/m32r.md: Fix compile time warnings.
14921         Add support for pre decrement and post increment memory
14922         references.
14923         Add S<cc> patterns.
14924         Add fabs patterns.
14925
14926 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14927
14928         * global.c (EXECUTE_IF_CONFLICT): Don't define.
14929         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
14930         (find_reg): Likewise.
14931
14932 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
14933
14934         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
14935         to avoid assembler errors.
14936
14937 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
14938
14939         * config/v850/v850-protos.h: New file: Prototypes for functions
14940         defined in v850.c
14941         * config/v850/v850.h: Move prototypes to v850-protos.h
14942         * config/v850/v850.c: Move prototypes to v850-protos.h
14943         * config/v850/v850.md: Fix compile time warnings.
14944
14945         * config/fr30/fr30-protos.h: New file: Prototypes for functions
14946         defined in fr30.c
14947         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
14948         * config/fr30/fr30.c: Fix compile time warnings.
14949         * config/fr30/fr30.md: Fix compile time warnings.
14950
14951 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
14952
14953         * tree.h (get_containing_scope): Declare it.
14954         * tree.c (get_containing_scope): New fucntion.
14955         (decl_function_context): Use it.
14956         * toplev.c (rest_of_compilation): Use get_containing_scope.
14957
14958 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14959
14960         * Makefile.in (rtl.o): Depend on toplev.h.
14961
14962 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
14963
14964         * cse.c (delete_trivially_dead_insns): Replace alloca with
14965         xmalloc/xcalloc.
14966         * except.c (update_rethrow_references): Likewise.
14967         (init_eh_nesting_info): Likewise.
14968         * function.c (identify_blocks): Likewise.
14969         * gcse.c (dump_hash_table): Likewise.
14970         * graph.c (print_rtl_graph_with_bb): Likewise.
14971         * loop.c (combine_movables): Likewise.
14972         (move_movables): Likewise.
14973         (count_loop_regs_set): Likewise.
14974         (strength_reduce): Likewise.
14975         * profile.c (compute_branch_probabilities): New function, split
14976         out from ...
14977         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
14978         * regclass.c (regclass): Likewise.
14979         * regmove.c (regmove_optimize): Likewise.
14980         * toplev.c (compile_file): Likewise.
14981         (main): Don't mess with the stack rlimit.
14982
14983 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
14984
14985         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
14986         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
14987
14988 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
14989
14990         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
14991
14992 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
14993
14994         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
14995         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
14996         macro expansion.
14997
14998 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
14999
15000         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
15001
15002 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
15003
15004         * gcse.c (post_dominators): Kill.
15005         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
15006         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
15007         pass in a pdom array since we do not need pdoms.
15008         * haifa-sched.c (schedule_insns): Similarly.
15009         * flow.c (compute_dominators): Remove dead function.
15010         (compute_flow_dominators): Do not compute doms or pdoms if the
15011         caller does not request them.  Split up loop to build doms and
15012         pdoms.  Use a worklist to compute doms and pdoms.
15013         * basic-block.h (compute_dominators): Remove prototype.
15014
15015 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
15016
15017         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
15018         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
15019         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
15020         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
15021         (cant_move, fed_by_spec_load, is_load_insn): Remove.
15022         (schedule_region): Remove unused variable.
15023         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
15024
15025 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
15026
15027         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
15028         (update_equiv_regs): Likewise.
15029         (block_alloc): Likewise.
15030         * reg-stack.c (reg_to_stack): Likewise.
15031         (convert_regs_2): Likewise.
15032         * reload1.c (reload_as_needed): Likewise.
15033
15034 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
15035
15036         * Makefile.in (dbxout.o): Depend on ggc.h.
15037         (dwarf2out.o): Likewise.
15038         (xcoffout.o): Likewise.
15039         * dbxout.c: Include ggc.h.
15040         (dbxout_init): Register lastfile as a root.
15041         * dwarf2out.c: Include ggc.h.
15042         (dwarf2out_line): Register lastfile as a root.
15043         * xcoffout.c: Include ggc.h.
15044         (xcoffout_source_line): Register xcoff_lastfile as a root.
15045
15046 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
15047
15048         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
15049
15050 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
15051
15052         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
15053         defined.
15054         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
15055
15056 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15057
15058         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
15059         (EXECUTE_IF_CONFLICT): Likewise.
15060         (ALLOCNO_LIVE_P): Avoid signed division.
15061         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
15062         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
15063         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
15064
15065 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
15066
15067         * haifa-sched.c (schedule_block): Don't crash if there's no
15068         next insn for an interblock movement.
15069         (add_branch_dependences): Don't allow clobber insns to move either.
15070
15071 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
15072
15073         * i386.c (split_xf): New.
15074         * i386-protos.h: Declare it.
15075         * i386.md (movxf_1): Add general regs alternatives.
15076         (movxf_1+1): New splitter for same.
15077
15078 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
15079
15080         * function.c (purge_addressof_1): Add missing return values.
15081
15082 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
15083
15084         * function.c (is_addressof): New function.  Returns true if
15085         the given piece of RTL is an ADDRESSOF.
15086         (purge_addressof_1): Make boolean.  Return false if the
15087         ADDRESSOFs could not be purged.
15088         (purge_addressof): If ADDRESSOFs could not be purged from the
15089         notes attached to an insn, remove the offending note(s),
15090         unless they are attached to a libcall.
15091
15092 1999-11-05  Andreas Jaeger  <aj@suse.de>
15093
15094         * genoutput.c (null_operand =): Initialize all fields.
15095
15096         * errors.h: Add extern to prototypes.
15097
15098 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
15099
15100         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
15101         * configure: Rebuilt.
15102
15103 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15104
15105         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
15106         (mirror_conflicts): New function.
15107         (global_alloc): Call it.
15108         (expand_preferences): Remove redundant CONFLICTP test.
15109         (find_reg, dump_conflicts): Likewise.
15110         (prune_preferences): Process conflicts one word at a time.
15111
15112 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
15113
15114         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
15115         instead of an explicit loop.
15116
15117 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
15118
15119         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
15120         if REG_RETVAL check succeeds, then put classp in src_elt.
15121
15122 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
15123
15124         * function.c (pad_to_arg_alignment): Only update argument_pad
15125         if the argument's alignment is greater than STACK_BOUNDARY.
15126
15127 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
15128
15129         * bitmap.h (BITMAP_XFREE): New.
15130         * flow.c (life_analysis): Use it.
15131         (life_analysis_1): Free blocks.
15132
15133         * combine.c (undo_commit): New.
15134         (try_combine): Use it.  Don't zap undobuf.undos.
15135         (combine_instructions): Don't zap undobuf.undos; free the
15136         undobuf.frees list.
15137
15138         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
15139
15140         * stmt.c (cost_table_): New.
15141         (estimate_case_costs): Use it instead of xmalloc.
15142
15143         * toplev.c (compile_file): Reuse dumpname memory instead
15144         of strdup'ing it.
15145
15146 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
15147
15148         * reg-stack.c (convert_regs_1): Initialize target_stack->top
15149         after verifying an EH edge.
15150
15151         * haifa-sched.c (init_rgn_data_dependences): Correctly
15152         size bb_pending_lists_length when zeroing.
15153
15154 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
15155
15156         * function.c (diddle_return_value): New.
15157         (expand_function_end): Use it.
15158         * stmt.c (expand_null_return): Likewise.
15159         (expand_value_return): Likewise.
15160
15161         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
15162
15163         * reload1.c (reload): Don't remove return value clobbers.
15164
15165 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
15166
15167         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
15168
15169 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
15170
15171         * cse.c (cse_main): Use xmalloc, not alloca.
15172         (cse_basic_block): Likewise.
15173         * local-alloc.c (local_alloc): Likewise.
15174
15175 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
15176                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15177
15178         * rtl.c: Include toplev.h.
15179         (fatal): Remove declaration.
15180
15181 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
15182
15183         * haifa-sched.c (schedule_block): Fix thinko.
15184
15185 1999-11-03  James McKelvey <mckelvey@fafnir.com>
15186
15187         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
15188         S_IR* defined values
15189
15190 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
15191
15192         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
15193         call `malloc' instead.
15194
15195 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
15196
15197         * flags.h (flag_renumber_insns): Declare.
15198         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
15199         renumbering table.
15200         * rtl.h (renumber_insns): Change prototype.
15201         * toplev.c (flag_renumber_insns): Define.
15202         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
15203
15204 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
15205
15206         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
15207         and fpsqrtd.  Use them and create fdiv function unit to more
15208         accurately represent fpu sqrt pipeline semantics on UltraSparc.
15209         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
15210
15211 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
15212
15213         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
15214         3 on UltraSparc.
15215         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
15216         insn into ready list, do not use just a raw swap.
15217
15218 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
15219
15220         * rtl.h (renumber_insns): New function.
15221         (remove_unnecessary_notes): Likewise.
15222         * emit-rtl.c (renumber_insns): Define.
15223         (remove_unncessary_notes): Likewise.
15224         * toplev.c (rest_of_compilation): Remove dead code.
15225         Use renumber_insns and remove_unncessary_notes.
15226
15227         * gcse.c (struct null_pointer_info): New type.
15228         (get_bitmap_width): New function.
15229         (current_block): Remove.
15230         (nonnull_local): Likewise.
15231         (nonnull_killed): Likewise.
15232         (invalidate_nonnull_info): Take a null_pointer_info as input.
15233         (delete_null_pointer_checks_1): New function.
15234         (delete_null_pointer_checks): Use it.
15235
15236         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
15237         (split_edges): Likewise.
15238         (schedule_block): Likewise.
15239         (compute_block_backward_dependencies): Likewise.
15240         (schedule_region): Likewise.
15241         (schedule_insns): Likewise.
15242
15243 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
15244
15245         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
15246         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
15247         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
15248         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
15249         * jump.c (delete_unreferenced_labels): Don't delete if
15250         LABEL_ALTERNATE_NAME is set.
15251         * print-rtl.c (print_rtx): Dump alternate name.
15252         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
15253         * rtl.h (LABEL_ALTERNATE_NAME): Define.
15254         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
15255         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
15256
15257 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15258
15259         * fix-header.c (recognized_extern, recognized_function): Constify
15260         a char*.
15261
15262         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
15263         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
15264         (compute_available): Remove unused variable `last'.
15265         (compute_nearerout): Remove unused variable `temp_bitmap'.
15266         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
15267         Remove unused variable `x'.
15268
15269         * scan.h (recognized_function, recognized_extern): Constify a
15270         char*.
15271
15272         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
15273
15274 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15275
15276         * varasm.c (decode_rtx_const): Use XSTR to access the string
15277         of a SYMBOL_REF.
15278
15279 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
15280
15281         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
15282
15283 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15284
15285         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
15286
15287 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
15288
15289         * pa.c (ireg_operand): New function.
15290         * pa.h (PREDICATE_CODES): Handle ireg_operand.
15291         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
15292         Fix out of date comment.
15293
15294         * pa.md (negdi2): Turn into expander + anonymous pattern.
15295
15296         * reload.c (find_reloads): Fix typos in recent change.
15297
15298         * dwarf2out.c: Do not include ctype.h.
15299
15300 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15301
15302         * regclass.c (record_reg_classes): Always use may_move_cost when
15303         seeing how operand fits with various register classes.
15304
15305 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
15306
15307         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
15308         * toplev.c: Revert Nov 1 13:22 change.
15309
15310 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
15311
15312         * config/pa/pa.md (height reduction patterns): Add checks for
15313         overlapping operands to avoid semantic-destroying splits for
15314         height reduction patterns.
15315
15316 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15317
15318         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
15319         have been an hyphen, fixed.
15320         * configure: Rebuilt.
15321
15322 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
15323
15324         * config/arm/tpe.h: Add prototypes for exported functions.
15325         * config/arm/pe.c: Fix compile time warnings.
15326         * config/arm/semi.h: Fix compile time warnings.
15327         * config/arm/arm.c: Fix compile time warnings.
15328         * config/arm/arm.h: Fix compile time warnings.
15329         * config/arm/arm.md: Fix compile time warnings.
15330         * config/arm/thumb.c: Fix compile time warnings.
15331         * config/arm/thumb.h: Fix compile time warnings.
15332         * config/arm/thumb.md: Fix compile time warnings.
15333
15334 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
15335
15336         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
15337         detection code
15338
15339         * unroll.c (unroll_loop): Remove LOOP notes when loop is
15340         completely unrolled.
15341
15342 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15343
15344         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
15345
15346 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
15347
15348         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
15349         * rtl.h (rtx_equal_p): Move prototype.
15350         * rtl.c (rtx_equal_function_value_matters): Move from
15351         rtlanal.c
15352         (rtx_equal_p): Likewise.
15353         * rtlanal.c (rtx_equal_function_value_matters): Delete.
15354         (rtx_equal_p): Likewise.
15355
15356 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
15357
15358         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
15359         ! HAS_INIT_SECTION.
15360
15361 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
15362
15363         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
15364
15365         * pa.h (ADDR_VEC_ALIGN): Define.
15366
15367         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
15368         notes when presented with "if (foo) break; end_of_loop" and
15369         the break sequence gets moved out of the loop.
15370
15371         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
15372         Remove explicit zero initializations of entries within MAP.
15373
15374 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
15375
15376         * reg-stack.c (convert_regs_1): Handle EH edges specially.
15377
15378 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
15379
15380         * bitmap.h (BITMAP_XMALLOC): New macro.
15381         * flow.c (CLEAN_ALLOCA): Remove.
15382         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
15383         (life_analysis): Likewise.
15384         (update_life_info): Don't use CLEAN_ALLOCA.
15385         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
15386         (calculate_global_regs_live): Likewise.
15387         (print_rtl_with_bb): Likewise.
15388         (verify_flow_info): Likewise.
15389         * global.c (global_alloc): Likewise.
15390         (global_conflicts): Likewise.
15391         * integrate.c (save_for_inline_nocopy): Likewise.
15392         (expand_inline_function): Likewise.
15393         * jump.c (jump_optimize_1): Likewise.
15394         (duplicate_loop_exit_test): Likewise.
15395         (thread_jumps): Likewise.
15396         * loop.c (loop_optimize): Likewise.
15397         (combine_givs): Likewise.
15398         (recombine_givs): Likewise.
15399         * reorg.c (dbr_schedule): Likewise.
15400         * unroll.c (unroll_loop): Likewise.
15401
15402         * combine.c (combine_instructions): Use xmalloc instead of alloca.
15403
15404 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
15405
15406         * toplev.c (rest_of_compilation): Don't optimize the CFG
15407         when rebuilding, just before dbr.
15408
15409 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15410
15411         * output.h (assemble_end_function, assemble_destructor,
15412         assemble_constructor, assemble_gc_entry, assemble_global,
15413         assemble_label, output_constant_pool) Constify a char*.
15414
15415         * varasm.c (assemble_destructor, assemble_constructor,
15416         assemble_gc_entry, assemble_end_function, assemble_global,
15417         assemble_label, output_constant_pool): Likewise.
15418
15419 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
15420
15421         * config/arm/thumb.c (thumb_expand_prologue): Add comments
15422         explaining what is goin on in this function.
15423
15424 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15425
15426         * regclass.c (record_reg_classes): In matching case, recompute
15427         costs since the direction of movement is different.
15428
15429 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
15430
15431         * resource.c (mark_target_live_regs): For unconditional branches,
15432         the resources found at the branch target should be added to the
15433         resources found so far, not intersected.
15434
15435 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
15436
15437         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
15438         old cpp's.
15439         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
15440         (sys/mman.h): Include this file only if #HAVE_MMAP.
15441         (run_compiles): Initialize `esac_fmt' with one old KR string, not
15442         with automatically concatenated ANSI strings.
15443
15444 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
15445
15446         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
15447         (DIV_ROUND_UP): Robustify.
15448         (ggc_recalculate_in_use_p): New function.
15449         (release_pages): Don't inline it.
15450         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
15451         outer contexts.
15452         (ggc_pop_context): Use ggc_recalculate_in_use_p.
15453         (clear_marks): Always save in_use_p.
15454         (sweep_pages): Use ggc_recalculate_in_use_p.
15455         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
15456         Release pages before counting statistics.
15457
15458 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
15459
15460         * toplev.c (rest_of_compilation): Fix thinko in this change:
15461
15462         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
15463
15464         (rest_of_compilation): If inside an inlined external function,
15465         pretend we are just being declared.
15466
15467 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
15468
15469         * flow.c (calculate_global_regs_live): Fix thinko.
15470
15471         * integrate.c (expand_inline_function): Fix bugs in previous
15472         change from Oct 28, 1999.
15473
15474 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
15475
15476         * stmt.c (expand_value_return): Fix typo in this change:
15477
15478         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15479         (expand_value_return): Correctly convert VAL when promoting function
15480         return; support RETURN_REG being a PARALLEL.
15481
15482 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
15483
15484         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
15485
15486 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15487
15488         * hard-reg-set.h (reg_names): Constify a char*.
15489
15490         * regclass.c  (reg_names): Likewise.
15491
15492         * regs.h (reg_names): Likewise
15493
15494         * a29k/a29k.c (reg_names): Delete declaration.
15495
15496         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
15497
15498         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
15499         arc_output_function_epilogue): Likewise.
15500
15501         * elxsi/elxsi.c (reg_names): Likewise.
15502
15503         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
15504
15505         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
15506         Likewise.
15507
15508         * m88k/m88k.c (output_function_profiler): Likewise.
15509
15510         * sparc/sparc.c (sparc_flat_output_function_prologue,
15511         sparc_flat_output_function_epilogue): Likewise.
15512
15513 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
15514
15515         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
15516         warning from -Wuninitialized and put it under -W.
15517         * function.c (uninitialized_vars_warning): Warn only when the
15518         corresponding flag is set.
15519
15520 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
15521
15522         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
15523         is nonzero and the single set does not have an elt, then assign
15524         it an elt.
15525
15526         * simplify-rtx.c: New file.
15527         * Makefile.in (OBJS): Add simplify-rtx.o
15528         (simplify-rtx.o): Add dependencies.
15529         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
15530         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
15531         (cse_gen_binary, simplify_unary_operation): Delete.
15532         (simplify_binary_operation, simplify_plus_minus): Likewise.
15533         (check_fold_consts, simplify_relation_operation): Likewise.
15534         (simplify_ternary_operation): Likewise.
15535         (delete_trivially_dead_insns): Simplify the contents of the
15536         REG_EQUAL note before trying to substitute it into the source
15537         of the reg-reg copy at the end of a libcall sequence.
15538
15539         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
15540         references/callers changed.
15541
15542         * mn10200.c (mn10200_va_arg): Force the return value into a
15543         register.
15544
15545         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
15546
15547         * cccp.c (macroexpand): Avoid out of range accesses for omitted
15548         arguments.
15549
15550 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
15551
15552         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
15553
15554 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
15555
15556         * fold-const.c (fold): Fix thinko when optimizing comparisons
15557         against -0.0.
15558
15559 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
15560
15561         * gcc.texi (Passes): Update front-end files to their current
15562         location.
15563
15564 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
15565
15566         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
15567         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
15568         (PREDICATE_CODES): Add addition_operation.
15569         * alpha-protos.h (addition_operation): Declare.
15570         (secondary_reload_class): Likewise.
15571         * alpha.c (addition_operation): New.
15572         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
15573         * alpha.md (adddi3): Turn into expander.
15574         (*lda, *adddi_2): New.
15575         (movsf, movdf patterns): Don't preference integer regs.
15576         (movsi, movdi patterns): Don't preference fp regs.
15577
15578 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
15579
15580         * genrecog.c (write_switch): Check for duplicate CODE cases.
15581
15582 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
15583
15584         * ggc-common.c: Update pre-function commentary.
15585         * ggc-page.c: Likewise.
15586         (poison): Remove.
15587         (poison_pages): Use memset directly.
15588         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
15589         (ggc_collect): Poison before sweeping.
15590         * ggc-simple.c: Update pre-function commentary.
15591         (ggc_alloc_obj): Poison non-zeroed memory.
15592
15593 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
15594
15595         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
15596         match format string, even on 64-bit hosts.
15597         * gcc-page.c (ggc_page_print_statistics): Likewise.
15598
15599 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
15600
15601         * config/i386/i386.c (ix86_cpu): Revert last patch.
15602         * config/i386/i386.h (ix86_cpu): Ditto.
15603
15604 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
15605
15606         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
15607         TYPE_SIZE, convert type of result to sizetype.
15608
15609 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
15610
15611         * flow.c (count_or_remove_death_notes): Equate NULL with the
15612         universal set.
15613
15614         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
15615         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
15616         dbr_schedule.
15617
15618         * i386.c (pic_label_no): Delete.
15619         (ix86_attr_length_default): Don't use single_set to peek
15620         inside a parallel.
15621
15622         * recog.c (peephole2_optimize): Allow recog_next_insn to index
15623         the first insn after bb->end.
15624         * i386.md (push mem peeps): Scratch is live after evaluation
15625         of the memory.
15626         (cmp mem peep): Similarly.
15627
15628 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
15629
15630         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
15631         * function.c (pad_to_arg_alignment): Add missing braces.
15632
15633 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15634
15635         * alpha/alpha-protos.h (literal_section): Add prototype.
15636         (alpha_need_linkage, alpha_start_function,alpha_end_function):
15637         Constify a char*.
15638
15639         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
15640         prototype.
15641         (alpha_start_function, alpha_end_function, float_strings,
15642         alpha_need_linkage): Constify a char*
15643
15644         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
15645
15646         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
15647
15648         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
15649
15650         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
15651
15652 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15653
15654         * flow.c (debug_flow_info): Add prototype.
15655
15656         * gcc.c (main): Likewise.
15657
15658         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
15659         Likewise.
15660
15661         * reload1.c (failed_reload, set_reload_reg): Likewise.
15662
15663         * mips-tfile.c (main): Likewise.
15664         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
15665         with ATTRIBUTE_NORETURN.
15666
15667 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
15668
15669         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
15670         DECL is not a memory ref.
15671
15672 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
15673
15674         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
15675         * config/i386/i386.c (ix86_cpu): Add extern attribute.
15676
15677 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
15678
15679         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
15680         * config/mips/elf64.h: ditto.
15681
15682 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
15683
15684         * expr.c (emit_push_insn): New argument alignment_pad.
15685         Update all callers.  Adjust stack pointer based on alignment pad.
15686         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
15687         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
15688         (locate_and_pad_parm): New argument alignment_pad.  Update all
15689         callers.
15690         * expr.h (emit_push_insn): Update prototype.
15691         (locate_and_pad_parm): Update prototype.
15692         * calls.c (arg_data):  Add new field alignment_pad.
15693         (initialize_argument_information): Initialize alignment_pad.
15694
15695 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
15696
15697         * except.c (free_eh_nesting_info): Free the info itself.
15698         * function.c (free_after_compilation): Don't free NULL.
15699         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
15700         (pre_edge_insert): Free inserted.
15701         * stmt.c (free_stmt_status): Don't free NULL.
15702
15703 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
15704
15705         * gcov.c (DIR_SEPARATOR): Provide default.
15706         (output_data): Add test for MS-DOS format absolute filename.
15707         (fancy_abort): Correct program name.
15708         (open_files): Open all files in binary mode.
15709         * libgcc2.c (__bb_exit_func): Likewise.
15710
15711         * profile.c (init_branch_prob): Specify binary when opening files.
15712
15713         * flags.h (flag_unwind_tables): New decl.
15714         * toplev.c (flag_unwind_table): New definition.
15715         (f_options): Add -funwind-tables.
15716         (decode_g_option): Clarify warning when unknown -g option is given.
15717         (rest_of_compilation): If inside an inlined external function,
15718         pretend we are just being declared.
15719
15720         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
15721         (dwarf2out_frame_finish): Likewise.
15722
15723 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
15724
15725         * fold-const.c (merge_ranges): If not in0, but in1, handle
15726         upper bounds equal like subset case.
15727
15728 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
15729
15730         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
15731         passed in a register but moved to the stack.
15732
15733 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
15734
15735         * gcc.c (pass_exit_codes, greatest_status): New variables.
15736         (struct option_map): Add entry for "--pass-exit-codes".
15737         (execute): Update greatest_status if error.
15738         (display_help): Add documentation for -pass-exit-codes.
15739         (process_command): Handle -pass-exit-codes.
15740         (main): Look at pass_exit_codes and greatest_status on call to exit.
15741
15742 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15743
15744         * reload.c (find_reloads): Refine test for no input reload
15745         case to not includes reloads emitted after insn.
15746
15747         * function.c (find_temp_slots_from_address): Handle sum involving
15748         a register that points to a temp slot.
15749         (update_temp_slot_address): Make recursive call if both old and
15750         new are PLUS with a common operand.
15751         * calls.c (expand_call): Mark temp slot for result as having
15752         address taken.
15753
15754         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
15755
15756         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
15757         component as well as "BINUTILS".
15758
15759         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
15760         * integrate.c (copy_rtx_and_substitute): Likewise.
15761         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
15762         All callers changed.
15763         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
15764
15765         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
15766         gdb extensions, write size of type; also be more consistent
15767         in using references when this is a subtype.
15768
15769         * pa.md (extv, extzv, insv): Use define_expand to reject constant
15770         that is out of range.
15771
15772         * loop.c (unknown_constant_address_altered): New variable.
15773         (prescan_loop): Initialize it.
15774         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
15775         (invariant_p, case MEM): Remove handling for volatile and readonly;
15776         check new variable if readonly.
15777         (check_dbra_loop): Chdeck unknown_constant_address_altered.
15778
15779         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
15780         (addr_affects_sp_p): Removed from note_mem_written and only
15781         define #ifdef AUTO_INC_DEC.
15782
15783         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
15784
15785         * regclass.c (record_reg_classes): Properly handle register move
15786         directions.
15787
15788         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
15789         Don't think valid if both operands are invalid.
15790         (struct constant_descriptor): New field RTL.
15791         (mark_const_hash_entry): Mark it.
15792         (record_constant{,_rtx}): Initialize it.
15793         (output_constant_def): Allocate RTL in permanent obstack and
15794         save in table.
15795         ({record,compare}_constant_1): Modes must match for
15796         CONSTRUCTOR of ARRAY_TYPE.
15797
15798         * c-common.h (initializer_constant_valid_p): Delete decl from here.
15799         * output.h (initializer_constant_valid_p): Move decl to here.
15800         * c-common.c (initializer_constant_valid_p): Delete function from here.
15801         * varasm.c (initializer_constant_valid_p): Move function to here.
15802
15803         * tree.h (STRIP_SIGN_NOPS): New macro.
15804         * fold-const.c (optimize_minmax_comparison): New function.
15805         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
15806         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
15807         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
15808         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
15809         widening conversions.
15810         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
15811         to look at size of mode, not precision of type; also add missing cases.
15812         (optimize_bit_field_compare, decode_field_reference): Don't try to
15813         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
15814
15815         * dwarf2out.c (ctype.h): Include.
15816         (dwarf2out_set_demangle_name_func): New function.
15817         (size_of_line_info): Deleted.
15818         (output_line_info): Compute size of line info table from difference
15819         of labels.
15820         (base_type_die, add_name_attribute): Call demangle function, if any.
15821         (field_byte_offset): Use bits per word for variable length fields.
15822         (gen_array_type_die): Add array name.
15823         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
15824         (dwarf2out_add_library_unit_info): New function.
15825
15826         * explow.c (set_stack_check_libfunc): New function.
15827         (stack_check_libfunc): New static variable.
15828         (probe_stack_range): Allow front-end to set up a libfunc to call.
15829
15830         * combine.c (simplify_comparison): When making comparison in wider
15831         mode, check for having commuted an AND and a SUBREG.
15832         (contains_muldiv): New function.
15833         (try_combine): Call it when dividing a PARALLEL.
15834         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
15835         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
15836         a PLUS.
15837         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
15838         use one of the CLOBBERs instead.
15839         (if_then_else_cond): If comparing against zero, just return thing
15840         being compared.
15841
15842         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
15843         Don't generate shifts and subtract if have conditional arithmetic.
15844
15845         * rtl.h (delete_barrier): New declaration.
15846         * jump.c (jump_optimize): Set up to handle conditional call.
15847         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
15848         (delete_barrier): New function.
15849
15850         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
15851
15852         * recog.c (nonmemory_operand): Accept ADDRESSOF.
15853
15854         * tree.c (build_type_attribute_variant): Push to obstack of
15855         ttype around type_hash_canon call.
15856
15857         * expr.c (placeholder_list): Move decl to file scope.
15858         (expand_expr): Don't force access to volatile just because its
15859         address is taken.
15860         If ignoring reference operations, just expand the operands.
15861         (expand_expr, case COMPONENT_REF): Propagate
15862         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
15863         Refine test for using bitfield operations vs pointer punning.
15864         (expand_expr, case CONVERT_EXPR): If converting to
15865         BLKmode UNION_TYPE from BLKmode, just return inner object.
15866         Use proper mode in store_field call.
15867         Properly set sizes of object to store and total size in store_field
15868         call for convert to union.
15869         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
15870         memory (like for ADDR_EXPR).  Also, don't put constant in register if
15871         we'll want it in memory.
15872         (readonly_fields_p): New function.
15873         (expand_expr, case INDIRECT_REF): Call it if LHS.
15874         (expand_assignment): Handle a RESULT_DECL where
15875         DECL_RTL is a PARALLEL.
15876         (do_jump, case WITH_RECORD_EXPR): New case.
15877         (get_inner_reference): Always go inside a CONVERT_EXPR
15878         and NOP_EXPR if both modes are the same.
15879         (store_field): Use bitfield operations if size of bitsize is not same
15880         as size of RHS's type.
15881         Check for bitpos not a multiple of alignment in BLKmode case.
15882         Do block move in largest possible alignment.
15883         (store_constructor): Set BITSIZE to -1 for variable size and properly
15884         in case of array of BLKmode.
15885         (expand_expr_unaligned): New function.
15886         (do_compare_and_jump): Call it.
15887
15888         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
15889         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
15890         does not include 'o'.
15891
15892         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
15893         both SET_DEST and SET_SRC reference a virtual register.
15894         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
15895
15896         * integrate.c (expand_inline_function): Handle case of setting
15897         virtual stack vars register (from built in setjmp); when parameter
15898         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
15899         (subst_constant): Add new parm, MEMONLY.
15900         (expand_inline_function, integrate_parm_decls): Pass new parm.
15901         (integrate_decl_tree): Likewise.
15902         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
15903         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
15904         (copy_rtx_and_substitute, case SET): Add explicit calls to
15905         copy_rtx_and_substitute for both sides.
15906
15907         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
15908         constraints.
15909         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
15910         within INDEX_TYPE, instead of before.
15911         (fixup_gotos): Use f->target_rtl, not the next insn,
15912         since latter may be from a later fixup.
15913         (expand_value_return): Correctly convert VAL when promoting function
15914         return; support RETURN_REG being a PARALLEL.
15915         (expand_return): When checking for result in regs and having
15916         cleanup, consider PARALLEL in DECL_RTL as being in regs.
15917
15918 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
15919
15920         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
15921         last_nominal_fname): Mark const.
15922         (struct include_hash: name, nshort, control_macro): Mark
15923         const.
15924         (struct macrodef: symnam): Mark const.
15925         (struct if_stack: fname): Mark const.
15926         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
15927         (IStable): New character-syntax array which encompasses all
15928         the old is_foo arrays.
15929         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
15930         is_space): New macros for interrogating IStable.
15931         (check_macro_name): Kill last argument.  All callers changed.
15932
15933         * cppinit.c (initialize_char_syntax): Delete.
15934         (is_idchar, is_idstart, is_hor_space, is_space,
15935         trigraph_table): Delete.
15936         (IStable): New.  Initialize with clever macros to avoid
15937         information duplication.
15938         (builtin_array): Table of builtins to get rid of explicit list
15939         in initialize_builtins.
15940         (initialize_builtins): Use builtins_array.
15941         (cpp_start_read): Call init_IStable, and set IStable['$'] if
15942         opts->dollars_in_ident.
15943
15944         * cppexp.c: Change all refs to is_xyz[] arrays to use new
15945         is_xyz() macros.
15946         (cpp_parse_expr): Avoid 'format string is not constant'
15947         warning. Use ISGRAPH to identify printable chars.
15948         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
15949         is_xyz() macros.
15950         (read_and_prescan): Map trigraphs to chars with open-coded
15951         if-else-if-... sequence, not a lookup table.
15952         * cpphash.c: Change all refs to is_xyz[] arrays to use new
15953         is_xyz() macros.
15954         * cpplib.c: Change all refs to is_xyz[] arrays to use new
15955         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
15956         (check_macro_name): Remove ability to report an invalid
15957         assertion name, which is never used.
15958         (do_line): Constify a couple of char *'s.
15959         * cppmain.c (main): Call cpp_cleanup before returning.
15960
15961 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
15962
15963         * ggc.h (struct ggc_statistics): New type.
15964         (ggc_get_size): New function.
15965         (ggc_print_statistics): Likewise.
15966         * ggc-common.c (ggc_stats): New variable.
15967         (ggc_mark_rtx_children): Keep statistics.
15968         (ggc_mark_tree_children): Likewise.
15969         (ggc_print_statistics): New function.
15970         * ggc-page.c (struct globals): Add bytes_mapped field.
15971         (alloc_anon): Update it.
15972         (release_pages): Likewise.
15973         (ggc_get_size): New function.
15974         (ggc_page_print_statistics): New function.
15975         * ggc-simple.c (ggc_get_size): New function.
15976
15977 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
15978
15979         * flow.c (propagate_block): When the last reference to a label
15980         before an ADDR_VEC is deleted because the reference is a dead
15981         store, delete the ADDR_VEC.
15982
15983 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
15984
15985         * resource.c (find_free_register): Don't use the frame pointer
15986         if frame_pointer_needed.
15987
15988 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
15989
15990         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
15991         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
15992
15993         * config/i960/i960.c (i960_va_start): New locals base, num.
15994         Use INDIRECT_REF instead of ARRAY_REF on valist.
15995         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
15996
15997 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
15998
15999         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
16000
16001 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
16002
16003         * tree.def (PLACEHOLDER_EXPR): Update comments.
16004
16005 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16006
16007         * c-common.c (check_format_info): Avoid non-literal format string
16008         warnings when `first_arg_num' is zero.
16009
16010 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16011
16012         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
16013
16014 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
16015
16016         * arm.md (casesi_insn): Add a clobber of the condition code
16017         register.
16018
16019 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
16020
16021         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
16022         used by both cc1 and cc1plus.
16023
16024 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
16025
16026         * config/arm/arm.c: Initialise arm_structure_size_boundary to
16027         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
16028         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
16029         to the value 32 if it has not already been defined.
16030         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
16031         Override definition in arm.h with a value of 8.
16032
16033 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
16034
16035         * c-pragma.c (push_alignment): Don't check the return value
16036         of xmalloc.
16037
16038 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
16039
16040         * sparc.h (ADJUST_COST): Fix thinko.
16041
16042 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
16043
16044         * cccp.c (rescan): Fixed obp pointer handling around call to
16045         check_expand subroutine.
16046
16047 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
16048
16049         * gcse.c (delete_null_pointer_checks): Only record non-null info
16050         for pseudos when examining stores.
16051
16052         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
16053         splitters for these patterns.  Use "#" for output templates.
16054         (addsi3_carryin_shift): New pattern.
16055
16056 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
16057
16058         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
16059         of the function return register into a plain REG until
16060         after function inlining is done.
16061
16062 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
16063
16064         * jump.c (jump_optimize_1): If we did cross-jumping, and
16065         the data will matter, rebuild the CFG.
16066         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
16067         not optimizing.  Don't run shorten_branches.
16068         * toplev.c (rest_of_compilation): Run shorten_branches after
16069         reg_to_stack.
16070
16071 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
16072
16073         * rtl.h (note_stores): Add additional paramter.
16074         * rtlanal.c (reg_set_p_1): Take additional paramter.
16075         (reg_set_last_1): Likewise.
16076         (reg_set_p): Adjust call to note_stores.
16077         (reg_set_last): Likewise.
16078         (note_stores): Pass data parameter to worker function.
16079         * alias.c (record_set): Take additional parameter.
16080         (init_alias_analysis): Pass it.
16081         * caller-save.c (mark_set_regs): Take additional parameter.
16082         (save_call_clobbered_regs): Pass NULL to note_stores.
16083         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
16084         parameter.
16085         (record_dead_and_set_regs_1): Likewise.
16086         (reg_dead_at_p_1): Likewise.
16087         (combine_instructions): Adjust calls to note_stores.
16088         (try_combine): Likewise.
16089         (record_dead_insn): Remove.
16090         (record_dead_and_set_regs): Adjust calls to note_stores.
16091         (reg_dead_at_p): Likewise.
16092         * cse.c (invalidate_skipped_set): Take additional parameter.
16093         (cse_check_loop_start): Likewise.
16094         (cse_check_loop_start_value): Remove.
16095         (cse_set_around_loop): Adjust calls to note_stores.
16096         * flow.c (notice_stack_pointer_modification): Take additional
16097         parameter.  Remove duplicate declaration.
16098         (record_volatile_insns): Adjust calls to note_stores.
16099         * gcse.c (record_set_info): Take additional parameter.
16100         (record_last_set_info): Likewise.
16101         (invalidate_nonnull_info): Likewise.
16102         (record_set_insn): Remove.
16103         (compute_sets): Adjust calls to note_stores.
16104         (last_set_insn): Remove.
16105         (compute_hash_table): Adjust calls to note_stores.
16106         (insert_insn_end_bb): Likewise.
16107         (delete_null_pointer_checks): Likewise.
16108         * global.c (mark_reg_store): Take additional parameter.
16109         (mark_reg_clobber): Likewise.
16110         (reg_becomes_live): Likewise.
16111         (global_conflicts): Adjust calls to note_stores.
16112         (build_insn_chain): Likewise.
16113         * integrate.c (note_modified_parmregs): Take additional parameter.
16114         (mark_stores): Likewise.  Make it static.
16115         (save_for_inline_nocopy): Adjust calls to note_stores.
16116         (try_constants): Likewise.
16117         * integrate.h (mark_stores): Remove declaration.
16118         * jump.c (mark_modified_reg): Take additional parameter.
16119         (thread_jumps): Adjust calls to note_stores.
16120         * local-alloc.c (validate_equiv_mem_from_store): Take additional
16121         parameter.
16122         (no_equiv): Likewise.
16123         (reg_is_set): Likewise.
16124         (validate_equiv_mem): Adjust calls to note_stores.
16125         (update_equiv_regs): Likewise.
16126         (block_alloc): Likewise.
16127         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
16128         (note_addr_stored): Take additional parameter.
16129         (note_set_pseudo_multiple_uses): Likewise.
16130         (record_initial): Likewise.
16131         (prescan_loop): Adjust calls to note_stores.
16132         (strength_reduce): Likewise.
16133         (check_dbra_loop): Likewise.
16134         * regmove.c (flags_set_1): Take additional paramter.
16135         (mark_flags_life_zones): Adjust calls to note_stores.
16136         * reload1.c (mark_not_eliminable): Take additional parameter.
16137         (forget_old_reloads_1): Likewise.
16138         (reload_cse_invalidate_rtx): Likewise.
16139         (reload_cse_check_clobber): Likewise.
16140         (reload_combine_note_store): Likewise.
16141         (move2add_note_store): Likewise.
16142         (reload): Adjust calls to note_stores.
16143         (reload_as_needed): Likewise.
16144         (emit_reload_insns): Likewise.
16145         (reload_cse_regs_1): Likewise.
16146         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
16147         (reload_combine): Adjust calls to note_stores.
16148         * resource.c (update_live_status): Take additional paramter.
16149         (mark_target_live_regs): Adjust calls to note_stores.
16150         * stupid.c (find_clobbered_regs): Take additional parameter.
16151         (stupid_life_analysis): Adjust calls to note_stores.
16152
16153 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
16154
16155         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
16156         definition.
16157
16158         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
16159         definition.
16160
16161         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
16162         of the variable arm_structure_size_boundary.
16163
16164 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
16165
16166         * alias.c (init_alias_analysis): Allocate reg_known_value and
16167         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
16168         and reg_seen.
16169         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
16170         * cse.c (cse_main): Call end_alias_analysis.
16171         * haifa-sched.c (schedule_insns): Likewise.
16172         * local-alloc. (update_equiv_regs): Likewise.
16173         * reload1.c (reload_cse_regs): Likewise.
16174
16175 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16176
16177         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
16178         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
16179         mapping from MASK_FPU.
16180
16181 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
16182
16183         * sparc.md (call): Don't bound structure return size to 0xfff.
16184
16185 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
16186
16187         * resource.c (mark_target_live_regs): Check that the target
16188         insn wasn't created after compute_bb_for_insn.
16189
16190 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
16191
16192         * ggc-page.c (poison_pages): Don't be overzealous.
16193
16194 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
16195
16196         * alias.c: Update comments for ADDRESS.
16197         (nonlocal_reference_p): Look inside the ADDRESS to determine if
16198         it is a local memory reference.
16199
16200         * c-typeck.c (build_function_call): Check that the built-in
16201         function is of class BUILT_IN_NORMAL before trying to recongize
16202         it as BUILT_IN_ABS.
16203         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
16204         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
16205
16206 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
16207
16208         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
16209         of alloca.
16210         (pre_gcse): Likewise.
16211         (hoist_expr_reaches_here_p): Likewise.
16212         (hoist_code): Likewise.
16213         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
16214         code to ...
16215         (pre_expr_reaches_here_p_work): ... here.
16216         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
16217         code to ...
16218         (expr_reaches_here_p_work): ... here.
16219
16220 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
16221
16222         * resource.c (find_basic_block): Delete.
16223         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
16224         (init_resource_info): Call compute_bb_for_insn.
16225
16226 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
16227
16228         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
16229         with already adjacent blocks, but no fallthru.
16230         (merge_blocks_move_successor_nojumps): Simplify.
16231         (debug_flow_info): New.
16232
16233         * toplev.c (rest_of_compilation): Open jump1 dump file before
16234         jump and close after, as opposed to just using dump_rtl.
16235
16236 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16237
16238         * reload.h (earlyclobber_operand_p): Declare.
16239         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
16240         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
16241         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
16242         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
16243
16244 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
16245                           Richard Henderson  <rth@cygnus.com>
16246
16247         * emit-rtl.c (emit_block_insn_before): New.
16248         (emit_block_insn_after): New.
16249         * basic-block.h: Declare them.
16250
16251         * bitmap.h: Protect from multiple inclusion.
16252
16253         * recog.c (scratch_operand): Handle VOIDmode correctly.
16254
16255         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
16256
16257         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
16258         * function.c (assign_parms): Likewise.
16259         * global.c (global_conflicts): Clarify STACK_REGS commentary.
16260
16261         * reg-stack.c (max_uid): Remove.
16262         (blocks, block_begin, block_end, block_drops_in): Remove.
16263         (block_stack_in, block_out_reg_set, block_number): Remove.
16264         (struct block_info_def, BLOCK_INFO): New.
16265         (enum emit_where): New.
16266         (current_block): New.
16267         (BLOCK_NUM): Remove.
16268         (mark_regs_pat, record_label_references): Remove.
16269         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
16270         (nan): New.
16271         (goto_block_pat, print_blocks, dump_stack_info): Remove.
16272         (reg_to_stack): Simplified test for existance of fp code.  Use
16273         flow.c code.  Call shorten_branches after cross-jump opt.
16274         (check_asm_stack_operands): Renamed from record_asm_reg_life.
16275         Return false if the asm doesn't use stack regs.  Don't do life
16276         analysis on the asm.
16277         (emit_pop_insn): Replace function pointer arg `when' with
16278         enum `where'.  Update all callers.
16279         (change_stack): Likewise.  Update basic block end.
16280         (emit_swap_insn): Use current_block->head to limit reverse search
16281         for start of block.  Use emit_block_insn_after.
16282         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
16283         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
16284         structure assignment instead of bcopy.
16285         (print_stack): New.
16286         (convert_regs_entry, convert_regs_exit): New.
16287         (convert_regs_1, convert_regs_2): Split out from convert_regs.
16288         Work on basic blocks and the CFG.
16289         (convert_regs): Use them.
16290
16291         * i386.c (output_fix_trunc): Remove code for DImode input operand
16292         not at top-of-stack.
16293         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
16294         appropriate mode.
16295         (fix_truncdi_1): Allow any mode scratch.
16296
16297 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
16298
16299         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
16300         * linux.h, netbsd.h, vms.h: Not here.
16301
16302 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
16303
16304         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
16305         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
16306         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
16307         CONDITIONAL_REGISTER_USEAGE): Use them.
16308         * config/mips/mips.c (mips_move_1word,mips_move_2words,
16309         gen_conditional_branch,override_options) : Use them.
16310         * config/mips/mips.md : Use them.
16311
16312 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
16313
16314         * i386.md (zero_extendqihi2): Use SImode register name with andl.
16315
16316 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
16317
16318         * integrate.c (function_cannot_inline_p): Don't allow inlining
16319         if setjmp is used.
16320
16321 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16322
16323         * c-parse.in (cast_expr): Constify.
16324
16325         * cccp.c (special_symbol): Likewise.
16326
16327         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
16328
16329         * dwarf2out.c (base_type_die): Likewise.
16330
16331         * global.c (allocno_compare): Likewise.
16332
16333         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
16334
16335         * regclass.c (fix_register): Likewise.
16336
16337         * rtl.h (fix_register): Likewise.
16338
16339         * stupid.c (stupid_reg_compare): Likewise.
16340
16341         * toplev.c (decode_f_option): Likewise.
16342
16343         * tree.c (build_complex_type): Likewise.
16344
16345 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
16346
16347         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
16348
16349 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16350
16351         * reload.c (find_reloads): Compute mode and nregs fields of all
16352         reloads.
16353         * reload1.c (calculate_needs_all_insns): Simplify a bit.
16354         (calculate_needs): Use precomputed mode/nregs values.
16355         (allocate_reload_reg): Likewise.
16356         Break out two...
16357         (failed_reload, set_reload_reg): ... new functions.
16358         (choose_reload_regs_init): New function, mostly broken out from...
16359         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
16360         Also lose one #if 0 block.
16361
16362 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
16363
16364         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
16365         substitution.
16366
16367 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
16368
16369         * tree.h (BLOCK_TYPE_TAGS): Remove.
16370         (BLOCK_END_NOTE): Likewise.
16371         (BLOCK_LIVE_RANGE_FLAG): Likewise.
16372         (BLOCK_LIVE_RANGE_START): Likewise.
16373         (BLOCK_LIVE_RANGE_END): Likewise.
16374         (tree_block): Remove live_range_flag, live_range_var_flag, and
16375         type_tags.  Remove end_note, live_range_start, and live_range_end.
16376         (remember_end_note): Remove prototype.
16377         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
16378         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
16379         remember_end_note.
16380         * ggc-common.c (ggc_mark_tree_children): Don't mark
16381         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
16382         * integrate.c (adjust_copied_decl_tree): Remove.
16383         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
16384         * stmt.c (last_block_end_note): Remove.
16385         (init_stmt): Don't add a GC root for it.
16386         (expand_fixup): Don't set it.
16387         (remember_end_note): Remove.
16388         (expand_end_bindings): Don't set last_block_end_note.
16389
16390 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16391
16392         * reload1.c (reload_reg_free_for_value_p): Show
16393         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
16394         reloads.
16395
16396 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
16397
16398         * expmed.c (extract_bit_field): Allow for the case of non-integer
16399         objects that are smaller than a word (like SFmode on a 64-bit
16400         machine).
16401
16402         * loop.c (basic_induction_var): A non-integer variable which is
16403         being set by a paradoxical subreg is probably not a biv.
16404
16405 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16406
16407         * prefix.c (translate_name) Check for empty prefix string.
16408
16409 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
16410
16411         * Makefile.in (CPP_CROSS_NAME): New variable.
16412         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
16413         xcpp.
16414         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
16415         names of the files to be uninstalled.
16416
16417 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
16418
16419         * collect2.c (IS_DIR_SEPARATOR): Define.
16420         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
16421
16422         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
16423         functions too.
16424
16425         * haifa-sched.c (add_dependence): Update the true dependency
16426         cache the first time we add a true dependence to the LOG_LINKS chain.
16427
16428 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
16429
16430         * fold-const.c (fold): Fix comment.
16431
16432 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16433
16434         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
16435         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
16436         dbxout_start_new_source_file, dbxout_source_file,
16437         dbxout_source_line, dbxout_finish, dbxout_type_fields,
16438         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
16439         Constify a char*.
16440         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
16441         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
16442         (dbxout_block): Initialize variable `blocknum'.
16443
16444         * dbxout.h (dbxout_init, dbxout_finish,
16445         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
16446         dbxout_args, dbxout_source_line): Constify a char*.
16447
16448         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
16449         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
16450         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
16451         low_pc_attribute, high_pc_attribute, body_begin_attribute,
16452         body_end_attribute, comp_dir_attribute, sf_names_attribute,
16453         src_info_attribute, mac_info_attribute, producer_attribute,
16454         lookup_filename, generate_macinfo_entry, fundamental_type_code,
16455         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
16456         dwarfout_undef): Constify a char*.
16457         (add_incomplete_type, retry_incomplete_types): Add prototypes.
16458
16459         * dwarfout.h (dwarfout_define, dwarfout_undef,
16460         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
16461
16462 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
16463
16464         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
16465         (MULTILIB_ISA_DEFAULT): New.
16466         (MULTILIB_DEFAULTS): Use it.
16467         * config/mips/mips.c (): Remove the now unnecessary definition
16468         of MIPS_ISA_DEFAULT.
16469         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
16470         unnecessary definition.
16471
16472 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
16473
16474         * arm.md (pic_load_addr): Add constraints to operand 1.
16475
16476 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
16477
16478         * fixinc/genfixes:  Provide a means for specifying -D options to
16479         AutoGen
16480
16481 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
16482
16483         * arm.c (arm_override_options): Correct initialization of
16484         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
16485         arm_is_strong, and arm_is_6_or_7.
16486
16487         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
16488         (note_set_pseudo_multiple_uses): New function.
16489         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
16490         if a pseudo set in the loop exit is used elsewhere.
16491
16492 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
16493
16494         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
16495
16496 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
16497
16498         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
16499         a single load-address pattern.
16500
16501 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
16502
16503         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
16504         depending on whether or not line-number notes are present.
16505
16506 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16507
16508         * cccp.c (progname, file_buf, default_include, include_file,
16509         macrodef, definition, hashval, wchar_type, user_label_prefix,
16510         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
16511         expand_to_temp_buffer, is_system_include, base_name,
16512         absolute_filename, read_name_map, open_include_file,
16513         record_control_macro, check_precompiled, check_preconditions,
16514         pcfinclude, pass_thru_directive, create_definition,
16515         check_macro_name, comp_def_part, collect_expansion,
16516         check_assertion, read_token_list, assertion_install,
16517         assertion_lookup, eval_if_expression, conditional_skip,
16518         validate_else, skip_quoted_string, quote_string, macarg1,
16519         error_from_errno, install, lookup, hashf, dump_defn_1,
16520         perror_with_name, pfatal_with_name, main, trigraph_pcp,
16521         check_white_space, rescan, handle_directive, monthnames,
16522         special_symbol, do_include, remap_include_file, write_output,
16523         arglist, do_assert, do_unassert, do_line, do_error, do_once,
16524         do_ident, do_sccs, do_xifdef, skip_if_group,
16525         output_line_directive, macroexpand, macarg, change_newlines,
16526         initialize_builtins, make_definition): Constify a char*.
16527
16528         * pcp.h (stringdef): Likewise.
16529
16530 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
16531
16532         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
16533         not of pattern.
16534
16535 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
16536                           Richard Henderson  <rth@cygnus.com>
16537
16538         * alias.c: Include ggc.h.
16539         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
16540         (record_set): Verify enough room in reg_base_value.
16541         (init_alias_analysis): Allocate reg_base_value with xcalloc.
16542         Register it as a GC root.
16543         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
16544         * Makefile.in (alias.o): Depend on ggc.h.
16545
16546         * unroll.c (unroll_loop): Verify the insn before a barrier
16547         is a JUMP_INSN before checking JUMP_LABEL.
16548
16549 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16550
16551         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
16552         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
16553         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
16554         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
16555         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
16556         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
16557
16558 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16559
16560         * output.h (ctors_section, dtors_section, bss_section): Prototype.
16561
16562         * alpha/alpha-interix.h (text_section): Delete prototype.
16563         * alpha/elf.h (text_section): Likewise.
16564         * arm/linux-elf.h (text_section): Likewise.
16565         * arm/linux-telf.h (text_section): Likewise.
16566         * c4x/c4x.h (text_section): Likewise.
16567         * dsp16xx/dsp16xx.h (bss_section): Likewise.
16568         * elfos.h (text_section): Likewise.
16569         * i386/aix386ng.h (text_section): Likewise.
16570         * i386/i386-interix.h (text_section): Likewise.
16571         * i386/sco5.h (text_section): Likewise.
16572         * i386/svr3gas.h (text_section): Likewise.
16573         * nextstep.h (text_section): Likewise.
16574         * psos.h (text_section): Likewise.
16575         * ptx4.h (text_section): Likewise.
16576         * svr3.h (text_section): Likewise.
16577         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
16578
16579 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16580
16581         * final.c (peephole): Delete prototype.
16582
16583         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
16584         (pre_insert_copies): Remove unused variable `bb'.
16585
16586         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
16587         prototypes.
16588
16589         * output.h (peephole): Add prototype.
16590
16591 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
16592
16593         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
16594         -O0.
16595
16596 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
16597
16598         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
16599         for inlined declarations.
16600
16601 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
16602
16603         * arm.c (logical_binary_operator): New fucntion.
16604         * arm.h (logical_binary_operator): Declare it.
16605         (PREDICATE_CODES): Handle logical_binary_operator.
16606         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
16607         output constraints.  Add appropriate splitters.
16608         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
16609         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
16610         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
16611
16612 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16613
16614         * genoutput.c (struct operand_data): New elt eliminable.
16615         (output_operand_data): Write it.
16616         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
16617         (compare_operands): Take it into account.
16618         * recog.h (struct insn_operand_data): New elt eliminable.
16619         * reload1.c (check_eliminable_occurrences, elimination_effects): New
16620         functions.
16621         (old_asm_operands_vec, new_asm_operands_vec): Delete.
16622         (eliminate_regs): Move code that detects changes to elimination
16623         target regs into new function elimination_effects.
16624         Delete one #if 0 block.
16625         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
16626         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
16627         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
16628         Only call eliminate_regs for real operands of the insn, not for parts
16629         of its structure or parts matched by things like match_operator.
16630         Use elimination_effects and check_eliminable_occurrences.  Use
16631         copy_insn to duplicate the pattern when not in the final pass.
16632
16633 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
16634
16635         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
16636         and fld.
16637
16638 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
16639
16640         * fixinc/README: document the "mach" machine matching test
16641         * fixinc/fixfixes.c: Implement the #else/#endif label fix
16642         * fixinc/fixtests.c: Implement the #else/#endif label test
16643         * fixinc/inclhack.def: utilize these tests and fixes
16644         * fixinc/inclhack.sh:  regen
16645         * fixinc/fixincl.x:  regen
16646         * fixinc/fixincl.sh:  regen
16647
16648 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
16649
16650         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
16651         depend on ggc.h.
16652
16653 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
16654
16655         * gcc.1: Document exit codes.
16656
16657 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16658
16659         * calls.c: Include tm_p.h later, so everything we need is defined.
16660         * expr.c: Likewise.
16661         * function.c: Likewise.
16662
16663         * except.c: Include tm_p.h.
16664
16665         * sparc.c: Likewise.
16666         (dwarf2out_cfi_label): Don't prototype.
16667         (check_return_regs, epilogue_renumber,
16668         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
16669         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
16670         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
16671         ultra_schedule_insn): Add static prototype.
16672         (data_segment_operand, text_segment_operand): Call itself with the
16673         proper number of arguments.
16674         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
16675
16676         * sparc.h: Move all declarations to sparc-protos.h.
16677         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
16678         symbolic_operand.
16679
16680         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
16681
16682         * config/svr4.h (text_section, ctors_section, dtors_section): Add
16683         Prototypes.
16684         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
16685         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
16686         ASM_OUTPUT_ASCII): Constify a char*.
16687
16688         * sparc-protos.h: New file for sparc prototypes.
16689
16690 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16691
16692         * function.c (record_insns, contains): Always declare and define.
16693         (record_insns): Mark with ATTRIBUTE_UNUSED.
16694
16695 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
16696
16697         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
16698         to .section when outputting a .bss section to deal with multiple
16699         .bss input sections (as happens with -fdata-sections)
16700         Also output %progbits, not @progbits so the assembler doesn't treat as
16701         a comment.
16702         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
16703
16704         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
16705         thumb parts even when building with non-thumb CPUs, by forcing
16706         thumb mode.
16707
16708 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
16709
16710         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
16711         (movdf_const_intreg_sp64): Similarly.
16712
16713         * local-alloc.c (update_equiv_regs): Check the correct insn
16714         for pre-existing REG_EQUIV notes.
16715
16716 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
16717
16718         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
16719         block reached by a branch if we're not going to actually process
16720         this block.
16721
16722 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
16723
16724         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
16725         a local extern function declaration.
16726
16727 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
16728
16729         * i386.c (ix86_expand_prologue): Properly wrap USE around
16730         reg for CALL_INSN_FUNCTION_USAGE.
16731
16732 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
16733
16734         * config/mips/mips.md (movdf_internal1a): Allow floating-point
16735         move between GP_REGs.
16736
16737 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
16738
16739         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
16740         the mode size when finding out if an offset is legal.
16741
16742 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
16743
16744         * basic-block.h (PROP_*): Move constants from ...
16745         * flow.c: ... here.
16746         (compute_bb_for_insn): Free the array before reallocating.
16747         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
16748         (allocate_reg_life_data): Reset all reg variables collected by
16749         propagate_block.
16750         (get_block_head_tail): Don't convert from bb to block.
16751         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
16752         (find_insn_reg_weight): Take block not bb.
16753         (schedule_block): Don't set block num for moved insns.
16754         (schedule_region): Don't update_life_info or find_insn_reg_weight.
16755         (schedule_insns): Do it here instead.
16756         * combine.c (combine_instructions): Invoke compute_bb_for_insn
16757         before update_life_info.
16758         * recog.c (split_all_insns, peephole2_optimize): Update for
16759         new arg to update_life_info.
16760         * rtlanal.c (remove_note): Cope with NULL note.
16761         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
16762         if we did sched1.
16763
16764 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
16765
16766         * jump.c (jump_optimize_1): More accurately detect casesi insns.
16767
16768         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
16769         block records so that merge_blocks_nomove will clean up correctly.
16770         (split_edge): Handle casesi insns.
16771
16772         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
16773
16774 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
16775
16776         * pa.md (call, call_value): Do not emit a blockage after restoring
16777         the PIC register.
16778
16779 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
16780
16781         * c-typeck.c (c_expand_asm_operands): Fix typo.
16782
16783 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16784
16785         * arm.c (fpu_rhs_operand): Verify modes.
16786         (fpu_add_operand): Likewise.
16787         (di_operand): Likewise.
16788         (soft_df_operand): Likewise.
16789
16790 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
16791
16792         * arm.c (arm_return_in_memory): APCS rules state that the elements
16793         of a structure returned in a register must be 'integer-like'.
16794
16795 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
16796
16797         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
16798         in the source tree when the generated targets are out of date
16799         * fixinc/genfixes: Alter it to run individual fixes for make.
16800         * fixinc/README: rewrite
16801         * fixinc/inclhack.def: moved initial comments to README
16802
16803 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
16804
16805         * toplev.c (main): Do not generate an error message if an
16806         unrecognised command line switch is recognisable by another
16807         language.  If extra_warnings are enabled, then generate a
16808         warning message instead.
16809
16810 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16811
16812         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
16813         (insert_pack_attributes): Delete prototype.
16814
16815         * c-pragma.c (default_alignment): New static variable.
16816         (push_alignment): Initialize to current effective alignment.
16817         (pop_alignment): Use to set new alignment.
16818         (insert_pack_attributes): Delete function.
16819         (handle_pragma_token): Set default_alignment as well each time
16820         a #pragma pack(<n>) is encountered.
16821
16822 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
16823
16824         * reg-stack.c (stack_result): Aggregates are not returned in
16825         stack registers.
16826
16827 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
16828
16829         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
16830
16831 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
16832
16833         * basic-block.h (set_block_num): Declare.
16834         * flow.c (update_life_info): Don't call compute_bb_for_insn
16835         or free_basic_block_vars.
16836         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
16837         (insn_orig_block): Remove.
16838         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
16839         (schedule_block): Keep BLOCK_NUM up-to-date.
16840         (schedule_insns): Use compute_bb_for_insn.
16841         * recog.c (split_all_insns): Likewise.
16842         (peephole2_optimize): Likewise.
16843
16844 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
16845
16846         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
16847         if the pic register is used.
16848
16849 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16850
16851         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
16852         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
16853         if that tests TREE_PERMANENT.
16854
16855 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
16856
16857         * cse.c (invalidate_for_call): Do not remove memory references from
16858         the table here.  It's handled elsewhere.
16859
16860         * haifa-sched.c (add_dependence): Protect references to the
16861         true dependency cache with #ifdef INSN_SCHEDULING.
16862         (remove_dependence): Similarly.
16863
16864         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
16865         to the cfg code that this is a return instruction.
16866         * mn10300.md (return_internal): Similarly.
16867
16868         * combine.c (get_last_value): If the last set of a register
16869         is after subst_low_cuid, then we can not use it to determine
16870         the register's last value.
16871
16872 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
16873
16874         * Makefile.in: Back out previous change.
16875
16876 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
16877
16878         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
16879
16880         * haifa-sched.c (add_dependence): Only check/update the cache
16881         if it exists.
16882         (remove_dependence): Likewise.
16883         (schedule_insns): Only create the true_dependency_cache if the
16884         average number of instructions in a basic block is very large.
16885
16886 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
16887
16888         * Makefile.in (ggc-common.o): Depend on genrtl.h.
16889         (ggc-simple.o): Likewise.
16890         (ggc-page.o): Likewise.
16891
16892 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
16893
16894         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
16895         Prototype for exported functions.
16896         (pre_lcm, pre_rev_lcm): Remove prototypes.
16897         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
16898         (compute_available): Move to lcm.c, and change parameter order.
16899         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
16900         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
16901         (gcse_main): No longer call compute_preds_succs.  Rebuild the
16902         set table after reach pre pass.
16903         (pre_insert_map, pre_delete_map, edge_list): New.
16904         (alloc_pre_mem): Allocate edge vectors.
16905         (free_pre_mem): Delete edge vectors.
16906         (compute_pre_data): Call new edge based lcm routines.
16907         (process_insert_insn): New function.
16908         (insert_insn_end_bb): Use it.
16909         (pre_edge_insert): New function.
16910         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
16911         needed.
16912         (pre_insert_copies): Revamp using new edge based lcm outputs.
16913         (pre_delete): Likewise.
16914         (one_pre_gcse_pass): Insert & remove fake edges to the exit
16915         block.
16916         (compute_code_hoist_vbeinout): New new edge based routines.
16917         * lcm.c: Remove all the old LCM functions.  Replace with new ones
16918         that work with the new cfg datastructures and work with edges
16919         instead of blocks.
16920
16921 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16922
16923         * reload.h (struct reload): Add new fields "mode" and "nregs".
16924         * reload1.c: Change all occurrences of reload_mode and reload_nregs
16925         to reference the "mode" and "nregs" field within struct reload.
16926
16927 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
16928
16929         * haifa-sched.c (true_dependency_cache): New.
16930         (add_dependence): Use the true dependency cache to avoid expensive
16931         walks down the LOG_LINKS dependency list.  Add entries to the
16932         cache as necessary.
16933         (remove_dependence): Remove entries from the true dependency cache
16934         as needed.
16935         (schedule_insns): Allocate and initialize and free the true
16936         dependency cache.
16937
16938         * haifa-sched.c (schedule_insns): Do not remove inter-block
16939         dependencies anymore.
16940
16941 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
16942
16943         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
16944         * i386/t-winnt: Likewise.
16945
16946 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
16947
16948         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
16949
16950 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
16951
16952         * Makefile.in (LANGUAGES): Omit "proto".
16953         (clean): Remove stale comment about removing unprotoize.c.
16954
16955 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16956
16957         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
16958         using arithmetic on void pointers.
16959
16960 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
16961
16962         * haifa-sched.c (compute_block_forward_dependencies): Only check
16963         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
16964
16965 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
16966
16967         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
16968         (expr_equiv_p): Reject memories with different alias sets.
16969
16970 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
16971
16972         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
16973         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
16974         (f_options): Add "bounded-pointers" and "bounds-check" entries.
16975         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
16976         (lang_init): Set default for flag_bounds_check if still "unspecified".
16977
16978 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16979
16980         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
16981
16982 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16983
16984         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
16985         instructions.
16986
16987 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16988
16989         * config/c4x/c4x.md (*db_noclobber,
16990         *decrement_and_branch_until_zero_noclobber): New patterns and
16991         associated splitters.
16992
16993 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16994
16995         * config/c4x/c4x.md (parallel instruction patterns): Rework
16996         constraints to keep reload happy.
16997
16998 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16999
17000         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
17001         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
17002         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
17003         Add new patterns and associated post-reload splitters.
17004
17005 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17006
17007         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
17008
17009 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17010
17011         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
17012         if appropriate.
17013         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
17014
17015 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17016
17017         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
17018         memory mode.
17019
17020 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
17021
17022         * pa.c (move_operand): Rely on memory_address_p to determine the
17023         validity of non-indexed memory addresses.
17024         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
17025         operand in DFmode and SFmode when generating PA2.0 code.
17026
17027 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
17028
17029         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
17030
17031 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
17032
17033         * mips.c (function_prologue): Fix argument types.
17034         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
17035         (casesi_internal): Write to the scratch register.
17036
17037 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
17038
17039         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
17040         to U_CHAR **.
17041         (parse_charconst): Delete unnecessary cast when calling
17042         cpp_parse_escape.
17043         (cpplib.h): Kill prototype of cpp_parse_escape.
17044
17045 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
17046
17047         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
17048         * unroll.c (unroll_loop): Cast return value of alloca.
17049         * i370/i370.c: Include function.h and toplev.h.
17050         (i370_label_scan): Remove c++ commented abort.
17051         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
17052         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
17053         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
17054         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
17055
17056 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
17057
17058         * config/t-freebsd: Do not override USER_H.
17059         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
17060
17061 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
17062                           Mumit Khan  <khan@xraylith.wisc.edu>
17063
17064         * c-parse.in (component_decl): Support anonymous struct/union.
17065         (%expect): Update.
17066         * c-parse.y: Regenerate.
17067         * c-parse.c: Likewise.
17068         * objc/objc-parse.y: Likewise.
17069         * objc/objc-parse.c: Likewise.
17070         * c-decl.c (finish_struct): Don't sort the fields.
17071         (field_decl_cmp): Delete unused function.
17072
17073 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
17074
17075         * sparc.md (movsf_const_intreg): Revert last constraint change.
17076         (movdf_const_intreg_sp32): Likewise.
17077
17078 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
17079
17080         * cse.c: Include hashtab.h instead of splay-tree.h
17081         (struct cse_reg_info): No longer use variant union.  Add new
17082         field "regno".  All references changed to avoid union.
17083         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
17084         (free_cse_reg_info): Remove.
17085         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
17086         (get_cse_reg_info): Revamp to use expandable hash tables instead
17087         of splay trees.  Initialize new fields in cse_reg_info structure.
17088         (new_basic_block): Similarly.
17089
17090 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
17091
17092         * genrecog.c (message_with_line): Prototype.
17093         (validate_pattern): Pass along the set for the dest, not a flag.
17094         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
17095         Check for PC/CC0 as sources.
17096         (nodes_identical): Check for children position match before
17097         allowing the combination.
17098
17099         * rtl.c (read_rtx): Track line number across \\\n.
17100
17101 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
17102
17103         * mips.h (SPECIAL_MODE_PREDICATES): New.
17104         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
17105         (movdi+1, movsi+1): Add output reload constraint.
17106         (casesi_internal): Likewise.  Fix commentary.
17107         (return_internal): Use pmode_register_operand.
17108
17109 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
17110
17111         * 1750a.md (movstrqi): Add missing output reload constraint.
17112         (call_value): Likewise.
17113         * a29k.md (cpxxx patterns): Add missing match_operator mode.
17114         (jmpfdec): Add missing inout reload constraint.
17115         * elxsi.md (addsi patterns): Add missing output reload constraint.
17116         (move from sp): Use @ alternates.
17117         (call_value): No constraint on output.
17118         * fr30.md (movsi_pop): Add missing output reload constraint.
17119         (movsf_constant_store): Likewise.
17120         (splits): Remove constraints.
17121         (subsi3): Add missing mode.
17122         * i370.md (cmpstrsi+1): Add missing output reload constraint.
17123         (call_value): Likewise.
17124         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
17125         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
17126         * m32r.md (movsicc_internal): Add output reload constraint.
17127         (movstrsi_internal): Add inout reload constraints.
17128         * m88k.h (reg_names): Don't declare.
17129         (SPECIAL_MODE_PREDICATES): New.
17130         * m88k.md (*): Use register_operand not reg_or_0_operand
17131         on destinations.
17132         * mn10200.h (PREDICATE_CODES): New.
17133         * ns32k.md (ffs pattern): Add output reload constraint.
17134         * pdp11.md (sob pattern): Add inout reload constraint.
17135         * sh.md (splits): Remove constraints.
17136         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
17137         * v850.md (pattern_is_ok_for_epilogue): Likewise.
17138         * vax.md (jgequ pattern): Add inout reload constraint.
17139
17140 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
17141
17142         * configure.in (djgpp): Revert previous patch.
17143         * configure: Rebuit.
17144         * config/i386/djgpp.h: Revert previous patch.
17145
17146 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
17147
17148         * fixinc/inclhack.def: Restore patch lost during last merge of
17149         "no_bogosity" branch.
17150         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
17151
17152 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17153
17154         * fixincludes: Add a HPUX 11 fix for inttypes.h.
17155         * fixinc/inclhack.def: Same.
17156         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
17157
17158 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
17159
17160         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
17161         as the base of a PLUS.
17162
17163 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17164
17165         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
17166         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
17167
17168 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
17169
17170         * pa.md (post_stw+1): Use pmode_register_operand.
17171         (dcacheflush, icacheflush): Likewise.
17172
17173         * i386.md (movstricthi_1): Allow r/r.
17174
17175 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
17176
17177         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
17178         to (not (and (arg0) (arg1))). Similary for and.
17179
17180         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
17181         fallthrough to associate code.
17182         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
17183         bits in common.
17184
17185         * combine.c (simplify_logical): Convert XOR to IOR if operands have
17186         no bits in common; remove XOR to ROTATE conversion.
17187
17188 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17189
17190         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
17191
17192 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17193
17194         * config/c4x/c4x.c (dst_operand): New.
17195         (PREDICATE_CODES): Update.
17196         * config/c4x/c4x.h (dst_operand): Declare it.
17197         * config/c4x/c4x.md:  Define mode for each unspec usage.
17198         (move patterns):  Use dst_operand predicate instead of src_operand.
17199         (movqi_update, movqf_update): Delete.
17200
17201 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
17202
17203         * recog.c (pmode_register_operand): New.
17204         * recog.h: Declare it.
17205         * genrecog.c (pred_codes): Likewise.
17206         (special_mode_pred_table): Likewise.
17207         (validate_pattern): Don't warn no mode for address_operand.
17208
17209         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
17210         if the operand is not insn-like.
17211
17212 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
17213                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
17214
17215         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
17216
17217 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
17218
17219         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
17220         instead of general_operand in a SET_DEST.  Use const_double_operand
17221         instead of an explicit test against CONST_DOUBLE.
17222         (movsf_const_lo): Add missing register mode.
17223         (goto_handler_and_restore): Add auxiliary test for Pmode.
17224         (flush): Adjust to use address_operand.
17225         (return_sf_no_fpu): Add missing output constraint.
17226
17227 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
17228
17229         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
17230         for call return value.
17231         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
17232
17233 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
17234
17235         * toplev.c (main): Only warn about options for other languages.
17236         * collect2.c (main): Pass -w to sub-gcc.
17237
17238 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
17239
17240         * flow.c (propagate_block): Add call-clobbered registers to
17241         significant too.
17242
17243         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
17244         zapping mem_set_list.
17245         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
17246         (mark_set_1, mark_used_regs): Likewise.
17247
17248 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
17249
17250         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
17251
17252 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
17253
17254         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
17255         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
17256         options. Also add a new item "C-only Warning Options" to the
17257         option summary.
17258
17259 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
17260
17261         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
17262         from multiple calls.
17263
17264 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
17265
17266         * i386.md (call value patterns): Move to the end of the file.
17267         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
17268
17269 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
17270
17271         * configure.in (djgpp configuration): Define extra_objects..
17272         * configure: Rebuilt.
17273         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
17274         (DTORS_SECTION_ASM_OP): Define.
17275         (INIT_SECTION_ASM_OP): Define.
17276         (FINI_SECTION_ASM_OP): Define.
17277         (DATA_SECTION_ASM_OP): Define.
17278         (TEXT_SECTION_ASM_OP): Define.
17279         (EH_FRAME_SECTION_ASM_OP): Define.
17280         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
17281         (STARTFILE_SPEC): Add crtbegin.o.
17282         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
17283         to here from LINK_COMMAND_SPEC.
17284         (DO_GLOBAL_CTORS_BODY): Define.
17285         (CRTSTUFF_USE_FINI_SECTION): Define
17286         (HAS_INIT_SECTION): Delete.
17287
17288 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
17289
17290         * Makefile.in (all.cross): Depend on xcpp$(exeext).
17291
17292 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
17293
17294         * pa.h (PREDICATE_CODES): New.
17295
17296         * genrecog.c (validate_pattern): Condense the destination
17297         non-lvalue message.
17298
17299 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
17300
17301         * alpha.md (call-1): Supply missing mode for operator.
17302         (*): Add missing output reload constraints.  Remove constraints
17303         from define_splits.
17304
17305         * i386.h (SPECIAL_MODE_PREDICATES): New.
17306         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
17307         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
17308         (addsi_lea_3): Add missing mode for op 3.
17309         (prologue_set_got, prologue_get_pc): Add missing modes.
17310         (*) Add missing output reload constraints.
17311
17312 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
17313
17314         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
17315         check for member bit-size overflow and use var_size if it occurs.
17316         (layout_record): Use bitsize_int() to define the type size in bits.
17317         Likewise for computation and assignment to DECL_FIELD_BITPOS.
17318         (layout_decl): Likewise when assigning to DECL_SIZE.
17319
17320 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
17321
17322         * genrecog.c (validate_pattern): Typo last change.  Verify
17323         that output operands have output reloads.
17324
17325 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
17326
17327         * genrecog.c (special_mode_pred_table): New.
17328         (NUM_SPECIAL_MODE_PREDS): New.
17329         (find_operand): New.
17330         (validate_pattern): New argument `insn'.  Warn for assignment to
17331         any predicate accepting non-lvalues.  Conditionaly warn for
17332         match_operand without a mode.  Try much harder to match source
17333         and destination modes on a set.
17334         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
17335
17336 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
17337
17338         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
17339
17340 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
17341
17342         * combine.c (simplify_logical): Recognize xor pattern that encodes
17343         rotation.
17344
17345 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17346
17347         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
17348         alignment.
17349
17350 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
17351
17352         * ggc-page.c (MAP_FAILED): Provide default.
17353
17354 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
17355
17356         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
17357         * sparc.h (PREDICATE_CODES): Update.
17358
17359 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
17360
17361         * alpha.c (some_ni_operand): New.
17362         * alpha-protos.h: Declare it.
17363         * alpha.h (PREDICATE_CODES): Update.
17364         * alpha.md (sXaddq reload insns): Use some_ni_operand
17365         for SET_DEST instead of some_operand.
17366
17367 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
17368                           Jim Wilson  <wilson@cygnus.com>
17369
17370         * genrecog.c (maybe_both_true_2): Don't compare modes of
17371         two DT_pred tests.
17372         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
17373         after find_afterward.
17374         (debug_decision_1): Dump next and afterward codes.
17375
17376 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
17377
17378         * rtl.c (dump_and_abort): Remove.
17379         (fatal_with_file_and_line): New.
17380         (fatal_expected_char): New.
17381         (read_rtx_lineno, read_rtx_filename): New.
17382         (read_skip_spaces): Track line number.
17383         (read_name): Use fatal_with_file_and_line.
17384         (read_rtx): Use fatal_expected_char.  Track line number.
17385         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
17386
17387         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
17388         if it isn't a CODE_LABEL.
17389
17390         * genattr.c (main): Set read_rtx_filename.
17391         * genattrtab.c (main): Likewise.
17392         * gencodes.c (main): Likewise.
17393         * genconfig.c (main): Likewise.
17394         * genemit.c (main): Likewise.
17395         * genextract.c (main): Likewise.
17396         * genflags.c (main): Likewise.
17397         * genopinit.c (main): Likewise.
17398         * genoutput.c (main): Likewise.
17399         * genpeep.c (main): Likewise.
17400
17401         * genrecog.c (decision_test.u.insn): Add `lineno'.
17402         (pattern_lineno, error_count): New variables.
17403         (message_with_line): New.
17404         (add_to_sequence): Break out checking code to ...
17405         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
17406         (merge_insn): Use message_with_line.
17407         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
17408         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
17409
17410 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17411
17412         * expr.c (store_constructor): Clear union if constructor is empty.
17413
17414 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
17415
17416         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
17417         Add !endian checks.  Change %{...} to %(...).
17418
17419 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
17420
17421         * i386.md (*addsi3_cc): Renamed from addcsi3.
17422         (*addsi3_carry): Renamed from addxsi3.
17423         (*subsi3_cc): Renamed from subcsi3.
17424         (*subsi3_carry): Renamed from subxsi3.
17425         (*xorqi_cc_1): Renamed from xorcqi_1.
17426         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
17427         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
17428
17429 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
17430
17431         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
17432         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
17433
17434 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
17435
17436         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
17437         climb up the chain of insns.
17438
17439 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
17440
17441         * genrecog.c (write_subroutine): Careful for null trees.
17442         (process_tree): Don't elide empty functions.
17443
17444 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
17445
17446         * Makefile.in (genrtl.o): Depend on ggc.h.
17447         * configure.in (valloc): Probe for it.
17448         (with-gc): Use ggc-page if valloc present.
17449         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
17450         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
17451         (ggc_alloc_string): Moved from ggc-page.c.
17452         * ggc-none.c (ggc_alloc_obj): New.
17453         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
17454         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
17455         (struct globals): Likewise for dev_zero_fd.
17456         (init_ggc): Likewise for it's initialization.
17457         (ggc_allocated_p): Move careful dereference from ...
17458         (ggc_lookup_page_table): ... here.  Delete.
17459         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
17460         (alloc_anon): Use valloc if no mmap.
17461         (release_pages): Use free if using valloc.
17462         (ggc_alloc_obj): Renamed from alloc_obj.
17463         (ggc_set_mark): Renamed from mark_obj.
17464         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
17465         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
17466         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
17467         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
17468         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
17469         (ggc_collect): Use fp printing instead of our own rounding.
17470         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
17471         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
17472         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
17473         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
17474         (struct ggc_string, struct ggc_any): Delete.
17475         (offsetof): Provide default definition.
17476         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
17477         (PTR_KEY): New.
17478         (struct ggc_mem): New, from corpse of ggc_any.
17479         (struct ggc_status): Delete.
17480         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
17481         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
17482         (n_strings_collected, n_anys_collected): Delete.
17483         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
17484         (ggc_alloc_string, ggc_alloc): Delete.
17485         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
17486         (ggc_free_string, ggc_free_any): Delete.
17487         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
17488         (ggc_compare_addresses, ggc_mark_string): Delete.
17489         (ggc_mark_string_if_gcable, ggc_mark): Delete.
17490         (search_data): Delete.
17491         (struct globals): New.
17492         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
17493         (tree_insert, tree_lookup): New.
17494         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
17495         (clear_marks, sweep_objs): New.
17496         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
17497         (init_ggc): Set allocated_last_gc.
17498         (ggc_push_context): Gut.  Use G.context.
17499         (ggc_pop_context): Likewise.
17500         (ggc_pop_context_1): New.
17501         (debug_ggc_tree): New.
17502         (debug_ggc_balance, tally_leaves): New.
17503         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
17504         (ggc_mark_string_if_gcable): Remove decl.
17505         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
17506         (ggc_mark_rtvec_children): New.
17507         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
17508         (ggc_mark_if_gcable): New decl.
17509         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
17510         (ggc_alloc_tree, ggc_alloc): Likewise.
17511         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
17512         (ggc_alloc_obj): New decl.
17513         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
17514         (ggc_alloc_tree, ggc_alloc): Likewise.
17515         (ggc_set_mark): New decl.
17516         * rtl.h (struct rtx_def): Remove gc_mark.
17517         (struct rtvec_def): Likewise.
17518         * tree.h (struct tree_common): Likewise.
17519
17520 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
17521
17522         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
17523         float_format and thread_file definitions.
17524         * configure: Rebuilt.
17525
17526 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
17527
17528         * extend.texi (Function Names): Document types of function names.
17529
17530 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17531
17532         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
17533         an earlyclobbered output conflict with RELOAD_INPUT reloads.
17534
17535 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17536
17537         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
17538
17539 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17540
17541         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
17542
17543 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
17544
17545         * collect2.c (main): Do prelimnary link on AIX if rflag.
17546
17547 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
17548
17549         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
17550         __CTOR_LIST__ in opposite order, which is the correct order for sorted
17551         constructors.
17552         (__do_global_dtors): similarly for __DTOR_LIST__.
17553
17554 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17555                                 Diego Novillo <dnovillo@cygnus.com>
17556
17557         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
17558         FPUL_REGS.
17559
17560 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
17561
17562         * fixincl/*: Merged "no_bogosity" branch
17563         * fixincl/fixlib.h: protect against doubly defining t_bool
17564         * fixincl/server.h: protect against doubly defining t_bool
17565
17566 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
17567
17568         * genoutput.c: Include toplev.h.
17569
17570 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
17571
17572         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
17573         Undef.
17574         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
17575         * configure: Regenerate.
17576
17577 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
17578
17579         * gcse.c (delete_null_pointer_checks): Returns void.
17580
17581 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17582
17583         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
17584         * emit-rtl.c (copy_insn_1): Likewise.
17585
17586 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
17587
17588         * config/mips/mips.c (mips_build_va_list): Correct
17589         TREE_CHAIN setting when hard-float.
17590         (mips_va_start): Use corrected setting.
17591         (mips_va_arg): Likewise.  Also pass a tree to build of
17592         POSTINCREMENT_EXPR rather than a naked 'int'.
17593
17594 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
17595
17596         * ggc.h (ggc_push_context): Fix comment.
17597         (ggc_pop_context): Likewise.
17598         (mark_string_if_gcable): Likewise.
17599         * ggc-common.c (ggc_mark_rtx_children): Use
17600         ggc_mark_string_if_gcable.
17601         * ggc-page.c (ggc_lookup_page_table): New function.
17602         (ggc_allocated_p): Likewise.
17603         (mark_obj): Fix formatting.
17604         (ggc_mark_string_if_gcable): New function.
17605         * ggc-simple.c (ggc_allocated_strings): New variable.
17606         (ggc_strings_used): Likewise.
17607         (ggc_compare_addresses): New function.
17608         (ggc_pop_context): Pop the `any' memory too.
17609         (ggc_mark_string_if_gcable): New function.
17610         (ggc_collect): Initialize and tear down ggc_allocated_strings.
17611
17612 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
17613
17614         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
17615         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
17616         * rs6000.c (expand_block_move): Match movstrsi_?reg register
17617         changes.
17618
17619 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
17620
17621         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
17622         (sched_reg_live_length, sched_reg_basic_block): Delete.
17623         (current_block_num, bb_live_regs, old_live_regs): Delete.
17624         (dead_notes, struct sometimes): Delete.
17625         (sched_note_set, birthing_insn_p): Delete.
17626         (adjust_priority): Gut useless reg lifetime code.
17627         (create_reg_dead_note, attach_deaths): Delete.
17628         (attach_deaths_insn, new_sometimes_live): Delete.
17629         (finish_sometimes_live): Delete.
17630         (find_pre_sched_live, find_post_sched_live): Delete.
17631         (update_reg_usage): Delete.
17632         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
17633         (schedule_insns): Delete reg lifetime code.
17634         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
17635         (unlink_other_notes): Adjust REG_NOTE commentary.
17636         (reemit_notes): Use REG_SAVE_NOTE.
17637         (schedule_block): Likewise.
17638         (schedule_region): Allocate bitmap of blocks in region.  Use
17639         count_or_remove_death_notes.  Use update_life_info.
17640
17641         * rtl.h (REG_SAVE_NOTE): New.
17642         * rtl.c (reg_note_name): Update.
17643
17644 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
17645
17646         * combine.c (refresh_blocks, need_refresh): New.
17647         (combine_instructions): Allocate refresh_blocks.  Invoke
17648         update_life_info if needed.
17649         (distribute_notes): Mark refresh_blocks instead of installing
17650         USE insns.
17651         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
17652         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
17653
17654         * Makefile.in (recog.o): Depend on basic-block.h.
17655
17656 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
17657
17658         * genrecog.c (add_to_sequence): Thinko last change: delete
17659         shadowing allow_const_int variable.
17660
17661 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17662
17663         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
17664         __GNUC__ and __GNUC_MINOR__.
17665
17666         * gansidecl.h: Likewise.
17667
17668         * rtl.c: Likewise.
17669
17670         * rtl.h: Likewise.
17671
17672         * toplev.h: Likewise.
17673
17674         * tree.c: Likewise.
17675
17676         * tree.h: Likewise.
17677
17678         * varray.c: Likewise.
17679
17680         * varray.h: Likewise.
17681
17682 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17683
17684         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
17685         use one before a jump table.
17686
17687         * rtl.def (ADDRESS): Change documentation to match reality.
17688         * md.texi: Don't document it.
17689         * gmicro.md (load address pattern): Use 'p' constraint, delete use
17690         of ADDRESS rtx.
17691
17692         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
17693
17694 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
17695
17696         * genrecog.c (add_to_sequence): Move allow_const_int test outside
17697         known predicate block; default allow_const_int true.
17698         (debug_decision_list): New.
17699
17700 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
17701
17702         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
17703
17704 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
17705
17706         * gcse.c (gcse_main): Avoid global optimizations if we have a
17707         large number of basic blocks and the ratio of edges to blocks
17708         is high.
17709         (delete_null_pointer_checks): Likewise.
17710
17711 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
17712
17713         * c-common.c (check_format_info): Warn if format string isn't a
17714         string literal.
17715
17716 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
17717
17718         * configure.in (arm*-*-*): Don't let autoconf remove brackets
17719         * configure: regenerate
17720
17721 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
17722
17723         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
17724         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
17725         (peepholes): Re-enable.
17726
17727 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
17728
17729         * Makefile.in (flow.o): Depend on TREE_H.
17730         * basic-block.h (REG_SET_EQUAL_P): New.
17731         (XOR_REG_SET): New.
17732         (n_edges): Declare.
17733         (free_regset_vector): Remove declaration.
17734         (flow_delete_insn_chain): Declare.
17735         (enum update_life_extent): New.
17736         (update_life_info, count_or_remove_death_notes): Declare.
17737         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
17738         Verify register live at bb->global_live_at_start before adding USE.
17739         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
17740         (CLEAN_ALLOCA): New.
17741         (n_edges): New.
17742         (PROP_*): New flags.
17743         (find_basic_blocks_1): Use alloc_EXPR_LIST.
17744         (clear_edges): Zero n_edges.
17745         (make_edge): Increment n_edges.
17746         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
17747         (flow_delete_insn_chain): Export.
17748         (delete_block): Decrement n_edges.
17749         (merge_blocks_nomove): Likewise.
17750         (life_analysis): Give life_analysis_1 PROP flags.
17751         (verify_wide_reg_1, verify_wide_reg): New.
17752         (verify_local_live_at_start): New.
17753         (update_life_info): Rewrite to call into propogate_block.
17754         (mark_reg): New.
17755         (mark_regs_live_at_end): After reload, if epilogue as rtl,
17756         always mark stack pointer.  Conditionally mark PIC register.
17757         After reload, mark call-saved registers, return regsiters.
17758         (life_analysis_1): Accept PROP flags not remove_dead_code.
17759         Call mark_regs_live_at_end before zeroing regs_ever_live.
17760         Use calculate_global_regs_live.  Copy global_live_at_end before
17761         calling final propagate_block.  Zero reg_next_use on exit.
17762         (calculate_global_regs_live): New.
17763         (allocate_bb_life_data): Don't allocate bb->local_set.
17764         (init_regset_vector, free_regset_vector): Remove.
17765         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
17766         Test flags before every operation.  Warn if prologue/epilogue insn
17767         would have been deleted.
17768         (mark_set_regs, mark_set_1): Accept and use FLAGS.
17769         Use alloc_EXPR_LIST.
17770         (mark_used_regs): Accept and use FLAGS, not FINAL.
17771         Remove special handling for RETURN.
17772         (try_pre_increment): Use alloc_EXPR_LIST.
17773         (dump_flow_info): Dump n_edges.
17774         (unlink_insn_chain, split_hard_reg_notes): Remove.
17775         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
17776         (find_insn_with_note, new_insn_dead_notes): Remove.
17777         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
17778         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
17779         (replace_insns): Remove.
17780         (count_or_remove_death_notes): New.
17781         (verify_flow_info): Abort on error after all checks.
17782         (remove_edge): Decrement n_edges.
17783         (remove_fake_edges): Tweak format.
17784         * haifa-sched.c (schedule_insns): Use split_all_insns.
17785         * output.h (update_life_info): Remove declaration.
17786         * recog.c (split_all_insns): From the corpse of split_block_insns,
17787         do the whole function block by block.  Use update_life_info.
17788         (recog_last_allowed_insn): New.
17789         (recog_next_insn): Mind it.
17790         (peephole2_optimize): Set it.  Walk backwards through blocks.
17791         Use update_life_info.
17792         * rtl.h (update_flow_info, replace_insns): Remove declarations.
17793         (split_all_insns): Declare.
17794         * toplev.c (rest_of_compilation): Thread prologue before flow2.
17795         Use split_all_insns.
17796
17797         * i386.md (or -1 peep2s): Disable.
17798
17799 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
17800
17801         * config/mips/mips.md (movstrsi+[123]) : Combine these into
17802         a single pattern.  Scrap the 'd' versions as unnecessary.
17803
17804         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
17805         tablejump_mips162,tablejump_internal4): The operands to a
17806         label_ref must be VOIDmode.
17807
17808 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17809
17810         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
17811
17812 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
17813
17814         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
17815
17816 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
17817
17818         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
17819         cache every function if ggc_p.
17820
17821 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17822
17823         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
17824         instead of copy_rtx.  Accept sequences that contain asm statements.
17825         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
17826         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
17827         orig_asm_operands_vector, copy_asm_operands_vector,
17828         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
17829         variables.
17830         * rtl.h (copy_insn, copy_insn_1): Declare.
17831
17832 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17833
17834         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
17835
17836         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
17837         arguments to `current_file_function_operand'.
17838
17839         * genrecog.c: Include hard-reg-set.h and resource.h in the
17840         generated output file.
17841
17842         * real.c: Include tm_p.h.
17843
17844 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17845
17846         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
17847         output operand.
17848
17849 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
17850
17851         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
17852         before the fctiwz insn.
17853
17854 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17855                           Mark Mitchell  <mark@codesourcery.com>
17856
17857         * tree.c (make_lang_type_fn): New funtion pointer.
17858         (make_lang_type): Call it.
17859         * tree.h (make_lang_type): Declare.
17860         (make_lang_type_fn): Likewise.
17861         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
17862
17863 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
17864
17865         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
17866         make sure that HIGH instructions are copied into BASE_REGS.
17867
17868 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
17869
17870         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
17871
17872 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
17873
17874         * c-decl.c (finish_struct): Use simpler method of
17875         removing elements of a singly-linked list.
17876
17877 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
17878
17879         * alpha.md (peephole2's): Comment out peephole2's that generate
17880         buggy code.
17881
17882 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
17883
17884         * genrecog.c (add_to_sequence): Disable mode check for
17885         wildcard matches.
17886
17887 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17888
17889         * ggc-simple.c (init_ggc): Set empty_string.
17890
17891 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
17892
17893         * configure.in: Detect mmap.  Add --with-gc=foo to select
17894         garbage collector; default to page if mmap available.
17895         * Makefile.in (GGC): Substitute.
17896
17897 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
17898
17899         * c-decl.c (ggc_p): Enable.
17900
17901 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17902
17903         * flow.c (verify_flow_info): Make it extern & unconditionally define.
17904
17905 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
17906
17907         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
17908         string for little-endian-data.
17909
17910 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
17911
17912         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
17913         case somebody tries to compile --enable-checking code with gcc
17914         1.34 or such.
17915
17916 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
17917
17918         * genrecog.c (add_to_sequence): Verify operand to label_ref is
17919         VOIDmode.
17920
17921 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
17922
17923         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
17924         * jump.c (jump_optimize_1): Document why.
17925
17926 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17927
17928         * collect2.c (scan_prog_file, scan_libraries): Prototype function
17929         pointers and casts for `int_handler' and `quit_handler'.
17930
17931         * flow.c (verify_flow_info, split_hard_reg_notes,
17932         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
17933         remove_edge, remove_fake_successors): Add static prototypes.
17934         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
17935         (mark_set_1): Initialize variable `regno'.
17936         (unlink_insn_chain): Likewise for variable `curr'.
17937         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
17938
17939         * loop.c (strength_reduce): Initialize variable
17940         `unrolled_insn_copies'.
17941         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
17942         prototypes.  Change these functions to take const PTR parameters
17943         to avoid prototype conflict when used as the comparson argument
17944         for qsort.
17945         (check_dbra_loop): Initialize variable `comparison_val'.
17946
17947         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
17948         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
17949         (find_valid_class): Initialize variable `best_class'.
17950         (find_reloads): Call memcpy, not bcopy.
17951
17952         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
17953         (hard_reg_use_compare): Don't needlessly cast away const.
17954         (reload_reg_class_lower): Likewise.
17955         (choose_reload_regs): Initialize variable `regno'.
17956
17957 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
17958
17959         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
17960
17961 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
17962
17963         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
17964         ({,d}discard): Add forward declarations.  Declare parameter as
17965         unused.
17966         (main_without_main): Explicitly declare return type to be int.
17967         (memcpy): Properly declare.
17968
17969         * libgcc2.c (toplevel): If inhibit_libc is defined and not
17970         building the trampoline support, declare malloc, free, and
17971         atexit.
17972         (__clear_cache): Mark arguments as potentially unused.
17973
17974         * frame.c (toplevel): If inhibit_libc is defined, declare
17975         malloc and free.
17976
17977 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
17978
17979         * flow.c (make_edge): Accept an optional 2D bitmap in which
17980         to cache edge existence.  Update all callers.
17981         (make_label_edge, make_eh_edge): Pass through the edge cache.
17982         (make_edges): Provide the cache.
17983
17984 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17985
17986         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
17987         a char*.
17988         (local_mbtowc): Change the type of variable `i' from int to size_t.
17989
17990         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
17991         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
17992
17993 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
17994
17995         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
17996         after other includes that define the appropriate types.  Include
17997         tm_p.h for getting user prototypes.
17998         * ggc-callbacks.c (toplevel): Ditto.
17999         * ggc-none.c (toplevel): Ditto.
18000         * gcc-page.c (toplevel): Ditto.
18001         * ggc-simple.c (toplevel): Ditto.
18002
18003 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
18004                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
18005
18006         * config/mips/mips.c (mips_move_2words): Split doubles if
18007         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
18008
18009 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
18010
18011         * genrecog.c (struct decision_test): New.
18012         (struct decision): Remove test-related members, sort the rest by size.
18013         (IS_SPLIT): Simplify.
18014         (new_decision, new_decision_test): New.
18015         (add_to_sequence): Use them.  No special handling for args of
18016         non-MATCH codes.
18017         (maybe_both_true): Renamed from not_both_true; return sense changed.
18018         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
18019         of maybe_both_true and adjusted for decision_test.
18020         (position_merit): Remove.
18021         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
18022         (merge_accept_insn): New, broken out of merge_trees.
18023         (merge_trees): Use them.  No special case for c_test; no node
18024         splitting; use test type instead of position_merit.
18025         (factor_tests): New.
18026         (simplify_tests): New.
18027         (break_out_subroutines): Don't write code now.
18028         (find_afterward): New.
18029         (write_afterward, write_switch, write_cond): New.
18030         (write_action, is_unconditional): New.
18031         (write_node): New.  Use them.
18032         (write_tree_1): Rewrite.  Use the new functions above.
18033         (write_tree): Remove afterward processing.
18034         (write_subroutine): Simplify function variant emission.
18035         (write_subroutines): New.
18036         (same_codes, clear_codes): Remove.
18037         (same_modes, clear_modes): Remove.
18038         (write_header): New, broken out of main.
18039         (make_insn_sequence): Use new_decision and new_decision_test.
18040         (process_tree): New, broken out of main.
18041         (main): Adjust for merge_trees interface change.
18042         Don't #define operands in the output file.
18043         (record_insn_name): New, broken out of make_insn_sequence.
18044         (debug_decision_2, debug_decision_1, debug_decision_0): New.
18045         (debug_decision): New.
18046
18047 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
18048
18049         * resource.c (find_free_register): Mark class_str argument const.
18050         * resource.h: Update prototype to match.
18051
18052         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
18053         * i386.md: Give all anonymous insns names.
18054
18055 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
18056
18057         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
18058         blocks.
18059
18060 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
18061
18062         * toplev.c (dbr_sched_time): Unconditional.
18063         (peephole2_time): New.
18064         (compile_file): Add pass numbers to all of the dump file suffixes.
18065         Dump peephole2_time.  Don't dump times for non-applicable passes.
18066         (rest_of_compilation): Add pass numbers to dump file suffixes.
18067         Conditionalize calls to the scheduler.
18068         * invoke.texi: Update.
18069
18070 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
18071
18072         * flow.c (make_edges): Fix insn iteration.
18073         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
18074         (find_basic_blocks_1): Fix spelling mistake.
18075
18076 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
18077
18078         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
18079         always have side-effects.  Use memset not bzero.
18080         (make_node): Likewise.
18081
18082 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
18083
18084         * stmt.c (expand_anon_union_decl): When any of the elements of the
18085         union is addressable, so is the entire union.
18086
18087 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
18088
18089         * sbitmap.c (sbitmap_ones): Don't set too many bits.
18090
18091         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
18092         * bitmap.c (bitmap_operation): Return true iff TO changed.
18093         (bitmap_equal_p): New.
18094         (bitmap_bit_p): Tidy arithmetic.
18095         (debug_bitmap_file): Likewise.
18096
18097 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
18098
18099         * toplev.c (rest_of_compilation): Turn on cse_not_expected
18100         before cse2 instead of after.
18101
18102 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
18103
18104         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
18105         register offsets.
18106
18107 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18108
18109         * cppinit.c (is_idchar initializer): Loosen tests to accept
18110         gcc 2.>6 and >2.
18111
18112 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
18113
18114         * mips.md: Define conditional move patterns for floating point
18115         operands and DI mode conditions.
18116
18117 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
18118
18119         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
18120         always have side-effects.
18121
18122 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
18123
18124         * mn10200.c (asm_file_start): Fix typo.
18125
18126         * cppinit.c (is_idchar initializer): Tighten tests for when
18127         to put the table into initialized memory.
18128
18129         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
18130         not an array of rtunion.
18131         * gcc-page.c (ggc_alloc_rtvec): Similarly.
18132         * gcc-simple (ggc_free_rtvec): Similarly.
18133
18134         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
18135         of rtunions.
18136
18137         * mbchar.h: Add missing #endif.
18138
18139         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
18140         (FPBIT, DPBIT): Define.
18141
18142 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18143
18144         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
18145
18146         * profile.c (instrument_arcs, output_gcov_string,
18147         tablejump_entry_p): Add static prototypes.
18148         (output_gcov_string): Constify a char*.
18149
18150         * regmove.c (replacement_quality, fixup_match_2): Add static
18151         prototypes.
18152
18153         * resource.h (reg_dead_p): Add extern prototype.
18154
18155         * rtl.c (trim_filename): Add static prototype.
18156
18157         * scan-decls.c (skip_to_closing_brace): Likewise.
18158
18159         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
18160         (expand_end_case): Initialize variable `range'.
18161         (emit_case_nodes): Remove unused prototype `rtx_fn'.
18162
18163         * varasm.c (asm_emit_uninitialised): Add static prototype.
18164         (asm_emit_uninitialised, assemble_variable): Mark parameter with
18165         ATTRIBUTE_UNUSED.
18166
18167 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18168
18169         * cpplib.c (if_directive_nameo): Add static prototype.
18170
18171         * cse.c (cse_insn): Remove unused variable `p'.
18172
18173         * except.c (create_rethrow_ref, push_entry,
18174         receive_exception_label, new_eh_region_entry, find_func_region,
18175         clear_function_eh_region, process_nestinfo): Add static prototypes.
18176         (get_reg_for_handler): Hide definition.
18177         (process_nestinfo): Initialize variable `extra_handlers'.
18178
18179         * expr.h (expand_builtin_longjmp): Add extern prototype.
18180
18181         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
18182
18183         * function.c (prepare_function_start): Likewise.
18184         (pop_function_context_from): Mark parameter `context' with
18185         ATTRIBUTE_UNUSED.
18186         (push_temp_slots_for_block, flush_addressof): Hide definition.
18187
18188         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
18189         solve_program_flow_graph, calculate_branch_probs,
18190         function_summary, main, fancy_abort): Add prototypes.
18191
18192         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
18193         (add_hash): Constify a char*.
18194
18195         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
18196         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
18197         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
18198
18199         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
18200
18201         * lists.c (free_list, zap_lists): Likewise.
18202
18203 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18204
18205         * alias.c (nonlocal_reference_p): Add static prototype.
18206
18207         * bitmap.c (bitmap_element_allocate): Prototype args in function
18208         pointer cast.
18209
18210         * builtins.c (stabilize_va_list): Add static prototype.
18211         (expand_builtin_va_arg): Constify a char*.
18212
18213         * c-lex.c (getch, put_back, extend_token_buffer_to,
18214         read_line_number, token_getch, token_put_back): Add static
18215         prototypes.
18216
18217         * c-parse.gperf (hash, is_reserved_word): Likewise.
18218
18219         * cccp.c (is_dir_separator): Likewise.
18220
18221 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18222
18223         * graph.h: New file to prototype functions exported by graph.c.
18224
18225         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
18226
18227         * graph.c: Include graph.h.
18228
18229         * toplev.c: Likewise.  Remove redundant prototypes.
18230
18231 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
18232
18233         * invoke.texi: Removed duplicated description for -Q.
18234
18235 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
18236
18237         * extend.texi: Grammar fix in __extension__ text.
18238
18239 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
18240
18241         * md.texi (define_peephole2): New section.
18242
18243 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
18244
18245         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
18246         (mov $-1 to or peepholer): Enable for pentium when optimizing for
18247         speed.
18248
18249 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
18250
18251         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
18252
18253 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
18254
18255         * i386.md (ffs expander): Emit Pentium friendly code for
18256         TARGET_PENTIUM.
18257
18258 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
18259
18260         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
18261         for non-trees.
18262         (build1): Likewise.
18263
18264 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18265
18266         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
18267
18268 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
18269
18270         * config/m68k/m68k.c (use_return_insn): Return false if the pic
18271         register is in use.
18272
18273 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18274
18275         * md.texi (No Constraints): Delete section.
18276         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
18277         * final.c (final_scan_insn): We always have register constraints.
18278         * genattrtab.c: Don't include "insn-config.h".
18279         (write_attr_case): We always have register constraints.
18280         * genconfig.c (register_constraint_flag): Delete.
18281         (walk_insn_part): Don't check whether we have register constraints.
18282         (main): Don't write out "#define REGISTER_CONSTRAINTS".
18283         * genoutput.c (have_constraints): Delete.
18284         (main): Don't set it.
18285         (output_operand_data): We always have constraints.
18286         (scan_operands): Likewise.
18287         (compare_operands): Likewise.
18288         * local-alloc.c (block_alloc): We always have constraints.
18289         (requires_inout): Always compile this function.
18290         * recog.c (extract_insn): We always have constraints.
18291         (constrain_operands, reg_fits_class_p): Always compile these
18292         functions.
18293         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
18294         fields.
18295         (struct insn_operand_data): Likewise.
18296         * regclass.c (regclass): We always have constraints.
18297         (record_reg_classes, copy_cost, record_address_regs,
18298         auto_inc_dec_reg_p): Always compile these functions.
18299         * regmove.c (regmove_optimize): We always have constraints.
18300         * reload.c (find_reloads): Likewise.
18301         * reload1.c (reload): Likewise.
18302         (reload_cse_simplify_operands): Likewise.
18303         * i860.c (output_delay_insn): Likewise.
18304
18305 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
18306
18307         * iris6.h (BUILD_VA_LIST_TYPE): Define.
18308
18309 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18310
18311         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
18312         for the va_list record.
18313
18314 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
18315
18316         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
18317         prologues.
18318
18319 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
18320
18321         * alias.c: Include insn-flags.h.
18322         * Makefile.in (alias.o): Update.
18323
18324 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
18325
18326         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
18327         to LTU and GEU.  Handle more cases using sbb.
18328
18329 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
18330
18331         * i386.md (truncatexfdf splitters): Do not use subreg.
18332         (fop XFmode patterns): Fix mode in operand testing.
18333
18334 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
18335
18336         * jump.c (jump_optimize_1): Amend last change to test only the
18337         form of the operand, not the insn.
18338
18339         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
18340         not register_operand to determine when B may need preloading.
18341
18342 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
18343
18344         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
18345         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
18346         (call-value patterns): Move to end of file.
18347         (*): Remove mode from label_ref in (pc) context.
18348         (movstrqi): Use memory not general_operand for BLKmode operands.
18349         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
18350         to register_operand operands.
18351         (peep2 patterns): Convert from commented-out peephole patterns.
18352
18353 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18354
18355         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
18356         to BUILT_IN_INIT_DWARF_REG_SIZES.
18357         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
18358         Renamed from BUILT_IN_DWARF_REG_SIZE; call
18359         expand_builtin_init_dwarf_reg_sizes.
18360         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
18361         with __builtin_init_dwarf_reg_size_table.
18362         * dwarf2out.c (struct reg_size_range): Delete.
18363         (expand_builtin_init_dwarf_reg_sizes): New function.
18364         (expand_builtin_dwarf_reg_size): Delete.
18365         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
18366         (expand_builtin_dwarf_reg_size): Don't declare.
18367         * libgcc2.c (dwarf_reg_size_table_initialized): New.
18368         (dwarf_reg_size_table): New.
18369         (init_reg_size_table): New function.
18370         (copy_reg): Use dwarf_reg_size_table.
18371         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
18372         before use.
18373
18374 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
18375
18376         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
18377         Correctly build argument list to constructor and destructor functions.
18378
18379 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
18380
18381         * c-tree.h (warn_float_equal): Declare.
18382         * c-decl.c (warn_float_equal): Define.
18383         (c_decode_option): Recognize -W[no-]float-equal.
18384         * c-typeck.c (build_binary_op): Conditionally warn
18385         about equality tests of floating point types.
18386         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
18387         * invoke.texi: Add docs for -Wfloat-equal warning.
18388
18389 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
18390
18391         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
18392         generating RTL directly.
18393         * mips.h (INIT_TARGET_OPTABS): Likewise.
18394         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
18395
18396         * expr.h (init_mov_optab): Delete declaration
18397
18398         * h8300.c (WORD_REG_USED): Update to avoid useless register
18399         saves in interrupt functions and functions which never return.
18400
18401         * cse.c (struct set): Delete inner_dest_loc field.
18402         (cse_insn): Remove assignments to inner_dest_loc field.
18403
18404 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
18405
18406         * ggc-page.c: Don't include <unistd.h> etc taken care of
18407         by "system.h".  Include <sys/mman.h> afterward.
18408
18409 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
18410
18411         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
18412         ggc_alloc_string.
18413
18414 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
18415
18416         * xcoffout.c (xcoffout_declare_function): Add documentation.
18417         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
18418         TARGET_64BIT.  Compare constant to -1, not bit pattern.
18419         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
18420         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
18421         gen_movsi typos.
18422
18423 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
18424
18425         * dwarf2out.c (add_abstract_origin_attribute): Abort if
18426         origin_die is NULL.
18427         (gen_inlined_enumeration_type_die): Do not abort if the type has
18428         not been writeen out.
18429         (gen_inlined_structure_type_die): Do not abort if the type has
18430         not been writeen out.
18431         (gen_inlined_union_type_die): Do not abort if the type has
18432         not been writeen out.
18433         (gen_tagged_type_instantiation_die): Do not abort if the type
18434         has not been written out.
18435
18436 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18437
18438         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
18439         call it.
18440         * reg-stack.c (straighten_stack): Copy hard reg set with
18441         COPY_HARD_REG_SET.
18442
18443 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
18444
18445         * builtins.c (stabilize_va_list): Stabilize array type va_list
18446         to a pointer type, not the base record type.
18447         (expand_builtin_va_copy): Dereference the pointers explicitly;
18448         use the correct size for the copy.
18449
18450         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
18451         (rs6000_va_arg): Likewise.
18452
18453 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
18454
18455         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
18456
18457 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
18458
18459         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
18460         field.
18461         (DECL_BUILT_IN_CLASS): Adjust accordingly.
18462
18463 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
18464
18465         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
18466         (init_ggc): Use it instead of a constant.
18467         (ggc_collect): Bound allocated_last_gc by it.
18468
18469 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
18470
18471         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
18472         with va_list.
18473
18474 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
18475
18476         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
18477         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
18478         * configure:  Regen.
18479         * config/mips/openbsd.h:  New, OpenBSD little endian target.
18480         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
18481         * config/mips/xm-openbsd.h:  New, OpenBSD host.
18482
18483 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
18484
18485         * config/m68k/m68k.c (output_function_prologue,
18486         output_function_epilogue): Use
18487         current_function_uses_pic_offset_table instead of regs_ever_live
18488         to decide whether to save/restore pic register.
18489         (legitimize_pic_address): Don't modify regs_ever_live any more.
18490
18491 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
18492
18493         * function.h (struct function): Add x_dont_save_pending_sizes_p.
18494         * stor-layout.c (variable_size): Don't add sizes to the pending
18495         sizes list if x_dont_save_pending_sizes_p is set.
18496
18497 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
18498
18499         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
18500         for symbolic_operand().
18501         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
18502
18503 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18504
18505         * combine.c (gen_rtx_combine): Add missing call to va_end().
18506
18507         * final.c (asm_fprintf): Likewise.
18508
18509         * genattrtab.c (attr_rtx): Likewise.
18510
18511 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
18512
18513         * cse.c: Update comments.
18514         (cse_insn): When converting a conditional/computed jump into
18515         an unconditional jump, always make sure a BARRIER immediately
18516         follows the converted jump.  Do not delete unreachable code.
18517         (cse_basic_block): Do not delete unreachable code.
18518         * toplev.c (rest_of_compilation): Move call to
18519         delete_trivially_dead_insns after the conditional call to
18520         jump_optimize.
18521
18522 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18523
18524         * collect2.c (make_temp_file): Don't prototype.
18525
18526         * gcc.c (make_temp_file): Likewise.
18527
18528         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
18529
18530 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
18531
18532         * varasm.c (asm_emit_uninitialised): New function: Generate
18533         the assembler statements necessary to declare an uninitialised
18534         variable.
18535         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
18536         variable.
18537         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
18538         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
18539         section.
18540         (assemble_variable): Use asm_emit_uninitialised to emit an
18541         uninitialised variable.
18542
18543 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
18544
18545         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
18546         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
18547         <geoffk@cygnus.com>.
18548
18549 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18550
18551         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
18552         * c-common.h (builtin_function): Don't declare.
18553
18554         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
18555         DECL_BUILT_IN.
18556         (pushdecl): Likewise.
18557         (finish_decl): Likewise.
18558         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
18559         int.  All callers changed.
18560         Set the builtin's DECL_BUILT_IN_CLASS.
18561         * tree.h (enum built_in_class): New.
18562         (enum built_in_function): Delete NOT_BUILT_IN.
18563         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
18564         in a union.
18565         (DECL_SET_FUNCTION_CODE): Likewise.
18566         (DECL_BUILT_IN_CLASS): New macro.
18567         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
18568         (struct tree_decl): Split builtin function code field into a
18569         struct.
18570         (builtin_function): Declare.
18571
18572 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
18573
18574         * optabs.c (init_traps): Fix typo in last change.
18575
18576 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
18577
18578         * toplev.c (rest_of_decl_compilation): Update comment.
18579
18580 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
18581
18582         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
18583         in .sbss if appropriate.
18584         (EXTRA_SECTION_FUNCTIONS): Add sbss.
18585         (SBSS_SECTION_ASM_OP): New macro.
18586         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
18587         (EXTRA_SECTIONS): Add in_sbss.
18588         * config/mips/mips.h: Prototype sbss_section.
18589
18590 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
18591
18592         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
18593         to disappear.
18594
18595 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
18596
18597         * optabs.c (init_traps): Register trap_rtx as a GC root.
18598
18599 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18600
18601         * config/mips/mips.c (function_arg_pass_by_reference): Define
18602         unconditionally, since it's called unconditionally.
18603
18604 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
18605
18606         * toplev.c (documented_lang_options): Add -fshort-wchar.
18607         * c-decl.c (c_decode_option): Likewise.
18608         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
18609         for wchar_t.
18610         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
18611         * gcc.c (default_compilers): If -fshort-wchar,
18612         override __WCHAR_TYPE__.
18613         * tm.texi (C Dialect Options): Add -fshort-wchar.
18614
18615         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
18616         symbol for a variable.
18617
18618         * cpplib.h (CPP_PREPROCESSED): New macro.
18619         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
18620         we're seeing this input for a second time.
18621
18622 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
18623
18624         * emit-rtl.c (init_emit_once): Initialize modes first.
18625
18626 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
18627
18628         * config/i386/i386.c (pic_label_name): Change to char pointer.
18629         (global_offset_table): New variable.
18630         (load_pic_register): Fill global_offset_table if it hasn't
18631         already been done.  Allocate pic_label_name dynamically.
18632         * ggc.h (empty_string): New variable.
18633         * ggc-simple.c (empty_string): Likewise.
18634         (init_ggc): Allocate empty_string and add as root.
18635         * stmt.c (digit_strings): New variable.
18636         (init_stmt): Add last_block_end_note as root.  Allocate and
18637         initialize digit_strings.
18638         (expand_asm_operands): Use empty_string instead of string
18639         constant.  Use digit_strings instead of string constants.
18640         * profile.c (init_arc_profiler): Allocate string with
18641         ggc_alloc_string instead of xmalloc.
18642         (output_func_start_profiler): Likewise.
18643         * c-typeck.c (digest_init): Check if init is error_mark_node.
18644
18645 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
18646                           Richard Henderson  <rth@cygnus.com>
18647
18648         * ggc-page.c: New file.
18649         * Makefile.in (ggc-page.o): New.
18650
18651 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
18652
18653         * invoke.texi: Document -fdelete-null-pointer-checks
18654         * toplev.c (flag_delete_null_pointer_checks): New.
18655         (f_options): Add entry for -fdelete-null-pointer-checks.
18656         (rest_of_compilation): Conditionalize null pointer check
18657         elimination on flag_delete_null_pointer_checks.
18658         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
18659
18660 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
18661
18662         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
18663         copyright notice and special exception to GPL.
18664
18665 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18666
18667         * abi64.h (mips_function_value): Add prototype arguments.
18668
18669         * mips-protos.h: New file with mips prototypes.
18670
18671         * mips.c: Include "tm_p.h".
18672         (mktemp, lookup_name): Add prototype arguments.
18673         (extern_list, string_constant, mips_fill_delay_slot,
18674         mips_output_external, mips_output_external_libcall,
18675         mips_output_filename, mips_declare_object, function_prologue,
18676         mips_expand_prologue, function_epilogue, mips16_constant,
18677         build_mips16_function_stub, mips_output_conditional_branch):
18678         Constify a char*.
18679         (mips_va_start): Remove unused variable `u'.
18680         (mips_va_arg): Cast value to unsigned when comparing against one.
18681         (trace): Delete.
18682         (save_restore_insns, mips_expand_prologue): Add missing arg in
18683         call to `large_int'.
18684
18685         * mips.h: Move prototypes to mips-protos.h.
18686         (data_section, memory_address_p, rdata_section,
18687         readonly_data_section, simple_epilogue_p, text_section): Delete
18688         prototypes delcared elsewhere.
18689         (mips_epilogue_delay_slots, print_options): Delete unused decls.
18690         (trace): Delete.
18691         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
18692
18693         * mips.md: Delete extra args in call to `mips_move_2words'.
18694
18695         * xm-iris6.h (alloca): Add prototype argument.
18696
18697         * genpeep.c: Include "tm_p.h" in generated output file.
18698
18699 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18700
18701         * basic-block.h (find_edge_index): Change parameters.
18702         * flow.c (verify_edge_list): Pass basic_block parameters to
18703         find_edge_index instead of integers.
18704
18705 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
18706
18707         * combine.c (simplify_comparison): Use an unsigned shift to adjust
18708         the constant.
18709
18710 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
18711
18712         * gcc.1: Fix a formatting error.
18713
18714 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
18715
18716         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
18717         i786, mn10200, mn10300, pdp11, v850.
18718
18719 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
18720
18721         * libgcc2.c (num_digits): Add prototype with
18722         __attribute__((const)).
18723         (__terminate): Add prototype.
18724
18725 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
18726
18727         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
18728
18729         * alpha/alpha.c (print_operand): Fix type of `code'.
18730         (alpha_output_filename): Constify.
18731         * alpha/alpha.h: Move all function declarations ...
18732         * alpha/alpha-protos.h: ... here.  New file.
18733         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
18734         (SECTION_FUNCTION_TEMPLATE): Likewise.
18735
18736 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18737
18738         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
18739         * expr.c (expand_expr): Likewise.
18740         (do_jump): Likewise.
18741         (do_store_flag): Pass ccp_store_flag to can_compare_p.
18742         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
18743         accessor macros.
18744         (enum can_compare_purpose): New.
18745         (can_compare_p): Adjust prototype.
18746         (prepare_cmp_insn, prepare_operand): Declare.
18747         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
18748         * optabs.c (cmp_available_p): Deleted.
18749         (expand_abs): Pass ccp_jump to can_compare_p.
18750         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
18751         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
18752         Call can_compare_p rather than cmp_available_p.
18753         (prepare_operand): No longer static.
18754         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
18755         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
18756         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
18757         sequence to use emit_cmp_and_jump_insns.
18758         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
18759
18760 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
18761
18762         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
18763         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
18764         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
18765         (plus (reg) (const_int 0))
18766         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
18767
18768 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
18769
18770         * rs6000.c (expand_block_move): DImode loads and stores require
18771         word-aligned displacements.  Increment address registers with
18772         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
18773
18774 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
18775
18776         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
18777         is no name for the base type, rather than segfault.  If we are
18778         writing out a complex integer type, use DW_ATE_lo_user.
18779
18780         * expr.c (emit_move_insn_1): If we are copying a complex that fits
18781         in one word or less (complex char, complex short, or on 64 bit
18782         systems complex float) to/from a hard register, copy it through
18783         memory instead of dying in gen_{real,imag}part.  If we have a
18784         short complex type, prevent inlining since it allocates stack
18785         memory.
18786
18787         * tree.c (build_complex_type): If we are writing dwarf2 output,
18788         generate a name for complex integer types.
18789
18790 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18791
18792         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
18793         * flow.c (remove_edge): Remove extra whitespace.
18794         (remove_fake_edges): Fix comment.
18795         (add_noreturn_fake_exit_edges): Use the correct name.
18796
18797 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
18798
18799         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
18800         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
18801         (clean): Depend on INTL_CLEAN.
18802         (maintainer-clean): Adjust.
18803
18804 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18805
18806         * configure.in (AC_PREREQ): Bump to 2.13.
18807         (AC_C_STRINGIZE): Call this instead of using a custom macro.
18808
18809         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
18810
18811         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
18812
18813         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
18814
18815         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
18816         (HAVE_STRINGIZE): Define.
18817
18818 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
18819
18820         * c-parse.in: save and restore warn_pointer_arith on __extension__
18821         along with pedantic.
18822         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
18823         Set the type of extension to itype rather than $<itype>1 kludge.
18824         * extend.texi (Alternate Keywords): Adjust documentation.
18825         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
18826
18827 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
18828
18829         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
18830         most assembler templates.
18831
18832         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
18833         FP loads and stores.
18834         (following_call): Always return zero for the PA8000.
18835         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
18836         FP loads and stores.
18837         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
18838
18839         * pa.h (BRANCH_COST): Define.
18840
18841         * pa.md (return, return_internal): Use bve for PA2.0.
18842
18843         * pa.md (fused multiply): Add variants which reduce height for the
18844         fused multiply, but which still generate 2 insns.
18845         (fnegabs): Similarly.
18846
18847         * pa.md (subsi3): Turn into an expander.  Create two anonymous
18848         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
18849         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
18850
18851         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
18852         for TARGET_PA_20.
18853         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
18854         code generation.
18855         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
18856         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
18857
18858         * regclass.c (init_regs): Add "top_of_stack" as a garbage
18859         collection root.
18860
18861         * flow.c (record_active_eh_regions): Terminate loop after finding
18862         the last insn in the last basic block.
18863
18864 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18865
18866         * config/c4x/c4x.md: Delete parallel instruction peepholes.
18867
18868 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18869
18870         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
18871
18872 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18873
18874         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
18875         splitting to not use output template.
18876
18877 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18878
18879         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
18880         * config/c4x/c4x.c (c4x_va_start): New function.
18881
18882 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
18883
18884         * genrecog.c (not_both_true): Handle correctly cases when called for
18885         tests with different positions in the insn.
18886
18887 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18888
18889         * machmode.h (HOST_PTR_PRINTF): Move from here ...
18890
18891         * system.h (HOST_PTR_PRINTF): ... to here.
18892
18893         * mips-tfile.c: Don't include machmode.h.
18894
18895         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
18896         (mips-tfile.o): Don't depend on machmode.h.
18897
18898 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18899
18900         * haifa-sched.c (sched_analyze): Rename local variable `region' to
18901         avoid conflicts with typedef struct `region' at the top level scope.
18902
18903 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
18904
18905         * basic-block.h (basic_block): Add eh_beg, eh_end.
18906         * flow.c (entry_exit_blocks): Update.
18907         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
18908         Call new functions.
18909         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
18910         lists.c functions to allocate insn lists.
18911         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
18912         edge creation ...
18913         (make_eh_edge): ... here.  New.
18914         (move_stray_eh_region_notes): New.
18915         (record_active_eh_regions): New.
18916         (delete_unreachable_blocks): Split out block merging ...
18917         (try_merge_blocks): ... here.  New.
18918         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
18919         Dump debugging data.
18920         (merge_blocks_move_successor_nojumps): Likewise.
18921         (merge_blocks): Use eh_beg+eh_end to validate block movement.
18922
18923 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
18924
18925         * extend.texi (Bound member functions): Document unbound pmf
18926         conversion.
18927
18928 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18929
18930         * flow.c (split_edge): Handle insertion on a fallthrough edge which
18931         has the EXIT_BLOCK as a dest.
18932
18933 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18934
18935         * flow.c (remove_edge): New function to remove an edge from the
18936         flow graph.
18937         (remove_fake_successors): New function to remove fake successor edges.
18938         (remove_fake_edges): New function to remove all fake edges from the
18939         flow graph.
18940         (add_fake_exit_edges): New function to add fake edges from all blocks
18941         with no successors to the exit block.
18942         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
18943         prototypes for new functions.
18944
18945 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18946
18947         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
18948         Use Pmode to determine whether to output .dword or .word.
18949
18950 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
18951
18952         * tree.c (built_in_filename): New variable.
18953         (BUILT_IN_FILENAME): New macro.
18954         (init_tree_codes): Allocate built_in_filename.
18955         (make_node): Use built_in_filename instead of string constant.
18956
18957 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
18958
18959         * configure.in: Add fr30 target.
18960         * configure: Regenerate.
18961         * config/fr30: New directory.
18962         * config/fr30/crti.asm: New file.
18963         * config/fr30/fr30.c: New file.
18964         * config/fr30/crtn.asm: New file.
18965         * config/fr30/fr30.h: New file.
18966         * config/fr30/fr30.md: New file.
18967         * config/fr30/lib1funcs.asm: New file.
18968         * config/fr30/t-fr30: New file.
18969         * config/fr30/xm-fr30.h: New file.
18970
18971 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
18972
18973         * flow.c (merge_blocks_move_successor_nojumps): Delete the
18974         BARRIER at the end of the successor, not the BARRIER before
18975         the successor.
18976
18977         * pa.c (pa_add_gc_roots): Fix thinko in last change.
18978
18979 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
18980
18981         * stmt.c (any_pending_cleanups): Don't crash when
18982         current_function->stmt is unset.
18983
18984 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18985
18986         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
18987         other initializations that may use it for relative offsets.
18988
18989 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18990
18991         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
18992         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
18993         * config/i386/sol2dbg.h: Removed.
18994         * config/i386/sol2gas.h: New file, to enable gas work-around.
18995         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
18996         Don't use sol2dbg.h.
18997         * configure: Rebuilt.
18998
18999 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
19000
19001         * invoke.texi (-fthis-is-variable): Remove documentation.
19002
19003 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
19004
19005         * basic-block.h (compute_bb_for_insn): Declare.
19006         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
19007         to use; set size of basic_block_for_insn directly.
19008         (find_basic_blocks): Update.
19009
19010 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19011
19012         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
19013
19014 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19015
19016         * crtstuff.c (ON_EXIT): Delete empty macro definition.
19017         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
19018
19019 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
19020
19021         * c-decl.c (c_decode_option): Extend comment.
19022
19023 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
19024
19025         * toplev.c (progname): Make 'const char *'
19026         (flag_print_mem): Move out of main.
19027         (version_flag): Move out of main.
19028         (filename): Move out of main.
19029         (debug_args): Remove g prefix from options.
19030         (documented_lang_options): Remove cpplib specific options.
19031         (display_help): Add g prefix to debug options.
19032         (check_lang_option): Delete this function.
19033         (decode_d_option): New function: Decode -d... option.
19034         (decode_f_option): New function: Decode -f... option.
19035         (decode_W_option): New function: Decode -W... option.
19036         (decode_g_option): New function: Decode -g... option.
19037         (independent_decode_option): New function: Decode a language
19038         independent command line option.
19039         (main): Invoke lang_decode_option and then
19040         independent_decode_option on each command line option in
19041         turn.
19042
19043 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
19044
19045         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
19046          * fold-const.c (fold_range_test): Do not try to fold the range
19047          test if the rhs or lhs has side effects.
19048
19049         * basic-block.h (compute_flow_dominators): Declare.
19050
19051         * gcse.c (alloc_code_hoist_mem): New function.
19052         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
19053         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
19054         (hoist_code, one_code_hoisting_pass): Likewise.
19055         (gcse_main): If optimizing for size, then hoist expressions
19056         computed in multiple dominated basic blocks.
19057
19058         * gcse.c (invalid_nonnull_info): New function.
19059         (delete_null_pointer_checks): Likewise.
19060         * rtl.h (delete_null_pointer_checks): Declare.
19061         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
19062
19063         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
19064         (merge-blocks_move_successor_nojumps): Likewise.
19065         (merge_blocks): Allow merging of some blocks, even if it requires
19066         physical movement of the blocks, but not if it requires new jumps.
19067
19068         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
19069         Callers and prototype changed.
19070         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
19071
19072 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19073
19074         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
19075         -YP when both -p and -pg are present.  From i386/sol2.h.
19076
19077 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19078
19079         * Makefile.in (distclean): Delete tm_p.h.
19080         * configure.in: Create a new file, "tm_p.h", from a list in
19081         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
19082         "i386/i386-protos.h".
19083
19084         * alias.c: Include "tm_p.h".
19085         * c-typeck.c: Likewise.
19086         * calls.c: Likewise.
19087         * cse.c: Likewise.
19088         * emit-rtl.c: Likewise.
19089         * explow.c: Likewise.
19090         * expmed.c: Likewise.
19091         * expr.c: Likewise.
19092         * final.c: Likewise.
19093         * flow.c: Likewise.
19094         * fold-const.c: Likewise.
19095         * function.c: Likewise.
19096         * gcse.c: Likewise.
19097         * global.c: Likewise.
19098         * haifa-sched.c: Likewise.
19099         * integrate.c: Likewise.
19100         * jump.c: Likewise.
19101         * local-alloc.c: Likewise.
19102         * loop.c: Likewise.
19103         * optabs.c: Likewise.
19104         * recog.c: Likewise.
19105         * reg-stack.c: Likewise.
19106         * regclass.c: Likewise.
19107         * regmove.c: Likewise.
19108         * reload.c: Likewise.
19109         * reload1.c: Likewise.
19110         * reorg.c: Likewise.
19111         * resource.c: Likewise.
19112         * stmt.c: Likewise.
19113         * stor-layout.c: Likewise.
19114         * toplev.c: Likewise.
19115         * tree.c: Likewise.
19116         * unroll.c: Likewise.
19117         * genattrtab.c (main): Make generated file include "tm_p.h".
19118         * genemit.c (main): Likewise.
19119         * genoutput.c (main): Likewise.
19120         * genrecog.c (main): Likewise.
19121
19122         * i386.h: Delete all prototypes.
19123         * i386.c: Include "tm_p.h".
19124         (ix86_attr_length_default): Call constant_call_address_operand
19125         with correct number of arguments.
19126         * i386-protos.h: New file.
19127         * i386.md (unnamed patterns): Call constant_call_address_operand
19128         with correct number of arguments.
19129         (exception_receiver): Call load_pic_register with correct number
19130         of arguments.
19131
19132 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
19133
19134         * c-pragma.c (mark_align_stack): Dereference the void* properly.
19135
19136 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
19137
19138         * rtl.h (insns_safe_to_move_p): New function.
19139         * loop.c (find_and_verify_loops): Use it.
19140         * rtlanal.c (insns_safe_to_move_p): Define it.
19141
19142 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
19143
19144         * c-pragma.c: Include ggc.h.
19145         * Makefile.in (c-pragma.o): Update.
19146
19147 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19148
19149         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
19150         (LIB_SPEC): Likewise.
19151         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
19152         Reindent -YP/-p/-pg.
19153         Copied from config/sparc/sol2.h.
19154
19155 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
19156
19157         * c-pragma.c (mark_align_stack): New.
19158         (init_pragma): New.
19159         * c-pragma.h (init_pragma): Declare it.
19160         * c-lex.c (init_parse): Call it.
19161
19162 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19163
19164         * configure.in: Pick up thread library on Solaris/x86 just
19165         like on Solaris/sparc.
19166         * configure: Rebuilt.
19167
19168 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
19169
19170         * rtl.h (global_rtx_index): New enum.
19171         (global_rtl): Change to array of rtx.
19172         (pc_rtx, cc0_rtx): Redefine accordingly.
19173         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
19174         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
19175         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
19176         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
19177         (const_int_rtx): Change to array of rtx.
19178         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
19179         accordingly.
19180         * emit-rtl.c (global_rtl): Change to array of rtx.
19181         (const_int_rtx): Change to aray of rtx.
19182         (gen_rtx_CONST_INT): Redefine accordingly.
19183         (init_emit_once): Allocate and initialize global_rtl.  Likewise
19184         for const_int_rtx.  Add both as GC roots.
19185         * genattrtab.c (global_rtl): Update declaration.
19186
19187 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
19188
19189         * Makefile (USER_H): Add iso646.h back.
19190
19191 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
19192
19193         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
19194         zapping the LOG_LINKS of sched_before_next_call.
19195
19196         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
19197         * pa.c (insn_refs_are_delayed): Renamed from
19198         insn_sets_and_refs_are_delayed.
19199
19200 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
19201
19202         * functiion.h (struct function): Add x_whole_function_mode_p.
19203         (retrofit_block): Declare.
19204         * function.c (retrofit_block): New function.
19205         (identify_blocks): Add assertions.  Allow an incomplete set of
19206         block notes if we're still generating code for the function.
19207         * integrate.c: Include loop.h.
19208         (expand_inline_function): Call find_loop_tree_blocks to map block
19209         notes to blocks when in whole-function mode.  Use retrofit_block
19210         to insert new BLOCKs for the inlined function, rather than
19211         insert_block.
19212         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
19213         * Makefile.in (integrate.o): Depend on loop.h.
19214
19215 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
19216
19217         * tree.h (warn_about_unused_variables): Declare.
19218         * stmt.c (warn_about_unused_variables): New function, split out
19219         from ...
19220         (expand_end_bindings): Here.
19221
19222 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
19223
19224         * stmt.c (preserve_subexpressions_p): Don't crash when
19225         current_function->stmt is unset.
19226
19227 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
19228
19229         * stmt.c (expand_start_bindings): Allow callers to pass a flag
19230         indicating that no NOTE_INSN_BLOCK_BEG note is required.
19231         (expand_start_target_temps): Use it.
19232         * except.c (expand_eh_region_start_for_decl): Likewise.
19233         * expr.c (expand_expr): Likewise.
19234
19235 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19236
19237         * fold-const.c (operand_equal_p): Pay attention to side effects.
19238
19239 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
19240
19241         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
19242         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
19243
19244         * tlink.c (scan_linker_output): Look for keywords before accepting
19245         a mangled name in quotes.
19246
19247 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
19248
19249         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
19250         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
19251
19252 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
19253
19254         * alpha.md: Revert Thu Nov 26 change that came in through the
19255         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
19256         Avoid earlyclobber when possible.
19257
19258 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19259
19260         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
19261
19262         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
19263         Define HAVE_ON_EXIT.
19264
19265 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19266
19267         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
19268         CTYPE_CONV in all ctype macros.
19269
19270         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
19271         from system.h.
19272
19273         * cexp.y (initialize_random_junk): Likewise.
19274
19275         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
19276
19277         * i370.c (handle_pragma): Likewise.
19278
19279         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
19280
19281         * v850.c (override_options): Likewise.
19282
19283         * doprint.c (_doprnt): Likewise.
19284
19285         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
19286         Likewise.
19287
19288         * fixinc/server.c (load_data): Likewise.
19289
19290         * fold-const.c (real_hex_to_f): Likewise.
19291
19292         * genattr.c (write_upcase, gen_attr): Likewise.
19293
19294         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
19295         write_upcase): Likewise.
19296
19297         * genemit.c (print_code): Likewise.
19298
19299         * genopinit.c (gen_insn): Likewise.
19300
19301         * genpeep.c (print_code): Likewise.
19302
19303         * genrecog.c (print_code): Likewise.
19304
19305         * optabs.c (init_libfuncs): Likewise.
19306
19307 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
19308
19309         * haifa-sched.c (sched_analyze): Keep the list of notes organized
19310         in pairs.
19311         (reemit_notes): Likewise.
19312
19313 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
19314
19315         * ggc.h (ggc_root): Move to ggc-common.c.
19316         (roots): Remove.
19317         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
19318         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
19319         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
19320         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
19321         * ggc-common.c (ggc_root): Move from ggc.h.
19322         (roots): Declare, static.
19323         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
19324         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
19325         null or check/set mark bit.
19326         (ggc_mark_roots): New.
19327         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
19328
19329 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
19330
19331         * m32r.c: Include toplev.h.
19332         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
19333         (gen_compare): Rename swap_p to must_swap to match uses.
19334         Add default abort case.
19335         (m32r_output_function_epilogue): Remove unused variables.
19336         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
19337         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
19338         define to empty parameter list.  Update all uses.
19339         (predicate decls): Use enum machine_mode not int.
19340         * m32r.md (movsi): Call abort, not fatal_insn.
19341         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
19342
19343 1999-09-14  Andrew Haley  <aph@cygnus.com>
19344
19345         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
19346         use $0 instead of 0.
19347
19348 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19349
19350         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
19351         computation out of loop over hard regs.
19352
19353 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
19354
19355         * function.c (identify_blocks): Don't shadow a variable in an
19356         outer scope.
19357         * integrate.c (integrate_decl_tree): Don't use pushlevel,
19358         pushdecl, or poplevel to build up the new BLOCK tree.
19359         (expand_inline_function): Likewise.
19360         (integrate_parm_decls): Likewise.
19361
19362 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
19363
19364         * c-typeck.c (qualify_type): Merge qualifiers from both types.
19365
19366 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
19367
19368         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
19369         * invoke.texi: Document this change.
19370
19371 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
19372
19373         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
19374         Free the struct.
19375         (mark_emit_status): Renamed from mark_emit_state.
19376         * except.c (mark_eh_status): Renamed from mark_eh_state.
19377         Check not null before marking.
19378         (free_eh_status): New.
19379         * expr.c (mark_expr_status, free_expr_status): New.
19380         * function.c (free_machine_status): New.
19381         (free_after_parsing): New.
19382         (free_after_compilation): Move bits to free_after_parsing; call
19383         free_eh_status, free_expr_status; zero the marked members of the
19384         function state.
19385         (prepare_function_start): No can_garbage_collect.
19386         Call init_eh_for_function.
19387         (expand_dummy_function_end): Free up current_function state.
19388         (mark_function_status): Renamed from mark_function_state.
19389         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
19390         * function.h (struct function): No can_garbage_collect.
19391         (free_machine_status, free_after_parsing): Declare.
19392         (free_eh_status, free_expr_status): Declare.
19393         * ggc.h (mark_expr_status): Declare.
19394         * stmt.c (free_stmt_status): Free the struct.
19395         (mark_stmt_status): Renamed from mark_stmt_state.
19396         (init_stmt): Don't call init_eh.
19397         (init_stmt_for_function): Don't call init_eh_for_function.
19398         * toplev.c (compile_file): Call init_eh.
19399         (rest_of_compilation): Free basic block info before ggc_collect.
19400         Call free_after_parsing; conditionally call free_after_compilation.
19401         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
19402         Check not null before marking.
19403         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
19404
19405 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
19406
19407         * c-lex.c (yylex): Initialize warn.
19408
19409 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
19410
19411         * pa.c (emit_move_sequence): Properly set the mode of the scratch
19412         register when performing secondary reloads for the SAR register.
19413
19414 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
19415
19416         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
19417         (NOTE_BLOCK): New macro.
19418         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
19419         * function.h (identify_blocks): Change prototype.
19420         * function.c (identify_blocks): Simplify.
19421         (reorder_blocks): Likewise.
19422         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
19423         NOTE_INSN_BLOCK_{BEG,END}.
19424         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
19425         the list of saved notes if the note isn't a
19426         NOTE_INSN_BLOCK_{BEG,END}.
19427         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
19428         NOTE_BLOCK_NUMBER.
19429         (reemit_notes): Adjust recreation of notes to reflect new saved
19430         note structure.
19431         * print-rtl.c (print_rtx): Print the address of the BLOCK when
19432         printing a block note.
19433         * stmt.c (block_vector): Remove.
19434         (find_loop_tree_blocks): Simplify.
19435         (unroll_block_trees): Likewise.
19436         * tree.h (reorder_block): Change prototype.
19437
19438 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
19439
19440         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
19441         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
19442         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
19443         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
19444         (atexit, exit): Simplify.
19445         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
19446         * config/lots: Remove defns of HAVE_ATEXIT.
19447
19448 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
19449
19450         * calls.c (precompute_arguments): Fix typo in comment.
19451         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
19452         TARGET_EXPR.
19453
19454 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
19455
19456         * dsp16xx.c (override_options): Fix typos in GC root registration.
19457
19458 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
19459
19460         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
19461         from config/svr4.h.
19462         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
19463         (FUNCTION_PROFILER): Redefine appropriately for Linux.
19464         (CC1_SPEC): Likewise.
19465
19466 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19467
19468         * genattr.c (main): Add extern prototype.  Call return, not exit.
19469         * genattrtab.c (main): Likewise.
19470         * gencheck.c (main): Likewise.
19471         * gencodes.c (main): Likewise.
19472         * genconfig.c (main): Likewise.
19473         * genemit.c (main): Likewise.
19474         * genextract.c (main): Likewise.
19475         * genflags.c (main): Likewise.
19476         * gengenrtl.c (main): Likewise.
19477         * genopinit.c (main): Likewise.
19478         * genoutput.c (main): Likewise.
19479         * genpeep.c (main): Likewise.
19480         * genrecog.c (main): Likewise.
19481
19482         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
19483         * genattrtab.c (get_insn_name): Likewise.
19484         * gencodes.c (get_insn_name): Likewise.
19485         * genconfig.c (get_insn_name): Likewise.
19486         * genemit.c (get_insn_name): Likewise.
19487         * genextract.c (get_insn_name): Likewise.
19488         * genflags.c (get_insn_name): Likewise.
19489         * genopinit.c (get_insn_name): Likewise.
19490         * genpeep.c (get_insn_name): Likewise.
19491
19492         * gencheck.c (usage): Add static prototype.
19493         * genextract.c (print_path): Constify a char*.
19494         * genopinit.c (optabs): Likewise.
19495         * genoutput.c (operand_data, data, output_predicate_decls,
19496         compare_operands): Likewise.
19497         * genrecog.c (write_tree): Add default case in switch.
19498
19499 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19500
19501         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
19502
19503         * print-rtl.c (get_insn_name): Remove prototype.
19504
19505         * toplev.h (progname): Declare const.
19506
19507         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
19508         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
19509         dump_sched_info, dump_local_alloc, regset_release_memory,
19510         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
19511         error_with_file_and_line, error_with_decl, error_for_asm, error,
19512         fatal, warning_with_file_and_line, warning_with_decl, warning,
19513         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
19514         Remove redundant prototypes.
19515
19516         (notice, check_lang_option, report_file_and_line, vnotice,
19517         mark_file_stack): Add static prototype.
19518         (set_fatal_function): Add prototype.
19519         (vnotice, report_file_and_line, set_fatal_function,
19520         check_lang_option): Constify a char*.
19521         (main): Prototype.  Call return, not exit.
19522
19523 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19524
19525         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
19526
19527         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
19528
19529         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
19530
19531         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
19532
19533 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19534
19535         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
19536         behave as if it's zero in all cases.
19537         (expand_function_start): Adjust call to assign_parms.
19538         * tree.h (assign_parms): Adjust prototype.
19539         * objc/objc-act.c (hack_method_prototype): Adjust call to
19540         assign_parms.
19541
19542 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
19543
19544         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
19545         arg_pointer_rtx fixed if the argument pointer register is
19546         not fixed.
19547         (NONZERO_BASE_PLUS_P): Likewise.
19548
19549 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
19550
19551         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
19552         match_insn2 to match_insn.
19553         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
19554
19555 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
19556
19557         * Makefile.in (USER_H): Remove va-foo.h.
19558
19559         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
19560         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
19561         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
19562         va-spur.h,va-v850.h}: Remove.
19563
19564 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
19565
19566         * sparc/sparc.md (eligible_for_return_delay): New attribute.
19567         (in_return_delay): Use it instead of match_insn.
19568
19569 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19570
19571         * config/alpha/va_list.h (va-alpha.h): Do not include.
19572         (__gnuc_va_list): Typedef as in varargs.h.
19573
19574 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
19575
19576         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
19577         DECL_LIVE_RANGE_RTL.
19578
19579 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
19580
19581         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
19582         not NOTE_BLOCK_NUMBER.
19583         (expand_eh_region_end): Likewise.
19584         (find_exception_handler_labels): Likewise.
19585         (scan_region): Likewise.
19586         (exception_optimize): Likewise.
19587         (update_rethrow_references): Likewise.
19588         (set_insn_eh_region): Likewise.
19589         * final.c (final_scan_insn): Likewise.
19590         * flow.c (make_edges): Likewise.
19591         * integrate.c (expand_inline_function): Likewise.
19592         * print-rtl.c (print_rtx): Likewise.
19593
19594 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
19595
19596         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
19597         terms of builtin functions and types.
19598
19599         * mips.c (mips_build_va_list): New.
19600         (mips_va_start, mips_va_arg): New.
19601         * mips.h (BUILD_VA_LIST_TYPE): New.
19602         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
19603
19604         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
19605         (sh_build_va_list, sh_va_start, sh_va_arg): New.
19606         * sh.h (BUILD_VA_LIST_TYPE): New.
19607         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
19608
19609 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
19610
19611         * recog.h (struct recog_data): Make dup_num, operand_address_p,
19612         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
19613         (struct insn_data): Likewise with n_operands, n_dups,
19614         n_alternatives, output_format.
19615         * regclass.c (scan_one_insn): Cast n_operands to int before
19616         arithmetic inside comparison.
19617
19618 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
19619
19620         * toplev.c (compile_function): Unconditionally emit nop.
19621
19622 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19623
19624         * haifa-sched.c (actual_hazard): Move declaration of variable
19625         `this_cost' into the scope where it is used.
19626
19627 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19628
19629         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
19630         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
19631         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
19632
19633         * genrecog.c (make_insn_sequence): Call memset, not bzero.
19634
19635         * jump.c (find_insert_position): Don't declare or define unless
19636         !HAVE_conditional_arithmetic.
19637         (returnjump_p_1, delete_prior_computation): Add static prototypes.
19638
19639         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
19640
19641         * recog.c (offsettable_address_p): Prototype function pointer.
19642         (preprocess_constraints): Call memset, not bzero.
19643
19644         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
19645         (gcc_obstack_init): Don't declare.
19646         (fix_sizetype): Add static prototype.
19647         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
19648         (tree_cons): Call memset, not bzero.
19649
19650         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
19651         definition in macro ASM_WEAKEN_LABEL.
19652         (mark_const_hash_entry): Add static prototype.
19653
19654 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19655
19656         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
19657
19658         * unroll.c (find_common_reg_term, subtract_reg_term,
19659         loop_find_equiv_value): Add static prototypes.
19660         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
19661         (copy_loop_body): Remove unreachable break statement.
19662
19663         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
19664
19665         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
19666
19667 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19668
19669         Undo some changes from the gcc2 merge:
19670         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
19671         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
19672         pointers.
19673
19674         Undo this change:
19675         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
19676         * emit-rtl.c (gen_lowpart_common): Disable optimization of
19677         initialized float-int union if the value is a NaN.
19678
19679 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19680
19681         * gthr-win32.h: New file.
19682
19683         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
19684         shared as a valid attribute.
19685         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
19686         * extend.texi: Document `shared' variable attribute.
19687
19688 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
19689
19690         * configure.in: Handle --enable-threads on FreeBSD.
19691         * configure: Rebuit.
19692
19693 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
19694
19695         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
19696         thread support.
19697         * configure: Rebuilt.
19698
19699 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
19700                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
19701                           Rosimildo DaSilva <rdasilva@connecttel.com>
19702
19703         * configure.in (m68k-*-rtemscoff*): Added.
19704         * configure.in (mips64orion-*-rtems*): Converted to ELF.
19705         * configure.in (sparc-*-rtemsaout*): Added as alias for old
19706         sparc-rtems configuration.
19707         * configure.in (sparc-*-rtemself*): Added.
19708         * configure.in (sparc-*-rtems*): Now ELF not a.out.
19709         * config/i386/rtems.h: Added comment.
19710         * config/sparc/rtemself.h: New file.
19711
19712         * configure.in (m68k-rtemself): Added.
19713         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
19714         and DWARF_DEBUGGING_INFO.
19715         * config/m68k/crti.s: New file.
19716         * config/m68k/crtn.s: New file.
19717         * config/m68k/t-crtstuff: New file.
19718         * config/m68k/rtemself.h: New file.
19719
19720         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
19721         global ctor/dtor and C++ exception handling.
19722         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
19723         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
19724         ENDFILE_SPEC.
19725         * config/i386/t-rtems-i386: New File.
19726
19727 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
19728
19729         * stmt.c (expand_end_case): Return right away if the case stack is
19730         empty.
19731
19732 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
19733
19734         * Makefile.in (version.c): Remove rule incorrectly brought in from
19735         the gcc2 merge.
19736
19737 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
19738
19739         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
19740         * msdos/top.sed:  Take into account a prepended $(SHELL) to
19741         move-if-change.
19742         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
19743
19744         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
19745
19746 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19747
19748         * regmove.c (fixup_match_1): Don't change an unchanging register.
19749         (stable_but_for_p): Renamed to:
19750         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
19751         Changed all callers.
19752
19753 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
19754
19755         * loop.c (strength_reduce): Don't call reg_used_between_p if the
19756         insn from BL2 is after the insn from BL.
19757
19758 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
19759
19760         * recog.h (INSN_OUTPUT_FORMAT_*): New.
19761         (struct insn_data): Merge `template' and `outfun' into `output'.
19762         Add `output_format'.
19763         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
19764         (struct data): Remove `outfun'; add `output_format'.
19765         (name_for_index): Remove declaration.
19766         (output_insn_data): Handle output formats.
19767         (process_template): Emit the bare array for @.
19768         (gen_expand, gen_split): Set output_format to NONE.
19769         * output.h (get_insn_template): Declare.
19770         * final.c (get_insn_template): New.
19771         (final_scan_insn): Use it.
19772         * toplev.c (compile_file): Likewise.
19773
19774         * c4x/c4x.c (c4x_process_after_reload): Likewise.
19775         * i860/i860.c (output_delayed_branch): Likewise.
19776         (output_delay_insn): Likewise.
19777
19778 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19779
19780         * rtl.c (obstack_alloc_rtx): Removed.
19781
19782 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
19783
19784         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
19785
19786 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
19787
19788         * i386.c (call_insn_operand): Reject const_int.
19789         (expander_call_insn_operand): Use call_insn_operand.
19790
19791 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19792
19793         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
19794
19795 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
19796
19797         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
19798         Use DImode operation.
19799
19800 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
19801
19802         * gcc.c: Include sys/resource.h.
19803         (report_times): New flag.
19804         (execute):  If report_times is set, calculate and report the
19805         CPU time consumed by each subprocess.
19806
19807         (rus, prus): New globals.
19808         (option_map): Add --time.
19809         (display_help): Document -time.
19810         (process_command): Set report_times if -time is given.
19811         Turn off -pipe if -time is given.
19812
19813         * invoke.texi: Document new option -time.
19814
19815         * configure.in: Check for getrusage.  Check if we have to
19816         prototype getrusage.
19817         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
19818         * configure: Regenerate.
19819         * config.in: Regenerate.
19820
19821 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
19822
19823         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
19824         fields.
19825
19826 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
19827
19828         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
19829         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
19830         (nan): Return _thenan_sf or _thenan_df as appropriate.
19831         (L_thenan_sf): Define _thenan_sf.
19832         (L_thenan_df): Define _thenan_df.
19833
19834         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
19835         (DPBIT_FUNCS): Add _thenan_df.
19836
19837 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
19838
19839         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
19840         TYPE_SIZE_UNIT.
19841
19842 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19843
19844         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
19845
19846         * gcc.h: New file.
19847         (lang_specific_driver): Don't take a function pointer parameter.
19848         All callers changed.
19849
19850         * gcc.c: Include gcc.h.
19851         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
19852         lang_specific_extra_outfiles, fatal): Don't declare.
19853         (multilib_defaults_raw): Constify.
19854         (read_specs): Call memset, rather than bzero.
19855         (main): Call return, not exit.
19856         (lookup_compiler): Call memcpy, not bcopy.
19857         (fatal): Make extern.
19858
19859         * cppspec.c: Include gcc.h.
19860         (lang_specific_driver): Initialize variable `quote'.  Constify a
19861         char*.  All calls to the function pointer parameter now
19862         explicitly call `fatal'.
19863
19864         * gccspec.c (lang_specific_driver): Include gcc.h.
19865
19866 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
19867
19868         * arm.c (note_invalid_constants): Use recog_data.operand_type
19869         for recog_op_type.
19870
19871 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19872
19873         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
19874         Declare.
19875
19876         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
19877         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
19878         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
19879         reload_secondary_in_reload, reload_secondary_out_reload,
19880         reload_secondary_in_icode, reload_secondary_out_icode,
19881         reload_reg_rtx, reload_when_needed): Delete declarations.
19882         (struct reload): New structure.
19883         (rld): Declare new array.
19884         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
19885         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
19886         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
19887         reload_secondary_in_reload, reload_secondary_out_reload,
19888         reload_secondary_in_icode, reload_secondary_out_icode,
19889         reload_reg_rtx, reload_when_needed): Delete definitions.
19890         (rld): New array.
19891         (whole file): Replace uses of the deleted arrays with uses of rld.
19892         * reload1.c (whole file): Replace uses of the deleted arrays with
19893         uses of rld.
19894         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
19895         explicit loops, not with bcopy.
19896
19897 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
19898
19899         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
19900         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
19901         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
19902         insn_name): Delete and consolidate into new structures.
19903         (insn_operand_predicate_fn): New.
19904         (insn_output_fn): New.
19905         (insn_gen_fn): New.
19906         (struct insn_operand_data): New.
19907         (struct insn_data): New.
19908         (insn_data): New.
19909         (OUT_FCN): Update for insn_data change.
19910         * builtins.c (expand_builtin_strlen): Likewise.
19911         (expand_builtin_memcmp): Likewise.
19912         * combine.c (make_extraction, simplify_comparison): Likewise.
19913         * cse.c (canon_reg, cse_insn): Likewise.
19914         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
19915         * expmed.c (store_bit_field, extract_bit_field): Likewise.
19916         (emit_store_flag): Likewise.
19917         * expr.c (convert_move, emit_block_move): Likewise.
19918         (clear_storage, emit_push_insn, expand_increment): Likewise.
19919         (do_store_flag): Likewise.
19920         * expr.h (GEN_FCN): Likewise.
19921         (insn_gen_function): Die.
19922         * final.c (final_scan_insn): Update for insn_data change.
19923         (output_asm_name): Likewise.
19924         * function.c (fixup_var_refs_1): Likewise.
19925         * loop.c (check_dbra_loop): Likewise.
19926         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
19927         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
19928         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
19929         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
19930         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
19931         * regmove.c (gen_add3_insn): Likewise.
19932         * reload.c (push_secondary_reload, combine_reloads): Likewise.
19933         (find_reloads, find_reloads_address_1): Likewise.
19934         (debug_reload_to_stream): Likewise.
19935         * reload1.c (emit_reload_insns, gen_reload): Likewise.
19936         * stmt.c (expand_end_case): Likewise.
19937         * toplev.c (compile_file): Likewise.
19938
19939         * c4x/c4x.c (c4x_process_after_reload): Likewise.
19940         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
19941
19942         * print-rtl.c (insn_name_ptr): Remove declaration.
19943         (get_insn_name): Declare.
19944         (print_rtx): Use it.
19945         * genoutput.c (insn_name_ptr): Remove.
19946         (next_operand_number): New.
19947         (struct operand_data): New.
19948         (null_operand, odata, odata_end): New.
19949         (struct data): Use struct operand_data.
19950         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
19951         (get_insn_name): Renamed from name_for_index.
19952         (output_prologue): Define NO_MD_PROTOTYPES.
19953         (output_predicate_decls): Break out from output_epilogue.
19954         Iterate over the operands list.
19955         (output_operand_data): Break out from output_epilogue.  Emit
19956         just the operands list.
19957         (output_insn_data): Break out from output_epilogue.  Emit just
19958         the insn data.
19959         (output_epilogue): Remove.
19960         (output_get_insn_name): New.
19961         (constraints, op_n_alternatives, predicates, address_p): Die.
19962         (modes, strict_low, seen): Die.
19963         (scan_operands): Take new param `d' instead of writing to
19964         seven global variables.
19965         (compare_operands): New.
19966         (place_operands): New.
19967         (validate_insn_alternatives): Update for struct data change.
19968         (gen_insn): Don't zero or copy 7 global arrays.  Update for
19969         scan_operands; call place_operands.
19970         (gen_peephole, gen_expand, gen_split): Likewise.
19971         (main): Update for new output routines.
19972
19973         * genattr.c (insn_name_ptr): Remove.
19974         (get_insn_name): New function.
19975         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
19976         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
19977         * genrecog.c: Likewise.
19978
19979         * alpha.md (adddi3): Make `pattern' array static.
19980
19981 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19982
19983         * config/c4x/c4x.h (c4x_rpts_cycles_string,
19984         c4x_cpu_version_string): Constify char *.
19985         * config/c4x/c4x.c (c4x_rpts_cycles_string,
19986         c4x_cpu_version_string): Likewise.
19987
19988 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
19989
19990         * tree.c (save_tree_status): Revert 10 Sep change.
19991         (restore_tree_status): Likewise.  Call obstack_free with NULL
19992         before freeing the obstack proper.
19993
19994 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
19995
19996         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
19997
19998         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
19999         surrounding context.
20000
20001 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
20002
20003         * tree.c (type_hash_canon): Put all types in the hash-table, when
20004         GC'ing.
20005
20006 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
20007
20008         * recog.h (struct recog_data, recog_data): New.
20009         (recog_foo variables): Kill.
20010         * recog.c (recog_operand, recog_operand_loc): Kill.
20011         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
20012         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
20013         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
20014         (recog_data): Define.
20015         (extract_insn): Update all recog_foo references to use recog_data.
20016         (preprocess_constraints, constrain_operands): Likewise.
20017         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
20018         * genattrtab.c (main): Likewise.
20019         * genextract.c (main): Likewise.
20020         * genoutput.c: Likewise.
20021         * genrecog.c (write_subroutine, main): Likewise.
20022         * local-alloc.c (block_alloc): Likewise.
20023         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
20024         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
20025         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
20026         * reload.c (find_reloads, find_reloads_toplev): Likewise.
20027         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
20028         (reload_cse_simplify_operands): Likewise.
20029
20030         * arc/arc.c (arc_final_prescan_insn): Likewise.
20031         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
20032         * h8300/h8300.c (notice_update_cc): Likewise.
20033         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
20034         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
20035         * mn10200/mn10200.c (notice_update_cc): Likewise.
20036         * mn10300/mn10300.c (notice_update_cc): Likewise.
20037         * romp/romp.c (update_cc): Likewise.
20038         * sparc/sparc.c (check_pic): Likewise.
20039         * v850/v850.c (notice_update_cc): Likewise.
20040
20041         * genemit.c (main): Don't declare recog_operand.
20042
20043 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
20044
20045         * ggc.h (rtvec_def): Forward declare.
20046         (tree_node): Likewise.
20047         (ggc_root): Define.
20048         (roots): Declare.
20049         (ggc_set_mark_rtx): Add prototype.
20050         (ggc_set_mark_rtvec): Likewise.
20051         (ggc_set_mark_tree): Likewise.
20052         * ggc-simple.c (ggc_root): Don't define.
20053         (roots): Don't declare.
20054         (ggc_mark_rtx): Remove.
20055         (ggc_mark_rtvec): Likewise.
20056         (ggc_mark_tree): Likewise.
20057         (ggc_mark_varray): Likewise.
20058         (ggc_mark_tree_hash_table_entry): Likewise.
20059         (ggc_mark_tree_hash_table): Likewise.
20060         (ggc_set_mart_rtx): New function.
20061         (ggc_set_mark_rtvec): Likewise.
20062         (ggc_set_mark_tree): Likewise.
20063         (ggc_add_root): Remove.
20064         (ggc_add_rtx_root): Likewise.
20065         (ggc_remove_tree_root): Likewise.
20066         (ggc_add_string_root): Likewise.
20067         (ggc_add_tree_varray_root): Likewise.
20068         (ggc_add_tree_hash_table_root): Likewise.
20069         (ggc_del_root): Likewise.
20070         (ggc_mark_rtx_ptr): Likewise.
20071         (ggc_mark_tree_ptr): Likewise.
20072         (ggc_mark_string_ptr): Likewise.
20073         (ggc_mark_tree_varray_ptr): Likewise.
20074         (ggc_mark_tree_hash_table_ptr): Likewise.
20075         * ggc-common.c: New file.
20076         * Makefile.in (OBJS): Add ggc-common.o.
20077         (ggc-common.o): List dependencies.
20078
20079 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
20080
20081         * cppalloc.c (xstrdup): Use memcpy.
20082         * cpperror.c (cpp_print_containing_files): Don't use
20083         cpp_notice.
20084         * cpplib.c (conditional_skip): Set temp->lineno.
20085         (do_endif): Make error message less obscure.
20086         (if_directive_name): New function.
20087         (cpp_get_token [case EOF]): Unwind the if stack and generate
20088         error messages for each unterminated conditional in this file.
20089         (parse_string):  Do not behave differently if -traditional.
20090
20091 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
20092
20093         * builtins.c (expand_builtin_va_arg): Cope with an array-type
20094         va_list decomposing to pointer-type.
20095         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
20096         (rs6000_va_arg): Likewise.
20097
20098 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
20099
20100         * except.c (start_dynamic_handler): Compute size using
20101         STACK_SAVEAREA_MODE.
20102
20103 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20104
20105         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
20106         include directory headers.  Don't define strrchr.  Don't provide
20107         my_* replacement functions.  Prefer PTR over `pointer_type'.
20108         Don't prototype system functions.  Don't redefine getopt.
20109
20110         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
20111         safe_read, safe_write, save_pointers, restore_pointers,
20112         is_id_char, in_system_include_dir, directory_specified_p,
20113         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
20114         find_corresponding_lparen, referenced_file_is_newer,
20115         save_def_or_dec, munge_compile_params, gen_aux_info_file,
20116         process_aux_info_file, identify_lineno, check_source,
20117         seek_to_line, forward_to_next_token_char, output_bytes,
20118         output_string, output_up_to, other_variable_style_function,
20119         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
20120         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
20121         find_static_definition, connect_defs_and_decs, add_local_decl,
20122         add_global_decls, needs_to_be_converted, visit_each_hash_node,
20123         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
20124         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
20125         scan_for_missed_items, edit_file, string_list_cons): Add static
20126         prototypes.
20127         (standard_exec_prefix, target_machine, target_version,
20128         default_syscalls_dir, string_list, string_list_cons, find_file,
20129         do_cleaning): Constify a char*.
20130         (safe_read, safe_write): Use PTR, not a char*.
20131         (is_id_char): Take an int, not a char.
20132         (main): Add prototype.  Call return, not exit.
20133
20134 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
20135
20136         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
20137         when comparing types.
20138
20139 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
20140
20141         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
20142         (strength_reduce): Release the varrays from the no-bivs early exit.
20143
20144         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
20145         the loop over the registers.
20146
20147         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
20148         for a new obstack.
20149         (restore_tree_status): Check that instead when freeing the obstack.
20150
20151 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
20152
20153         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
20154         as pointers.
20155
20156 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20157
20158         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
20159         operand size modifiers.
20160
20161 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20162
20163         * c-common.c (c_common_nodes_and_builtins): Don't build
20164         va_list_type_node.
20165         * c-common.h (enum c_tree_index and related accesor macros): Remove
20166         everything now declared in tree.h.
20167         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
20168         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
20169         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
20170         (error_mark_node, void_type_node, char_type_node, integer_type_node,
20171         unsigned_type_node, ptr_type_node, va_list_type_node,
20172         integer_zero_node, null_pointer_node, integer_one_node): Delete.
20173         (init_decl_processing): Call build_common_tree_nodes and
20174         build_common_tree_nodes_2 instead of building their nodes here.
20175         Don't add roots for these nodes.
20176         * stor-layout.c (size_zero_node, size_one_node): Delete.
20177         (set_sizetype): Make a new node for bitsizetype each time.
20178         * tree.c (global_trees): New variable.
20179         (init_obstacks): Add a gc root for it.
20180         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
20181         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
20182         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
20183         (build_common_tree_nodes): New function.
20184         (fix_sizetype): New function.
20185         (build_common_tree_nodes_2): New function.
20186         * tree.h (enum tree_index): New.
20187         (global_trees): Declare.
20188         Add accessor macros for all nodes now moved to global_trees.
20189         Delete their declarations.
20190
20191 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
20192
20193         * c-decl.c (finish_function): When processing a nested function,
20194         push and pop GC context around rest_of_compilation.
20195
20196 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
20197
20198         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
20199         Default ix86_arch to PROCESSOR_I386.
20200         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
20201         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
20202         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
20203         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
20204         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
20205         (EXTRA_SPECS): Remove deleted specs.
20206
20207 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
20208
20209         * function.c (assign_stack_local_1): Allocate from
20210         function->x_frame_offset, not frame_offset.
20211
20212 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
20213
20214         * ggc.h (lang_cleanup_tree): Remove.
20215         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
20216         * ggc-callbacks.c (lang_cleanup_tree): Remove.
20217
20218         * c-decl.c (finish_struct): Use ggc_alloc to allocate
20219         TYPE_LANG_SPECIFIC when garbage collecting.
20220         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
20221         (lang_cleanup_tree): Remove.
20222
20223 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
20224
20225         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
20226         * crtstuff.c: Not here.
20227         * dwarf2out.c: Or here.
20228         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
20229         info.
20230
20231 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
20232
20233         * function.h (free_after_compilation): Remove decl parameter.
20234         (free_varasm_status0: Likewise.
20235         (free_emit_status): Likewise.
20236         (free_stmt_status): Likewise.
20237         (free_after_compilation): Likewise.
20238         (init_lang_status): New variable.
20239         (free_lang_status): Likewise.
20240         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
20241         * function.c (init_lang_status): New variable.
20242         (free_lang_status): Likewise.
20243         (push_function_context_to): Don't set function::decl here.
20244         (free_after_copmilation): Make decl parameter implicit.  Call
20245         free_lang_status if defined.
20246         (prepare_function_start): Call init_lang_status if defined.
20247         (init_function_start): Set function::decl here.
20248         * profile.c (output_func_start_profiler): Don't call pushdecl
20249         until we've actually started the function.
20250         * stmt.c (free_stmt_status): Make decl parameter implicit.
20251         * toplev.c (rest_of_compilation): Don't pass decl to
20252         free_after_compilation.
20253         * varasm.c (free_varasm_status): Likewise.
20254
20255 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20256
20257         * except.c (call_get_eh_context): Add root when allocating static
20258         tree variable.
20259
20260 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
20261
20262         * arm.c: Include "ggc.h".
20263         (arm_add_gc_roots): New function.
20264         (arm_override_options): Call it.
20265         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
20266
20267         * arm.md (define_asm_attributes): Add a pool_range attribute.
20268
20269 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
20270
20271         * extend.texi (Volatiles): New node.
20272
20273 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
20274
20275         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
20276         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
20277         (struct ggc_any): Replace `mark' with `magic_mark'.
20278         (ggc_alloc_string): Use memcpy, not bcopy.
20279         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
20280         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
20281         (ggc_free_any): New.
20282         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
20283         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
20284         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
20285         Use IS_MARKED. Use ggc_free_any.
20286
20287 1999-09-09  Scott Bambrough <scottb@netwinder.org>
20288
20289         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
20290
20291 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
20292
20293         * toplev.c (main): Always init_ggc.
20294
20295 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
20296
20297         * except.c (find_all_handler_type_matches): Free the list if
20298         we found no matches.
20299
20300         * combine.c (SUBST): Break out to a real function do_SUBST.
20301         (SUBST_INT): Likewise.
20302         * gcse.c (free_pre_mem): Free `temp_bitmap'.
20303         (pre_insert): Free `inserted'.
20304         * loop.c (basic_induction_var): Always set `location'.
20305
20306         * function.c (expand_function_end): Add initial_trampoline as a root.
20307         * rtl.h (init_varasm_once): Declare.
20308         * toplev.c (compile_file): Call it.
20309         * ggc-simple.c (ggc_mark_string_ptr): New.
20310         (ggc_add_string_root): New.
20311         (ggc_collect): Disable collection avoidance temporarily.
20312         * ggc.h (ggc_add_string_root): Declare.
20313         * except.c (create_rethrow_ref): Use ggc_alloc_string.
20314         * optabs.c (init_libfuncs): Likewise.
20315         * varasm.c (named_section): Use ggc_alloc_string.
20316         (make_function_rtl): Likewise.
20317         (make_decl_rtl): Likewise.
20318         (assemble_static_space): Likewise.
20319         (assemble_trampoline_template): Likewise.
20320         (output_constant_def): Likewise.
20321         (force_const_mem): Likewise.
20322         (mark_const_hash_entry): New.
20323         (mark_pool_sym_hash_table): New.
20324         (mark_varasm_state): Use it.
20325         (init_varasm_once): New.
20326
20327         * expr.h (init_one_libfunc): Declare.
20328         * optabs.c (init_one_libfunc): New.
20329         (init_optabs): Use it.
20330         * config/gofast.h: Likewise.
20331         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
20332         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
20333
20334 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
20335
20336         * Makefile.in (cppexp.o): Depend on cpphash.h.
20337         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
20338         Include cpphash.h.
20339         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
20340         * cpplib.c (do_define): Generalise to handle poisoned definitions,
20341         redefining poisoned identifiers, etc.
20342         (do_undef): Don't allow poisoned identifiers to be undefined.
20343         (do_pragma): Add #pragma poison.
20344         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
20345
20346         * cccp.c: Add T_POISON node type.
20347         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
20348         poisoned xxx.
20349         (do_define): Generalise to handle poisoned definitions,
20350         redefining poisoned identifiers, etc.
20351         (do_undef): Don't allow poisoned identifiers to be undefined.
20352         (do_pragma): Add #pragma poison.
20353         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
20354
20355         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
20356         * c-pragma.h: Add ps_poison state.  We now always have generic
20357         pragmas.
20358
20359 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
20360
20361         * ggc.h (ggc_alloc): New function.
20362         (ggc_mark): Likewise.
20363         * ggc-simple.c (ggc_any): New structure.
20364         (ggc_status): Add anys.
20365         (n_anys_collected): New variable.
20366         (ggc_alloc): Define.
20367         (ggc_mark): Likewise.
20368         (ggc_collect): Collect the anys.
20369
20370 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20371
20372         * c-decl.c (mark_binding_level): Make static to match prototype.
20373
20374 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
20375
20376         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
20377
20378 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
20379
20380         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
20381         will use into account.  Expand the max width to 5.
20382         * rtl.c: Likewise.
20383
20384 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
20385
20386         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
20387         for the rtx length.
20388
20389 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
20390
20391         * alpha.md (call value patterns): Remove the result predicates.
20392
20393 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
20394
20395         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
20396         last change.
20397
20398 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20399
20400         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
20401         changed from extern char *, to extern PTR.  Also fix typo in
20402         NEED_DECLARATION_REALLOC test.
20403
20404         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
20405
20406 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20407
20408         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
20409         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
20410         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
20411         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
20412
20413         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
20414
20415         * cccp.c (pcfinclude): Likewise.
20416
20417         * global.c (allocno_compare): Likewise.
20418
20419         * haifa-sched.c (rank_for_schedule): Likewise.
20420
20421         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
20422
20423         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
20424
20425         * stupid.c (stupid_reg_compare): Likewise.
20426
20427         * tree.c (_obstack_allocated_p): Likewise.
20428
20429         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
20430
20431 1999-09-08  Bruce Korb  autogen@linuxbox.com
20432
20433         * Makefile.in: Give the hapless gperf user a hint about
20434         why "gperf -F" fails.
20435
20436 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
20437
20438         * lists.c: Include ggc.h.
20439         (zap_lists): New.
20440         (init_EXPR_INSN_LIST_cache): Install it.
20441
20442         * ggc-simple.c (init_ggc): Absorb the old init.
20443         (ggc_push_context): Use xcalloc.
20444         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
20445         (ggc_collect): Add [rvts] tags to the collection stats.
20446
20447 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
20448
20449         * cccp.c (main): Fix handling of -include and -imacros options.
20450
20451 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
20452
20453         * cpplib.c (cpp_push_buffer): Fix order of arguments.
20454
20455 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
20456
20457         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
20458         genrtl.c.
20459
20460 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
20461
20462         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
20463         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
20464         and SET_DEST. Update comment.
20465
20466 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20467
20468         * config/c4x/c4x.c: Include ggc.h.
20469         (c4x_add_gc_roots): New function.
20470         (c4x_override_options): Call c4x_add_gc_roots.
20471
20472 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
20473
20474         * defaults.h (TARGET_ESC): Move ...
20475         * system.h: ... here, where Linas had it in the first place.  Silly me.
20476
20477 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
20478
20479         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
20480         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
20481         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
20482         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
20483         * defaults.h (TARGET_ESC): Add default.
20484
20485 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
20486
20487         * configure.in: add i370-*-openedition, i370-*-mvs and
20488         i370-*-linux targets
20489
20490 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
20491
20492         * dsp16xxx.c: Include ggc.h
20493         (override_options): Mark GC roots.
20494         * mn10200.c: Include ggc.h.
20495         (asm_file_start): Mark GC roots.
20496         * tahoe.c: Include ggc.h.
20497         (extensible_operand): Mark GC roots.
20498
20499 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
20500
20501         * README: Add section discussing status of ELF ABI.
20502         * i370.c: Fix misc spelling mistakes.
20503         (i370_label_scan): Updated notes, exception handling.
20504         (i370_function_prolog): Simplify ELF stack handling.
20505         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
20506         (STACK_GROWS_DOWNWARD): ELF stack grows down.
20507         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
20508         * i370.md: (movdi): Add notes.
20509         (floatsidf2): Use stack not rtca for scratch float area.
20510         (iorsi3): Correct operand constraints.
20511         * x-oe: Restore TAROUTOPTS which are used by pax.
20512
20513 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
20514
20515         * rs6000.c: Include ggc.h.
20516         (rs6000_add_gc_roots): New function.
20517         (override_options): Call it.
20518
20519 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
20520
20521         * alpha.h (alpha_compare): New.
20522         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
20523         * alpha.c: Likewise for the definitions.
20524         (alpha_emit_conditional_branch): Update for alpha_compare.
20525         (alpha_emit_conditional_move): Likewise.
20526         * alpha.md (cmpdf, cmpdi): Likewise.
20527         (setcc patterns): Likewise.  Zero alpha_compare after use.
20528         (sne): Optimize (x != 0) into (0U < x).
20529
20530 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
20531
20532         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
20533         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
20534         (INIT_EXPANDERS): Remove.
20535         * alpha.c: Include ggc.h.
20536         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
20537         (alpha_init_machine_status, alpha_mark_machine_status): New.
20538         (override_options): Install them.
20539         (struct machine_function): Moved to alpha.h.
20540         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
20541         (alpha_init_expanders): Remove.
20542         (alpha_return_addr): Adjust to use current_function->machine.
20543         (alpha_ra_ever_killed): Likewise.
20544         (alpha_expand_epilogue): Likewise.
20545         * alpha.md (eh_epilogue): Likewise.
20546
20547 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
20548                           Melissa O'Neill  <oneill@cs.sfu.ca>
20549                           Geoffrey Keating  <geoffk@cygnus.com>
20550
20551         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
20552         call-used registers (call-saved registers must still be contiguous
20553         and end with r31, of course).
20554
20555 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
20556
20557         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
20558         (self_promoting_type_p): Delete.
20559         (self_promoting_args_p): Move ...
20560         * c-common.c: ... here.
20561         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
20562         (simple_type_promotes_to): New.
20563         * builtins.c (lang_type_promotes_to): New.
20564         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
20565         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
20566         * c-common.h: ... here.
20567         (self_promoting_args_p, simple_type_promotes_to): Declare.
20568         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
20569         (grokdeclarator): Likewise.
20570         * tree.h (lang_type_promotes_to): Declare.
20571
20572 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
20573
20574         Add some machine-dependent GC roots.
20575         * sparc.c: Include ggc.h.
20576         (sparc_add_gc_roots): New function.
20577         (mark_ultrasparc_pipeline_state): Likewise.
20578         (override_options): Call sparc_add_gc_roots.
20579         * pa.c: Include ggc.h.
20580         (pa_add_gc_roots): New function.
20581         (mark_deferred_plabels): Likewise.
20582         (override_options): Call pa_add_gc_roots.
20583         * mips.c: Include ggc.h.
20584         (mips_add_gc_roots): New function.
20585         (override_options): Use it.
20586
20587 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20588
20589         * cpperror.c (cpp_file_line_for_message): Constify a char*.
20590
20591         * cppexp.c (parse_number, parse_charconst, cpp_lex,
20592         cpp_parse_expr): Add static prototypes.
20593         (parse_charconst): Don't cast away const-ness.
20594         (token): Constify a char*.
20595
20596         * cppfiles.c (file_name_list, include_hash, find_include_file,
20597         finclude, initialize_input_buffer): Constify a char*.
20598         (file_cleanup, find_position): Add static prototypes.
20599
20600         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
20601         collect_expansion): Add static prototypes.
20602         (cpp_install, create_definition, monthnames): Constify a char*.
20603
20604         * cpphash.h (cpp_install): Likewise.
20605
20606         * cppinit.c (known_suffixes, default_include,
20607         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
20608         (base_name, dump_special_to_buffer, initialize_dependency_output):
20609         Add static prototypes.
20610
20611         * cpplib.c (my_strerror): Constify a char*.
20612         (null_underflow, null_cleanup, skip_comment, copy_comment,
20613         copy_rest_of_line, handle_directive, pass_thru_directive,
20614         get_directive_token, read_line_number, cpp_print_file_and_line,
20615         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
20616         v_cpp_warning_with_line, detect_if_not_defined,
20617         consider_directive_while_skipping): Add static prototypes.
20618         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
20619         cpp_pedwarn_with_file_and_line): Constify a char*.
20620
20621         * cpplib.h (cpp_options, include_hash, progname, definition,
20622         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
20623         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
20624         find_include_file, deps_output, include_hash): Constify a char*.
20625
20626         * cppmain.c (progname): Constify.
20627         (main): Add prototype.  Use return, not exit.
20628
20629         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
20630         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
20631         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
20632         check_protection): Add static prototype.
20633         (xfree): Remove.
20634         (progname, recognized_macrom, recognized_extern): Constify a char*.
20635         (main): Add prototype.
20636
20637         * gen-protos.c (progname): Constify a char*.
20638
20639 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
20640
20641         * emit-rtl.c (free_emit_status): Take decl as a parameter.
20642         (init_emit_once): Add more GC roots.
20643         * except.c (mark_func_eh_entry): New function.
20644         (mark_eh_node): Mark false_label and rethrow_label.
20645         (init_eh): Add more GC roots.
20646         * function.c (free_after_compilation): Take decl as a paramter.
20647         Call free_stmt_status.
20648         (mark_function_state): Don't assume x_parm_reg_stack_loc is
20649         non-NULL.
20650         * function.h (free_after_compilation): Change prototype.
20651         (free_varasm_status): Likewise.
20652         (free_emit_status): Likewise.
20653         (free_stmt_status): New function.
20654         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
20655         Remove, replacing with ...
20656         (ggc_status): New structure.
20657         (ggc_chain): New variable.
20658         (init_gcc): Define.
20659         (ggc_push_context): New function.
20660         (ggc_pop_context): Likewise.
20661         (ggc_alloc_rtx): Adjust for use of ggc_chain.
20662         (ggc_alloc_rtvec): Likewise.
20663         (ggc_alloc_tree): Likewise.
20664         (ggc_alloc_string): Likewise.
20665         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
20666         (ggc_mark_tree): Give language-dependent code a chance to mark
20667         `x' nodes.
20668         (ggc_mark_tree_varray): Handle empty arrays.
20669         (ggc_collect): Adjust for use of ggc_chain.  Clear
20670         bytes_alloced_since_last_gc.
20671         * ggc.h (ggc_pop_context): New function.
20672         (ggc_push_context): Likewise.
20673         * print-tree.c (print_node): Don't print obstacks when GC'ing.
20674         * stmt.c (free_stmt_status): New function.
20675         (init_stmt_for_function): Clear last_expr_value.
20676         * toplev.c (rest_of_compilation): Always call free_after_compilation.
20677         Conditionalize call to ggc_collect.
20678         (main): Call init_ggc.
20679         * tree.c (push_obstacks): Do the push, even when GC'ing.
20680         (push_obstacks_nochange): Likewise.
20681         (pop_obstacks): Liekwise.
20682         * varasm.c (free_varasm_status): Take decl as a parameter.
20683
20684 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20685
20686         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
20687         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
20688         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
20689         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
20690
20691 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
20692
20693         * pa/x-pa-mpeix: New file for the MPE port.
20694
20695         * pa/quadlib.asm: New file for long double support.
20696
20697         * configure.in: Add hppa1.0-*-mpeix for MPE port.
20698         * configure: Rebuilt.
20699
20700 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
20701
20702         * final.c (shorten_branches): Fix last change.
20703
20704 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
20705
20706         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
20707
20708 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
20709
20710         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
20711         details.
20712
20713 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20714
20715         * c-aux-info.c (concat): Don't define.
20716
20717         * cccp.c (my_strerror): Likewise.  All callers changed to use
20718         xstrerror instead.
20719         (do_include): Call xstrdup, not xmalloc/strcpy.
20720         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
20721         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
20722
20723         * collect2.c (my_strsignal): Likewise.  All callers changed to use
20724         strsignal instead.
20725         (locatelib): Call xstrdup, not xmalloc/strcpy.
20726
20727         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
20728
20729         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
20730
20731         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
20732
20733         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
20734
20735         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
20736
20737         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
20738
20739         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
20740         malloc/realloc.
20741         (find_all_handler_type_matches): Likewise.  Don't check return
20742         value.
20743         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
20744         xmalloc, not malloc.
20745         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
20746
20747         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
20748         (init_spec): Call xcalloc, not xmalloc/bzero.
20749         (set_spec): Call xstrdup, not save_string.
20750         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
20751         (find_a_file): Call xstrdup, not xmalloc/strcpy.
20752         (process_command): Call xstrdup, not save_string.
20753         (main): Call xcalloc, not xmalloc/bzero.
20754
20755         * gcov.c (xmalloc): Don't define.
20756         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
20757         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
20758         (output_data): Call xcalloc, not xmalloc/bzero.
20759
20760         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
20761
20762         * mips-tdump.c (xmalloc): Don't define.
20763         (print_symbol): Call xmalloc, not malloc.
20764         (read_tfile): Call xcalloc, not calloc.
20765
20766         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
20767         Don't define.  All callers of xfree/my_strsignal changed to use
20768         free/strsignal instead.
20769         (allocate_cluster): Call xcalloc, not calloc.
20770
20771         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
20772         Fix memory leak, free allocated memory.
20773
20774         * prefix.c (translate_name): Call xstrdup, not save_string.
20775         (update_path): Likewise.
20776
20777         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
20778
20779         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
20780         Don't define.  Callers of xfree/savestring2 changed to use
20781         free/concat instead.
20782
20783         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
20784         (init_elim_table): Likewise.
20785
20786         * resource.c (init_resource_info): Likewise.
20787
20788         * stupid.c (stupid_life_analysis): Likewise.
20789
20790         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
20791         (open_dump_file): Call concat, not xmalloc/strcpy/...
20792         (clean_dump_file): Likewise.
20793         (compile_file): Call xstrdup, not xmalloc/strcpy.
20794
20795 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
20796
20797         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
20798         * v850.c (v850_va_arg): New.
20799
20800 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20801
20802         * haifa-sched.c: Tidy comments.
20803
20804 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20805
20806         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
20807         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
20808         $(out_object_file)): Depend on ggc.h.
20809         * c-common.c: Include "ggc.h".
20810         (combine_strings): If doing GC, use ggc_alloc_string.
20811         * c-decl.c: Include "ggc.h".
20812         (ggc_p): Define with value 0.
20813         (mark_binding_level): New function.
20814         (init_decl_processing): Add GC roots.
20815         (mark_c_function_context): New function.
20816         (lang_mark_false_label_stack): New function.
20817         (lang_mark_tree): New function.
20818         (lang_cleanup_tree): New function.
20819         * c-lang.c: Include "ggc.h".
20820         (lang_init): Call c_parse_init.
20821         * c-lex.c: Include "ggc.h".
20822         (check_linenum): If doing GC, don't copy filenames to permanent
20823         obstack.
20824         * c-parse.in: Include "ggc.h".
20825         (c_parse_init): New function.
20826         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
20827         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
20828
20829         * except.c (mark_eh_state): Mark more state.
20830         * function.c (mark_function_state): Likewise.
20831         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
20832         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
20833         * toplev.c (mark_file_stack): New function.
20834         (compile_file): If doing GC, use ggc_alloc_string on input filename.
20835         (main): Add root for input_file_stack.
20836
20837         * i386.c: Include "ggc.h".
20838         (ix86_mark_machine_status): New function.
20839         (override_options): Set mark_machine_status.
20840
20841 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20842
20843         * tree.c (copy_node): Copy node contents also if doing GC.
20844
20845 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
20846
20847         * collect2.c (scan_libraries): Fix double-thinko :-).
20848
20849 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
20850
20851         * collect2.c (scan_libraries): Fix thinko.
20852
20853         * cse.c (delete_trivially_dead_insns): Do not skip the last
20854         insn if it is a real insn.
20855
20856 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
20857
20858         * Makefile.in (ggc-simple.o): Depend on hash.h.
20859         * ggc.h (ggc_add_tree_hash_table_root): Declare.
20860         (ggc_mark_tree_varray): Likewise.
20861         (ggc_mark_tree_hash_table): Likewise.
20862         * ggc-simple.c: Include hash.h.
20863         (ggc_mark_tree_hash_table_ptr): New function.
20864         (ggc_mark_tree_hash_table_entry): Likewise.
20865         (ggc_mark_tree_hash_table): Likewise.
20866         (ggc_add_tree_hash_table_root): Likewise.
20867         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
20868         rtx, when defining fields.
20869
20870 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
20871
20872         * profile.c (output_func_start_profiler): Remove apparently
20873         nonsensical call to start_sequence.
20874
20875 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
20876
20877         * clipper/clipper.c (clipper_va_start): Fix typos.
20878
20879         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
20880         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
20881         (spur_va_arg): New stub.
20882
20883         * configure.in: Comment out pyramid.
20884
20885 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
20886
20887         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
20888         don't conflict with the bits that win32, cygwin, and dgux
20889         defines.
20890
20891 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
20892                           Bernd Schmidt <bernds@cygnus.co.uk>
20893
20894         * integrate.c (function_cannot_inline_p): Do not inline
20895         functions with forced labels.
20896
20897 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
20898                           Bernd Schmidt <bernds@cygnus.co.uk>
20899                           Mark Mitchell  <mark@codesourcery.com>
20900
20901         * Makefile.in (ggc-simple.o): Depend on varray.h.
20902         (rtl.o): Depend on ggc.h.
20903         (genattrtab.o): Depend on ggc.h.
20904         (print-tree.o): Likewise.
20905         (fold-const.o): Likewise.
20906         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
20907         (make_insn_raw): Don't cache insns when GC'ing.
20908         (emit_insn_before): Likewise.
20909         (emit_insn_after): Likewise.
20910         (emit_insn): Likewise.
20911         (start_sequence): Use xmalloc to allocate the sequence_stack.
20912         (end_sequence): Add free to free it.
20913         (gen_sequence): Don't cache insns when GC'ing.
20914         (clear_emit_caches): Don't use sequence_element_free_list.
20915         (init_emit): Use xcalloc, not xmalloc+bzero.
20916         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
20917         * function.c (pop_function_context_from): Use free to free the
20918         fixup_var_refs_queue.
20919         (put_reg_into_stack): Allocate it with xmalloc.
20920         * genattrtab.c: Include ggc.h.
20921         (operate_exp): Don't use obstack_free when GC'ing.
20922         (simplify_cond): Likewise.
20923         (simplify_text_exp): Likewise.
20924         (optimize_attrs): Likewise.
20925         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
20926         GC'ing.
20927         (gencode): Generate a #include for ggc.h.
20928         * ggc-callbacks.c (ggc_p): Define it to zero.
20929         * ggc-none.c (ggc_p): Likewise.
20930         * ggc-simple.c: Include varray.h.
20931         (ggc_mark_tree_varray): New function.
20932         (ggc_add_tree_varray_root): Likewise.
20933         (ggc_mark_tree_varray_ptr): Likewise.
20934         * ggc.h (ggc_p): Declare.
20935         (varray_head_tag): Likewise.
20936         (ggc_add_tree_varray_root): Declare.
20937         * print-tree.c (print_node): Don't check for TREE_PERMANENT
20938         inconsistencies when GC'ing.
20939         * rtl.c: Include ggc.h.
20940         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
20941         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
20942         (rtx_free): Don't call obstack_free when GC'ing.
20943         * toplev.c (rest_of_compilation): Call ggc_collect after every
20944         pass, if GC'ing.
20945         * tree.c (push_obstacks): Do nothing, if GC'ing.
20946         (pop_obstacks_nochange): Likewise.
20947         (pop_obstacks): Likewise.
20948         (make_node): Use ggc_alloc_tree when GC'ing.
20949         (copy_node): Likewise.
20950         (get_identifier): Use ggc_alloc_string when GC'ing.
20951         (build_string): Likewise.
20952         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
20953         (tree_cons): Likewise.
20954         (build1): Likewise.
20955         (type_hash_canon): Don't call obstack_free when GC'ing.
20956
20957 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
20958
20959         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
20960         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
20961
20962 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
20963                           Bernd Schmidt <bernds@cygnus.co.uk>
20964                           Mark Mitchell  <mark@codesourcery.com>
20965
20966         * Makefile.in (stor-layout.o): Depend on ggc.h.
20967         (expr.o): Depend on ggc.h.
20968         (profile.o): Depend on ggc.h.
20969         (stor-layout.o): Depend on ggc.h.
20970         * emit-rtl.c (init_emit_once): Add gc roots.
20971         * expr.c: Include ggc.h.
20972         (emit_block_move): Add gc roots.
20973         (clear_storage): Likewise.
20974         * expr.h (init_stor_layout_once): New function.
20975         * profile.c: Include ggc.h.
20976         (init_arc_profiler): profiler_label is a root.
20977         * scan.c (make_sstring_space): Trust xrealloc to function
20978         correctly with first parameter NULL.
20979         * stor-layout.c: Include ggc.h.
20980         (set_sizetype): Add gc root.
20981         (init_stor_layout_once): New function.
20982         * toplev.c (compile_file): Call it.
20983
20984 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
20985                           Bernd Schmidt <bernds@cygnus.co.uk>
20986                           Mark Mitchell  <mark@codesourcery.com>
20987
20988         * Makefile.in (tree.o): Depend on ggc.h.
20989         (varasm.o): Likewise.
20990         (function.o): Likewise.
20991         (stmt.o): Likewise.
20992         (except.o): Likewise.
20993         (optabs.o): Likewise.
20994         (emit-rtl.o): Likewise.
20995         * emit-rtl.c: Include ggc.h.
20996         (sequence_element_free_list): Remove, and all references.
20997         (mark_sequence): New functions.
20998         (mark_emit_state): New function.
20999         * except.c: Include ggc.h.
21000         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
21001         (mark_tree_label_node): New functions.
21002         (mark_eh_state): New function.
21003         * function.c: Include ggc.h.
21004         (mark_temp_slot, mark_function_chain): New functions.
21005         (mark_function_state): New function.
21006         (init_function_once): New function.
21007         * function.h (init_function_once): New function.
21008         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
21009         * ggc.h (label_node): Declare.
21010         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
21011         (lang_mark_false_label_stack): New function.
21012         (mark_temp_slot): Remove declaration.
21013         (mark_function_chain): Likewise.
21014         (mark_eh_state): Adjust prototype.
21015         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
21016         Likewise.
21017         * optabs.c: Include ggc.h.
21018         (mark_optab): New function.
21019         (init_optabs): Add gc roots.
21020         * stmt.c: Include ggc.h.
21021         (mark_cond_nesting, mark_loop_nesting): New functions.
21022         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
21023         (mark_stmt_state): New function.
21024         * toplev.c (compile_file): Call init_function_once.
21025         * tree.c: Include ggc.h.
21026         (type_hash): Move declaration earlier in file.
21027         (TYPE_HASH_SIZE, type_hash_table): Likewise.
21028         (init_obstacks): Add gc roots.
21029         (mark_type_hash): New function.
21030         * varasm.c: Include ggc.h.
21031         (mark_pool_constant): New function.
21032         (mark_varasm_state): New function.
21033
21034 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21035
21036         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
21037
21038 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
21039
21040         * c-decl.c (struct language_function): Renamed from struct c_function.
21041         Delete elt NEXT.
21042         (c_function_chain): Delete.
21043         (push_c_function_context): New arg F.  Don't warn about nested
21044         functions here.  Fill LANGUAGE elt of F.  Delete code to update
21045         c_function_chain.  Don't call push_function_context.
21046         (pop_c_function_context): New arg F.  Restore from there instead of
21047         from c_function_chain.  Don't call pop_function_context.  Clear out
21048         LANGUAGE field of F when done.
21049         * c-lang.c: Include "function.h"
21050         (lang_init): Initialize save_lang_status and restore_lang_status.
21051         * c-parse.in (nested_function, nested_function_notype): Warn about
21052         nested functions.  Call push_function_context/pop_function_context
21053         instead of the _c_ variants.
21054         * c-tree.h (push_c_function_context, pop_c_function_context): Update
21055         prototype.
21056         * Makefile.in (c-lang.o): Update dependencies.
21057
21058         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
21059         regno_pointer_flag, regno_pointer_align.
21060         (gen_reg_rtx): Use xrealloc to enlarge them.
21061         (free_emit_status): New function.
21062         * function.c (mark_machine_status, mark_lang_status): New variables.
21063         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
21064         in some bits from assign_stack_local.  All callers changed to use new
21065         name.
21066         (assign_stack_local): Just call assign_stack_local_1.
21067         (free_after_compilation): New function.
21068         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
21069         (trampoline_address): Likewise.
21070         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
21071         (prepare_function_start): Explicitly clear some more variables.
21072         * function.h (struct function): New elt can_garbage_collect.
21073         (mark_machine_status, mark_lang_status): Declare variables.
21074         (free_after_compilation, free_emit_status, free_varasm_status,
21075         init_varasm_status): Declare functions.
21076         * toplev.c (rest_of_compilation): Call free_after_compilation when
21077         done with the current function.
21078         * varasm.c (free_varasm_status): New function.
21079
21080 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
21081
21082         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
21083         (EXPAND_BUILTIN_VA_ARG): Define.
21084         * sparc.c (sparc_va_start): New.
21085         (sparc_va_arg): New.
21086
21087 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21088
21089         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
21090
21091 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21092
21093         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
21094
21095 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
21096
21097         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
21098         (OBJS): Add $(GGC).
21099         (ggc-callbacks.o): New target.
21100         * ggc-callbacks.c: New file.
21101
21102 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21103
21104         * expr.h: Collapse individual optab and libfunc vars to arrays.
21105         (optab_index, libfunc_index): New enumerations.
21106         (optab_table, libfunc_table): New arrays.
21107         Add accessor macros for both.
21108
21109         * optabs.c (optab_table, libfunc_table): New.
21110         Delete declarations for individual optab and libfunc vars.
21111
21112 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
21113
21114         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
21115
21116 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
21117
21118         * Makefile.in (GGC, GGC_LIB): New.
21119         (HOST_RTL): Include ggc-none.o.
21120         (ggc-simple.o): New target.
21121         (ggc-none.o): Likewise.
21122         * tree.h (tree_common): Add gc_mark.
21123         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
21124         (struct rtvec_def): Add gc_mark.
21125         * emit-rtl.c (global_rtl): Update static initializers to contain
21126         enough initializers.
21127         * ggc.h, ggc-none.c, ggc-simple.c: New files.
21128         * toplev.c (gc_time): New variable.
21129         (all_time): New variable.
21130         (compile_file): Print gc time.
21131         (print_time): Calculate percentage of the whole.
21132
21133 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21134
21135         Change obstack memory management and varasm constant pool handling so
21136         that nested functions are treated like any other functions.
21137         * function.c (init_machine_status): New variable.
21138         (push_function_context_to): Set contains_functions for the outer
21139         function.  Don't call save_varasm_status.
21140         (pop_function_context_from): Don't call restore_varasm_status.  Don't
21141         set current_function_contains_functions.
21142         (prepare_function_start): Call init_varasm_status rather than
21143         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
21144         is non-null.
21145         * function.h (struct function) Add field varasm.  Delete fields
21146         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
21147         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
21148         (init_machine_status): Declare.
21149         (save_varasm_status, restore_varasm_status): Delete declarations.
21150         (save_tree_status, restore_tree_status): Delete last argument.
21151         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
21152         code.  All callers changed.
21153         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
21154         save_constants_in_decl_trees, restore_constants, save_constants,
21155         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
21156         functions.
21157         (inlining): New variable.
21158         (reg_map, label_map, insn_map, orig_asm_operands_vector,
21159         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
21160         variables.
21161         (save_for_inline_nocopy): Don't save constants.
21162         Don't set inl_emit field in current_function.
21163         (expand_inline_function): Use emit field, not inl_emit, of the inlined
21164         function.  Set new variable inlining before
21165         calling copy_rtx_and_substitute.
21166         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
21167         constant pool references if inlining is nonzero.
21168         Delete ADDRESS and (most of the) CONST cases.
21169         (output_inline_function): Save and restore current_function/
21170         current_function_decl.  Delete restore_constants code.  Don't call
21171         init_const_rtx_hash_table.
21172         * output.h (init_const_rtx_hash_table): Don't declare.
21173         * rtl.h (struct function): Declare.
21174         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
21175         * toplev.c (rest_of_compilation): Don't treat nested functions or
21176         functions containing them specially.  Delete all code to deal with
21177         save_for_inline_copying.
21178         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
21179         inline_obstacks): Delete variables.
21180         (save_tree_status): Lose arg CONTEXT.  All callers changed.
21181         Simply allocate a new function_maybepermanent_obstack for the new
21182         function, delete all the special cases.
21183         Don't save inline_obstacks.
21184         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
21185         Delete special handling for function_maybepermanent_obstack; simply
21186         free it if empty.
21187         Don't restore inline_obstacks.
21188         (permanent_allocation):  Delete code that frees inline_obstacks.
21189         (print_inline_obstack_statistics): Delete function.
21190         (dump_tree_statistics): Don't call it.
21191         * varasm.c (struct varasm_status): New.
21192         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
21193         last_pool, pool_offset, const_double_chain): Delete global
21194         variables, replace with accessor macros.
21195         (immed_double_const): Don't walk const_double_chain outside a
21196         function, but don't treat nested functions specially anymore.
21197         (immed_real_const_1): Likewise.
21198         (clear_const_double_mem): Don't treat nested functions specially.
21199         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
21200         (save_varasm_status, restore_varasm_status): Delete functions.
21201         (init_varasm_status): New function.
21202         (force_const_mem): Don't treat nested functions specially.
21203         (find_pool_constant): Accept new arg F, search for constants in
21204         that function's pool rather than the current one.  All callers
21205         changed.
21206         (get_pool_constant_for_function, get_pool_mode_for_function): New
21207         functions.
21208
21209         * i386.c (init_386_machine_status): New function, mostly from
21210         clear_386_stack_locals.
21211         (struct machine_functions): Rename element names to avoid name
21212         clashes.
21213         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
21214         macros, replacing global variables.
21215         (clear_386_stack_locals, save_386_machine_status,
21216         restore_386_machine_status): Delete functions.
21217         (override_options): Initialize init_machine_status.
21218         * i386.h (INIT_EXPANDERS): Delete macro.
21219         (save_386_machine_status, restore_386_machine_status,
21220         clear_386_stack_locals): Delete declarations.
21221
21222 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21223
21224         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
21225         (doloop_begin):  Simplify pattern and use emit_jump_insn.
21226         (doloop_end): Simplify pattern, switch operand order,
21227         and use emit_jump_insn.
21228
21229 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
21230
21231         * function.h (struct function): Add new element LANGUAGE.
21232         (save_lang_status): Declare new variable.
21233         (restore_lang_status): Likewise.
21234         * function.c (save_lang_status): Define.
21235         (restore_lang_status): Likewise.
21236         (push_function_context_to): Call language-specific save function.
21237         (pop_function_context_from): Call language-specific restore function.
21238
21239 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
21240
21241         * i386.md (movsf_1): Check REG_P before use of REGNO.
21242         (movdf_1): Likewise.
21243         (movxf_1): Likewise.
21244         (extendsfdf2): Likewise.
21245         (extendsfxf2): Likewise.
21246         (extenddfxf2): Likewise.
21247
21248 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21249
21250         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
21251         constants into memory.
21252         (c4x_shiftable_constant): New function.
21253         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
21254         (c4x_shiftable_constant): Declare.
21255         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
21256         ashlqi3_noclobber): Add new patterns and associated splitters.
21257
21258 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
21259
21260         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
21261         * dwarf2out.c (dwarf2out_frame_init): Likewise.
21262         * final.c (shorten_branches): Likewise.
21263         * global.c (global_alloc): Likewise.
21264         * haifa-sched.c (build_control_flow): Likewise.
21265         * stmt.c (check_for_full_enumeration_handling): Likewise.
21266         (estimate_case_costs): Likewise.
21267
21268 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
21269
21270         * rtl.h (RTL_CHECKC2): Fix typo in last change.
21271
21272 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
21273
21274         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
21275         (recompute_reg_usage): Likewise.
21276         * rtlanal.c (find_regno_fusage): Likewise.
21277
21278         * rtl.c (rtl_check_failed_code1): New function.
21279         (rtl_check_failed_code2): New.
21280         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
21281         (RTL_CHECKC1, RTL_CHECKC2): New.
21282         (XC*): New accessor macros.
21283         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
21284         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
21285         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
21286         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
21287         (TRAP_*, RANGE_INFO_*): Likewise.
21288
21289 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21290
21291         * Makefile.in (tlink.o): Don't depend on toplev.h.
21292
21293         * collect2.c (c_file, o_file, export_file, import_file, ldout,
21294         output_file, nm_file_name, ldd_file_name, strip_file_name,
21295         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
21296         add_prefix, prefix_from_env, prefix_from_string, do_wait,
21297         fork_execute, maybe_unlink, add_to_list,
21298         extract_init_priority, write_list, dump_list,
21299         dump_prefix_list, write_list_with_asm, write_c_file,
21300         write_c_file_stat, write_c_file_glob, scan_prog_file,
21301         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
21302         ignore_library, extract_string, notice, dump_file, target_machine,
21303         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
21304         read_file, print_load_command): Constify a char*.
21305         (fdopen, error, fatal, fatal_perror): Don't prototype.
21306         (my_strerror): Remove.  All callers use xstrerror instead.
21307         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
21308         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
21309         to xcalloc/strcpy/strcat/...  to one call to concat.
21310         (main, scan_prog_file, scan_libraries): Use an intermediate
21311         `const char **' to build an argv array.
21312         (mapfile, libselect, libcompare, locatelib): Add prototypes.
21313
21314         * collect2.h (collect_execute, collect_wait, dump_file,
21315         file_exists): Constify a char*.
21316         (ldout, c_file_name, temporary_obstack, permanent_obstack,
21317         temporary_firstobj, vflag, debug): Add extern declarations.
21318         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
21319
21320         * tlink.c: Don't include toplev.h.
21321         (vflag, debug, ldout, c_file_name, temporary_obstack,
21322         permanent_obstack, temporary_firstobj): Don't declare.
21323         (tlink_execute, frob_extension, symbol_hash_lookup,
21324         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
21325         recompile_files, read_repo_files, demangle_new_symbols,
21326         scan_linker_output): Constify a char*.
21327         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
21328         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
21329
21330 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
21331
21332         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
21333         (relative) rather than jsr (absolute) subroutine call insns.
21334         * config/m68k/m68k-coff.h: Ditto.
21335
21336 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
21337
21338         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
21339         now rework these too.
21340         (arm_reorg): If an insn can't reach the end of the current pool,
21341         ensure that we emit that pool before the insn.
21342
21343 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
21344
21345         * tlink.c (scan_linker_output): Skip the initial underscore in
21346         a mangled name if appropriate.
21347
21348 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21349
21350         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
21351         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
21352         error_with_ivar, gen_declarator, create_builtin_decl,
21353         my_build_string, generate_descriptor_table, generate_ivars_list,
21354         generate_dispatch_table, check_protocols, TAG_GETCLASS,
21355         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
21356         dump_base_name, lang_decode_option, build_encode_expr,
21357         start_class, finish_class, encode_pointer, really_start_method,
21358         gen_declaration, dump_interface, handle_class_ref, handle_impent):
21359         Constify.
21360         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
21361         Add static prototypes.
21362         (build_objc_string_decl, build_selector_reference_decl,
21363         encode_bitfield, build_class_reference_decl): Remove unused
21364         parameter, all callers changed.
21365         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
21366         (objc_printable_name): Likewise.  Change second parameter to type int.
21367         (init_objc): Use memcpy, not bcopy, to avoid casts.
21368
21369 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
21370
21371         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
21372         reg notes on a deleted insn.
21373         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
21374
21375 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
21376
21377         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
21378
21379 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21380
21381         * stmt.c (expand_asm_operands): Fix index into inout_mode when
21382         reading it.
21383
21384 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
21385
21386         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
21387         * tm.texi (MD_ASM_CLOBBERS): Document it.
21388
21389 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
21390
21391         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
21392         * except.c (expand_rethrow): Remove unused variable.
21393         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
21394         * flow.c (replace_insns): Likewise.
21395         (create_edge_list, verify_edge_list): Likewise.
21396         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
21397
21398         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
21399         is special code to run.
21400         (main): Don't define operands to emit_operand.
21401         * genrecog.c (main): Don't emit an empty peephole2_insn function.
21402
21403         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
21404
21405         * alpha/alpha.h (normal_memory_operand): Declare.
21406         (reg_no_subreg_operand): Declare.
21407         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
21408
21409 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
21410
21411         * c-parse.in (compstmt_primary_start): New, broken out of first
21412         part of compstmt handling in primary.
21413         (primary): Use it.  Add an error clause.
21414         (compstmt_nostart): Renamed from compstmt; remove all
21415         initial invocations of compstmt_start.
21416         (compstmt): New.
21417
21418 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
21419
21420         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
21421         needed.
21422
21423 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
21424
21425         * combine.c (simplify_shift_const): Remove extra semicolon.
21426         * dwarf2out.c (remove_AT): Likewise.
21427         * expmed.c (expand_mult): Likewise.
21428         * gcov.c (create_program_flow_graph): Likewise.
21429         * reorg.c (mostly_true_jump): Likewise.
21430
21431 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
21432
21433         * fold-const.c (fold_range_test): Do not try to fold the range
21434         test if the rhs or lhs has side effects.
21435
21436         * combine.c (simplify_rtx): Recognize another case of a synthesized
21437         sign extension.
21438
21439         * varasm.c (mark_constant_pool): When marking indirect references,
21440         only look at SYMBOL_REFs.
21441
21442         * except.c (expand_fixup_region_end): Do not peek at
21443         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
21444
21445 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
21446
21447         * flags.h: New variables align_loops, align_loops_log,
21448         align_jumps, align_jumps_log, align_labels, align_labels_log,
21449         align_functions, align_functions_log.
21450         * toplev.c: Define them.
21451         (f_options): Handle -falign-* when they have no argument.
21452         (main): Add logic to set variables for -falign-functions,
21453         -falign-jumps, -falign-labels, -falign-loops.
21454         Make it -fsched-verbose=<n> and -finline-limit=<n>.
21455         (display_help): Change help to match options.
21456         * final.c (LABEL_ALIGN): Default to align_labels_log.
21457         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
21458         (LOOP_ALIGN): Default to align_loops_log.
21459         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
21460         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
21461         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
21462         * varasm.c (assemble_start_function): Handle align_functions.
21463
21464         * config/sparc/sparc.h: Don't declare sparc_align_*.
21465         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
21466         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
21467         sparc.c.
21468         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
21469         it's a promise.
21470         * config/sparc/sparc.c: Delete sparc_align_loops,
21471         sparc_align_jumps, sparc_align_funcs and the corresponding string
21472         variables.
21473         (sparc_override_options): Default align_functions on ultrasparc.
21474         Delete -malign-* handling.
21475
21476         * config/mips/mips.c (override_options):  On 64-bit targets,
21477         try to align code to 64-bit boundaries.
21478         (print_operand): New substitution, %~,
21479         which aligns labels to align_labels_log.
21480         * config/mips/mips.md (div_trap_normal): Use %~.
21481         (div_trap_mips16): Likewise.
21482         (abssi): Likewise.
21483         (absdi2): Likewise.
21484         (ffssi2): Likewise.
21485         (ffsdi2): Likewise.
21486         (ashldi3_internal): Likewise.
21487         (ashrdi3_internal): Likewise.
21488         (lshrdi3_internal): Likewise.
21489         (casesi_internal): Likewise.
21490
21491 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
21492
21493         Merge new ia32 backend from the branch!
21494
21495         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
21496         See ChangeLog.P2 on new_ia32_branch for details.
21497
21498         * rtl.h (stack_regs_mentioned_p): Delete prototype.
21499         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
21500         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
21501         * i386/gas.h (ASM_FILE_START): Define.
21502         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
21503         for name change of ix86_valid_decl_attribute_p.
21504         (i386_pe_valid_type_attribute_p): Similarly.
21505
21506 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
21507
21508         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
21509         to step through CC modes.
21510
21511 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21512
21513         * regmove.c (fixup_match_1): Don't move INSN in front of P if
21514         it would end up in the shadow of a live flags regsiter.
21515
21516 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21517
21518         * reload1.c: Fix many indentation problems.
21519         * reload.c: Likewise.
21520
21521 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
21522
21523         * alias.c (non_local_reference_p): Constify fmt.
21524
21525 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
21526
21527         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
21528
21529 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
21530
21531         * cse.c (delete_trivially_dead_insns): Do not delete stores to
21532         the internal_arg_pointer.
21533
21534 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
21535
21536         Merge peephole2 from new_ia32_branch:
21537         * Makefile.in (STAGESTUFF): Add *.peephole2.
21538         (mostlyclean): Likewise.
21539         (recog.o): Depend on resource.h.
21540
21541         * final.c (peephole): Conditionalize decl on HAVE_peephole.
21542         (final_scan_insn): Likewise for the invocation of peephole.
21543         * genconfig.c (main): Look for peephole and peephole2 patterns.
21544         Emit HAVE_peephole* accordingly.
21545         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
21546         * flags.h (flag_peephole2): Declare.
21547         * toplev.c: New pass peephole2.  New flag -fpeephole2.
21548
21549         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
21550         * gencodes.c (main): Likewise.
21551         * genextract.c (main): Likewise.
21552         * genoutput.c (main): Likewise.
21553         * genemit.c (max_operand_1): Look for the max scratch operand.
21554         (gen_rtx_scratch): New.
21555         (gen_exp): Use it, and pass on new arg subroutine_type.
21556         (gen_expand): Take max scratch into account.
21557         (gen_split): Emit peephole2 functions.
21558         (output_peephole2_scratch): New.
21559         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
21560         * genrecog.c (routine_type): Add PEEPHOLE2.
21561         (IS_SPLIT): New.
21562         (make_insn_sequence): Match outer parallel for peep2.  Discard
21563         top level scratches and dups.
21564         (add_to_sequence): New args insn_type and top.  Update all callers.
21565         Handle toplevel peep2 matching insns.
21566         (write_subroutine): Handle peep2.
21567         (write_tree_1): Likewise.
21568         (write_tree): Likewise.
21569         (main): Likewise.
21570         (change_state): New arg afterward.  Update all callers.
21571         Handle matching separate insns.
21572         * recog.c (recog_next_insn): New.
21573         (peephole2_optimize): New.
21574         * rtl.def (DEFINE_PEEPHOLE2): New.
21575         * resource.c (find_free_register): New argument last_insn.  Use it
21576         to find a register available through the entire span.
21577         * resource.h (find_free_register): Update prototype.
21578
21579 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
21580
21581         * i386.c (output_strlen_unroll): Don't write xops[7]
21582         label if it wasn't set.
21583
21584 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
21585
21586         * cpplib.c (struct directive): Const-ify name pointer and
21587         function pointer prototype.
21588         (validate_else, do_define, do_line, do_include, do_undef,
21589         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
21590         do_elif, do_endif, do_sccs, do_assert, do_unassert,
21591         do_warning): Const-ify second arg.
21592         (directive_table): Mark const.  Reorder entries by frequency
21593         of usage, record statistics.
21594
21595 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
21596
21597         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
21598         bounds- check RTL accesses if --enable-checking.
21599         (RTVEC_ELT): Bounds check if --enable-checking.
21600         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
21601         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
21602         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
21603         GET_NUM_ELEM.
21604         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
21605         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
21606
21607         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
21608         (NOTE_SOURCE_FILE): Use X0STR.
21609         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
21610         MEM_ALIAS_SET): Use X0INT.
21611         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
21612         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
21613         Use X0EXP.
21614         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
21615         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
21616         (rtl_check_failed_bounds, rtl_check_failed_type1,
21617         rtl_check_failed_type2, rtvec_check_failed_bounds): New
21618         functions.
21619         (fancy_abort): Fix comment.
21620
21621         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
21622         (cse_insn): Decrement LABEL_NUSES for jump target before
21623         deleting jump insn.
21624         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
21625         * final.c (alter_subreg): Compute regno before changing x to
21626         REG; set REGNO(x) after changing it.
21627         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
21628         notes containing CONST_INTs.
21629         (delete_eh_regions): Use NOTE_EH_HANDLER.
21630         * function.c (put_reg_into_stack): Make reg a MEM before
21631         initializing it.
21632         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
21633         delete insn.
21634         (gen_mem_addressof): Make reg a MEM before initializing it.
21635         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
21636         X0WINT.
21637         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
21638         deleting an insn, not after.
21639         (block_alloc): Only look at PATTERN(insn) if we have to, and
21640         only if it's format class 'i'.
21641         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
21642         CONST_INT before using its INTVAL.
21643         * print-rtl.c (print_rtx): Use X0STR.
21644         * regmove.c (fixup_match_1): Don't look at PATTERN of
21645         non-class-'i' insn chain elements.
21646         * reload.c (loc_mentioned_in_p): Take address of
21647         in->fld[1].rtx directly.
21648         * reload1.c (reload): Change reg to a MEM before initializing
21649         it.
21650         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
21651         have no names.
21652         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
21653
21654 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
21655
21656         * config/mips/mips.c (machine_dependent_reorg): Force a
21657         barrier to output the local constant pool if a barrier hasn't
21658         been found at a natural point in the instruction stream.
21659
21660 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21661
21662         * c-parse.in (language_string): Constify.
21663
21664         * dwarf2out.c (language_string): Remove declaration.
21665
21666         * dwarfout.c (language_string): Likewise.
21667
21668         * toplev.c (language_string, init_parse, finish_parse): Likewise.
21669
21670         * tree.h (language_string, init_parse, finish_parse): Declare.
21671
21672         * i386/sun386.h (language_string): Remove declaration.
21673
21674         * mips.h (language_string): Likewise.
21675
21676         * nextstep.h (language_string): Likewise.
21677
21678         * nextstep21.h (language_string): Likewise.
21679
21680         * rs6000.c (language_string): Likewise.
21681
21682 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21683
21684         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
21685         (getpwd.o): Remove target.
21686
21687         * getpwd.c: Delete file.  Its in libiberty now.
21688
21689         * dbxout.c (getpwd): Don't prototype.
21690         * dwarf2out.c (getpwd): Likewise
21691         * dwarfout.c (getpwd): Likewise
21692         * final.c (getpwd): Likewise.
21693         * protoize.c (getpwd): Likewise.
21694
21695 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21696
21697         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
21698
21699 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
21700
21701         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
21702         mark_set_resources.
21703
21704 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
21705
21706         * fixinc/Makefile.in (subdir): New.
21707         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
21708         (Makefile): New.
21709
21710 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
21711
21712         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
21713         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
21714         be shared.
21715
21716         * invoke.texi: Fix typo.
21717
21718         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
21719         changed.  Handle autoincrement addressing modes.
21720
21721         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
21722         just like we would the virtual incoming args register when
21723         integrating.
21724
21725 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
21726
21727         * rs6000.h (ASM_FILE_START): Specify complete filename, including
21728         path, in .file directive.
21729
21730 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
21731
21732         * gcc.texi (External Bugs): Remove obsolete note about Perl on
21733         SunOS.
21734
21735 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
21736
21737         * stdbool.h: Make the typedef name _Bool, with bool a #defined
21738         alias.
21739
21740 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21741
21742         * tree.c (tree_code_name): Constify a char*.
21743
21744         * tree.h (tree_code_name, decl_printable_name): Likewise.
21745
21746         * function.h (struct function): Likewise.
21747
21748         * toplev.c (decl_name, decl_printable_name): Likewise.
21749
21750         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
21751
21752         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
21753         (init_objc): Remove function pointer cast.
21754
21755 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
21756
21757         * pa.md (interspace_jump): New pattern.
21758         (builtin_longjmp): New expander.
21759
21760 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
21761
21762         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
21763         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
21764         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
21765
21766 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
21767
21768         * jump.c (delete_prior_computation): Also check calls
21769         to constant functions.  Don't bother checking for a
21770         REG_UNUSED note before adding it.
21771         (delete_computation): Handle multi-word hard registers
21772         when synthesizing missing REG_DEAD notes for a register
21773         which is both set and used by an insn.
21774
21775 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21776
21777         * loop.c (this_loop_info): New variable.
21778         (loop_has_call, loop_has_volatile, loop_has_tablejump,
21779         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
21780         All uses updated.
21781         (prescan_loop, strength_reduce): New argument loop_info.  All callers
21782         updated.
21783         (scan_loop): New variable loop_info, initialise to address of
21784         this_loop_info.
21785         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
21786         Delete variable loop_has_multiple_exit targets and replace with
21787         field in this_loop_info.
21788         (find_and_verify_loops): Rename this_loop to this_loop_num.
21789         (strength_reduce): Delete loop_iteration_info.  Replace variable
21790         loop_info with function argument of same name.
21791         (insert_bct): Rework test for loop being completely unrolled.
21792
21793         * loop.h (struct loop_info): New fields num, loops_enclosed,
21794         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
21795         has_indirect_jump, and cont.  Redefine use of unroll_number.
21796         (loop_unroll_number): Delete.
21797
21798         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
21799         field of loop_info.
21800         (loop_iterations): Delete variable vtop and instead use
21801         loop_info->vtop computed in prescan_loop.
21802
21803 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
21804
21805         * fix-header.c (main): Do not pass a null pointer to strcmp.
21806
21807 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
21808
21809         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
21810         filenames.
21811         * configure: Rebuilt.
21812
21813 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
21814
21815         * jump.c (jump_optimize_1): Do not delete assignments to
21816         internal_arg_pointer.
21817         * cse.c (delete_trivially_dead_insns): Always consider a set of
21818         the internal_arg_pointer live.
21819
21820 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
21821
21822         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
21823         (update_life_info) [REG_WAS_0]: Search the original insns rather
21824         than the new insns for the note.  Fix typos finding note_dest.
21825         If no dest found, discard the note rather than abort.
21826         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
21827         (replace_insns): Remove the old insn list after update_life_info
21828         not before.
21829
21830 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
21831
21832         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
21833         sched_analyze_insn.
21834         (sched_analyze_1): Let add_dependence care for not adding dups.
21835         (sched_analyze_2): Likewise.
21836         (add_branch_dependences): Likewise.
21837
21838 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21839
21840         * i386/winnt.c (export_list): New type.
21841         (exports_head): Rename to
21842         (export_head):  this.
21843         (i386_pe_record_exported_symbol): Add is_data flag.
21844         (i386_pe_asm_file_end): Emit directive for exported variables.
21845         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
21846         prototype.
21847         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
21848         (ASM_DECLARE_OBJECT_NAME): Likewise.
21849         (ASM_DECLARE_FUNCTION_NAME): Likewise.
21850         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
21851
21852 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
21853
21854         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
21855
21856         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
21857         operand.
21858
21859 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
21860
21861         * config/openbsd.h: Define SET_ASM_OP.
21862         * tm.texi: cross-reference SET_ASM_OP in the index.
21863
21864 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
21865
21866         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
21867         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
21868         and class_narrowest_mode at compile time.  Kill init_rtl.
21869         Mark rtx_length, mode_class, mode_size, mode_unit_size,
21870         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
21871         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
21872         EXTRA_CC_NAMES.
21873         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
21874         format.
21875         * rtl.h: Declare rtx_length and rtx_format as const.
21876         * machmode.def: Define CC().  Use CC() to define CCmode.  If
21877         EXTRA_CC_MODES is defined, expand it here.
21878         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
21879         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
21880         const.  Kill all references to EXTRA_CC_MODES.
21881
21882         * toplev.c: Don't prototype or call init_rtl.
21883         * optabs.c: Don't call init_mov_optab.
21884         * genemit.c: Don't generate init_mov_optab.  Don't call
21885         init_rtl.
21886         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
21887         here.
21888         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
21889         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
21890         genrecog.c: Don't call init_rtl.
21891
21892         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
21893         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
21894         definition of EXTRA_CC_MODES.
21895
21896         * md.texi: Kill ref to EXTRA_CC_NAMES.
21897         * tm.texi: Document new way to define EXTRA_CC_MODES.
21898
21899         * genrecog.c: Do not look up the name of a define_split.
21900         (Unrelated bugfix.)
21901
21902 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
21903
21904         * config/v850/v850.md: Fix typo introduced by previous delta.
21905
21906 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21907
21908         * gcc.c (fatal): Make definition static to match prototype.
21909
21910 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21911
21912         * combine.c (get_last_value): Don't look for earlier sets if the last
21913         known set is somewhere in between the insns being combined.
21914
21915 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
21916
21917         * configure.in: Don't use shell ! to negate exit codes
21918         * configure: Regenerate
21919
21920 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
21921
21922         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
21923         the fact that ALIGN is measured in bits, not bytes.
21924
21925 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
21926
21927         * errors.c: New file; defines functions error, warning, and
21928         fatal, variables have_error and progname.
21929         * errors.h: New file; prototypes and decls for stuff in errors.c.
21930
21931         * Makefile: Add rules to build errors.o and
21932         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
21933         genopinit, genrecog, genextract, genpeep, genattr, and
21934         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
21935         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
21936         genpeep.o, genattr.o, and genoutput.o.
21937
21938         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
21939         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
21940         define or prototype fatal.  Set progname at beginning of main.
21941         * genoutput.c:  Likewise, and don't define or prototype error
21942         either.
21943
21944         * c-typeck.c (c_expand_start_case): Return immediately if exp
21945         is an ERROR_MARK.
21946         * fold-const.c (operand_equal_p): Return immediately if arg1
21947         or arg0 are ERROR_MARKs.
21948         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
21949         fields of type ERROR_MARK when calculating if the record can
21950         go in a register.
21951
21952 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
21953         with much help from Jeffrey A Law and Richard Henderson
21954
21955         * i386.md: In the 6 insns which call output_fix_trunc,
21956         earlyclobber operands[0].
21957
21958 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
21959
21960         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
21961         creating new registers.
21962
21963 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
21964
21965         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
21966         i386_reg_alloc_order, i386_regparm_string,
21967         i386_align_loops_string, i386_align_jumps_string,
21968         i386_align_funcs_string, i386_preferred_stack_boundary_string,
21969         and i386_branch_cost_string as type "const char *".
21970         * i386.c: Define all above strings as type "const char *".
21971
21972 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
21973
21974         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
21975         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
21976
21977 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
21978
21979         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
21980         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
21981
21982 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
21983
21984         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
21985         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
21986         (dwarf2out_line, dwarf2out_finish): Likewise.
21987         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
21988
21989 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21990
21991         * tree.c (lang_unsave_expr_now) : Correct return type.
21992         * tree.h (lang_unsave_expr_now) : Same.
21993
21994 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
21995
21996         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
21997         instead of duplicating code.
21998
21999 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22000
22001         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
22002
22003 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
22004
22005         * tree.h: fancy_abort always takes three args.
22006         * resource.c: Move include of system.h before toplev.h.
22007
22008 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
22009
22010         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
22011         as SYMBOL_REFs.
22012
22013 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
22014
22015         * system.h: Don't redefine abort or trim_filename.
22016         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
22017         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
22018         whether or not __FUNCTION__ is available.
22019         * tree.h: Duplicate rtl.h's definition of abort, for files
22020         that don't include rtl.h.  Delete all code to perform type
22021         checking with a compiler other than GCC.
22022         * varray.h: Delete all code to perform type checking with a
22023         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
22024         its arguments exactly once, using a statement expression.
22025         Adjust the VARRAY_<type> accessor macros to match.
22026         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
22027         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
22028         caller's location.  Define fatal_insn and fatal_insn_not_found
22029         as macros that use _fatal_insn and _fatal_insn_not_found.
22030         (fancy_abort, trim_filename): Kill prototypes.
22031
22032         * rtl.c (trim_filename): Move here from toplev.c.
22033         (fancy_abort): New function.
22034         (DIR_SEPARATOR): Provide default definition.
22035         * tree.c (tree_check_failed, tree_class_check_failed): Go
22036         through fancy_abort.
22037         (tree_check, tree_class_check, cst_or_constructor_check,
22038         expr_check): Delete.
22039         * varray.c (varray_check_failed): New function.
22040         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
22041         _fatal_insn and _fatal_insn_not_found.  Go through
22042         fancy_abort.
22043         (trim_filename, fancy_abort): Delete.
22044
22045         * builtins.c (expand_builtin_args_info): Report ICE with abort.
22046         * except.c (start_catch_handler): Report ICE with error/abort
22047         combo.
22048         * final.c (output_operand_lossage): Likewise.
22049         * flow.c (verify_flow_info): Likewise.
22050
22051         * gcc.c: Prototype fatal.
22052         * gengenrtl.c: Undef abort after including rtl.h not system.h.
22053         * genattr.c, genattrtab.c, genemit.c, genextract.c,
22054         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
22055         Don't define fancy_abort.
22056
22057 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
22058
22059         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
22060         canonization.
22061
22062 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
22063
22064         * m88k.h (VERSION_INFO2): Kill.
22065         (VERSION_STRING): Kill.
22066         (TM_RCS_ID): Kill.
22067         (VERSION_INFO1): Tidy.
22068         (TARGET_VERSION): Update.
22069         * m88k/dgux.h (VERSION_INFO2): Kill.
22070         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
22071         * m88k/luna.h (VERSION_INFO1): Tidy.
22072         * m88k/sysv4.h (VERSION_INFO1): Likewise.
22073         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
22074         (output_file_start): Adjust for death of VERSION_STRING.
22075
22076 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
22077
22078         * cpplib.c (detect_if_not_defined): New function.
22079         (do_if): Use it to detect potential once-only headers.
22080
22081 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
22082
22083         * c-common.c (combine_strings): Always set TREE_CONSTANT.
22084
22085 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22086
22087         * combine.c (nonzero_bits) : Allow single-ly set registers to be
22088         anywere in the function only if they are pseudos and set before
22089         being used (not live at the start of the function).
22090         (num_sign_bit_copies) : Same.
22091         (get_last_value_validate) : Same.
22092         (get_last_value) : Same.
22093
22094 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
22095
22096         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
22097         where N and M are constant and N is an integer multiple of M.
22098
22099 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22100
22101         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
22102         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
22103         sbitmap_union_of_preds): Add prototypes.
22104         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
22105         the intersection of successors with the new flow graph structures.
22106         (sbitmap_intersection_of_preds): New function to compute the
22107         intersection of predecessors with the new flow graph structures.
22108         (sbitmap_union_of_succs): New function to compute the union of
22109         successors with the new flow graph structures.
22110         (sbitmap_union_of_preds): New function to compute the union of
22111         predecessors with the new flow graph structures.
22112         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
22113         (expr_reaches_here_p): Use edge and basic_block structures instead
22114         of s_preds and s_succs.
22115         (compute_cprop_avinout): Use new sbitmap routines.
22116         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
22117         of s_preds and s_succs.
22118         * flow.c (compute_flow_dominators): Compute dominators using
22119         edges and basic blocks instead of s_preds and s_succs.
22120
22121 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22122
22123         * lists.c (unused_insn_list, unused_expr_list): New file for
22124         maintaining various types of lists. New statics for maintaining a
22125         cache of available INSN_LIST and EXPR_LIST nodes.
22126         (free_list): Static function for freeing a list of INSN/EXPR nodes.
22127         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
22128         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
22129         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
22130         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
22131         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
22132         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
22133         (free_INSN_LIST_node): Free an individual INSN_LIST node.
22134         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
22135         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
22136         (remove_dependence, free_pending_lists): Use new global routines.
22137         (flush_pending_lists, sched_analyze_insn): Use new global routines.
22138         (sched_analyze, compute_block_backward_dependences): Use new routines.
22139         (sched_analyze_1, sched_analyze_2): Use new routines.
22140         (schedule_insns): Use new global routines.
22141         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
22142         prototypes.
22143         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
22144         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
22145         prototypes.
22146         * toplev.c (rest_of_compilation): Initialize node cache.
22147         * Makefile.in (OBJS): Add lists.o to list of object files.
22148         (lists.o): Add dependancies.
22149
22150 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
22151
22152         * config/v850/v850.md: Fix compile time warning messages.
22153         * config/v850/v850.c: Fix compile time warning messages.
22154         * config/v850/v850.h: Fix compile time warning messages.
22155
22156 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22157
22158         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
22159         Remove unused prototype for `init_lengths'.
22160
22161 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22162
22163         * calls.c (emit_call_1): Mark parameter `stack_size' with
22164         ATTRIBUTE_UNUSED.
22165         (expand_call): Initialize variable `insn'.
22166         (emit_library_call): Likewise for variable `high_to_save'.
22167         (emit_library_call_value): Likewise.
22168         (store_one_arg): Likewise for variables `lower_bound' and
22169         `upper_bound'.
22170
22171         * combine.c (try_combine): Likewise for variables `i2_code_number'
22172         and `other_code_number'.
22173         (find_split_point): Likewise for variables `pos', `unsignedp' and
22174         `inner'.
22175         (simplify_if_then_else): Likewise for variables `op' and `c1'.
22176         (simplify_and_const_int): Remove unused variable `width'.
22177         (merge_outer_ops): Likewise.
22178
22179         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
22180         HOST_WIDE_INT' when comparing against one.
22181         (simplify_relational_operation): Likewise.
22182         (cse_insn): Initialize variables `src_eqv_volatile',
22183         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
22184
22185         * final.c (init_final): Constify parameter `filename'.
22186         (final_start_function): Mark parameter `optimize' with
22187         ATTRIBUTE_UNUSED.
22188         (profile_function): Likewise for parameters `first' and `optimize'.
22189         (output_source_line): Likewise for parameter `file'.
22190
22191         * integrate.c (subst_constants): Cast a value to `size_t' when
22192         comparing against one.
22193         (mark_stores): Initialize variable `mode'.  Cast a value to
22194         `size_t' when comparing against one.
22195
22196         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
22197
22198         * loop.c (move_movables): Initialize variable `first'.
22199         (strength_reduce): Likewise for variable `increment'.
22200         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
22201         value to `size_t' when comparing against one.
22202         (load_mems): Initialize variable `end_label'.
22203
22204         * output.h (init_final): Constify parameter.
22205
22206         * reload.c (decompose): Initialize variable `base'.
22207
22208         * reload1.c (reload): Likewise for variable `is_scalar'.
22209         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
22210         (choose_reload_regs): Initialize variable `mode'.
22211         (emit_reload_insns): Likewise for variable `store_insn'.
22212         (reload_cse_noop_set_p): Mark parameter `insn' with
22213         ATTRIBUTE_UNUSED.
22214         (reload_combine): Initialize variable `set'.
22215
22216         * unroll.c (unroll_loop): Likewise for variable `local_label'.
22217         (copy_loop_body): Cast a value to `size_t' when comparing against
22218         one.
22219
22220         * varasm.c (assemble_variable): Initialize variable `size_tree'.
22221         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
22222         (remove_from_pending_weak_list): Mark parameter `name' with
22223         ATTRIBUTE_UNUSED.
22224
22225 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22226
22227         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
22228         gcse dump file.
22229
22230 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
22231
22232         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
22233         (ASM_DECLARE_FUNCTION_NAME): Define.
22234         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
22235         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
22236         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
22237         not already defined.
22238
22239 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
22240
22241         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
22242         of n_popped when call/call_value are not defined.
22243
22244 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
22245
22246         * tm.texi: GNU CC -> GCC conversion.
22247         (CC1_SPEC): Indicate it is used for all language front ends.
22248
22249 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
22250
22251         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
22252         NOTE_INSN_EH_REGION_END correctly.
22253
22254 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
22255                           Jeff Law <law@cygnus.com>
22256
22257         * loop.c (strength_reduce): Automatically unroll loops if the
22258         unrolled loop size is smaller than the rolled loop size.
22259
22260         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
22261         and delete comment that code should be rewritten.
22262
22263 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
22264
22265         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
22266         as reachable.
22267
22268         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
22269
22270 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22271
22272         * fixinc/mkfixinc.sh: Don't fix uwin headers.
22273         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
22274         (LINK_SPEC): Add -u _main when building executables.
22275         (ASM_DECLARE_FUNCTION): Update from Cygwin.
22276         (ASM_FILE_END): Use the default for ix86-pe.
22277         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
22278
22279 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
22280
22281         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
22282         and ASM_CLOSE_PAREN are empty strings.
22283
22284 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
22285                           Geoffrey Keating <geoffk@cygnus.com>
22286
22287         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
22288         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
22289         (unprotoize.o): Ditto.
22290         (test-protoize-simple): Don't define STD_PROTO_DIR.
22291         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
22292         changes to make 'test-protoize-simple' pass.
22293         (STD_PROTO_DIR): Remove define.
22294         (STANDARD_EXEC_PREFIX): Supply default define.
22295         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
22296         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
22297         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
22298         (GET_ENV_PATH_LIST): New macro.
22299         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
22300         (do_processing): Initialize default_syscalls_dir using new
22301         macros.  Use it to initialize syscalls_absolute_filename.
22302
22303 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
22304
22305         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
22306         B into a register before emit_conditional_move.
22307
22308 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
22309
22310         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
22311         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
22312         multiplicand out of (+ (* a b) (* c d)).
22313
22314 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
22315                           Richard Henderson  <rth@cygnus.com>
22316
22317         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
22318         (new_insn_dead_notes): Likewise.
22319         (update_n_sets): Likewise.
22320         (update_flow_info): Move to flow.c, renamed to update_life_info;
22321         extend to handle multiple source insns.
22322         * flow.c: Include resource.h
22323         (unlink_insn_chain): New.
22324         (split_hard_reg_notes): New.
22325         (maybe_add_dead_note): New.
22326         (maybe_add_dead_note_use): New.
22327         (find_insn_with_note): New.
22328         (new_insn_dead_notes): New.
22329         (update_n_sets): New.
22330         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
22331         (maybe_remove_dead_notes): New.
22332         (update_life_info): New.
22333         (prepend_reg_notes): New.
22334         (replace_insns): New.
22335         * output.h (update_life_info): Declare.
22336         * recog.c (split_block_insns): Use update_life_info.
22337         * resource.c (find_free_register): Use reg_alloc_order, don't use
22338         fixed regs, make sure the mode is supported, don't use new regs.
22339         (reg_dead_p): New.
22340         * rtl.h (replace_insns): Declare.
22341
22342 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
22343
22344         * expr.c (expand_expr): Cope with COND_EXPRs with one
22345         non-returning branch.
22346
22347 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
22348
22349         * expr.c (store_expr): Always pass down the target, even when not
22350         doing CSE.
22351
22352 1999-08-24  Nick Clifton  <nickc@cygnus.com>
22353
22354         * configure.in: Define target_cpu_default for v850 targets.
22355         * configure: Regenerate
22356
22357         * config/v850/v850.h (TARGET_CPU_generic): Define.
22358         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
22359         addresses are 4 byte aligned.
22360
22361         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
22362         addresses.
22363
22364 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22365
22366         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
22367         (main): Add prototypes.
22368
22369         * genattrtab.c (substitute_address, write_const_num_delay_slots,
22370         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
22371         (write_attr_get): Emit prototypes along with function definition.
22372         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
22373         (write_complex_function): Emit static prototype along with
22374         function definition.
22375
22376         * genemit.c (gen_split): Emit prototypes along with function
22377         definition.
22378
22379         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
22380         Likewise for predicates and `insn_operand_predicate'.
22381         (process_template): Emit static prototype along with function
22382         definition.
22383
22384         * genrecog.c (make_insn_sequence): Constify a char*.  Add
22385         prototypes for get_split_*().
22386         (write_subroutine): Emit prototypes along with function
22387         definition.
22388
22389 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22390
22391         * gcse.c (find_avail_set): Follow chains of register-register copies.
22392         Use oprs_not_set_p to guarantee that the returned value can be
22393         substituted.
22394         (cprop_insn): Don't verify the return value of find_avail_set with
22395         oprs_not_set_p.
22396
22397         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
22398         (cprop_cc0_jump): New function.
22399         (cprop_insn): Break out new function cprop_jump and use it.
22400         Also use cprop_cc0_jump for machines with CC0.
22401         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
22402
22403         * tree.h (current_function_calls_setjmp,
22404         current_function_calls_longjmp): Delete declarations.
22405         * dsp16xx.c: Include "function.h".
22406         * elxsi.c: Likewise.
22407         * gmicro.c: Likewise.
22408         * h8300.c: Likewise.
22409         * i370.c: Likewise.
22410         * m32r.c: Likewise.
22411         * mn10200.c: Likewise.
22412         * mn10300.c: Likewise.
22413         * ns32k.c: Likewise.
22414         * spur.c: Likewise.
22415         * v850.c: Likewise.
22416
22417         * rtl.h (rtx_equal_function_value_matters): Declare.
22418         * toplev.c (rtx_equal_function_value_matters): Don't declare.
22419         * cse.c: Likewise.
22420         * function.c: Likewise.
22421         * emit-rtl.c: Likewise.
22422
22423 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
22424
22425         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
22426         call.
22427
22428 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
22429
22430         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
22431         exactly.
22432
22433 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
22434
22435         * cpp.texi: Add a node documenting macro varargs (copied
22436         from extend.texi).
22437
22438 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
22439
22440         * cppspec.c: Put a null pointer at the end of the new argv.
22441
22442 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
22443
22444         * configure.in: Remove code to select/de-select the haifa
22445         scheduler.  Every scheduled port gets haifa now.
22446         * configure: Rebuilt.
22447         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
22448         * sched.c Deleted.
22449         * Makefile.in: Corresponding changes.
22450
22451 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22452
22453         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
22454         All callers changed.
22455         (prepare_float_lib_cmp): Likewise.
22456         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
22457         * expr.h (emit_float_lib_cmp): Delete declaration.
22458         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
22459         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
22460         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
22461         specially.
22462         (cmptf): Now conditional on TARGET_HARD_QUAD.
22463
22464 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
22465
22466         * resource.c (mark_target_live_regs): Use
22467         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
22468
22469 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22470
22471         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
22472
22473         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
22474
22475         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
22476
22477 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22478
22479         * rtl.h (rtx_format): Constify a char*.
22480
22481         * rtl.c (rtx_format): Likewise.
22482         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
22483         (init_rtl): Use accessor macro, not `rtx_format'.
22484
22485         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
22486         char*.
22487
22488         * caller-save.c (mark_referenced_regs): Likewise.
22489
22490         * combine.c (subst, make_compound_operation, known_cond,
22491         gen_rtx_combine, update_table_tick, get_last_value_validate,
22492         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
22493
22494         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
22495         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
22496         count_reg_usage): Likewise.
22497
22498         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
22499         Likewise.
22500
22501         * final.c (leaf_renumber_regs_insn): Likewise.
22502
22503         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
22504         dump_edge_info, count_reg_references): Likewise.
22505
22506         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
22507         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
22508         Likewise.
22509
22510         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
22511         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
22512         add_label_notes): Likewise.
22513
22514         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
22515         clear_struct_flag, count_sub_rtxs, count_alternatives,
22516         compares_alternatives_p, contained_in_p, walk_attr_value,
22517         write_expr_attr_cache): Likewise.
22518
22519         * genconfig.c (walk_insn_part): Likewise.
22520
22521         * genemit.c (max_operand_1, gen_exp): Likewise.
22522
22523         * genextract.c (walk_rtx): Likewise.
22524
22525         * genflags.c (num_operands): Likewise.
22526
22527         * genoutput.c (scan_operands): Likewise.
22528
22529         * genpeep.c (match_rtx): Likewise.
22530
22531         * genrecog.c (add_to_sequence): Likewise.
22532
22533         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
22534         Likewise.
22535
22536         * integrate.c (save_constants, copy_for_inline,
22537         copy_rtx_and_substitute, subst_constants, restore_constants):
22538         Likewise.
22539
22540         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
22541         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
22542
22543         * local-alloc.c (contains_replace_regs, memref_referenced_p):
22544         Likewise.
22545
22546         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
22547         add_label_notes, replace_call_address, count_nonfixed_reads,
22548         invariant_p, find_single_use_in_loop, find_mem_givs,
22549         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
22550         Likewise.
22551
22552         * print-rtl.c (reg_names, print_rtx): Likewise.
22553
22554         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
22555
22556         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
22557         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
22558         print_blocks): Likewise.
22559
22560         * regclass.c (fix_register, record_address_regs,
22561         reg_scan_mark_refs): Likewise.
22562
22563         * regmove.c (stable_but_for_p): Likewise.
22564
22565         * reload.c (loc_mentioned_in_p, operands_match_p,
22566         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
22567         copy_replacements, refers_to_regno_for_reload_p,
22568         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
22569         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
22570         Likewise.
22571
22572         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
22573         delete_address_reloads_1, count_occurrences,
22574         reload_cse_mem_conflict_p, reload_combine_note_use,
22575         add_auto_inc_notes): Likewise.
22576
22577         * resource.c (mark_referenced_resources, mark_set_resources):
22578         Likewise.
22579
22580         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
22581         reg_mentioned_p, regs_set_between_p, modified_between_p,
22582         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
22583         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
22584         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
22585         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
22586
22587         * sched.c (sched_analyze_2, attach_deaths): Likewise.
22588
22589         * stupid.c (stupid_mark_refs): Likewise.
22590
22591         * unroll.c (remap_split_bivs): Likewise.
22592
22593         * varasm.c (mark_constants): Likewise.
22594
22595         * a29k/a29k.c (uses_local_reg_p): Likewise.
22596
22597         * alpha/alpha.c (summarize_insn): Likewise.
22598
22599         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
22600         eliminate_lr2ip): Likewise.
22601
22602         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
22603
22604         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
22605         reg_mentioned_in_mem): Likewise.
22606
22607         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
22608         symbolic_reference_mentioned_p): Likewise.
22609
22610         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
22611
22612         * sh/sh.c (regs_used, mark_use): Likewise.
22613
22614         * vax/vax.c (vax_rtx_cost): Likewise.
22615
22616 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22617
22618         * machmode.h (mode_name): Constify a char*.
22619
22620         * rtl.c (mode_name): Likewise.
22621
22622         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
22623
22624         * optabs.c (init_libfuncs): Constify a char*.
22625
22626         * print-tree.c (mode_name): Remove redundant declaration.
22627         (print_node): Use accessor macro, not `mode_name'.
22628
22629         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
22630         not `mode_name'.
22631         (new_spill_reg): Constify a char*.
22632
22633         * tree.c (mode_name): Remove redundant declaration.
22634
22635 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22636
22637         * rtl.c (rtx_name): Constify a char*.
22638
22639         * rtl.h (rtx_name, fix_sched_param): Likewise.
22640
22641         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
22642         (mypr): Use accessor macro, not `rtx_name'.
22643
22644         * genemit.c (print_code): Constify a char*.
22645
22646         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
22647
22648         * genpeep.c (print_code): Constify a char*.
22649
22650         * genrecog.c (print_code): Likewise.
22651
22652         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
22653         end_bb): Add static prototype.
22654         (draw_edge): Constify a char*.
22655         (end_bb): Remove unused parameter.
22656
22657         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
22658         print_block_visualization): Constify a char*.
22659
22660 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
22661
22662         * c-common.c (c_get_alias_set): Update comment.
22663
22664 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
22665
22666         * linux.h (LIB_SPEC): Added.
22667
22668 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22669
22670         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
22671
22672 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
22673
22674         * tree.c (expr_check): Fix typo in last change.
22675
22676 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
22677
22678         * rtl.def (NOTE): Change format to "iuu0n".
22679         (ADDR_DIFF_VEC): Change format to "eEee0".
22680         (ADDRESSOF): Change format to "eit".
22681
22682         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
22683         (RTVEC_ELT): Change to match.
22684         (XVECEXP): Use XVEC and RTVEC_ELT.
22685         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
22686         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
22687         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
22688         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
22689         TRAP_CONDITION, TRAP_CODE): Use XEXP.
22690         (INTVAL): Use XWINT.
22691         (ADDRESSOF_DECL): Use XTREE.
22692         (SET_ADDRESSOF_DECL): Delete.
22693         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
22694         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
22695         ifdefed out since 2.6 at least.
22696         (gen_rtvec_vv): Delete prototype.
22697
22698         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
22699         not rtunion.
22700         (copy_most_rtx): Handle 't' format letter.
22701         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
22702         (gen_rtvec_vv): Delete function.  All callers changed to use
22703         gen_rtvec_v instead.
22704         * print-rtl.c (print_rtx): Move special casing of NOTEs to
22705         the '0' format letter.
22706
22707         * function.c (gen_mem_addressof): Don't use
22708         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
22709         instead.
22710         * integrate.c (copy_rtx_and_substitute): Likewise.
22711         Copy 't' slots with XTREE.
22712         (subst_constants): Treat 't' slots like '[swi]' slots.
22713         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
22714         * jump.c (rtx_equal_for_thread_p): Likewise.
22715         * rtlanal.c (rtx_equal_p): Likewise.
22716         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
22717         only four arguments.
22718         * gengenrtl.c (type_from_format): Provide correct types for
22719         'b' and 't' slots.
22720
22721
22722         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
22723         If a recent gcc is in use (always in stage2 and beyond), use
22724         statement expressions, so we don't make a function call unless
22725         the check fails.  Evaluate arguments exactly once.
22726         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
22727         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
22728         Delete.
22729         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
22730         they evaluate their arguments exactly once, irrespective of
22731         the compiler in use.
22732
22733         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
22734         is used by the currently-enabled check macros.  This is:
22735         (tree_check_failed, tree_class_check_failed): For gcc.
22736         (tree_check, tree_class_check, cst_or_constructor_check,
22737         expr_check): For other compilers.
22738
22739         * gencheck.c: Do not define any *_CHECK1 macros.
22740
22741 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
22742                           Mark Mitchell <mark@codesourcery.com>
22743
22744         * c-common.c (c_get_alias_set): Fix support for poitners and
22745         references.
22746
22747 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
22748
22749         * alias.c: Include tree.h.
22750         (nonlocal_reference_p, mark_constant_function): New functions.
22751         * flow.c (life_analysis): Call mark_constant_function.
22752         * rtl.h (mark_constant_function): Declare it.
22753
22754 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
22755
22756         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
22757         unrecognisable switches.
22758
22759 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22760
22761         * loop.c (recombine_givs): Set ix field after sorting.
22762         (recombine_givs): Remove bogus index / giv lockstep looping.
22763
22764 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22765
22766         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
22767         on CODE.
22768         (emit_store_flag_force): Use do_compare_rtx_and_jump.
22769         (do_cmp_and_jump): Formatting fixes.
22770         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
22771         do_compare_rtx_and_jump instead of compare_from_rtx.
22772         (do_compare_rtx_and_jump): New function; mostly copied from
22773         compare_from_rtx.
22774         (do_jump_for_compare): Delete.
22775         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
22776         MIN_EXPR.
22777         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
22778         of compare/do_jump_for_compare pairs.
22779         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
22780         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
22781         compare_from_rtx/do_jump_for_compare pairs.
22782         (do_jump_by_parts_equality): Likewise.
22783         (do_jump_by_parts_equality_rtx): Likewise.
22784         * expr.h (do_compare_rtx_and_jump): Declare.
22785         * optabs.c (prepare_cmp_insn): New function, contains most of the code
22786         that used to be in emit_cmp_insn.
22787         (cmp_available_p): New function.
22788         (prepare_operand): New function.
22789         (emit_cmp_and_jump_insn_1): New function, contains some code that used
22790         to be in emit_cmp_insn.
22791         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
22792         parameters to be pointers; don't emit final compare but modify some of
22793         the values pointed to by the args so the caller can perform the
22794         correct comparison.
22795         (expand_binop): Call emit_store_flag_force with signed forms of
22796         comparison code.
22797         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
22798         emit_jump_insn pair.
22799         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
22800         emit_cmp_and_jump_insn_1.  Call emit_queue.
22801         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
22802         arg.
22803         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
22804         jump sets cc0 before deleting it.
22805         * integrate.c (expand_inline_function): Likewise.
22806         * unroll.c (unroll_loop): Similar changes in several places.
22807         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
22808         before deleting it.
22809
22810 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22811
22812         * Makefile.in (insn-recog.o): Update dependencies.
22813         * genrecog.c (main): Make generated file include "function.h".
22814
22815 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
22816
22817         * cse.c (cse_insn): Call never_reached_warning when a jump is
22818         changed to be unconditional.
22819         * flags.h: Declare warn_notreached.
22820         * flow.c (delete_block): Call never_reached_warning when
22821         a block is deleted.
22822         * jump.c (delete_barrier_successors): Call never_reached_warning
22823         when we delete everything after a BARRIER.
22824         (never_reached_warning): New function.
22825         * rtl.h: Declare never_reached_warning.
22826         * toplev.c (warn_notreached): New variable.
22827         (lang_independent_options): Set warn_notreached
22828         when -Wunreachable-code.
22829         (compile_file): We need line numbers for -Wunreachable-code.
22830
22831 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
22832
22833         * haifa-sched.c (insn_unit): Fix typo on out of range test.
22834         * sched.c (insn_unit): Likewise.
22835
22836 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
22837
22838         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
22839
22840 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22841
22842         * flow.c (create_edge_list): Use xmalloc, not malloc.
22843
22844 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
22845
22846         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
22847         C-style comments.  Do not lose the character before double slash.
22848
22849 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22850
22851         * basic-block.h (struct edge_list): Stucture to maintain a vector
22852         of edges.
22853         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
22854          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
22855         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
22856         New function prototypes.
22857         * flow.c (create_edge_list): Function to create an edge list.
22858         (free_edge_list): Discards memory used by an edge list.
22859         (print_edge_list): Debug output showing an edge list.
22860         (verify_edge_list): Internal consistency check for an edge list.
22861         (find_edge_index): Function to find an edge index for a pred and succ.
22862
22863 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
22864
22865         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
22866         hashtable.
22867
22868 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
22869
22870         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
22871
22872 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
22873
22874         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
22875
22876 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
22877
22878         * toplev.c (rest_of_compilation): Allow machine dependent
22879         reorganisation pass to place information into the RTL dump
22880         file if it so wishes.
22881
22882 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
22883
22884         * explow.c (hard_function_value): Use VOIDmode instead of
22885         MAX_MACHINE_MODE.
22886         * stmt.c (expand_return): Likewise.
22887         * stor-layout.c (get_best_mode): Likewise.
22888
22889         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
22890         emit call instead of emit_insn call.
22891
22892 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22893
22894         * configure.in: Handle --disable/enable-win32-registry.
22895         * install.texi: Document --disable/enable-win32-registry.
22896         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
22897         (WIN32_REGISTRY_KEY): New macro.
22898         * prefix.c: Use to enable/disable win32-specific code.
22899         (lookup_key): Use versioned key.
22900         * configure: Regenerate.
22901         * config.in: Likewise.
22902
22903 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
22904
22905         * cpplib.c (read_line_number): New fn, split out of...
22906         (do_line): Here.
22907
22908 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22909
22910         tree.c (lang_unsave_expr_now) : New.
22911         (unsave_expr_now): Call lang_unsave_expr_now.
22912         tree.h (lang_unsave_expr_now) : New.
22913
22914 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
22915
22916         * toplev.c (flag_new_exceptions): On by default.
22917
22918 1999-08-13  Michael Meissner  <meissner@cygnus.com>
22919
22920         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
22921
22922 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22923
22924         * dwarfout.c (fundamental_type_code): Return FT_boolean for
22925         INTEGER_TYPE with precision==1, it's __java_boolean.
22926
22927 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22928
22929         * global.c (prune_preferences): Move some invariants out of the
22930         inner loop.
22931
22932 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
22933
22934         * configure.in (alpha*-dec-osf*): Add osf5.
22935
22936 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
22937
22938         * configure.in: Rework handling of ARM GNU/Linux slightly.
22939         (arm*-*-linux-gnuoldld): New target.
22940         * configure: Regenerate.
22941         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
22942         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
22943         * config/arm/linux-oldld.h: New file.
22944         * config/arm/linux-elf26.h: Don't include linux-elf.h.
22945         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
22946         Don't define.
22947         * config/arm/linux-elf.h (ASM_SPEC): Define.
22948         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
22949         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
22950         for 26-bit APCS and old linker.
22951         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
22952         `arm_elf'.
22953         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
22954         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
22955         don't define `arm' or `arm_elf'.
22956         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
22957         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
22958
22959 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
22960
22961         * rtl.texi: Fix typo.
22962
22963 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
22964
22965         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
22966
22967 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
22968
22969         * extend.texi (C++ Signatures): Remove node.
22970         * invoke.texi: Remove discussion of -fhandle-signatures,
22971         signature, sigof, __signature__, and __sigof__.
22972
22973 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
22974
22975         * Makefile.in (JAVAGC): Removed.
22976
22977 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22978
22979         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
22980
22981 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
22982
22983         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
22984
22985 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
22986
22987         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
22988         a register that is already known to be a pointer.
22989
22990 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
22991
22992         * fixinc/inclhack.tpl: Only install assert.h conditionally.
22993         * fixinc/inclhack.sh: Regenerated.
22994         * fixinc/fixincl.sh: Regenerated.
22995
22996 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
22997
22998         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
22999         Fix documentation of -ansi flag to describe its C++ behavior.
23000         Remove bogus reference to GCC 2.9.
23001
23002 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
23003
23004         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
23005         note if it is non-NULL.
23006
23007 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23008
23009         * except.h (eh_nesting_info): Add new structure defintion.
23010         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
23011         (reachable_handlers, update_rethrow_references): Add function
23012         prototypes.
23013         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
23014         a rethrow symbol instead of an integer exception region number.
23015         * flow.c (Make_edges): Use new exception nesting routines to determine
23016         which handlers are reachable from a CALL or asynchronous insn.
23017         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
23018         goto receivers.
23019         (delete_eh_regions): Update rethrow labels, and don't delete
23020         regions which are the target of a rethrow.
23021         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
23022         avoid overloading the SYMBOL_REF_USED flag.
23023         (rethrow_symbol_map): Use new rethrow_ref field.
23024         (rethrow_used): Use new rethrow_ref field.
23025         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
23026         of an integer.  Fix formatting.
23027         (output_exception_table_entry): Use new rethrow_ref field.
23028         (can_throw): Check for EH_REGION_NOTE before deciding
23029         whether a CALL can throw or not.
23030         (scan_region): Call rethrow_used() instead of accessing data structure.
23031         (update_rethrow_references): New function to make sure only regions
23032         which are still targets of a rethrow are flagged as such.
23033         (process_nestinfo): New static function to initialize a handler
23034         list for a specific region.
23035         (init_eh_nesting_info): New function to allocate and initialize
23036         the list of all EH handlers reachable from all regions.
23037         (reachable_handlers): New function to retrieve the list of handlers
23038         reachable from a specific region and insn.
23039         (free_eh_nesting_info): New function to dispose of a list of
23040         reachable handlers.
23041
23042 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23043
23044         * flow.c (split_edge): Set JUMP_LABEL field.
23045         (commit_one_edge_insertion): Set head correctly for insert_before.
23046         When inserting insns, update insn block numbers if allocated.
23047
23048 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23049
23050         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
23051         retry_incomplete_types): Add static prototype.
23052         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
23053         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
23054         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
23055         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
23056         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
23057         Constify a char*.
23058
23059         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
23060         dwarf2out_start_source_file, dwarf2out_line): Likewise.
23061
23062 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23063
23064         * output.h (assemble_name): Constify a char*.
23065
23066         * varasm.c (UNIQUE_SECTION, assemble_start_function,
23067         assemble_variable, assemble_name): Likewise.
23068
23069         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
23070
23071         * arm/pe.c (arm_pe_unique_section): Likewise.
23072
23073         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
23074
23075         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
23076
23077         * i386/interix.c (i386_pe_unique_section): Likewise.
23078
23079         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
23080
23081         * i386/winnt.c (i386_pe_unique_section): Likewise.
23082
23083         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
23084
23085         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
23086
23087         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
23088
23089         * pa/pa.c (output_call): Likewise.
23090
23091         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
23092
23093         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
23094
23095         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
23096         Likewise.
23097
23098         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
23099         Likewise.
23100
23101         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
23102
23103         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
23104         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
23105
23106         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
23107
23108 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23109
23110         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
23111
23112 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23113
23114         * tree.h (lang_identify): Constify a char*.
23115         (print_error_function): Add extern prototype.  Constify a char*.
23116
23117         * c-lang.c (lang_identify): Constify a char*.
23118
23119         * objc/objc-act.c (lang_identify): Constify a char*.
23120
23121 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23122
23123         * genpeep.c (main): Make generated file include "function.h".
23124         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
23125
23126 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23127
23128         * Makefile.in: Update dependencies.
23129         * alias.c: Include "function.h"
23130         * c-decl.c: Likewise.
23131         * caller-save.c: Likewise.
23132         * calls.c: Likewise.
23133         * combine.c: Likewise.
23134         * cse.c: Likewise.
23135         * explow.c: Likewise.
23136         * final.c: Likewise.
23137         * global.c: Likewise.
23138         * graph.c: Likewise.
23139         * local-alloc.c: Likewise.
23140         * loop.c: Likewise.
23141         * optabs.c: Likewise.
23142         * profile.c: Likewise.
23143         * recog.c: Likewise.
23144         * regclass.c: Likewise.
23145         * regmove.c: Likewise.
23146         * reload.c: Likewise.
23147         * reorg.c: Likewise.
23148         * resource.c: Likewise.
23149         * sched.c: Likewise.
23150         * stupid.c: Likewise.
23151         * config/1750a/1750a.c: Likewise.
23152         * config/a29k/a29k.c: Likewise.
23153         * config/arc/arc.c: Likewise.
23154         * config/arm/arm.c: Likewise.
23155         * config/arm/thumb.c: Likewise.
23156         * config/c4x/c4x.c: Likewise.
23157         * config/clipper/clipper.c: Likewise.
23158         * config/convex/convex.c: Likewise.
23159         * config/fx80/fx80.c: Likewise.
23160         * config/i860/i860.c: Likewise.
23161         * config/m68k/m68k.c: Likewise.
23162         * config/m88k/m88k.c: Likewise.
23163         * config/mips/mips.c: Likewise.
23164         * config/pdp11/pdp11.c: Likewise.
23165         * config/pyr/pyr.c: Likewise.
23166         * config/romp/romp.c: Likewise.
23167         * config/sh/sh.c: Likewise.
23168         * config/tahoe/tahoe.c: Likewise.
23169         * config/vax/vax.c: Likewise.
23170         * config/we32k/we32k.c: Likewise.
23171         * config/sparc/sparc.c: Include "function.h".
23172         (mem_min_alignment): Test current_function rather than
23173         regno_pointer_align.
23174         * config/pa/pa.c: Likewise.
23175         (compute_frame_size): Delete declaration of
23176         current_function_outgoing_args_size.
23177         * config/arc/arc.h (current_function_varargs): Delete declaration.
23178         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
23179         declaration.
23180         * config/i370/i370.h (current_function_outgoing_args_size): Delete
23181         declaration.
23182         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
23183         current_function_uses_pic_offset_table.
23184         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
23185         of current_function_returns_pointer.
23186         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23187         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23188         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23189         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23190         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23191         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23192         * config/m88k/m88k.c: Include "function.h"
23193         (call_used_regs, current_function_pretend_args_size,
23194         current_function_outgoing_args_size, frame_pointer_needed): Delete
23195         declarations.
23196         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
23197         declaration.
23198         * config/mips/mips.h (current_function_calls_alloca): Delete
23199         declaration.
23200         * config/mn10200/mn10200.h (current_function_needs_context,
23201         rtx_equal_function_value_matters): Delete declarations.
23202         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
23203         flag_pic): Delete declarations.
23204         * config/pa/pa.h (current_function_pretend_args_size,
23205         current_function_decl): Delete declarations.
23206         * config/pa/som.h (current_function_varargs): Delete declaration.
23207         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
23208         declaration.
23209         * config/pyr/pyr.h (current_function_pretend_args_size,
23210         current_function_args_size, current_function_calls_alloca): Delete
23211         declarations.
23212         * config/sh/sh.h (current_function_varargs): Delete declaration.
23213         * config/sparc/sparc.h (current_function_outgoing_args_size,
23214         current_function_calls_alloca, current_function_decl): Delete
23215         declarations.
23216         * config/spur/spur.h (current_function_pretend_args_size,
23217         current_function_calls_alloca): Delete declarations.
23218         * config/v850/v850.c (current_function_outgoing_args_size): Delete
23219         declaration.
23220         * config/vax/vms.h (current_function_name): Delete declaration.
23221         * gcse.c: Include "function.h".
23222         (current_function_name, current_function_calls_setjmp): Delete
23223         declarations.
23224         * haifa-sched.c: Include "function.h".
23225         (forced_labels): Delete declaration.
23226         * jump.c: Likewise.
23227         * reg-stack.c: Likewise.
23228         * reload1.c: Likewise.
23229         * genemit.c (main): Make generated file include function.h.
23230         * genoutput.c (output_prologue): Likewise.
23231
23232         * builtins.c (saveregs_value, apply_args_value): Delete variables.
23233         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
23234         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
23235         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
23236         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
23237         macros for some of them.
23238         (emit_filename, emit_lineno): Delete declarations.
23239         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
23240         regno_pointer_* variables through current_function.
23241         (gen_inline_header_rtx): Delete function.
23242         (save_emit_status): Delete function.
23243         (set_new_last_label_num): New function.
23244         (clear_emit_caches): New function.
23245         (restore_emit_status): Just clear last_labelnum and call
23246         clear_emit_caches.
23247         (get_last_insn_anywhere): Variable sequence_stack is now accessed
23248         through macro seq_stack.
23249         (add_insn_after): Likewise.
23250         (add_insn_before): Likewise.
23251         (remove_insn): Likewise.
23252         (pop_topmost_sequence): Likewise.
23253         (in_sequence_p): Likewise.
23254         (start_sequence_for_rtl_expr): Likewise.
23255         (start_sequence): Likewise, and likewise for
23256         sequence_rtl_expr/seq_rtl_expr.
23257         (push_topmost_sequence): Likewise.
23258         (end_sequence): Likewise.
23259         (init_virtual_regs): Now takes a "struct emit_status *" argument.
23260         All callers changed.  Store into that pointer instead of globals.
23261         (init_emit): Allocate emit elt of current_function.
23262         Changes for sequence_rtl_expr/sequence_stack renaming.
23263         Call clear_emit_caches instead of doing it in-line.
23264         Access regno_pointer_* variables through current_function.
23265         (init_emit_once) Don't clear sequence_stack.
23266
23267         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
23268         Delete variables.
23269         (arg_pointer_save_area): Delete declaration.
23270         (finish_expr_for_function): Renamed from init_queue; no longer static.
23271         (init_expr): Don't call init_queue.
23272         (save_expr_status, restore_expr_status): Delete functions.
23273         (expand_expr): Changes to reflect new layout of struct function.
23274         Don't access current_function_check_memory_usage when current_function
23275         is 0.
23276         * expr.h (forced_labels, save_expr_regs, saveregs_value,
23277         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
23278         current_function_outgoing_args_size, current_function_arg_offset_rtx,
23279         current_function_uses_const_pool, function_call_count,
23280         current_function_uses_pic_offset_table, nonlocal_labels,
23281         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
23282         current_function_check_memory_usage, nonlocal_goto_handler_slots,
23283         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
23284         declarations.
23285         (finish_expr_for_function): Declare.
23286         * flags.h (current_function_has_nonlocal_label,
23287         current_function_has_nonlocal_goto, current_function_is_thunk,
23288         current_function_has_computed_jump): Delete declarations.
23289         * flow.c (forced_labels): Delete declaration.
23290         * function.c (current_function_pops_args,
23291         current_function_returns_struct, current_function_returns_pcc_struct,
23292         current_function_needs_context, current_function_calls_setjmp,
23293         current_function_calls_longjmp, current_function_has_nonlocal_label,
23294         current_function_has_nonlocal_goto, current_function_is_thunk,
23295         current_function_has_computed_jump, current_function_calls_alloca,
23296         current_function_contains_functions, current_function_returns_pointer,
23297         current_function_epilogue_delay_list, current_function_args_size,
23298         current_function_pretend_args_size, current_function_arg_offset_rtx,
23299         current_function_outgoing_args_size, current_function_varargs,
23300         current_function_stdarg, current_function_args_info, cleanup_label,
23301         current_function_name, current_function_uses_const_pool,
23302         current_function_instrument_entry_exit, current_function_return_rtx,
23303         current_function_uses_pic_offset_table, nonlocal_labels,
23304         current_function_internal_arg_pointer, current_function_cannot_inline,
23305         current_function_check_memory_usage, function_call_count,
23306         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
23307         nonlocal_goto_stack_level, return_label, save_expr_regs,
23308         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
23309         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
23310         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
23311         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
23312         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
23313         Delete variables.
23314         (push_function_context_to): Don't save them.  Don't call
23315         save_storage_status, save_emit_status or save_expr_status.
23316         (pop_function_context_from): Don't restore them.  Don't call
23317         restore_storage_status or restore_expr_status.
23318         (get_func_frame_size): New function.
23319         (get_frame_size): Use it.
23320         (assign_outer_stack_local): Reflect some member name changes in struct
23321         function.
23322         (put_reg_into_stack): Likewise.
23323         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
23324         seq_rtl_expr.
23325         (fixup_var_refs): Likewise.
23326         (fix_lexical_addr): Likewise.
23327         (trampoline_address): Likewise.
23328         (prepare_function_start): Clear field inlinable of current_function.
23329         (init_function_for_compilation): New function.
23330         (expand_dummy_function_end): New function.
23331         (expand_function_end): Call finish_expr_for_function.
23332         * function.h (struct emit_status): New; fields moved here from struct
23333         function and from global variables.  Add accessor macros for some of
23334         the fields.
23335         (struct expr_status): Likewise.
23336         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
23337         (struct function): Add fields expr and emit, inlinable, inl_emit,
23338         original_arg_vector, original_decl_initial, inl_last_parm_insn,
23339         inl_max_label_num.  Add many comments.
23340         Add accessor macros for all elts of struct function that no longer
23341         have a global variable.
23342         (cleanup_label, return_label, frame_offset, tail_recursion_label,
23343         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
23344         stack_slot_list): Delete declarations.
23345         (get_func_frame_size): Declare.
23346         (save_expr_status, restore_expr_status, save_emit_status,
23347         save_storage_status, restore_storage_status): Delete declarations.
23348         (init_virtual_regs): Declare.
23349         * output.h (current_function_pops_args,
23350         current_function_returns_struct, current_function_returns_pcc_struct,
23351         current_function_needs_context, current_function_calls_setjmp,
23352         current_function_calls_longjmp, current_function_calls_alloca,
23353         current_function_has_nonlocal_label, current_function_varargs,
23354         current_function_has_computed_jump, current_function_returns_pointer,
23355         current_function_contains_functions, current_function_args_size,
23356         current_function_pretend_args_size, current_function_stdarg,
23357         current_function_outgoing_args_size, current_function_args_info,
23358         current_function_name, current_function_return_rtx,
23359         current_function_epilogue_delay_list,
23360         current_function_uses_const_pool, current_function_cannot_inline):
23361         Delete declarations.
23362         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
23363         regno_reg_rtx): Delete declaration.
23364         (REGNO_POINTER_FLAG): Delete macro.
23365         * stmt.c (expand_goto): Changes to reflect that some fields in struct
23366         function were renamed.
23367         * stor-layout.c (save_storage_status, restore_storage_status): Delete
23368         functions.
23369         * toplev.c: Include "function.h".
23370         (current_function_decl): Delete declaration.
23371         (compile_file): Call init_dummy_function_start and
23372         expand_dummy_function_end around some initializations that need to
23373         emit rtl.
23374         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
23375         Call init_function_for_compilation.
23376         * unroll.c: Include "function.h"
23377         (unroll_loop): Access regno_pointer_* variables through
23378         current_function.
23379
23380         * tree.h (struct tree_decl): Add elt f to saved_insns member.
23381         (DECL_SAVED_INSNS): use it.
23382         (expand_dummy_function_end): Declare.
23383         (init_function_for_compilation): Declare.
23384         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
23385         that it's no longer an INLINE_HEADER.
23386         (expand_call): Likewise.
23387         * integrate.c (finish_inline): Delete function.
23388         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
23389         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
23390         args.  Don't generate an INLINE_HEADER rtx, just return the arg
23391         vector.  All callers changed.
23392         (save_for_inline_copying):  Create a duplicate struct emit_status to
23393         hold the emit state for compiling the current function.  Use this and
23394         the other new fields in struct function that are for integration
23395         instead of an INLINE_HEADER.
23396         Use memcpy instead of bcopy.
23397         Store the current struct function in DECL_SAVED_INSNS of fndecl.
23398         (save_for_inline_nocopy): Similar changes, except no new emit_status
23399         is needed here.
23400         (expand_inline_function): Get information from function structure,
23401         not from an inline header rtx.
23402         (output_inline_function): Lose code to extract the necessary
23403         information from an inline header; simply put back the function
23404         structure into current_function.  Clear its inlinable elt.
23405         * rtl.def (INLINE_HEADER): Delete.
23406         * rtl.h: Delete all accessors for an INLINE_HEADER.
23407         (gen_inline_header_rtx): Delete declaration.
23408         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
23409         Delete declarations.
23410         (REGNO_POINTER_ALIGN): Delete.
23411         (clear_emit_caches): Declare.
23412         (set_new_last_label_num): Declare.
23413
23414 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
23415
23416         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
23417
23418         * except.c (expand_eh_region_start_for_decl): Always start a new block.
23419         * stmt.c (is_eh_region): Make sure current_function is present, too.
23420
23421 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
23422
23423         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
23424         for 64bit PA targets.
23425
23426         * pa.h (SELECT_SECTION): Define.
23427         * som.h (SELECT_SECTION): Delete.
23428
23429 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23430
23431         * alias.c (init_alias_analysis): Wrap call to
23432         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
23433
23434 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
23435
23436         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
23437         <sys/asm.h> contains an asm comment with an apostrophe
23438         * fixinc/inclhack.sh:  regen
23439         * fixinc/fixincl.x:  regen
23440
23441 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
23442
23443         * function.c (init_function_start): Clear prologue & epilogue.
23444         (prologue_epilogue_contains): New function.
23445         * alias.c (init_alias_analysis): Use it.
23446         * rtl.h (prologue_epilogue_contains): Declare it.
23447
23448 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
23449
23450         * jump.c (onlyjump_p): New function.
23451         * rtl.h: Declare it.
23452         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
23453         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
23454
23455 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
23456
23457         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
23458         to invert loops.  Simplify block scanning.
23459
23460 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
23461
23462         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
23463         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
23464
23465 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
23466
23467         * config/sparc/liteelf.h: New file to support sparclite-elf target
23468         * config/sparc/t-sp86x: New file to support sparc86x targets
23469         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
23470         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
23471         * configure.in: Support above target triplets
23472         * configure: Regenerated
23473
23474 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
23475
23476         * fixinc/server.c (server_setup): Do not prefix function used as
23477         parameter with `&'.
23478
23479 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
23480
23481         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
23482         Remove fp reg alternatives.
23483
23484 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
23485
23486         * Makefiin (TAROUTOPTS): Kill.
23487         (install-headers-tar): Use "xpf" for tar headerfile extraction
23488         * i370/x-oe (TAROUTOPTS): Delete.
23489         * m68k/x-apollo68 (TAROUTOPTS): Delete.
23490         * m68k/x-hp320 (TAROUTOPTS): Delete.
23491         * m68k/x-hp320g (TAROUTOPTS): Delete.
23492         * gcc.texi: Update bug reporting text.
23493
23494 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
23495
23496         * reg-stack.c (change_stack) Fixed problem with negative array index.
23497
23498 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
23499
23500         * extend.texi, install.texi: Fix spelling mistakes.
23501
23502         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
23503         (s-attrtab); No longer try to use pre-made insn-attrtab file.
23504         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
23505         PREMADE_ATTRTAB_MD.
23506         * mips/t-ecoff: Likewise.
23507         * mips/t-elf: Likewise.
23508         * mips/t-mips: Likewise.
23509         * mips/t-osfrose: Likewise.
23510         * mips/t-r3900: Likewise.
23511         * mips/t-svr3: Likewise.
23512         * mips/t-svr4: Likewise.
23513         * mips/t-ultrix: Likewise.
23514
23515         * gcc.texi: Document recommend means to provide software floating
23516         point libraries in libgcc.a
23517
23518 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
23519
23520         * c-lex.c (yylex): We can have a number with no digits.
23521
23522 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
23523
23524         * jump.c (delete_prior_computation): New function, broken
23525         out of delete_computation.  Check for side effects with
23526         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
23527         multi-word hard registers.
23528         (delete_computation): Use it.  Check for side effects with
23529         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
23530         missing REG_DEAD note for a register which is both set and
23531         used by an insn.
23532
23533 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
23534
23535         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
23536         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
23537         (ASM_FILE_START): Import _mcount with the right type.
23538         (ASM_DECLARE_FUNCTION_NAME): Define.
23539         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
23540         * pa.c (output_function_prologue): Always emit the function's label
23541         here.
23542         * pa.h (TEXT_SPACE_P): Define.
23543         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
23544         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
23545         * som.h (TEXT_SPACE_P): Delete.
23546         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
23547         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
23548
23549 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
23550
23551         * expr.c (emit_group_load): Allow src to be a CONCAT.
23552
23553 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23554
23555         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
23556         (___mulsi3): Use '!' comment character.
23557
23558 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23559
23560         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
23561
23562 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
23563
23564         * gcc.c: Update URLs and mail addresses.
23565         * gcc.texi: Likewise.
23566
23567 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
23568
23569         * rs6000.c (current_file_function_operand): Return zero for
23570         weak functions.
23571         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
23572         weak symbols.
23573         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
23574         for weak symbols.
23575
23576 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
23577
23578         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
23579         allocate space in the stack frame for the PIC register.
23580
23581 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
23582
23583         * m68k.md (xordi3, anddi3): These patterns are not available on
23584         the coldfire.
23585
23586 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
23587
23588         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
23589         (PUT_REAL): Likewise.
23590
23591 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23592
23593         * final.c (shorten_branches): Don't add an alignment for loops
23594         that have no label inside.
23595
23596 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23597
23598         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
23599         prototypes in macro HAVE_cmpstrsi.
23600
23601         * cpplib.c (cpp_get_token): Remove unused label `op3'.
23602
23603         * emit-rtl.c (operand_subword): Remove unused variable
23604         `bits_per_word'.
23605
23606         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
23607
23608         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
23609
23610 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
23611
23612         * cpphash.c (macroexpand): Delete leading whitespace when arg
23613         is concatenated before.
23614         (unsafe_chars): Correct test for whether + and - can extend a
23615         token.
23616
23617         * cppinit.c (cpp_start_read): Do dependencies for
23618         -include/-imacros files also.
23619
23620         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
23621         tokenizing non-directive lines.
23622         (cpp_expand_to_buffer): Temporarily disable no-output mode.
23623         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
23624         the input file.
23625
23626 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
23627
23628         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
23629
23630         * c-lex.c: Sync with C++ frontend.
23631         (linemode): New variable.
23632         (parse_float): imag, conversion_errno, and type are output only.
23633         (yylex): Adjust.  Move initial '.' case into main switch.
23634         Use linemode.
23635         (handle_generic_pragma): Just deal with tokens.
23636         (readescape): Use ISXDIGIT and ISGRAPH.
23637         * c-parse.in: Add END_OF_LINE token.
23638
23639         * c-lex.c (lang_init): Generalize.
23640         (nextchar): Remove.  Replace uses with UNGETC.
23641         (skip_white_space): Handle linemode here.  Optimize for cpplib.
23642         (skip_white_space_on_line): Remove.
23643         (extend_token_buffer_to): New fn.
23644         (extend_token_buffer): Use it.
23645         (read_line_number, check_newline): Just deal with tokens.
23646         (token_getch, token_put_back): New fns.
23647         (yylex): Use them.  More cpplib optimizations.  Simplify.
23648
23649 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
23650                           Jason Merrill  <jason@yorick.cygnus.com>
23651
23652         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
23653         (consume_string): Make this smart about USE_CPPLIB.
23654         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
23655         (yylex): Rewrite to be intelligent about USE_CPPLIB.
23656         Also, clean up cases where we redundantly set token_buffer[0].
23657         (read_line_number): New fn.
23658         (ignore_escape_flag): New variable.
23659
23660 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
23661
23662         * a29k/t-a29kbare: Fix some comments.
23663         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
23664         (FPBIT, DPBIT): Define.
23665         * a29k/t-vx29k: Likewise.
23666         * arc/t-arc: Likewise.
23667         * arm/t-arm-elf: Likewise.
23668         * arm/t-bare: Likewise.
23669         * arm/t-pe: Likewise.
23670         * arm/t-pe-thumb: Likewise.
23671         * arm/t-semi: Likewise.
23672         * arm/t-thumb: Likewise.
23673         * arm/t-thumb-elf: Likewise.
23674         * arm/t-thumb-linux: Likewise.
23675         * h8300/t-h8300: Likewise.
23676         * i960/t-i960: Likewise.
23677         * i960/t-vxworks960: Likewise.
23678         * m32r/t-m32r: Likewise.
23679         * mips/t-ecoff: Likewise.
23680         * mips/t-elf: Likewise.
23681         * mips/t-r3900: Likewise.
23682         * pa/t-pro: Likewise.
23683         * rs6000/t-aix43: Likewise.
23684         * rs6000/t-beos: Likewise.
23685         * rs6000/t-newas: Likewise.
23686         * rs6000/t-ppccomm: Likewise.
23687         * rs6000/t-rs6000: Likewise.
23688         * rs6000/t-winnt: Likewise.
23689         * rs6000/t-xnewas: Likewise.
23690         * rs6000/t-xrs6000: Likewise.
23691         * sh/t-sh: Likewise.
23692         * sparc/t-elf: Likewise.
23693         * sparc/t-sparcbare: Likewise.
23694         * sparc/t-sparclite: Likewise.
23695         * sparc/t-splet: Likewise.
23696         * v850/t-v850: Likewise.
23697         * mn10200/t-mn10200: Fix comments.
23698         * mn10300/t-mn10300: Likewise.
23699
23700         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
23701         dummy operand.  Allocate a new pseudo for the dummy operand.
23702         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
23703
23704         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
23705
23706 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
23707
23708         * configure: Rebuilt.
23709         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
23710
23711 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
23712
23713         * recog.c (preproces_constraints): Zero recog_op_alt before
23714         processing the constraints.
23715
23716         * arm.c (typedef minipool_node): Renamed from pool_node.
23717         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
23718         (add_minipool_constant): New function.
23719         (dump_minipool): New function.
23720         (find_barrier): Remove special case for getting the insn size of
23721         an insn that references the constant pool.
23722         (minipool_fixup): New structure.
23723         (push_minipool_barrier): New function.
23724         (push_minipool_fix): New function.
23725         (note_invalid_constants): New function.
23726         (add_pool_constant, dump_table, fixit, broken_move): Delete.
23727         (arm_reorg): Rewrite code to fix up the constant pool into a
23728         series of mini-pools embedded in the insn stream.
23729         (arm_output_epilogue): New function, made mainly from the body
23730         of output_func_epilogue.
23731         (output_func_epilogue): Move insn generation part of epilogue code
23732         to arm_output_epilogue.
23733         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
23734         * arm.md (pool_range): New attribute.
23735         (zero_extendqidi2): Add attribute pool_range.
23736         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
23737         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
23738         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
23739         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
23740         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
23741         (epilogue): New expand.
23742         (epilogue_insn): New insn.  Call arm_output_epilogue.
23743
23744         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
23745         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
23746
23747 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
23748
23749         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
23750
23751 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
23752
23753         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
23754
23755 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
23756
23757         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
23758
23759 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
23760
23761         * global.c: Fix comment.
23762
23763 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
23764
23765         * gcc.c (access_check): New static function.
23766         (find_a_file): Use it when searching a directory list.
23767         * collect2.c (find_a_file): Don't accept directories found when
23768         searching a directory list.
23769
23770 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
23771
23772         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
23773         function parameters with `&'.
23774         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
23775
23776 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
23777
23778         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
23779         or tidy_fallthru_edge if the last insn in the block is not
23780         an unconditional jump or a simple conditional jump.
23781
23782 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23783
23784         * Makefile.in (c-decl.o): Depends on defaults.h.
23785
23786 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
23787
23788         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
23789         PA1.1 and above.
23790         (CLASS_MAX_NREGS): Likewise.
23791
23792 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
23793
23794         * cse.c (cse_insn): Fix dumb thinko in last change.
23795
23796 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23797
23798         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
23799         "const char *".
23800
23801 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
23802
23803         * dwarf2out.c (add_location_or_const_value_attribute): Correct
23804         test for sizes of passed and declared parameter types.
23805
23806 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23807
23808         * fixincludes: Fix the return type of bsearch, char* -> void*.
23809
23810         * fixinc/inclhack.def: Likewise.
23811
23812 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
23813
23814         * invoke.texi (-fdump-translation-unit): New option.
23815
23816 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
23817
23818         * expr.h (PROMOTE_PROTOTYPES): Move ...
23819         * defaults.h: ... to here.
23820         * c-decl.c: Include defaults.h instead of expr.h.
23821         * c-typeck.c: Include defaults.h.
23822
23823 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
23824
23825         * toplev.h (errorcount): Declare.
23826         (warningcount): Likewise.
23827         (sorrycount): Likewise.
23828         * c-lex.c (errorcount): Don't declare.
23829         * dwarf2out.c (errorcount): Don't declare.
23830
23831 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
23832
23833         * config/libgloss.h: Add a note discouraging use with ELF.
23834         * configure.in: Don't use libgloss.h for ELF targets.
23835         Always use_collect2 on a.out targets.
23836
23837 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
23838
23839         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
23840         (force_to_mode, case ASHIFTRT): Add shiftrt label.
23841
23842 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23843
23844         * loop.c (strength_reduce): When doing biv->giv conversion, update
23845         reg note of NEXT->insn.
23846
23847 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23848
23849         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
23850
23851 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23852
23853         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
23854         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
23855         Ensure expr.h is included.
23856         * c-typecheck.c (convert_arguments): Ditto.
23857
23858         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
23859
23860         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
23861         * config/convex/convex.h: Ditto.
23862         * config/dsp16xx/dsp16xx.h: Ditto.
23863         * config/fx80/fx80.h: Ditto.
23864         * config/gmicro/gmicro.h: Ditto.
23865         * config/i370/i370.h: Ditto.
23866         * config/i386/i386.h: Ditto.
23867         * config/m32r/m32r.h: Ditto.
23868         * config/m68k/m68k.h: Ditto.
23869         * config/m88k/m88k.h: Ditto.
23870         * config/mips/mips.h: Ditto.
23871         * config/pa/pa.h: Ditto.
23872         * config/pyr/pyr.h: Ditto.
23873         * config/tahoe/tahoe.h: Ditto.
23874         * config/we32k/we32k.h: Ditto.
23875
23876         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
23877         based on arch size.
23878
23879         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
23880
23881         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
23882         from comment.
23883
23884         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
23885
23886 1999-08-02  Richard Henderson  <rth@cygnus.com>
23887
23888         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
23889         for the register spill block.
23890         (m32r_va_arg): New.
23891         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
23892         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
23893
23894         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
23895         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
23896         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
23897
23898 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23899
23900         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
23901         MAX_WCHAR_TYPE defined in sparc.h.
23902         * config/sparc/linuxaout.h: Likewise.
23903         * config/sparc/linux64.h: Likewise.
23904         Also default to -mvis if CPU is UltraSPARC.
23905
23906 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23907
23908         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
23909         (RTX_OK_FOR_OLO10): Likewise.
23910         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
23911         %lo(), allow it in addresses...
23912         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
23913         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
23914         does not make sense.
23915         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
23916         (sparc_output_scratch_registers): New function.
23917         (output_function_prologue, sparc_flat_output_function_prologue): Use
23918         it.
23919         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
23920         defined.
23921         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
23922         * configure.in: Add check for .register pseudo-op support in as and
23923         check for offsetable %lo().
23924         * acconfig.h: Add templates for the above checks.
23925         * configure: Regenerate.
23926
23927 1999-08-02  Richard Henderson  <rth@cygnus.com>
23928
23929         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
23930         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
23931         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
23932
23933 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23934
23935         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23936         reg_biv_class.
23937
23938 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23939
23940         * config/float-sparc.h: New file.
23941         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
23942         sparc-*-linux-gnu and sparc64-*-linux*.
23943
23944 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23945
23946         * rs6000.c (rs6000_va_list): Type is an array.
23947         (rs6000_va_start): Don't doubly adjust for varargs.
23948         (rs6000_va_arg): Evaluate long long GPR adjustment.
23949
23950 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
23951
23952         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
23953         -maix64 and -maix32.
23954         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
23955         LINK_SPEC): Change appropriately.
23956         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
23957         (u_short_cint_operand): Likewise.
23958         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
23959         for 64-bit hosts.
23960         * rs6000/t-aix43 (MULTILIB): Change to -m64.
23961
23962         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
23963
23964 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
23965
23966         * rs6000/rs6000.c (num_insns_constant_wide): Correct
23967         for type promotion.
23968         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
23969         (non_add_cint_operand): Likewise.
23970         (logical_operand): Likewise.
23971         (non_logical_cint_operand): Likewise.
23972         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
23973         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
23974         (rs6000_select_rtx_section): Suppress warning.
23975         (small_data_operand): Suppress warning.
23976         (rs6000_got_register): Suppress warning.
23977         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
23978         type, so `J' is generally the wrong constraint for a SImode value;
23979         use `L' instead.
23980         (andsi3_internal2): Likewise.
23981         (andsi3_internal3): Likewise.
23982         (iorsi3_internal1): Likewise.
23983         (xorsi3_internal1): Likewise.
23984         (movsi): Likewise.
23985         (movsf_softfloat): Likewise.
23986         (scc insns): Likewise.
23987         (movsi+2): Preserve sign bits of SImode constant.
23988         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
23989         (movdf+1): Sign-extend properly.
23990         (movdi_32+1): Sign-extend properly.
23991         (scc insns): Sign-extend properly.
23992
23993         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
23994         K, L, and T.
23995
23996 1999-08-02  Richard Henderson  <rth@cygnus.com>
23997
23998         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
23999         -mcpu parsing code.
24000         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
24001         * alpha.md (all fp insns): Likewise.
24002
24003 1999-08-02  Nick Clifton  <nickc@cygnus.com>
24004
24005         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
24006         already defined.
24007
24008 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
24009
24010         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
24011         pic_load_label generator directly.
24012         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
24013         No longer a named pattern.
24014
24015 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
24016
24017         * explow.c (force_reg): Call force_operand if X does not
24018         satisfy general_operand.
24019
24020 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
24021
24022         * fix-header.c (main): When testing for CONTINUED, use string
24023         equality, not pointer equality.
24024
24025 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
24026
24027         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
24028
24029 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
24030
24031         * cse.c (cse_insn): Fix loop which deletes insns after a jump
24032         that has become an unconditional jump.
24033
24034         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
24035         (output_function_epilogue): Similarly.
24036
24037 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24038
24039         * tree.h (init_dummy_function_start): Declare.
24040
24041 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24042
24043         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
24044         last_expr_type, last_expr_value, block_start_count, block_stack,
24045         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
24046         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
24047         dynamically in stmt elt of struct function for each function.
24048         (struct nesting): Rename function_call_count elt to n_function_calls,
24049         target_temp_slot_level to block_target_temp_slot_level.  All users
24050         changed.
24051         (struct stmt_status): New structure definition.
24052         Add many accessor macros for stmt_status elements which previously
24053         were global variables.
24054         (init_stmt_for_function): Allocate stmt elt for current_function.
24055         Reflect that block_start_count was renamed to
24056         current_block_start_count.
24057         (save_stmt_status, restore_stmt_status): Delete functions.
24058         (preserve_subexpressions_p): Don't access loop_stack when outside
24059         a function.
24060         (expand_start_bindings): Reflect that block_start_count was renamed to
24061         current_block_start_count.
24062         (expand_fixup): Likewise.
24063         (expand_decl): Don't access block_stack when outside a function.
24064         (expand_decl_cleanup): Likewise.
24065         (expand_dcc_cleanup): Likewise.
24066         (expand_dhc_cleanup): Likewise.
24067         (expand_anon_union_decl): Likewise.
24068         (set_file_and_line_for_stmt): New function.
24069         (in_control_zone_p): New function.
24070
24071         * function.h (struct function): Add new elt stmt.
24072         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
24073         case_stack, nesting_stack, nesting_depth, block_start_count,
24074         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
24075         emit_lineno, goto_fixup_chain.
24076         (save_eh_status, restore_eh_status, save_stmt_status,
24077         restore_stmt_status): Delete declarations.
24078         * function.c (push_function_context_to): Don't call save_stmt_status.
24079         (pop_function_context_to): Don't call restore_stmt_status.
24080         * tree.h (in_control_zone_p): Declare.
24081         * rtl.h (set_file_and_line_for_stmt): Declare.
24082
24083         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
24084         call set_file_and_line_for_stmt.
24085
24086 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
24087
24088         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
24089         Also update copyright.
24090
24091 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24092
24093         * c-pragma.c: Don't include "except.h".
24094         * emit-rtl.c: Likewise.
24095         * stor-layout.c: Likewise.
24096         * tree.c: Likewise.
24097         * varasm.c: Likewise.
24098
24099         * flow.c: Include "function.h".
24100         * tree.h (init_dummy_function_start): Declare new function.
24101
24102         * except.h (struct eh_status): New structure.
24103         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
24104         been included.
24105         (eh_return_stub_label, ehstack, catchstack, ehqueue,
24106         catch_clauses, false_label_stack, caught_return_label_stack,
24107         protect_list, current_function_ehc): Add accessor macros for the
24108         corresponding fields in current_function->eh; delete declarations
24109         for all items that used to be declared here.
24110         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
24111         catch_clauses, false_label_stack, caught_return_label_stack,
24112         protect_list, current_function_ehc): Delete variables.
24113         (init_eh_for_function): Allocate current_function->eh.
24114         (save_eh_status, restore_eh_status): Delete functions.
24115
24116         * function.h (struct function): Add fields next_global and eh.
24117         Delete all exception handling related fields.
24118         * function.c (current_function): New variable.
24119         (all_functions): New variable.
24120         (push_function_context_to): Don't allocate a struct function,
24121         use current_function instead.  Call init_dummy_function_start when
24122         outside a function.  Clear current_function before returning.
24123         (pop_function_context_from): Restore current_function.
24124         Don't free the restored struct function.
24125         (prepare_function_start): New function.
24126         (init_dummy_function_start): New function.
24127         (init_function_start): Break out some code into prepare_function_start
24128         and call it here.
24129
24130         * stmt.c (save_stmt_status): Don't call save_eh_status.
24131         (restore_stmt_status): Don't call restore_eh_status.
24132
24133         * Makefile.in: Update dependencies.
24134
24135 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
24136
24137         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
24138         of depending on a magic constant value.  Update comments.
24139         (hppa_expand_prologue): Similarly.
24140
24141         * pa.md (reload_indi, reload_outdi): Allow any register for the
24142         original reload register.
24143
24144 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
24145
24146         * cccp.c (print_help): Change marcos to macros.
24147
24148 1999-07-30  Richard Henderson  <rth@cygnus.com>
24149
24150         * c-typeck.c (initializer_constant_valid_p): Move ...
24151         * c-common.c (initializer_constant_valid_p): ... here.  Use
24152         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
24153         of label addresses.
24154         * c-common.h (initializer_constant_valid_p): Declare.
24155         * c-tree.h (initializer_constant_valid_p): Remove.
24156
24157 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
24158
24159         * config/i386/sol2-c1.asm: Align the stack.
24160         * config/i386/sol2-gc1.asm: Likewise.
24161
24162 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
24163
24164         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
24165         -Asparclite for sparc86x.
24166         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
24167         sparc86x.
24168         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
24169
24170 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24171
24172         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
24173         the user if using the non-default arch size in BI_ARCH configuration.
24174         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
24175
24176         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
24177         Fix patterns so that they actually match.
24178         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
24179         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
24180         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
24181         TARGET_HARD_MUL32.
24182         (mulsidi3): Reflect this in the expand.
24183         (smulsi3_highpart): Only on TARGET_ARCH32.
24184         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
24185         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
24186         (umulsidi3): Reflect this in the expand.
24187         (umulsi3_highpart): Only on TARGET_ARCH32.
24188         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
24189         don't require g0 to be zero.
24190         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
24191         ({,u}divsi3): New expands.
24192         ({,u}divsi3_sp64): New patterns.
24193         (after lshrdi3_v8plus): Four new patterns to help combiner
24194         optimizing nested mixed mode shifts.
24195
24196         * config/sparc/sparc.c (sparc_override_options): Use deprecated
24197         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
24198         speed things up. Don't use them by default on plain v9 in 64bit
24199         mode, according to what SPAMv9 sais.
24200
24201         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
24202         top 32 bits of %[og][0-7] in signal handlers.
24203         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
24204
24205 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
24206
24207         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
24208         (ashlsi3): Corresponding changes.
24209
24210         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
24211
24212 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
24213
24214         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
24215
24216 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24217
24218         * arm.h (Hint): Delete macro.
24219         Substitute HOST_WIDE_INT for Hint in some prototypes.
24220         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
24221
24222 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
24223
24224         * builtins.c (expand_builtin_setjmp): Use force_operand to
24225         make sure that the buffer address is in a suitable form to be
24226         passed to force_reg.
24227
24228 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
24229
24230         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
24231         them here.
24232
24233 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
24234
24235         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
24236         proper mode in the condition string.
24237         (icacheflush, dcacheflush): Remove modes from match_operands.
24238
24239         * pa.c (emit_move_sequence): Always convert scratch_reg to the
24240         proper mode before using it.
24241
24242         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
24243         pair.
24244
24245         * pa.c (store_reg): Do not call add_high_const generator directly.
24246         (load_reg, set_reg_plus_d): Likewise.
24247         * pa.md (add_high_const): No longer a named pattern.
24248
24249         * pa.c (legitimize_address): Consistently use Pmode rather than
24250         SImode.  Do not call gen_pic2_highpart directly anymore.
24251         * pa.md (pic2_highpart): No longer a named pattern.
24252         (pic2_lo_sum): Similarly.  Reformat to make more readable.
24253
24254         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
24255         needed.
24256
24257         * README: Update.
24258
24259 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24260
24261         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
24262
24263 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
24264
24265         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
24266         and tag the spill mems.
24267         (hppa_va_start): New.
24268         (hppa_va_arg): New.
24269         * pa.h (EXPAND_BUILTIN_VA_START): New.
24270         (EXPAND_BUILTIN_VA_ARG): New.
24271
24272 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
24273
24274         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
24275         and tag the spill mems.
24276         (mn10300_va_start): New.
24277         (mn10300_va_arg): New.
24278         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
24279         (EXPAND_BUILTIN_VA_ARG): New.
24280
24281 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
24282
24283         * mn10200.c (mn10200_va_arg): New.
24284         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
24285
24286 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
24287
24288         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
24289         rather than play with TREE_INT_CST_LOW.
24290
24291 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
24292
24293         * config/arm/telf.h: Include dbxelf.h.
24294         (CPP_PREDEFINES): Only define if not already defined.
24295         (ASM_IDENTIFY_GCC): Likewise.
24296         (SUBTARGET_EXTRA_SECTIONS): Likewise.
24297         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
24298         * config/arm/thumb.h (LINK_SPEC): Only define if not already
24299         defined.
24300         (DBX_DEBUGGING_INFO): Don't define.
24301         * config/arm/linux-telf.h: New file.
24302         * config/arm/linux-tgas.h: New file.
24303         * config/arm/t-thumb-linux: New file.
24304         * config/arm/uclinux-elf.h: New file.
24305         * config/arm/uclinux-telf.h: New file.
24306         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
24307         thumb-*-uclinux): New targets.
24308         * configure: Regenerate.
24309
24310 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
24311
24312         * pa.md (post_store, pre_load): New expanders.
24313         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
24314         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
24315         need to directly generate RTL for them.
24316         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
24317         changes.
24318
24319 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
24320
24321         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
24322         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
24323         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
24324         (secndary_reload_class): Make TARGET_ELF conditional compile.
24325         (print_operand_address): Similar.
24326         (output_toc): Print all values as hex.
24327         (get_issue_rate): Rearrange and add RS64A and PPC630.
24328         * rs6000.h (processor_type): Add RS64A and PPC630.
24329         (PROCESSOR_POWERPC64): New.
24330         (PROMOTE_MODE): Use word_mode.
24331         (RTX_COSTS): Add RS64A and PPC630.
24332         * rs6000.md (scheduling information): Add lmul and ldiv
24333         representing 64-bit integer multiply and divide.  Add rs64a and
24334         PPC630 information.
24335         (ashldi3): Add support for "rldic" instruction.
24336         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
24337
24338 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
24339
24340         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
24341         instead of V8 for sparclite86x in cpu_table.
24342
24343 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24344
24345         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
24346         output_file_directive.
24347
24348 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
24349
24350         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
24351         tree for op1, not the rtl.
24352
24353 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
24354
24355         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
24356         to m88k_va_start, leaving only the register spill.
24357         (m88k_build_va_list): New.
24358         (m88k_va_start): New.
24359         (m88k_va_arg): New.
24360         * m88k.h (BUILD_VA_LIST_TYPE): New.
24361         (EXPAND_BUILTIN_VA_START): New.
24362         (EXPAND_BUILTIN_VA_ARG): New.
24363
24364 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
24365
24366         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
24367         Rename from expand_builtin_saveregs.
24368         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
24369
24370 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
24371
24372         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
24373         for the register spill block.
24374         (i960_build_va_list): New.
24375         (i960_va_start): New.
24376         (i960_va_arg): New.
24377         * i960.h (BUILD_VA_LIST_TYPE): New.
24378         (EXPAND_BUILTIN_VA_START): New.
24379         (EXPAND_BUILTIN_VA_ARG): New.
24380         * i960.md (store_multiple): Use change_address on individul mems.
24381
24382 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
24383
24384         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
24385         an ARRAY_TYPE.
24386         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
24387         (expand_builtin_va_end): Evaluate arg for side effects.
24388         * c-common.c (c_common_nodes_and_builtins): Construct a
24389         va_list_arg_type_node to handle array decomposition to pointer.
24390
24391 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
24392
24393         * except.c (st_dynamic_cleanup): Use force_operand on the
24394         buffer's address.
24395
24396 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
24397
24398         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
24399         * c4x.c (c4x_va_arg): New.
24400
24401 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
24402
24403         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
24404         has manual_pop set.
24405
24406 1999-07-26  Nathan Sidwell  <nathan@acm.org>
24407
24408         * eh-common.h (__eh_matcher): Prototype correctly.
24409
24410 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
24411
24412         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
24413         (TARGET_SINGLE_PIC_BASE): Likewise.
24414         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
24415         definitions.
24416         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
24417         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
24418         (TARGET_OPTIONS): Add -mpic-register=N.
24419         (OUTPUT_INT_ADDR_CONST): New macro.
24420         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
24421         LEGITIMATE_PIC_OPERAND_P): Likewise.
24422         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
24423         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
24424         output_addr_const directly.
24425         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
24426         ARM port.
24427         (thumb_pic_register, thumb_pic_register_string): Declare.
24428
24429         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
24430         from arm.c.
24431         (label_mentioned_p): New function: Imported from arm.c.
24432         (legitimize_pic_address): New function: Imported from arm.c.
24433         (is_pic):New function: Imported from arm.c.
24434         (thumb_finalize_pic):New function: Imported from arm.c.
24435         (add_constant): Cope with PIC constants.
24436         (fixit): Cope with PIC constants.
24437         (output_return): Do not treat the PIC register as live if
24438         TARGET_SINGLE_PIC_BASE is true.
24439         (thumb_function_prologue): Do not treat the PIC register as live if
24440         TARGET_SINGLE_PIC_BASE is true.
24441         (thumb_expand_prologue): Do not treat the PIC register as live if
24442         TARGET_SINGLE_PIC_BASE is true.
24443         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
24444         TARGET_SINGLE_PIC_BASE is true.
24445         (thumb_print_operand): Accept '|'.
24446         (thumb_override_options): Process PIC options.
24447
24448         * config/arm/thumb.md (movsi): Support PIC.
24449         (call_insn): Change "i" constraint to "X".
24450         (call_value_insn): Likewise.
24451         (consttable_4, consttable_8, consttable_end): Set and clear
24452         "making_const_table" as appropriate.
24453         (pic_load_addr, pic_add_dot_plus_four): New insns.
24454
24455         * invoke.texi (Thumb Options): Fix spelling.  Document new
24456         options -msingle-pic-base and -mpic-register=.
24457
24458 1999-07-26  Andrew Haley  <aph@cygnus.com>
24459
24460         * config/m32r/initfini.c (__init): Use a full word immediate for
24461         __fini: this allows it to be placed in any memory region.
24462
24463         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
24464         -mmodel=medium.  This is OK for all memory models.
24465
24466 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
24467
24468         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
24469         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
24470
24471 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
24472
24473         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
24474         defined.
24475
24476         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
24477
24478 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
24479
24480         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
24481         (BUILD_VA_LIST_TYPE): New.
24482         (EXPAND_BUILTIN_VA_START): New.
24483         (EXPAND_BUILTIN_VA_ARG): New.
24484         * i860.c (output_delayed_branch): Disable.
24485         (output_delay_insn): Likewise.
24486         (i860_saveregs): New.
24487         (i860_build_va_list): New.
24488         (i860_va_start): New.
24489         (i860_va_arg): New.
24490         * i860.md: Disable all peepholes using output_delayed_branch.
24491         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
24492
24493 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
24494
24495         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
24496         (BUILD_VA_LIST_TYPE): New.
24497         (EXPAND_BUILTIN_VA_START): New.
24498         (EXPAND_BUILTIN_VA_ARG): New.
24499         * clipper.c (clipper_builtin_saveregs): Only dump registers.
24500         Return the address of the save area.
24501         (clipper_build_va_list): New.
24502         (clipper_va_start): New.
24503         (clipper_va_arg): New.
24504
24505 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
24506
24507         * arc.h (EXPAND_BUILTIN_VA_START): New.
24508         (EXPAND_BUILTIN_VA_ARG): New.
24509         * arc.c (arc_setup_incoming_varargs): Set alias set of
24510         varargs save area.
24511         (arc_va_start): New.
24512         (arc_va_arg): New.
24513
24514 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
24515
24516         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
24517         (BUILD_VA_LIST_TYPE): New.
24518         (EXPAND_BUILTIN_VA_START): New.
24519         (EXPAND_BUILTIN_VA_ARG): New.
24520         * alpha.c (alpha_builtin_saveregs): Delete.
24521         (alpha_build_va_list): New.
24522         (alpha_va_start): New.
24523         (alpha_va_arg): New.
24524
24525 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
24526
24527         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
24528         column zero.
24529         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
24530         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
24531
24532         * gcc.texi: More changes related to list conversion.
24533         * invoke.texi: Likewise.
24534
24535 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
24536
24537         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
24538         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
24539         (expand_builtin_next_arg): Accept ARGLIST not EXP.
24540         (stabilize_va_list): New function.
24541         (std_expand_builtin_va_start): New function.
24542         (expand_builtin_va_start): New function.
24543         (get_varargs_alias_set): New function.
24544         (std_expand_builtin_va_arg): New function.
24545         (expand_builtin_va_arg): New function.
24546         (expand_builtin_va_end): New function.
24547         (expand_builtin_va_copy): New function.
24548         (expand_builtin): Call them.
24549         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
24550         __builtin_{varargs_start,stdarg_start,end,copy}.
24551         (build_va_arg): New function.
24552         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
24553         (build_va_arg): Declare.
24554         * c-decl.c (ptr_type_node, va_list_type_node): New.
24555         * c-parse.gperf (__builtin_va_arg): New.
24556         * c-parse.in (VA_ARG): New token.
24557         (unary_expr): Recognize it.
24558         * expr.c (expand_expr): Expand VA_ARG_EXPR.
24559         * expr.h (std_expand_builtin_va_start): Declare.
24560         (std_expand_builtin_va_arg): Declare.
24561         (expand_builtin_va_arg): Declare.
24562         (get_varargs_alias_set): Declare.
24563         * tree.def (VA_ARG_EXPR): New.
24564         * tree.h (BUILT_IN_VARARGS_START): New.
24565         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
24566         (ptr_type_node, va_list_type_node): Declare.
24567         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
24568         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
24569         * m88k.h, m88k.c: Likewise.
24570         * mn10300.h, mn10300.c: Likewise.
24571         * pa.h, pa.c: Likewise.
24572         * rs6000.h, rs6000.c: Likewise.
24573         * sh.h, sh.c: Likewise.
24574         * sparc.h, sparc.c: Likewise.
24575
24576         * emit-rtl.c (operand_subword): Copy alias set.
24577         (change_address): Likewise.
24578
24579 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
24580
24581         * pa.c (compute_frame_size): Scan all the used callee saved registers,
24582         not just the first one.
24583
24584 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
24585
24586         * config/arm/arm.h (TARGET_SWITCHES): Add
24587         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
24588         (TARGET_OPTIONS): Add -mpic-register=.
24589         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
24590         (arm_pic_register_string): Declare.
24591         (NEED_PLT_GOT): Delete, replace with ...
24592         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
24593         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
24594         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
24595         * config/arm/arm.c (arm_override_options): Add new option
24596         -mpic-register=N.
24597         (arm_pic_register_string): New variable.
24598         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
24599         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
24600         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
24601         (output_return_instruction): Likewise.
24602         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
24603         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
24604         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
24605
24606         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
24607         mention of -msched-prolog.  Document new options -msingle-pic-base
24608         and -mpic-register=.
24609
24610 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
24611
24612         * haifa-sched.c (reemit_notes): Tidy.
24613         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
24614         haifa's routine.
24615
24616 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
24617
24618         * explow.c (trunc_int_for_mode): New function.
24619         (plus_constant_wide): Use it.
24620         * combine.c (simplify_and_const_int): Likewise.
24621         (merge_outer_ops): Likewise.
24622         (simplify_shift_const): Likewise.
24623         * cse.c (simplify_unary_operation): Likewise.
24624         (simplify_binary_operation): Likewise.
24625         * emit-rtl.c (operand_subword): Likewise.
24626         * rtl.h: Declare it.
24627
24628 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24629
24630         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
24631         (use NUM_REGS instead of NUM_INTS).
24632
24633 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24634
24635         * builtins.c: New file.
24636         * expr.c (saveregs_value, apply_args_value):  Delete definition,
24637         moved into builtins.c.
24638         (string_constant): No longer static.
24639         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
24640         apply_args_size, apply_result_size, result_vector,
24641         expand_builtin_apply_args, expand_builtin_apply,
24642         expand_builtin_return): Delete functions, moved into builtins.c.
24643         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
24644         * expr.h (saveregs_value, apply_args_value): Declare variables.
24645         (expand_builtin, string_constant): Declare functions.
24646         * Makefile.in: Update to build builtin.o.
24647
24648 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
24649
24650         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
24651         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
24652         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
24653         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
24654         false.
24655         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
24656         Define to zero.
24657
24658 1999-07-21  Michael Meissner  <meissner@cygnus.com>
24659
24660         * print-rtl.c (print_rtx): Print the names of the virtual
24661         registers.
24662
24663 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
24664
24665         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
24666         introduced in previous delta.
24667
24668 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24669
24670         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
24671         to avoid name clash.
24672
24673 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24674
24675         * c-lex.c (yylex) : Correct the test for overflow when lexing
24676         integer literals.
24677
24678 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
24679
24680         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
24681         (adjust_priority): Always call ADJUST_PRIORITY.
24682         (schedule_insn): Only put insns into the ready at cost 0.
24683         (schedule_block): Remove redundant initial sort.  Give clock_var
24684         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
24685         is not 0.
24686         * tm.texi (MD_SCHED_REORDER): Update docs.
24687
24688         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
24689         * sparc.c (ultra_reorder_called_this_block): Delete.
24690         (ultrasparc_sched_init): Don't set it.
24691         (ultrasparc_sched_reorder): Don't check it.
24692
24693 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
24694
24695         * rs6000.h (struct rs6000_args): Add sysv_gregno.
24696         * rs6000.c (init_cumulative_args): Init sysv_gregno.
24697         (function_arg_boundary): Align DFmode.
24698         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
24699         to get fp reg and stack overflow correct.
24700         (function_arg): Likewise.
24701         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
24702         (setup_incoming_varargs): Restructure for ABI_V4; use
24703         function_arg_advance to skip final named argument.
24704         (expand_builtin_saveregs): Properly unskip the last integer arg
24705         when doing varargs.  Adjust overflow location calculation.
24706
24707         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
24708         explicitly unsigned.
24709         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
24710         (__VA_GP_REGSAVE): Similarly.
24711         (__va_longlong_p): Delete.
24712         (__va_arg_type_violation): New declaration.
24713         (va_arg): Restructure.  Flag promotion errors.  Align double.
24714         TFmode passed by reference.
24715
24716         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
24717         in the HOST_BITS_PER_WIDE_INT > 32 case.
24718
24719 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
24720
24721         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
24722
24723 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
24724
24725         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
24726         * toplev.c (documented_lang_options): Add -fpreprocessed.
24727         * cpplib.h (struct cpp_buffer): Add preprocessed.
24728         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
24729         (cpp_start_read): Don't expand macros or emit an initial #line
24730         directive if -fpreprocessed.
24731
24732 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
24733
24734         * cpplib.h (struct cpp_buffer): Added manual_pop for
24735         better C++ tokenization.
24736         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
24737         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
24738         * c-common.c (cpp_token): Make non-static.
24739
24740 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24741
24742         * c-common.h: New file.
24743         * c-common.c (permanent_obstack): Delete unused declaration.
24744         (c_global_trees): New array.
24745         (c_common_nodes_and_builtins): New function; split off common code
24746         from init_decl_processing in both c-decl.c and cp/decl.c.
24747         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
24748         c_global_trees and accessor macros defined in c-common.h.
24749         Include c-common.h.
24750         * c-decl.c: Delete definitions for tree nodes that were replaced by
24751         c_global_trees.
24752         (init_decl_processing): Build void_list_node.
24753         Call c_common_nodes_and_builtins; delete code to generate the common
24754         builtins here.
24755         * objc/objc-act.c (build_module_descriptor): Rename variable
24756         void_list_node to avoid clash with c-common.h.
24757
24758         * Makefile.in: Update dependencies.
24759         * objc/Make-lang.in: Likewise.
24760
24761 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
24762
24763         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
24764         (UNIQUE_SECTION_P): Likewise.
24765         (UNIQUE_SECTION): Likewise.
24766
24767 1999-07-19  Linas Vepstas  <linas@linas.org>
24768
24769         * config/i370/README: New file.
24770         * config/i370/linux.h: New file.
24771         * config/i370/mvs.h: New file.
24772         * config/i370/oe.h: New file.
24773         * config/i370/t-linux: New file.
24774         * config/i370/t-mvs: New file.
24775         * config/i370/t-oe: New file.
24776         * config/i370/x-oe: New file.
24777         * config/i370/xm-linux.h: New file.
24778         * config/i370/xm-mvs.h: New file.
24779         * config/i370/xm-oe.h: New file.
24780
24781         * i370.c (label_node_t): Add first_ref_page, label_addr,
24782         label_first_ref, label_last_ref members.
24783         (mvs_need_base_reload): Renamed from mvs_label_emitted.
24784         (MAX_MVS_LABEL_SIZE): Define.
24785         (MAX_LONG_LABEL_SIZE): Define.
24786         (alias_node_t, alias_anchor, alias_number): New.
24787         (mvs_function_table): Reorder for EBCDIC.
24788         (ascebc, ebcasc): Unconditionally define.
24789         (i370_branch_dest, i370_branch_length): New functions.
24790         (i370_short_branch, i370_label_scan): New functions.
24791         (mvs_get_label): Renamed from mvs_add_label.  Search for
24792         an existing label before creating a new one.
24793         (mvs_add_label): New function.
24794         (mvs_get_label_page): New function.
24795         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
24796         over the entire list.
24797         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
24798         (mvs_check_page) [TARGET_ELF_ABI]: New function.
24799         (mvs_add_alias, mvs_need_alias): New functions.
24800         (mvs_get_alias, mvs_check_alias): New functions.
24801         (handle_pragma): New function.
24802         (mvs_function_check): New function.
24803         (unsigned_jump_follows_p): Search harder.
24804         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
24805         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
24806         * i370.h (TARGET_VERSION): Delete.
24807         (CPP_SPEC, CPP_PREDEFINES): Delete.
24808         (mvs_label_emitted): Delete.
24809         (TARGET_EBCDIC): Delete.
24810         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
24811         (HANDLE_PRAGMA): Define.
24812         (HARD_REGNO_NREGS): Handle complex modes.
24813         (HARD_REGNO_MODE_OK): Likewise.
24814         (CLASS_MAX_NREGS): Likewise.
24815         (RET_REG): Likewise.
24816         (EXTRA_CONSTRAINT): Define.
24817         (RETURN_IN_MEMORY): True for DImode.
24818         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
24819         (FUNCTION_PROFILER): Delete.
24820         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
24821         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
24822         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
24823         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
24824         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
24825         (ASM_FILE_START): Add "RMODE ANY".
24826         (ASM_OUTPUT_EXTERNAL): Check for aliases.
24827         (ASM_GLOBALIZE_LABEL): Likewise.
24828         (ASM_OUTPUT_LABELREF): Likewise.
24829         (ASM_OUTPUT_COMMON): Likewise.
24830         (PRINT_OPERAND): Handle 'K', 'W', default.
24831         (PRINT_OPERAND_ADDRESS): New.
24832         (Lots of defines): Add support for TARGET_ELF_ABI.
24833         * i370.md (attr length): New.  Define for all patterns.
24834         (*): Lots of tweeks to assembly output and constraints.
24835
24836 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
24837
24838         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
24839         Disable patterns performing SImode comparisons with SImode values
24840         if TARGET_POWERPC64 and instruction does not sign-extend or does
24841         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
24842         differ for signed quantities.
24843         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
24844         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
24845         (decrement_and_branch_on_count): Add 64-bit variant.
24846
24847 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24848
24849         * final.c (output_asm_insn): When searching for the matching string
24850         for a given dialect, don't run past the end of the list of
24851         alternatives if there are fewer alternatives in the template than
24852         dialects.
24853
24854 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
24855
24856         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
24857         Removed paragraph about compression of files and size limitation,
24858         duplicated in the FAQ.  Use gcc-patches for posting patches.
24859         * gcc.c (main): Updated URL with bug reporting instructions to
24860         gcc.gnu.org.  Removed e-mail address.
24861         * system.h (abort): Likewise.
24862
24863 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24864
24865         * Makefile.in (stmp-multilib-sub): Make the files extracted
24866         from $(LIBGCC1) writable.
24867
24868 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
24869
24870         * config/arm/aout.h: Reformat for improved readability.
24871
24872         * config/arm/arm.h: Reformat for improved readability.
24873         Replace uses of fprintf with asm_fprintf where appropriate.
24874         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
24875         function declaration assembler actions.
24876         (NUM_INTS): New macro: Convert from bytes to words.
24877         (NUM_REGS): New macro: Compute number of registers required to
24878         hold a quanitity of tyep MODE.
24879         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
24880         types.
24881         (NUM_ARG_REGS): New macro: The number of argument registers
24882         available.
24883         (ARG_REGISTER): New macro: Compute the register number of the Nth
24884         argument register.
24885         (LAST_ARG_REGNUM): New macro: The number of the last argument
24886         register.
24887         (SP_REGNUM): New macro: Register number of the stack pointer.
24888         (FP_REGNUM): New macro: Register number of the frame pointer.
24889         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
24890         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
24891         CUMULATIVE_ARGS so that it counts registers not bytes.
24892
24893         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
24894         TARGET_INTERWORK.
24895         Replace uses of fprintf with asm_fprintf where appropriate.
24896         (output_ascii_pseudo_op): Replace with version from thumb.c
24897
24898         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
24899
24900         * config/arm/elf.h (CPP_PREDEFINES): Replace with
24901         SUBTARGET_CPP_SPEC.
24902         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
24903         (ASM_FILE_START): Emit ASM_APP_OFF.
24904
24905 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
24906
24907         * pa.c (compute_frame_size): Round frame according to
24908         STACK_BOUNDARY rather than a hardwired value.
24909
24910         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
24911
24912         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
24913         of "1".
24914         * configure: Rebuilt.
24915
24916         * configure.in (hppa*-*-linux*): New configuration.
24917         * configure: Rebuilt.
24918         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
24919         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
24920         * pa/pa-linux.h: New file.
24921         * pa/t-linux: New file.
24922         * pa/xm-linux.h: New file.
24923
24924         * pa.c (hppa_legitimize_address): Change references from SImode to
24925         either Pmode or word_mode as appropriate.
24926         (emit_move_sequence, store_reg, load_reg): Likewise.
24927         (set_reg_plus_d, hppa_expand_prologue): Likewise.
24928         (output_mul_insn): Likewise.
24929         * pa.h (PROMOTE_MODE): Likewise.
24930         (INITIALZE_TRAMPOLINE): Likewise.
24931         (Pmode): Define to word_mode.
24932
24933         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
24934         value of 4.  Allocate 8 bytes for each FP register save.
24935         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
24936         value of 4.
24937         (hppa_expand_prologue): Likewise.
24938         * pa.h (PROMOTE_MODE): Likewise.
24939         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
24940         (FUNCTION_ARG_BOUNDARY): Likewise.
24941
24942         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
24943
24944         * pa.c (out_of_line_prologue_epilogue): Delete.
24945         (override_options): Remove -mspace related code.
24946         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
24947         (compute_frame_size): Only allocate space for register that
24948         actually need to be saved.
24949         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
24950         (TARGET_SWITCHES): Remove -mspace, -mno-space
24951         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
24952         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
24953         * pa/ee.asm, pa/ee_fp.asm: Delete.
24954
24955         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
24956
24957         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
24958         directive in column zero.
24959
24960 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
24961
24962         * m68k.c (output_function_prologue): Fix computation of save mask
24963         when generating PIC code.
24964
24965 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
24966
24967         * tree.c (build_type_attribute_variant): Move current_obstack restore
24968         after build_qualified_type call.
24969
24970 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
24971
24972         * configure.in: Use t-iris6, even with GNU LD.
24973         * config/mips/iris6gld.h: Fix typo in linker spec.
24974         * config/mips/t-iris6gld: Remove.
24975
24976 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
24977
24978         * rs6000.md (insv, extzv): Remove SImode dependence in named
24979         patterns.  Explicitly generate DImode RTL if PowerPC64 and
24980         operand is DImode.
24981         (insvdi): Reverse start and size in instruction template.
24982
24983 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
24984
24985         * invoke.texi: Typo fixes.
24986
24987 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
24988
24989         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
24990         handle at this time instead of silently generating incorrect code.
24991         (gen_imagpart): Likewise.
24992
24993         * reload.c (find_reloads): Emit a USE for a pseudo register without
24994         a hard register if we could not create an optional reload for the
24995         pseudo.
24996
24997 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24998
24999         * c-typeck.c (output_init_element, process_init_element):
25000         When advancing constructor_unfilled_fields for a RECORD_TYPE,
25001         check for nameless bit fields.
25002
25003 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
25004
25005         * regclass.c (scan_one_insn): Notice subregs that change the
25006         size of their operand.
25007         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
25008
25009 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
25010
25011         * configure.in (alpha*-*-*): Include alpha/t-ieee.
25012         * configure: Rebuilt.
25013         * alpha/t-ieee: New file.
25014
25015 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
25016
25017         * rs6000.c (find_addr_reg): Do not select r0 as an address
25018         register.
25019
25020 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
25021
25022         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
25023
25024 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
25025
25026         * rs6000.md (movsf): Do not force easy FP constants into memory.
25027
25028         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
25029         immed_double_const to ensure they are properly truncated then
25030         sign extended.
25031
25032 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
25033
25034         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
25035         always unless NO_DEBUG is used.  Compile this code
25036         unconditionally.
25037         (replace_symbols_in_block): Compile it unconditionally.
25038
25039 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
25040
25041         * configure.in (i?86-*-elf*): New target.
25042         * configure: Rebuilt.
25043         * i386/i386elf.h, i386/t-i386elf: New files.
25044
25045 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
25046
25047         * toplev.c (main): Don't complain about saying -gdwarf.
25048         (rest_of_compilation): Remove redundant code.
25049
25050 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
25051
25052         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
25053
25054 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
25055
25056         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
25057         "Li960R:", to avoid name clash.
25058
25059 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25060
25061         * loop.c (check_dbra_loop): When reversing a loop, delete all
25062         REG_EQUAL notes referencing the reversed biv except those which are
25063         for a giv based on it.
25064
25065 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
25066
25067         * version.c: Drop "gcc-" prefix from version #.
25068
25069 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
25070
25071         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
25072         the label if we're being verbose.
25073
25074 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
25075
25076         * m68k.c (output_function_prologue): Add pic register to mask
25077         if live and flag_pic.
25078         (output_function_epilogue): Likewise.
25079
25080 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
25081
25082         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
25083         directives in column zero.
25084
25085         * pa/elf.h (ASM_FILE_START): Define.
25086         * pa/som.h (ASM_FILE_START): Include .level directives.
25087         * pa/hpux10.h (ASM_FILE_START): Delete.
25088         * pa/hpux11.h (ASM_FILE_START): Delete.
25089
25090         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
25091
25092 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25093
25094         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
25095         when reload_out equals reload_in.
25096
25097 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
25098
25099         * invoke.texi (Spec Files): New node: Describe the contents of
25100         spec files.
25101
25102 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
25103
25104         * invoke.texi (DEC Alpha Options): Put @end table at
25105         beginning of line, to avoid confusing texi2html.
25106
25107 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
25108
25109         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
25110         introduced in previous delta.
25111
25112 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25113
25114         * reload1.c (gen_reload): When synthesizing a 3 operand add
25115         sequence, improve test for when to reload OP1 into the reload
25116         register instead of OP0.
25117
25118 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
25119
25120         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
25121
25122 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
25123
25124         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
25125         string literal.
25126
25127 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
25128
25129         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
25130         (va_dcl): Use __builtin_va_alist_t.
25131
25132 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
25133
25134         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
25135         on the permanent_obstack.
25136         * dwarfout.c (output_type): Likewise.
25137
25138 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25139
25140         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25141         Merged from c-typeck.c and cp/typeck.c.
25142         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25143         Merged into c-common.
25144
25145 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
25146
25147         * c-lex.c (errorcount): Declare it.
25148         (finish_parse): Update errorcount when using CPPLIB.
25149
25150 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
25151
25152         * fixinc/inclhack.def(end_else_label): Double the backslash so
25153         sed gets a chance to see it.
25154         * fixinc/inclhack.sh: regen
25155         * fixinc/fixincl.x: regen
25156
25157 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
25158
25159         Add framework to support armv5 architecture when it becomes
25160         available:
25161
25162         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
25163         (arm_arch5): New variable.
25164         (all_architectures): Add armv5 line.
25165         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
25166         -march=armv5 is specified on the command line.
25167         (arm_arch5): Export this variable.
25168         * invoke.texi: Document new string accepted by -march= switch for
25169         ARM ports.
25170
25171         * config/arm/arm.h: Replace use of constant 12 as a register
25172         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
25173         * config/arm/arm.c: Replace use of constant 12 as a register
25174         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
25175
25176         * config/arm/elf.h: Tidy up.
25177         * config/arm/coff.h: Tidy up.
25178
25179 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
25180
25181         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
25182         * gcc/config/mips/t-iris6gld: New file.
25183         * gcc/config/mips/iris6gld.h: Likewise.
25184
25185 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25186
25187         * c-decl.c (widest_integer_literal_type_node,
25188         widest_unsigned_literal_type) : New.
25189         (init_decl_processing): Handle/use the two new types.
25190         * c-common.c (type_for_size,type_for_mode) : Same.
25191         * c-lex.c (yylex) : Same.
25192         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25193         Same.
25194         * c-tree.h (widest_integer_literal_type_node,
25195         widest_unsigned_literal_type) : New.
25196
25197 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
25198
25199         * dwarfout.c (field_byte_offset): Correctly compute the object's
25200         byte offset for the first bit of a field which crosses an alignment
25201         boundary on a !BYTES_BIG_ENDIAN target.
25202
25203 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
25204
25205         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
25206         ntohs.
25207
25208 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
25209                           Jeff Law <law@cygnus.com>
25210
25211         * ginclude/varargs.h (va_dcl): Use word_mode for type of
25212         __builtin_va_list.
25213
25214         * except.c: Include intl.h.
25215         (expand_eh_return): Set current_function_cannot_inline.
25216         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
25217         * function.h (struct function): Add eh_return_stub_label.
25218         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
25219         * Makefile.in (except.o): Depend on intl.h.
25220
25221 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
25222
25223         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
25224         same as offsettable in cases 1 and 2.
25225
25226 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
25227
25228         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
25229         (extlh, extwh): Likewise.
25230
25231 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25232
25233         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
25234
25235 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
25236
25237         * configure.in: Add arm-pe and thumb-pe targets.
25238         * configure: Regenerate.
25239
25240         * thumb.c (arm_naked_function_p): New function: Determines if
25241         a function is naked (has no gcc generated prologue/epilogue).
25242         (is_called_in_ARM_mode): Return true if the func has the
25243         interfacearm attribute.
25244         (output_return): Do not generate a return for naked functions.
25245         (thumb_function_prologue): Do not generate a prologue for
25246         naked functions.
25247         (thumb_expand_prologue): Do not generate a prologue for naked
25248         functions.
25249         (thumb_expand_epilogue): Do not generate an epilogue for naked
25250         functions.
25251         (arm_valid_machine_decl_attribute): New function, copied from
25252         arm.c:  Permit naked and interfacearm attributes.
25253
25254         * config/arm/pe.c: New file: Support code for arm-pe target.
25255         * config/arm/pe.h: New file: Header file for arm-pe target.
25256         * config/arm/tpe.h: New file: Header file for thumb-pe target.
25257         * config/arm/t-thumb-pe: New file: Makefile fragment for
25258         thumb-pe target.
25259
25260 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
25261
25262         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
25263         -fPIC or -fpic is specified.
25264
25265 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
25266
25267         * expr.c (emit_block_move): Use copy_to_mode_reg for
25268         !TARGET_MEM_FUNCTIONS case too.
25269
25270         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
25271         appropriate.
25272         * configure: Rebuilt.
25273         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
25274         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
25275         definitions made redundant by dbxelf.h inclusion.  Delete
25276         lots of definitions related to assembly output that are
25277         specific to the SOM object format.
25278         * pa.c (output_function_prologue): Do not emit the function's
25279         name for OBJ_ELF.
25280         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
25281         * pa-pro.h: Deleted.
25282         * som.h: New file with SOM specific definitions.
25283         * elf.h: New file with ELF specific definitions.
25284
25285         * elfos.h (const_section): Output a tab before assembler directives.
25286         (ctors_section, dtors_section): Likewise.
25287         (ASM_OUTPUT_SECTION_NAME): Likewise.
25288
25289         * pa/pa1.h: Delete unused file.
25290
25291 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
25292
25293         * configure.in (hppa*-hp-hpux11*): New configuration.
25294         * configure: Rebuilt.
25295         * pa/pa-hpux11.h: New file.
25296         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
25297         command line.
25298
25299         * mips.md (leasi, leadi): New patterns.
25300
25301         * expr.c (emit_block_move): Properly handle case where one of the
25302         block move arguments has a queued increment or decrement.
25303         (clear_storage): Similarly.  Fix formatting goof.
25304
25305 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
25306
25307         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
25308         semicolon from the BSD VA_LIST replacement expression.
25309
25310         * fixinc/inclhack.sh: regen
25311         * fixinc/fixincl.x: regen
25312
25313         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
25314         now use the fixincl program.
25315
25316 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
25317
25318         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
25319         case.  Also make the PIC register call_used.
25320
25321         * m68k.h (FINALIZE_PIC): Delete.
25322         * m68k.c (finalize_pic): Delete.
25323
25324 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
25325
25326         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
25327         to memory.
25328
25329 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
25330
25331         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
25332
25333 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
25334
25335         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
25336
25337 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
25338
25339         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
25340
25341 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
25342
25343         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
25344
25345 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
25346
25347         * rs6000.c (output_toc): Always use hex values for floating-point
25348         constants.  Store single-precision values in upper-half of TOC
25349         entry in 64-bit mode.
25350         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
25351         to final constraints.
25352         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
25353         (fctiwz): Improve accuracy of RTL for pattern.
25354
25355 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25356
25357         * expr.c (expand_expr): Allow RTL_EXPR's through the
25358         MAX_INTEGER_COMPUTATION_MODE checks.
25359
25360 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
25361
25362         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
25363         such that MASK_SUPPORT_ARCH is not negative.
25364
25365 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
25366
25367         * loop.c (verify_dominator): Properly handle ADDR_VEC and
25368         ADDR_DIFF_VEC insns that appear inside loops.
25369
25370 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
25371                           Jeff Law <law@cygnus.com>
25372
25373         * rs6000.md (movdf_hardfloat32): Revert previous patch.
25374         Handle LO_SUM the same as offsettable in cases 1 and 2.
25375         * rs6000.c (find_addr_reg): Revert previous patch.
25376
25377 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
25378
25379         * system.h (strstr): New external function declaration.
25380         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
25381         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
25382         * config.in, configure: Rebuilt.
25383
25384 1999-06-24  Tom Tromey  <tromey@cygnus.com>
25385
25386         * gcc.c (main): Read user-specified specs files after computing
25387         additional startfile_prefixes.
25388
25389 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
25390
25391         Revert these two patches:
25392
25393         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25394         * loop.c (strength_reduce): When doing biv->giv conversion, update
25395         reg note of NEXT->insn.
25396
25397         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25398         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25399         reg_biv_class.
25400         (recombine_givs): Set ix field after sorting.
25401
25402 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25403
25404         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
25405         for the parts of an UNSPEC / UNSPEC_VOLATILE.
25406
25407 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
25408
25409         *fixinc/inclhack.def:  Add fix development commentary
25410         (read_ret_type): reactivate and add selection clause
25411         (zzz_*): tweak output file name to match what is used in hackshell.tpl
25412         *fixinc/{fixincl.x|inclhack.sh}: regen
25413
25414 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
25415
25416         * expr.c (expand_expr): STRIP_NOPS before checking against
25417         MAX_INTEGER_COMPUTATION_MODE
25418         (check_max_integer_computation_mode): Likewise.
25419
25420 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
25421
25422         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
25423
25424 1999-06-22  Jim Wilson  <wilson@cygnus.com>
25425
25426         * expr.c (store_expr): When target is a promoted subreg, return a
25427         promoted subreg as a result.
25428
25429 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
25430
25431         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
25432         coding standards.
25433         (dwarf2out_define): Mark unused parameters appropriately.
25434         (gen_unspecified_parameters_die): Ditto.
25435         (gen_subprogram_die): Fix signed/unsigned warnings.
25436         (gen_variable_die): Ditto.
25437
25438 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
25439
25440         * fixinc/inclhack.def(end_else_label): combined else_label
25441         and endif_label and fixed the sed expression.
25442         *fixinc/{fixincl.x|inclhack.sh}: regen
25443
25444 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
25445
25446         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
25447         'x' when handling non-offsettable addresses
25448
25449 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
25450
25451         * final.c (shorten_branches): Don't try to split an insn that has
25452         been deleted.
25453
25454 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
25455
25456         * config/mips/mips.c (symbolic_expression_p): New function.
25457         (mips_select_rtx_section): Put symbolic expressions in the
25458         data section, not the read-only data section.
25459
25460 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
25461
25462         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
25463
25464 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
25465
25466         * collect2.c (main): Log frame table count.
25467         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
25468         (scan_prog_file) [COFF]: Handle frame tables.
25469
25470         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
25471         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
25472         * alpha/elf.h: Undef them again.
25473         * alpha/vms.h: Remove their definitions.
25474
25475 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25476
25477         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
25478         remove the clobber of r0 and change the REG_UNUSED note to
25479         REG_INC.
25480
25481 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
25482
25483         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
25484         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
25485         fits in HOST_WIDE_INT and one uses union to access a long constant
25486         as double.
25487
25488 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
25489
25490         * sparc.c (sparc_override_options): Don't allow profiling for
25491         code models other than medlow.
25492         (sparc_function_profiler): New function from old FUNCTION_PROFILER
25493         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
25494         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
25495         (sparc_block_profiler): Likewise.
25496         (sparc_function_block_profiler_exit): Likewise.
25497         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
25498         (FUNCTION_BLOCK_PROFILER): Likewise.
25499         (BLOCK_PROFILER): Likewise.
25500         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
25501         (MCOUNT_FUNCTION): New.
25502         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
25503         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
25504         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
25505         (MCOUNT_FUNCTION): New.
25506         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
25507         (BLOCK_PROFILER): Delete.
25508         (MCOUNT_FUNCTION): New.
25509
25510 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
25511
25512         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
25513
25514 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
25515
25516         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25517         Add the macros.
25518
25519         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25520         Ditto.
25521
25522         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25523         Ditto.
25524
25525         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25526         Ditto.
25527
25528 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
25529
25530         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
25531         types.
25532
25533 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
25534
25535         * i386/djgpp.h (LIB_SPEC): New.
25536         (STARTFILE_SPEC): New.
25537
25538         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
25539
25540 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
25541
25542         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
25543         compiler flags.
25544
25545         * system.h (WSTOPSIG): New macro.
25546
25547 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
25548
25549         * c-pragma.c (push_alignment): Don't ignore alignments greater than
25550         4 bytes.
25551         (insert_pack_attributes): Take into account member natural
25552         alignment.
25553
25554         * i386/winnt.c (exports_head): New static variable.
25555         (i386_pe_record_exported_symbol): New function.
25556         (i386_pe_asm_file_end): Use.
25557         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
25558         symbols to be emitted at end of assembly.
25559         (ASM_DECLARE_OBJECT_NAME): Likewise.
25560         (ASM_DECLARE_FUNCTION_NAME): Likewise.
25561
25562         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
25563         -iwithprefix.
25564
25565 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
25566
25567         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
25568         in last change.
25569
25570 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
25571
25572         * haifa-sched.c (sched_analyze_1): Use free_list instead of
25573         zapping reg_last_uses directly.
25574         (sched_analyze_2, sched_analyze_insn): Likewise.
25575         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
25576
25577 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
25578
25579         * rs6000.md (movdf_hardfloat32): Use worst case insn length
25580         attributes for cases 1 and 2.
25581
25582 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
25583
25584         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
25585         instead of set.
25586
25587 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
25588
25589         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
25590
25591 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
25592
25593         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
25594         PIC_OFFSET_TABLE_REGNUM for general alloaction.
25595         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
25596         must be stacked if it is used for PIC accesses.
25597         * arm.c (use_return_insn): Handle PIC register specially.
25598         (output_return_instruction): Likewise.
25599         (output_func_{prologue,epilogue}): Likewise.
25600         (output_expand_prologue): Likewise.
25601
25602         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
25603         (*strsi_predec): Renamed from *strqi_predec.
25604         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
25605         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
25606
25607         * arm.c (arm_override_options): Remove warning about PIC code
25608         not being supported.
25609
25610 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
25611
25612         * rs6000.c (find_addr_reg): New function.
25613         * rs6000.h (find_addr_reg): Declare.
25614         (offsettable_addr_operand): Delete.
25615         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
25616         from and stores to GPRs.
25617
25618 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
25619
25620         * alpha.c (alpha_expand_block_move): Use get_insns rather than
25621         gen_sequence as argument to emit_no_conflict_block.
25622
25623 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25624
25625         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
25626         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
25627         *fixinc/fixincl.x: regen
25628         *fixinc/inclhack.sh: regen
25629
25630 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
25631
25632         * added support for -mpcrel (PC relative addressing for m68k)
25633         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
25634         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
25635         * m68k.c (print_operand_address): Handle 32-bit PIC case.
25636         (comments for general_src_operand): Add some explanation
25637         about EXTRA_CONSTRAINTS.
25638         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
25639         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
25640         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
25641         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
25642         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
25643         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
25644         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
25645         if not already set.
25646         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
25647         * m68k.h (TARGET_PCREL): New target flag.
25648         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
25649         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
25650         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
25651         contains a SYMBOL_REF.  Relax this constraint during reload, since
25652         we want to use the predicates, not reload's built-in concept of a
25653         valid memory address, to control what insns need reloading.
25654         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
25655         operands (essentially 'g', 'm', and 's' under normal circumstances).
25656         * m68k.c (print_operand): Cause printing of pc-relative addresses
25657         to include pc register.
25658         (print_operand_address): Ditto.
25659         (general_src_operand): Accept operands that are not only
25660         general_operands, but are also valid when used as a pc-relative
25661         source.
25662         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
25663         (memory_src_operand): Similar, for memory_operands.
25664         (pcrel_address): New predicate to accept the special case of a
25665         pc-relative address.
25666         * m68k.md (many patterns): Rewrite common SImode, HImode, and
25667         QImode insns to accept *_src_operand instead of *_operand where
25668         pc-relative operands can fit.  For example, a pc-relative operand
25669         can be used as a memory source operand for addsi3, but not as a
25670         memory destination.
25671         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
25672
25673 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
25674
25675         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
25676         .thumb_set pseudo op to mark aliases of thumb functions.
25677
25678 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
25679
25680         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
25681         preference to ASM_OUTPUT_DEF, if it is defined.
25682
25683         * tm.texi: Document new, optional target macro
25684         ASM_OUTPUT_DEF_FROM_DECLS.
25685
25686 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25687
25688         * fixincludes: ISCNTL patch
25689         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
25690         (dgux_int_varargs): new for DG/UX
25691         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
25692
25693 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
25694
25695         * invoke.texi (ia32 options): Fix typo.
25696
25697 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25698
25699         * loop.c (strength_reduce): When doing biv->giv conversion, update
25700         reg note of NEXT->insn.
25701
25702 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
25703
25704         * loop.c (move_movables): Note issues with replacing REGs with
25705         SUBREGs.
25706         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
25707
25708 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
25709
25710         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
25711
25712         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
25713         the reference to `mcount' was not correct for the ELF on FreeBSD.
25714
25715 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25716
25717         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25718         reg_biv_class.
25719
25720         (recombine_givs): Set ix field after sorting.
25721
25722 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
25723
25724         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
25725         to safe to extract a subword out of a REG.
25726
25727 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25728
25729         * sh.md (mulsi3): Don't add a no-op move at the end.
25730
25731 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25732
25733         * cse.c (cse_insn): Don't put hard register source into tables for
25734         the last insn of a libcall.
25735
25736 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25737
25738         * loop.c (strength_reduce): Insert sets of derived givs at every
25739         biv increment, even if it's the only one.
25740
25741 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
25742
25743         * dwarfout.c (add_incomplete_type): New fn.
25744         (output_type): Call it.
25745         (retry_incomplete_types): New fn.
25746         (dwarfout_finish): Call it.
25747
25748         From Eric Raskin <ehr@listworks.com>:
25749         (output_type): Output types for bases.
25750
25751 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
25752
25753         * mips.c (mips_output_conditional_branch): Add `break'
25754         between `default' label and `close braces'.
25755
25756 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
25757
25758         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
25759         specifications and make it realistic.
25760         (LIB_SPEC): Likewise.
25761
25762 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
25763
25764         * config/mips/mips.c (mips_secondary_reload_class): Check for
25765         (PLUS (SP) (REG)) and return appropriate register class.
25766         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
25767         Handle (PLUS (SP) (REG)).
25768         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
25769         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
25770         of emit_insn for tablejump.
25771
25772 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
25773
25774         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
25775         asm_fprintf format string by itself.
25776         (output_function_profiler): Likewise.
25777
25778 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
25779
25780         * combine.c (simplify_logical, case AND): Only call
25781         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
25782         or the constant is positive.
25783
25784 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
25785
25786         * configure.in: Fix typo in rs6000-ibm-aix4 case.
25787         * configure: Regenerate.
25788
25789 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
25790
25791         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
25792         require a sub-version #.
25793         * configure: Rebuilt.
25794
25795 1999-06-14  Robert Lipe  (robertlipe@usa.net)
25796
25797         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
25798
25799 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
25800
25801         * c-typeck.c (process_init_element): Detect excess elements in
25802         char array initializer.
25803
25804 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
25805
25806         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
25807
25808 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
25809
25810         * invoke.texi (Option Summary): Add -fpermissive flag.
25811
25812 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
25813
25814         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
25815         that require PIC code sequences.
25816
25817 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
25818
25819         * configure.in: Add new target: thumb-elf.
25820         * configure: Regenerate.
25821         * config/arm/t-thumb-elf: New file: Makefile fragment for
25822         thumb-elf build.
25823         * config/arm/telf.h: New file: Header file for thumb-elf
25824         build.
25825
25826 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
25827
25828         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
25829         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
25830         initializers is some circumstances.
25831
25832         * fixinc/inclhack.def (endif_label): Add additional selector for
25833         more bogus stuff after #endif statements.
25834         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
25835
25836 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
25837
25838         * i386/cygwin.h (SET_ASM_OP): Define.
25839
25840 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
25841
25842         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
25843
25844 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25845
25846         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
25847         latter.
25848
25849         * sh.md (ic_invalidate_line_i): Remove second alternative.
25850
25851 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25852
25853         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
25854         test for the presence of valid prototypes.  Delete bypass expr.
25855         (ioctl_fix_ctrl): Correct the selection expression.
25856         (no_double_slash): Correct quoting rules
25857         *fixinc/fixincl.x: regen
25858         *fixinc/inclhack.sh: regen
25859
25860 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
25861
25862         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
25863
25864 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25865
25866         * rs6000.md (movsi_got_internal_mem): Delete.
25867         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
25868         (GOT_TOC_REGNUM): Delete.
25869         (PIC_OFFSET_TABLE_REGNUM): Define.
25870         (FINALIZE_PIC): Disable.
25871         * rs6000.c (rs6000_got_register): New code for fixed pic register.
25872         (rs6000_replace_regno): Delete.
25873         (rs6000_finalize_pic): Likewise.
25874         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
25875
25876 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25877
25878         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
25879         is a note; use <= for the compare; advance P while it is
25880         a NOTE.
25881
25882 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
25883
25884         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
25885         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
25886
25887         * varasm.c (remove_from_pending_weak_list): Verify t->name
25888         is non-NULL before passing it to strcmp.
25889
25890 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25891
25892         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
25893         the typed arguments are not part of a comment
25894         (ioctl_fix_ctrl): Added a purpose comment
25895         *fixinc/fixincl.x: regenerate
25896         *fixinc/inclhack.sh: regenerate
25897
25898 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
25899
25900         * invoke.texi: Add C4x invocation docs.
25901
25902 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
25903
25904         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
25905         Define new macros.
25906         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
25907         TARGET_EXPOSE_LDP.
25908         (c4x_legitimize_reload_address): New function.
25909         * config/c4x/c4x.md: Update docs.
25910
25911 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
25912
25913         * fixincludes: Avoid removing '.'.
25914         * fixinc/fixinc.svr4: Likewise.
25915         * fixinc/fixinc.winnt: Likewise.
25916         * fixinc/inclhack.tpl: Likewise.
25917         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
25918
25919 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25920
25921         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
25922         pattern.
25923         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
25924
25925 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
25926
25927         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
25928         correctly.
25929
25930 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
25931
25932         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
25933         * configure: Regenerate.
25934
25935 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
25936
25937         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
25938         values.
25939
25940 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
25941
25942         * fixinc/inclhack.def (avoid_bool): Also catch
25943         "typedef [unsigned] int bool".
25944         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
25945
25946         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
25947         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
25948         * configure: Rebuilt.
25949
25950 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
25951
25952         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
25953         such that we can override its definitions if necessary.
25954         (CPP_SPEC): New define.  Support processor specific predefines via
25955         %(cpp_cpu).
25956         (CC1_SPEC): New define.  Support processor specific compiler
25957         options via %(cc1_cpu).
25958         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
25959         -static.
25960
25961 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25962
25963         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
25964         between sed's -e flag, and the open-quote following it.
25965         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
25966
25967 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
25968                           Jeffrey A Law  (law@cygnus.com)
25969
25970         * varasm.c (assemble_start_function): Remove the function
25971         from the pending weak decls list when we define a function.
25972         (assemble_variable): Similarly for variables.
25973         (weak_finish): Ignore items on the list with a NULL name.
25974         (remove_from_ending_weak_list); New function to "remove" an item
25975         from the pending weak declarations list.
25976
25977 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
25978
25979         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
25980
25981 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
25982
25983         * c-lex.c (GETC): Redefine to call getch.
25984         (UNGETC): Redefine to call put_back.
25985         (putback_buffer): New structure type.
25986         (putback): New static structure.
25987         (getch): New function.
25988         (put_back): New function.
25989         (yylex): Replace unused bytes from bad multibyte character.
25990
25991 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
25992
25993         * cpplib.c (do_define): Cast `alloca' return value.
25994         (do_include, do_undef, do_pragma): Likewise.
25995         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
25996         values.
25997         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
25998         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
25999
26000 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
26001
26002         * sparc.md (abstf2): This should be an expand.
26003         (split after abstf2_notv9): Fix mode.
26004         (abstf2_hq_v9): New pattern.
26005         (abstf2_v9): Only use when no hard quad.
26006         (absdf2_v9): Fix if target is not the same as source.
26007         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
26008         Add correct output constraints.
26009
26010 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
26011
26012         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
26013         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
26014
26015 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
26016
26017         * mips.h (mips_output_conditional_branch): New function.
26018         (mips_adjust_insn_length): Likewise.
26019         (ASSEMBLER_SCRATCH_REGNUM): New macro.
26020         (ADJUST_INSN_LENGTH): Likewise.
26021         * mips.c (print_operand): Add `F' and `W' for floating-point
26022         comparison opcodes.
26023         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
26024         are now in bytes.
26025         (mips_adjust_insn_length): New function.
26026         (mips_output_conditional_branch): New function.
26027         * mips.md (length): Adjust attribute definition to handle
26028         conditional branches.  Change lengths to bytes, rather than
26029         instructions throughout.  Remove length attribute from
26030         instructions whose length is four bytes, and rely on the default
26031         instead.
26032         (dslot): Fix typo in comment.
26033         Reword conditional branch patterns to use
26034         mips_output_conditional_branch.
26035
26036 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
26037
26038         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
26039         (LIB_SPEC): Likewise.
26040         Link with -lprof1_r for -g/-pg.
26041
26042 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
26043
26044         * loop.c (check_dbra_loop): Fix change of Jan 19.
26045
26046 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
26047
26048         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
26049         (STARTFILE_SPEC):  Define, override the svr4.h version.
26050         (ENDFILE_SPEC):  Likewise.
26051
26052 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
26053
26054         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
26055         * fixinc/fixincl.x: Regenerated.
26056         * fixinc/inclhack.sh: Regenerated.
26057
26058 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26059
26060         * sh.c (barrier_align): Don't return early for normal branch/barrier
26061         when optimizing for SH2.
26062
26063 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
26064
26065         * i386/udk.h (LINK_SPEC): Correct linker search path for
26066         system libraries.
26067
26068 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26069
26070         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
26071         (braf_label_ref_operand): Delete.
26072         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
26073         * sh.md (casesi_jump_2): Operand1 is now the inside of a
26074         label_ref, and has no predicate.
26075         The patten has a predicate to guard against invalid substitutions.
26076         (dummy_jump): Delete.
26077         (casesi): Update use of casesi_jump_2.
26078
26079 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26080
26081         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
26082         *fixinc/fixincl.x: regenerate
26083         *fixinc/inclhack.sh: regenerate
26084
26085 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
26086
26087         * dwarf2out.c (add_incomplete_type): New fn.
26088         (gen_struct_or_union_type_die): Call it.
26089         (retry_incomplete_types): New fn.
26090         (dwarf2out_finish): Call it.
26091
26092 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
26093
26094         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
26095         current block starts with a CODE_LABEL and ends with a CALL and
26096         we can not find all the argument setup instructions for the CALL.
26097
26098 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
26099
26100         Revert this change:
26101         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
26102         something is a candidate for optimize_bit_field_compare.
26103
26104 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26105
26106         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
26107
26108 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
26109
26110         * alpha.c (override_options): Thinko in last patch.
26111
26112         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
26113         (LIB_SPEC): Recognize -pthread.
26114
26115 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
26116
26117         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
26118         definition in config/arm/coff.h
26119         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
26120
26121 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26122
26123         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
26124         fixes that need "file=xxx\n" prepended before invocation
26125         (start_fixer - new): starting the fixer process is complex enough
26126         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
26127         (process): uses the new routine; omit usage of putenv()
26128         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
26129         * fixinc/fixincl.x: regenerate
26130
26131 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
26132
26133         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
26134         and version #s (1.1 -> 2.96) as needed.
26135         * README.g77: Kill way out of date file in the toplevel directory.
26136
26137 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
26138
26139         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
26140         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
26141         * configure: Rebuilt.
26142         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
26143         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
26144         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
26145         (SWITCH_TAKES_ARG): Likewise.
26146         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
26147         * config/t-freebsd: Moved from config/i386/ so it can used for all
26148         FreeBSD targets.
26149
26150 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
26151
26152         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
26153
26154 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
26155
26156         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
26157         * configure: Rebuilt.
26158
26159 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
26160
26161         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
26162         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
26163         * rs6000/rs6000.c (rs6000_file_start): Use putc.
26164         (rs6000_output_load_toc_table): Same.
26165         (output_prolog, output_mi_thunk): Same.
26166         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
26167         (ASM_GLOBALIZE_LABEL): Use putc.
26168
26169 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
26170
26171         * alpha.md (reload_*_help): New patterns and splitters.
26172         (reload_*): Use them.
26173         (mov[qh]i): Likewise.
26174
26175 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
26176
26177         * cccp.c (handle_directive): Handle backslash-newlines in quoted
26178         strings correctly.
26179
26180 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
26181
26182         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
26183
26184 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
26185
26186         * flow.c (mark_regs_live_at_end, insn_dead_p,
26187         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
26188         and HARD_FRAME_POINTER_REGNUM special treatment if reload
26189         hasn't run or the frame pointer is needed.
26190         * haifa-sched.c (attach_deaths): Likewise.
26191         * sched.c (attach_deaths): Likewise.
26192
26193 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
26194
26195         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
26196         calculate_can_reach_end returns nonzero.
26197
26198         * configure.in (native gas tests): Search for an assembler in the
26199         same manner that the installed compiler will.
26200         * configure: Rebuilt.
26201         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
26202
26203         * alias.c (find_base_term): Improve handling of addresses
26204         constructed from binary operations.
26205
26206 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
26207
26208         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
26209
26210 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
26211
26212         * function.h (cleanup_label, frame_offset): Declare.
26213         (tail_recursion_label, tail_recursion_reentry): Likewise.
26214         (arg_pointer_save_area, rtl_expr_chain): Likewise.
26215         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
26216         (tail_recursion_label, tail_recursion_reentry): Likewise.
26217         (arg_pointer_save_area, rtl_expr_chain): Likewise.
26218
26219 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
26220
26221         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
26222         defined.
26223         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
26224         (MAX_OFILE_ALIGNMENT): Define.
26225
26226 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
26227
26228         * fixincl.c: Replace local include scheme with #includes of
26229         gansidecl.h and system.h.
26230         * procopen.c:  Likewise.
26231         * server.c:  Likewise.
26232
26233 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
26234
26235         * i386/t-dgux (EXTRA_PARTS): Add crti.o
26236         (crti.o): Add build rule and dependencies.
26237         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
26238
26239 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26240
26241         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
26242         (LIB_LINUX_SPEC): Likewise.
26243         (LIB_LINUX_SPEC): Add support for -pthread
26244         (CPP_OS_LINUX_SPEC): Likewise.
26245         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
26246         specified.
26247
26248 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
26249
26250         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
26251         conditional move.
26252         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
26253         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
26254         for IEEE math and CC_FCOMI.
26255         (put_jump_code): No IEEE if CC_FCOMI is set.
26256
26257 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
26258
26259         * fold-const.c (fold_truthop): Make the field reference unsigned
26260         when converting a single bit compare.
26261
26262 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26263
26264         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
26265
26266 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
26267
26268         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
26269         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
26270         version did.
26271
26272         * reload.c (push_reload): Do not call remove_address_replacements
26273         when presented with identical optional reloads.
26274
26275 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
26276
26277         * alpha.h (MASK_FIX, TARGET_FIX): New.
26278         (MASK_*): Reorganize constants.
26279         (CPP_AM_FIX_SPEC): New.
26280         (TARGET_SWITCHES): Add FIX.
26281         (EXTRA_SPECS): Likewise.
26282         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
26283         (SECONDARY_MEMORY_NEEDED): Likewise.
26284         (REGISTER_MOVE_COST): Likewise.
26285         * alpha.c (override_options): Add FIX support.  Always use
26286         ALPHA_TP_PROG for ev6.
26287         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
26288         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
26289         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
26290
26291 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
26292
26293         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
26294         something is a candidate for optimize_bit_field_compare.
26295
26296 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
26297
26298         * gcc.texi (Passes): Document branch-shortening.
26299         * invoke.texi (Debugging Options): Document the fact that `-dp'
26300         outputs length information for instructions.
26301
26302 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
26303
26304         * flow.c: Revert previous delta.
26305
26306 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
26307
26308         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
26309         FRAME_POINTER_REGNUM.
26310         (mark_set_1): Ditto.
26311         (mark_used_regs): Ditto.
26312
26313 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
26314
26315         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
26316         (GOT_PCREL): New macro.  Define to 1 if not already defined.
26317         * arm/elf.h (GOT_PCREL): Define to 0.
26318         * arm.c (arm_finalize_pic): Take into account the setting of
26319         GOT_PCREL.
26320
26321 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
26322
26323         * output.h (STRIP_NAME_ENCODING): Provide default definition.
26324         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
26325
26326         * flow.c (mark_set_1): Do not record BLKmode stores as dead
26327         store elimination candidates.
26328
26329 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26330
26331         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
26332         TARGET_GAS.
26333
26334 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
26335
26336         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
26337         Add use of x-aix41-gld.
26338
26339 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
26340
26341         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
26342         (ASM_OUTPUT_DESTRUCTOR): Define.
26343
26344 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
26345
26346         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
26347         last CODE_LABEL in a loop if we have previously passed a jump
26348         to the top of the loop.
26349
26350 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
26351
26352         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
26353         applying Philip's patch.
26354
26355 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
26356
26357         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
26358         are not VAR_DECLs.
26359
26360 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
26361
26362         * loop.c (strength_reduce): Grow reg_single_usage as needed.
26363
26364 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
26365
26366         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
26367         Also remove a useless comment.
26368
26369 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
26370
26371         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
26372
26373 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
26374
26375         * collect2.c (main): Only generate import or export file and add
26376         to link arguments if non-empty.  Use xmalloc not alloca.
26377         (write_{export,import}_file): Delete.
26378         (write_aix_file): New function.
26379         (locatelib): Use xmalloc not malloc.
26380         (GCC_OK_SYMBOL): Do not check type if aix64.
26381
26382 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
26383
26384         Based on patch by Scott Bambrough and Pat Beirne:
26385         * config/arm/arm.c (making_const_table): New variable.
26386         * config/arm/arm.h (making_const_table): Declare.
26387         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
26388         appropriate.
26389         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
26390         Keep track of when we are building the constant table.
26391
26392 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
26393
26394         * config/arm/arm.c (arm_override_options): Fix erroneous warning
26395         message.
26396
26397 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
26398
26399         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
26400         defined.
26401
26402 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
26403
26404         * tm.texi (FUNCTION_ARG): Correct description of a stack element
26405         in a PARALLEL.
26406
26407 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
26408
26409         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
26410
26411 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26412
26413         * rs6000.c (output_mi_thunk): Enable full support again.
26414
26415 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26416
26417         * sh.h (BRANCH_COST): Define.
26418
26419 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
26420
26421         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
26422
26423 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
26424
26425         * function.c (assign_stack_local): Align stack slot propertly.
26426         (assign_outer_stack_local): Likewise.
26427
26428 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
26429
26430         * expr.h (lang_expand_constant): Declare.
26431         * toplev.c (lang_expand_constant): Define it.
26432         * varasm.c (output_constant): Use it.
26433
26434 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26435
26436         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
26437         Change function definitions to K&R style.
26438
26439 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26440
26441         * fixinc/fixincl.c: We must not ignore SIGCLD now.
26442
26443 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
26444
26445         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
26446         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
26447         (several places): omit static initialization
26448         (process): use single fd, since only the read fd is used
26449         * fixinc/gnu-regex.c: define 'const' away, if not supported
26450         * fixinc/procopen.c(several places): omit static initialization
26451         * fixinc/server.c: define 'volitile' away, if not supported
26452
26453 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
26454
26455         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
26456         asm_fprintf and %L to generate the label name.
26457         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
26458         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
26459
26460 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
26461
26462         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
26463         insn for a conditional jump can not be found.
26464
26465 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
26466
26467         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
26468         on variables in specific sections other than .sbss and .sdata.
26469
26470 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
26471
26472         * stmt.c (expand_return): Call start_cleanup_deferral and
26473         end_cleanup_deferral around conditional code.
26474
26475 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26476
26477         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
26478         filename lists.  Utilizes new "krstr" AutoGen function.
26479         * fixinc/fixincl.x: Rebuilt.
26480
26481 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
26482
26483         * i386.c (output_float_compare): Avoid GNU-C extensions.
26484
26485 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
26486
26487         * version.c: Bump to distinguish mainline tree from the
26488         gcc-2.95 branch.
26489
26490 See ChangeLog.1 for earlier changes.