OSDN Git Service

* flow.c (calculate_global_regs_live): Skip for_each_successor_phi
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-05-01  Richard Henderson  <rth@cygnus.com>
2
3         * calls.c (expand_call): Don't emit reg notes for a sibcall.
4
5         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
6         if not in SSA form.
7
8         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
9
10 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
11
12         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
13         TREE_THIS_VOLATILE.
14
15 2000-05-01  Richard Henderson  <rth@cygnus.com>
16
17         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
18         emit_conditional_move.
19
20 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
21
22         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
23         as the dynamic linker.
24
25 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
26
27         * cppfiles.c (open_include_file): Open file in blocking mode.
28         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
29         Only exclude block devices and directories.
30
31         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
32         static.  Allocate the hashnode and its string in the same
33         block of memory.
34         (del_HASHNODE): Don't free h->name.
35         (_cpp_lookup): If there is no entry for this string, create
36         one, of type T_VOID.
37         (_cpp_lookup_slot): Delete.
38         * cpphash.h: Update prototypes.
39
40         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
41         not hp == NULL.
42         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
43         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
44         node here, just fill in the value field properly.  "Delete"
45         entries by setting the value field to T_VOID.  Check for
46         hp->type == T_VOID, not hp == NULL.
47
48         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
49         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
50         hashtab.h.
51
52 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
53
54         * config/mn10300/mn10300.c (print_operand_address): Do not add
55         zero to SP.
56
57         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
58         adjusted by less than 256 bytes, use ret regardless of having any
59         callee-saved register to restore.
60
61 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
62
63         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
64
65 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
66
67         * config/i386/djgpp.h (INT_ASM_OP): Define.
68         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
69         (ASM_WEAKEN_LABEL): Define.
70         (MASK_BNU210): Define.
71         (SUBTARGET_SWITCHES): Define.
72         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
73         (MAKE_DECL_ONE_ONLY): Define.
74         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
75
76 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
77
78         * i386/cygwin.h (INT_ASM_OP): Define.
79
80 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
81
82         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
83         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
84
85 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
86
87         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
88         __tmp_reg__ and __zero_reg__ initialization.
89
90 2000-04-30  Richard Henderson  <rth@cygnus.com>
91
92         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
93
94         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
95         referenced bewteen the condition and the jump.  Don't delete
96         anything but the jump.
97
98 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
99
100         * bb-reorder.c (scope_def): New struct.
101         (scope_forest_info): New struct.
102         (struct reorder_block_def): New member "scope".
103         (REORDER_BLOCK_SCOPE): New macro.
104         (relate_bbs_with_scopes): New function and prototype.
105         (make_new_scope): Likewise.
106         (build_scope_forest): Likewise.
107         (remove_scope_notes): Likewise.
108         (insert_intra_1): Likewise.
109         (insert_intra_bb_scope_notes): Likewise.
110         (insert_inter_bb_scope_notes): Likewise.
111         (rebuild_scope_notes): Likewise.
112         (free_scope_forest_1): Likewise.
113         (free_scope_forest): Likewise.
114         (dump_scope_forest): Likewise.
115         (dump_scope_forest_1): Likewise.
116         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
117         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
118         block.
119         (reorder_basic_blocks): Added calls to build_scope_scope_forest
120         and remove_scope_notes before reordering is done. Added calls to
121         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
122         after reordering is done.
123
124 2000-40-30  Bruce Korb  <bkorb@gnu.org>
125
126         * fixinc/inclhack.def:  Added definitions needed by OSR5,
127         removed two stale entries (defined away with OLD_CPP).
128         * fixinc/inclhack.sh: regen
129         * fixinc/fixincl.x: regen
130
131 2000-04-30  Richard Henderson  <rth@cygnus.com>
132
133         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
134         from the last insn in the sequence.
135
136 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
137
138         * cpplex.c (cpp_idcmp): New function.
139         * cpplib.h: Prototype it.
140         * scan_decls.c (scan_decls): Use it to inspect token names.
141         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
142         the file being run through the preprocessor.
143         (check_macro_names): Provide length of token to cpp_defined.
144
145         * Makefile.in: Remove stale warning message.
146
147         * cppfiles.c (redundant_include_p): Provide length of token to
148         cpp_defined.
149         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
150         values are unsigned int.
151         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
152         (_cpp_lookup_slot): Do not calculate the hash, either.
153         * cpphash.h: Update prototypes.
154         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
155         Hashes are unsigned int.  Calculate hash here, pass by value
156         to _cpp_lookup_slot.
157
158 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
159
160         * simplify-rtx.c (check_value_useless): Delete function.
161         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
162         by hand.
163         (cselib_invalidate_regno): Likewise.
164         (cselib_invalidate_mem_1): Likewise.
165         (references_value_p): Recognize useless values by the fact that they
166         have no locations.
167         (discard_useless_values): Likewise.
168         (cselib_record_set): This may turn a useless value
169         into a useful one.
170
171 2000-04-30  Richard Henderson  <rth@cygnus.com>
172
173         * config/d30v: New port.
174
175         * configure.in (d30v-*): Set fp format.
176         * configure: Rebuild.
177
178 2000-04-30  Richard Henderson  <rth@cygnus.com>
179
180         * ifcvt.c: New file.
181         * Makefile.in (OBJS): Add it.
182         (ifcvt.o): New target.
183         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
184         and conditional arithmetic.
185         (find_insert_position): Remove.
186         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
187         * toplev.c (DFI_ce, DFI_ce2): New.
188         (dump_file): Add ce and ce2 dumps.
189         (rest_of_compilation): Run if_convert a couple o times.  Set
190         cse_not_expected after cse2.  Don't set no_new_pseudos until
191         after sched1 or recompute_reg_usage.
192
193 2000-04-30  Richard Henderson  <rth@cygnus.com>
194
195         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
196         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
197
198 2000-04-30  Richard Henderson  <rth@cygnus.com>
199
200         * flow.c (struct reg_cond_life_info): New.
201         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
202         (init_propagate_block_info): Initialize them.
203         (free_propagate_block_info): Destruct them.
204         (mark_set_1): Consider conditional life before killing a register.
205         (mark_regno_cond_dead): New.
206         (free_reg_cond_life_info): New.
207         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
208         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
209         (mark_used_reg): Record conditional life.
210
211         * haifa-sched.c (schedule_insns): Disable death counting
212         sanity check for HAVE_conditional_execution.
213
214 2000-04-30  Richard Henderson  <rth@cygnus.com>
215
216         * Makefile.in (TIMEVAR_H): New.
217         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
218         (timevar.h): Remove rule.
219
220 2000-04-29  Richard Henderson  <rth@cygnus.com>
221
222         * config/alpha/crtend.asm: Use C comments instead of #.
223         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
224
225         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
226
227 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
228
229         * cpphash.h (enum node_type: Take out T_MCONST.
230         (union hashval): Move into struct hashnode.
231         (struct hashnode): Pack tighter.  Remove file, line, col
232         members.
233         * cpphash.c: Constify most of the macro-definition structures.
234         (struct definition): Replace by struct object_defn
235         and struct funct_defn.  Put file, line, column information
236         here.  All users updated to match.
237         (_cpp_create_definition, _cpp_macroexpand): Remove special
238         case for #define WORD OTHERWORD.
239         * cpplib.c (do_undef): Remove T_MCONST case.
240
241         * cpphash.h: Move struct reflist, struct definition, and the
242         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
243         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
244         * cpphash.c (_cpp_free_definition): Free data pointed to by
245         MCONST, XCONST, MACRO, and FMACRO nodes properly.
246         (_cpp_create_definition, del_HASHNODE): Just call
247         _cpp_free_definition to clear out a hashnode.
248         * cpplib.c (do_pragma_poison): Likewise.
249
250 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
251
252         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
253         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
254         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
255         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
256         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
257         REGNO_AM33_P): Redefine in terms of the new macros.
258         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
259         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
260         STRUCT_VALUE): Likewise.
261         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
262         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
263
264 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
265
266         * regmove.c (struct record_stack_memrefs_data): New.
267         (record_stack_memrefs): New function.
268         (combine_stack_adjustments_for_block): Use it.
269
270 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
271
272         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
273         use special_function_p to detect alloca.
274
275 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
276
277         * gcc.texi: Fixes for makeinfo 4.0 --html.
278
279 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
280
281         * pcp.h: Delete file.
282
283 2000-04-28  Kazu Hirata  <kazu@hxi.com>
284
285         * h8300.c (function_epilogue): Clean up flags when the last insn
286         in a function is a barrier.
287
288 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
289
290         * configure.in (sparc-hal-solaris2*): protect [] glob from
291         my expansion.
292         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
293         rather than hard-coded constants in target_cpu_default2.
294         * configure: Regenerate.
295
296 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
297
298         * tree.c (get_callee_fndecl): Extract the initial value from
299         a readonly decl.
300
301 2000-04-28  Richard Henderson  <rth@cygnus.com>
302
303         * varasm.c (record_constant_1): Record the CODE_LABEL when
304         taking the address of a LABEL_REF.
305
306 2000-04-28  Richard Henderson  <rth@cygnus.com>
307             Jan Hubicka  <jh@suse.cz>
308
309         * calls.c (combine_pending_stack_adjustment_and_call): Return the
310         adjustment; don't do the stack adjust.
311         (expand_call): Call compute_argument_block_size right before
312         allocating the block; update comment; don't do alignment sanity
313         checking for sibling call; use args_size instead of
314         unadjusted_args_size before args_size is adjusted.  Use
315         combine_pending_stack_adjustment_and_call to compute stack adjust
316         for must_preallocate case.
317
318         * expr.c (push_block): Remove shadow `temp' in inner scope.
319
320 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
321
322         * toplev.c (rest_of_compilation): Call
323         note_deferral_of_defined_inline_function even if the function
324         can't be inlined.
325
326 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
327
328         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
329
330 2000-04-28  Richard Henderson  <rth@cygnus.com>
331
332         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
333
334 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
335
336         * timevar.c (init_timevar): DeANSIfy function definition.
337
338 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
339
340         * Makefile.in (timevar.o): Depend on flags.h.
341         * timevar.c (unused_stack_instances): New variable.
342         (timevar_push): Take a timevar_stack_def from
343         unused_stack_instances if available.
344         (timevar_pop): Push the popped timevar_stack_def onto
345         unused_stack_instances.
346         (TIMEVAR_ENABLE): New macro.
347         (timevar_def): Make standalone a 1-bit field.  Add field used.
348         (get_time): Rename parameter to now.  Return after clearing it if
349         not TIMEVAR_ENABLE.
350         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
351         (timevar_pop): Likewise.
352         (timevar_stop): Likewise.
353         (timevar_push): Likewise.  Mark the timing variable as used.
354         (timevar_start): Likewise.
355         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
356         timevars that were never used.
357
358 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
359
360         * c-commom.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
361         always TREE_READONLY.
362
363 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
364
365         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
366         for call instruction with mode QImode.
367
368 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
369
370         * Makefile.in (OBJS): Add timevar.o.
371         (toplev.o): Depend on timevar.h.
372         (ggc-simple.o): Likewise.
373         (ggc-page.o): Likewise.
374         (timevar.o): New rule.
375         (timevar.h): New rule.
376
377         * timevar.h: New file.
378         * timevar.c: Likewise.
379         * timevar.def: Likewise.
380
381         * toplev.h (gc_time, parse_time, varconst_time): Remove.
382         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
383         throughout.
384         (TIMEVAR): Remove macro.
385         (gc_time, parse_time, varconst_time, integration_time, jump_time,
386         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
387         flow_time, combine_time, regmove_time, sched_time,
388         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
389         sched2_time, dbr_sched_time, reorder_blocks_time,
390         rename_registers_time, shorten_branch_time, stack_reg_time,
391         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
392         all_time): Remove.
393         (compile_file): Don't initialize time variables.  Call
394         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
395         of many calls to print_time.
396         (rest_of_compilation): Add timing for reload_cse_regs.
397         (get_run_time): Removed to timevar.c.
398         (print_time): Likewise.
399         (get_run_time): Implement using TV_TOTAL time variable.
400         (print_time): Get total run time from get_run_time.
401         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
402         computing elapsed time explicitly.
403         * ggc-simple.c (ggc_collect): Likewise.
404         (gc_time): Remove declaration.
405
406 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
407
408         * calls.c (combine_pending_stack_adjustment_and_call): New function.
409         (expand_call): Use it.
410
411 2000-04-27  Jan Hubicka  <jh@suse.cz>
412
413         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
414         fields.
415
416 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
417
418         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
419         registers.
420
421 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
422
423         * function.c (epilogue_done): Pass whole insn to record_insns.
424
425 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
426
427         * cse.c (CSE_ADDRESS_COST): Remove.
428         (find_best_addr): Add new parameter "MODE", use address_cost instead
429         of CSE_ADDRESS_COST
430         (address_cost): New.
431         (fold_rtx): Update call of find_best_addr.
432         * rtl.h (address_cost): Declare.
433         * loop.c (general_induction_var): Add new parameter "MODE", use
434         address_cost instead of ADDRESS_COST
435         (init_loop): Use address_cost instead of ADDRESS_COST.
436         (check_insn_for_givs): Update call of general_induction_var.
437         (find_mem_givs): Likewise.
438         (consec_sets_giv): Likewise.
439         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
440         * i386.c (ix86_address_cost): New.
441         * i386-protos.h (ix86_address_cost): Declare.
442
443 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
444
445         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
446         registers.
447
448 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
449
450         * expr.c (store_expr): Use clear_storage instead of direct memset
451         libcall.
452
453 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
454
455         * config/mn10300/mn10300.c (mn10300_address_cost): Test
456         ASHIFT, AND and LABEL_REF.
457
458 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
459
460         * invoke.texi (-foptimize-sibling-calls): Fix.
461
462 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
463
464         * loop.c (load_mems)  Don't use hard registers for the hoisting.
465
466         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
467         calculation; rename const_equiv array in the preconditioning code
468         from loop_unroll to loop_unroll_precondition
469
470 2000-04-27  Richard Henderson  <rth@cygnus.com>
471
472         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
473         add new_set.
474         (propagate_one_insn): Clear it.  Don't update reg_live here.
475         (init_propagate_block_info): Update for pbi member changes.
476         (free_propagate_block_info): Likewise.
477         (mark_set_1): Know that zero_extract, sign_extract, and
478         strict_low_part don't kill their argument.  Alter hard subregs.
479         Update new_set for non-CLOBBER sets.  Update reg_live.
480         (find_auto_inc): Update reg_live, not new_dead.
481         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
482         to determine if the reg in question was set this insn.  Only update
483         reg info with PROP_REG_INFO.
484
485 2000-04-26  Richard Henderson  <rth@cygnus.com>
486
487         * flow.c (allocate_reg_life_data): Set max_regno here ...
488         (life_analysis): ... not here.
489
490         * flow.c (calculate_global_regs_live): Force stack pointer
491         live at end.
492
493 2000-04-26  Richard Henderson  <rth@cygnus.com>
494
495         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
496         commit change group changes.
497         (invert_exp_1): Similarly.
498         (redirect_exp, invert_exp): Use them.
499         (redirect_jump_1): New.
500         (invert_jump_1): New.
501         (jump_optimize_1): Remove code subsumed by condexec.c.
502         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
503
504 2000-04-26  Richard Henderson  <rth@cygnus.com>
505
506         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
507
508         * genconfig.c (main): Set all HAVE_foo to 1.
509
510         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
511
512 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
513
514         * invoke.texi: Document -fssa flag.
515
516 2000-04-26  Richard Henderson  <rth@cygnus.com>
517
518         * flow.c (count_reg_sets_1): Remove.
519         (count_reg_sets, count_reg_references): Remove.
520         (recompute_reg_usage): Implement with update_life_info.
521         Reallocate life data.
522
523 2000-04-26  Richard Henderson  <rth@cygnus.com>
524
525         * flow.c (update_life_info): Consider blocks null to mean the
526         universal set.
527         (calculate_global_regs_live): Likewise.
528         (life_analysis): Do that instead of collecting all_blocks.
529
530 2000-04-26  Richard Henderson  <rth@cygnus.com>
531
532         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
533         a still-valid conditional jump.
534
535 2000-04-26  Richard Henderson  <rth@cygnus.com>
536
537         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
538
539         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
540         * flow.c (calculate_loop_depth): Remove.
541         * output.h (calculate_loop_depth): Don't declare.
542         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
543         inline; run estimate_probability at the same time.
544
545 2000-04-26  Neil Booth  <NeilB@earthling.net>
546
547         * cpplib.h: "~=" is not a single pp-token.
548         * cpplex.c: Correct commentary.
549
550 2000-04-26  Richard Henderson  <rth@cygnus.com>
551
552         * flow.c (mark_set_1): New arguments code and flags; update all
553         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
554         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
555         loop_depth when optimizing for size.  Do new_dead update after
556         emitting REG_UNUSED notes.  Merge mark_set_reg code.
557         (mark_set_reg): Remove.
558         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
559         arrange to not emit REG_UNUSED notes.
560
561 2000-04-26  Richard Henderson  <rth@cygnus.com>
562
563         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
564         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
565
566 2000-04-26  Richard Henderson  <rth@cygnus.com>
567
568         * flow.c (propagate_one_insn): Break out from propagate_block.
569         (init_propagate_block_info): Likewise.
570         (free_propagate_block_info): Likewise.
571         (propagate_block): Use them.  Export.
572         * basic-block.h: Declare them all.
573
574 2000-04-26  Richard Henderson  <rth@cygnus.com>
575
576         * basic-block.h (life_analysis): Declare here ...
577         * output.h: ... not here.
578         * flow.c (life_analysis): Remove nregs parameter; replace
579         remove_dead_code with flags.  Remove ssa dead code check.
580         Only init alias analysis if we'll use it.
581         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
582         * ssa.c (convert_to_ssa): Likewise.
583         (convert_from_ssa): Likewise.
584         * toplev.c (rest_of_compilation): Likewise.
585
586 2000-04-26  Richard Henderson  <rth@cygnus.com>
587
588         * flow.c (flow_delete_block): Rename from delete_block.  Export.
589         * basic-block.h (flow_delete_block): Declare.
590
591 2000-04-26  David S. Miller  <davem@redhat.com>
592
593         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
594         taking a PATTERN of it.
595
596 2000-04-26  <NeilB@earthling.net>
597
598         * cpplex.c (spell_other, spell_char): Remove.
599         (SPELL_CHAR): New.
600         (token_spelling, trigraph_map): Use unsigned chars.
601         (_cpp_lex_line): Tidy up the switch statement.
602         * cpplib.h: Implement spell_char with spell_string.
603         (C): New.
604
605 2000-04-26  <RodneyBrown@pmsc.com>
606
607         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
608         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
609
610 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
611
612         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
613         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
614         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
615         dwarf2out_return_save, dwarf2out_return_reg,
616         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
617         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
618         gen_compile_unit_die, dwarf2out_init): Constify a char*.
619
620         * dwarf2out.h (dwarf2out_init): Likewise.
621
622         * dwarfout.c (filename_entry, primary_filename, last_filename,
623         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
624
625         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
626         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
627         dwarf2out_return_reg): Likewise.
628
629 2000-04-26  Andreas Jaeger  <aj@suse.de>
630
631         * extend.texi (Function Attributes): Fix description of pure
632         attribute.
633
634 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
635
636         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
637         before calling rest_of_compilation.
638
639 2000-04-26  Andreas Jaeger  <aj@suse.de>
640
641         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
642         last patch.
643
644 2000-04-25  Richard Henderson  <rth@cygnus.com>
645
646         * cse.c (cse_insn): Emit barrier after unconditional jump.
647
648         * calls.c (expand_call): Disable tail call generation once
649         rtx_equal_function_value_matters is false.
650
651         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
652         like EDGE_EH edges.
653
654 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
655
656         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
657
658         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
659
660         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
661         is the primary DIE for a member function.
662         (gen_decl_die): Call set_decl_origin_self here.
663         * dwarfout.c (output_decl): And here.
664         * integrate.c (output_inline_function): Not here.
665         Don't clear DECL_INLINE until after calling rest_of_compilation.
666         (set_decl_origin_self): No longer static.
667         * tree.h: Add prototype.
668         * toplev.c (note_deferral_of_defined_inline_function): Only write
669         out abstract instance for actual inlines.
670
671 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
672
673         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
674         EXTENDED_REGS only if TARGET_AM33.
675         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
676         SP_REGS to register allocation and reloading unless absolutely
677         necessary.
678         (movsi3): Remove special-case of adding non-constants to SP.
679
680 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
681
682         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
683         INCLUDES to search and does not provide any of its own.  Also it
684         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
685         parameters.  Also it does not call AC_DEFINE.
686         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
687         AC_DEFINE and provides for automatic entries for autoheader.
688         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
689
690         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
691         so we can pass -I flags and include gansidecl.h/system.h in this
692         test.
693
694         * acconfig.h: Delete all NEED_DECLARATION_* entries.
695
696 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
697
698         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
699         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
700         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
701
702         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
703         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
704         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
705         for these macros.  Clean up spacing and linewraps.
706
707 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
708
709         * calls.c (expand_call): Use get_callee_fndecl.
710
711         * print-tree.c (print_node): Print the chain of an _EXPR.
712
713 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
714                           Jim Wilson  <wilson@cygnus.com>
715                           Andrew Haley  <aph@cygnus.com>
716
717         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
718         and gp save/restore problems.
719         * config/ia64/crtend.asm: Add IA-64 unwind support.
720         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
721         in fr_pad_size calculation.
722         (save_restore_insns): Move PR save area.  Correct uses of
723         RTX_FRAME_RELATED_P.
724         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
725         (ia64_expand_epilogue): Add eh_epilogue support.
726         (ia64_function_prologue): Emit .prologue directive.
727         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
728         (ia64_override_options): Set init_machine_status and
729         mark_machine_status.
730         (rtx_needs_barrier): Handle bsp reads and writes.
731         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
732         New static variables.
733         (process_set, process_for_unwind_directive): New functions.
734         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
735         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
736         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
737         macros.
738         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
739         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
740         (struct machine_function): Define.
741         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
742
743 2000-04-25  Bruce Korb  <bkorb@gnu.org>
744
745         * fixinc/Makefile.in: make the removal of old programs more
746         robust
747         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
748         install-bin and install-sh
749
750 2000-04-25  Nick Clifton  <nickc@cygnus.com>
751
752         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
753         defined, define to return zero.
754         (function_cannot_inline_p): If a function has any target
755         specific attributes, then use the macro
756         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
757         whether it can be inlined.  If it cannot, issue a suitable
758         explanation.
759
760         * tm.texi: Add a new node 'Inlining' to document the new macro
761         FUNCTION_ATTRIBUTE_INLINABLE_P.
762
763 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
764
765         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
766         commentary.
767
768 2000-04-25  Neil Booth  <NeilB@earthling.net>
769
770         Restore previous patch, plus the following fixes:
771
772         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
773         flags, not CPP_OPEN_PAREN.
774         * cpplex.c (expand_token_space, init_token_list,
775         cpp_free_token_list): Put the dummy token at list->tokens[-1].
776         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
777
778 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
779
780         * config/i386/freebsd.h (INT_ASM_OP): Define.
781
782 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
783
784         * loop.c (strength_reduce): Fix typo in the last checkin.
785
786 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
787
788         * stor-layout.c (finalize_record_size): Simplify to use existing
789         functions.
790         (compute_record_mode): No longer static.
791         * tree.h (compute_record_mode): New declaration.
792
793 2000-04-25  Neil Booth  <NeilB@earthling.net>
794
795         * Revert my patch below until cause of build failures
796         determined.
797
798 2000-04-25  Richard Henderson  <rth@cygnus.com>
799
800         * combine.c (combine_instructions): Add missing argument
801         to try_combine.
802
803         * toplev.c (rest_of_compilation): Delay sibcall optimization
804         until after emit_eh_context.
805
806 2000-04-24  Nick Clifton  <nickc@redhat.com>
807
808         * combine.c (combine_instructions): Do not try to combine a
809         sequence of insns when the second insn has been replaced by a
810         note.
811
812 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
813
814         * gcc.c (load_specs): New static function.
815         (read_specs): Use it.
816
817         * gcc.c (lookup_compiler): Make multiple passes for case
818         insensitive filesystems.
819
820 2000-04-24  Neil Booth  <NeilB@earthling.net>
821
822         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
823         * cpphash.h (_cpp_check_directive): new.
824         * cpplex.c (handle_newline, cpp_free_token_list,
825         init_trigraph_map, trigraph_ok, trigraph_replace,
826         backslash_start, skip_block_comment, skip_line_comment,
827         skip_whitespace, parse_name, parse_number, parse_string,
828         copy_comment, _cpp_lex_line, spell_char, spell_string,
829         spell_comment, spell_name, spell_other, _cpp_lex_file,
830         _cpp_output_list): new.
831         (expand_name_space): take length argument.
832         (init_token_list): add comment list initialisation.
833         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
834         instead of HSPACE_BEFORE.
835
836         * cpplib.c (_cpp_check_directive): new
837         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
838         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
839         (HSPACE_BEFORE): delete.
840         (TTYPE_TABLE): rearrange.
841         (struct cpp_toklist): update.
842
843 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
844
845         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
846         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
847         argument form of AC_DEFINE.
848
849         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
850         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
851         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
852         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
853         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
854
855         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
856
857 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
858
859         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
860         deduced.h): Use -isystem, not -I, for including system headers.
861
862 2000-04-24  Nick Clifton  <nickc@cygnus.com>
863
864         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
865         the source register is the frame pointer or arg pointer.
866         (addsi3_small_int): Disallow if source register is the frame
867         pointer or arg pointer.
868
869 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
870
871         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
872         call to AC_MSG_RESULT.
873
874 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
875
876         * invoke.texi: Correct grammatical errors, document
877         -fno-gnu-keywords as identical to -fno-asm for C++.
878
879 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
880
881         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
882         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
883         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
884         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
885         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
886
887         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
888         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
889         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
890         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
891         new macros names.
892
893 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
894
895         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
896         (pop_alignment): Likewise.
897         (handle_pragma_token): Likewise.
898
899 2000-04-24  Robert Lipe <robertlipe@usa.net>
900
901         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
902
903 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
904
905         * combine.c (try_combine): Update reg_nonzero_bits of
906         newi2pat before newpat.
907
908 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
909
910         * loop.c (strength_reduce): Simplify test to INSN_P.
911         (record_giv): Attempt to simplify the add value, use CONSTANT_P
912         expressions instead of CONST_INT.
913         (express_from_1): Likewise.
914
915 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
916
917         * regs.h (reg_n_max): Don't declare.
918         * flow.c (reg_n_max): Don't define.
919         * regclass.c (renumber): Don't initialize to zero.
920         (regno_allocated): Likewise.
921         (reg_n_max): Define.
922         (allocate_reg_info): Don't initialize unnecessarily.
923
924 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
925
926         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
927         and blockage_p in the newly allocated attribute.
928
929 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
930
931         * config/mn10300/mn10300.md (addsi): `inc4' on address
932         registers does not modify cc, but `inc' on an extended
933         register does.
934
935 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
936
937         * reload.c (find_equiv_reg): Checks all valueno regs
938         as a reload_reg_p regs.
939
940 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
941
942         * cpphash.c (collect_objlike_expansion): Add sanity check.
943         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
944         the buffer is the empty string, return.  Mark __DATE__ and
945         __TIME__ as XCONST nodes, not MCONST.
946         (_cpp_macroexpand): Avoid pushing an empty buffer.
947         (funlike_macroexpand): Don't pop token_buffer here.
948
949 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
950
951         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
952         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
953         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
954         (REGNO_OK_FOR_BASE_P): Define in terms of them.
955         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
956         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
957         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
958
959 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
960
961         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
962         constant MULT givs.
963
964 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
965
966         * cpphash.h (struct definition): Move file, line, col members...
967         (struct hashnode): ... here.  Also add 'disabled' flag.
968         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
969         T_IDENTITY.  Remove T_DISABLED.
970         Update prototypes.
971
972         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
973         (collect_expansion): Split into collect_objlike_expansion and
974         collect_funlike_expansion.
975         (_cpp_macroexpand): Split out scan_arguments, stringify, and
976         funlike_macroexpand.
977         (_cpp_compare_defs): Rename compare_defs, make static.
978         (_cpp_make_hashnode): Initialize hp->disabled.
979         (macro_cleanup): Adjust for new token types.  Clear
980         m->disabled.
981         (_cpp_create_definition): Move code here to determine what
982         sort of macro it is, and code to check for redefinitions, from
983         do_define.  Implement a few simple cases without creating a
984         full DEFINITION.
985         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
986         Handle the simple cases.
987         (push_macro_expansion): Set buf->has_escapes and hp->disabled
988         here.
989
990         * cppinit.c (builtin_array): Change MCONST to XCONST
991         everywhere.
992         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
993         fix check for disabled and function-like macros.
994         * cpplib.c (do_define): Move most logic to
995         _cpp_create_definition.
996         (do_undef): Handle new special token types.
997
998 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
999
1000         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
1001         of CONSTANT_P for mult_val; always use validate_change to update insn.
1002
1003 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
1004
1005         * cpphash.c (trad_stringify, add_pat): New functions.
1006         (collect_expansion): Restore support for -traditional syntax.
1007         Use trad_stringify and add_pat.
1008         (_cpp_macroexpand): Restore support for -traditional semantics.
1009         * cpplex.c (_cpp_scan_line): Don't change space_before if we
1010         get a COMMENT token.
1011         (_cpp_lex_token): Provide COMMENT tokens to caller if
1012         traditional and parsing_define_directive.
1013         (skip_comment): Warn about // comments if -Wtraditional.
1014         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
1015         proper node type.
1016         (do_undef): Don't warn about undefining EMPTY nodes.
1017
1018 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1019
1020         * loop.c (strength_reduce): Fix biv removal code.
1021
1022 2000-04-22  Richard Henderson  <rth@cygnus.com>
1023
1024         * predict.c (estimate_probability): Examine both sides of
1025         a branch for no exits.  Use 90% not 50% for predict taken.
1026         Reorg for one copy of note generation code.
1027
1028 2000-04-22  Richard Henderson  <rth@cygnus.com>
1029
1030         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
1031
1032 2000-04-22  Richard Henderson  <rth@cygnus.com>
1033
1034         * diagnostic.c (init_output_buffer): Don't initialize format_args.
1035         (output_clear): Likewise.
1036         (output_printf): Use va_copy.
1037         (vline_wrapper_message_with_location): Likewise.
1038         (v_message_with_decl): Likewise.
1039         (line_wrapper_printf): VA_START infor buffer.format_args directly.
1040         * system.h (va_copy): Provide default implementation.
1041
1042 2000-04-22  Richard Henderson  <rth@cygnus.com>
1043
1044         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
1045         the collected condition is not a constant.
1046
1047 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
1048
1049         * diagnostic.h: New file.
1050
1051         * Makefile.in (diagnostic.o): Depends on diagnostic.h
1052
1053         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
1054         various function prototypes.
1055         (diagnostic.h): #include.
1056         (struct output_buffer): Move into diagnostic.h.
1057         (get_output_prefix): Rename to output_get_prefix.  Export.
1058         (init_output_buffer): Export. Break out.  Ajust intialization.
1059         (output_space_left, output_append): Export.
1060         (output_newline): Rename to output_add_newline.  Export.
1061         (output_clear): Nullify additional output_buffer fields.
1062         (output_puts): Rename to output_add_string.  Export.
1063         (dump_output): Rename to output_flush_on.  Export.
1064         (build_location_prefix): Constify return-type.
1065         (emit_output_prefix): Rename to output_emit_prefix. Export.
1066         (set_real_maximum_length): New function.
1067         (output_set_maximum_length): Ditto
1068         (output_clear): Ditto.
1069         (output_add_character): Ditto.
1070         (output_add_integer): Ditto.
1071         (output_add_space): Ditto.
1072         (output_format): Ditto.
1073         (output_printf): Adjust buffer initialization.
1074         (vline_wrapper_message_with_location): Ditto.
1075         (v_message_with_decl): Ditto.  Adjust call to output_puts
1076         and get_output_prefix.
1077         (default_print_error_function): Adjust buffer intialization.
1078
1079 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1080
1081         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
1082         of VOID_TYPE.
1083
1084 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
1085
1086         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
1087         of explicit 0.
1088
1089 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
1090
1091         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
1092         accurate data about SP moves.
1093
1094 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
1095
1096         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
1097         aliases to AM33 registers.
1098
1099 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
1100
1101         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
1102         to all EXTENDED bitmaps.
1103
1104 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
1105
1106         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
1107         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
1108         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
1109
1110 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
1111
1112         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
1113         the operand is not constant.
1114
1115 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
1116
1117         * reload.c (find_equiv_reg): Checks all valueno and regno regs
1118         as a call-clobbered regs.
1119
1120 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1121
1122         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
1123         * rtl.h: Likewise.
1124         * rtl.def: Update comment.
1125         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
1126         * integrate.c (expand_inline_function): Likewise.
1127         * profile.c (branch_prob): Likewise.
1128         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
1129         * print-rtl.c (print_rtx): Likewise.
1130         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
1131         (reemit_notes): Likewise; also use enum insn_note.
1132
1133         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
1134         (place_field): Properly compute know and actual alignment.
1135
1136         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
1137         in proper format.
1138
1139         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
1140         note for REG1.
1141
1142 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
1143
1144         * cpphash.c (struct arg, struct arglist): Const-ify strings.
1145         (warn_trad_stringify, duplicate_arg_p): New helper functions.
1146         (collect_expansion): Rewrite to scan over a token list.
1147         Remove -traditional support.
1148         (collect_formal_parameters): Rename to collect_params; rewrite
1149         to scan over a token list.
1150         (_cpp_create_definition): Adjust to scan a token list.
1151         (_cpp_macroexpand): Remove -traditional support.
1152         (_cpp_compare_defs): Whitespace is now canonicalized.
1153         (comp_def_part): Delete function.
1154
1155         * cpphash.h: Update prototypes.
1156         * cpplex.c (init_token_list): Don't set lineno if there is no
1157         buffer.
1158         (pedantic_whitespace): New function.
1159         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
1160         consume a newline.  Use pedantic_whitespace.
1161         (_cpp_lex_token): Remove support for -traditional macros.
1162         (_cpp_get_define_token): Delete.
1163         (_cpp_get_directive_token): Do the real work here.  Use
1164         pedantic_whitespace.
1165         (_cpp_init_input_buffer): Initialize pfile->directbuf.
1166
1167         * cpplib.c (get_macro_name): Delete.
1168         (do_define): Read the entire line into pfile->directbuf, then
1169         feed the token list to _cpp_create_definition.
1170         * cpplib.h (HSPACE_BEFORE): new define.
1171         (struct cpp_reader): Add a toklist member, "directbuf".
1172
1173         * predict.c (estimate_probability): New heuristic: if a jump
1174         branches around a block with no successors, predict it taken.
1175         Disentangle control flow.
1176
1177 2000-04-20  Richard Henderson  <rth@cygnus.com>
1178
1179         * loop.c (emit_iv_add_mult): Revert last change.
1180
1181 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
1182
1183         * cpplib.h (enum cpp_ttype): Add token types for all
1184         punctuators.  Distinguish pp-numbers from valid C numbers.
1185         Give some tokens better names.  Initialize from macro.
1186         (struct cpp_name, cpp_token, cpp_toklist): New data
1187         structures.
1188         Update prototypes.
1189         * cpplex.c (bump_column, expand_name_space,
1190         expand_token_space, init_token_list, cpp_output_list,
1191         _cpp_scan_line):  New functions.
1192         (output_line_command): Add third argument, new line number.
1193         * cpphash.h: Update prototypes.
1194         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
1195         token names.
1196
1197 2000-04-20  Richard Henderson  <rth@cygnus.com>
1198
1199         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
1200
1201 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
1202
1203         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
1204         object pointed to.
1205
1206 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1207
1208         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
1209         REG_EQUAL note explaining the calculated value.
1210
1211         * calls.c (expand_call): Avoid unnecesary precalculation
1212         and outgoing parameters space guarding for sibling calls.
1213         (store_one_arg): Likewise.
1214
1215 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1216
1217         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
1218         (rest_of_compilation): Write sibling dump file and account
1219         for time as jump time.
1220         * invoke.texi: Update documentation on dump flags.
1221
1222 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
1223
1224         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
1225
1226 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
1227
1228         * cpphash.c (special_symbol): Represent an empty macro with
1229         "\r \r " not just "\r ".
1230         (_cpp_macroexpand): Correct condition for the foo ( ) special
1231         case.
1232         (unsafe_chars): Handle EOF as second argument.
1233         (push_macro_expansion): Simplify test for removing escape at
1234         end.  Do not trim both escapes if there is no text in between.
1235
1236 2000-04-19  Jim Blandy  <jimb@redhat.com>
1237
1238         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
1239         of PTR_SIZE, when appropriate.
1240
1241 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
1242
1243         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
1244         (USE_ENUM_BITFIELDS): Fix typo.
1245
1246 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1247
1248         * stor-layout.c (place_field): Set rli->offset_align properly.
1249
1250 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1251
1252         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
1253         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
1254         PARM_BOUNDARY): Remove unnecessary casts.
1255
1256 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1257
1258         * calls.c (precompute_arguments): Remove must_preallocate and
1259         args_size calls.
1260         (expand_call): Update call of precompute_arguments.
1261
1262         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
1263         check_insn_for_givs): Break out from ...
1264         (strength_reduce) ... here; use for_every_insn_in_loop to call
1265         check_insn_for_givs.
1266         * loop.h (for_every_insn_in_loop): Declare.
1267         (loop_insn_callback): New type.
1268
1269 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
1270
1271         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
1272         not nul-terminated.
1273
1274 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
1275
1276         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
1277         flag_pic and RELOC.
1278
1279 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
1280
1281         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
1282
1283         * configure.in: Delete --disable-cpplib option and all
1284         references to cpp_main.
1285         * configure: Regenerate.
1286         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
1287         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
1288         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
1289         cpp$(exeext).  Add --no-headers to makeinfo command line when
1290         generating INSTALL.  Install and uninstall cpp.1 manpage, not
1291         cccp.1.
1292         * install.texi: Delete all references to cexp.y/cexp.c.
1293         Delete ancient instructions for compiling GCC on 3b1.
1294         * INSTALL: Regenerate.
1295
1296         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
1297         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
1298         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
1299         cexp.c/cexp.y.
1300         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
1301         which is no longer tested anywhere.
1302
1303         * cppinit.c (handle_option): Don't run error message through
1304         gettext twice.
1305
1306 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1307
1308         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
1309         * cpperror.c (hashtab.h): Now include.
1310         * cppexp.c (hashtab.h): Likewise.
1311         * cpplex.c (hashtab.h): Likewise.
1312         * cppfiles.c (hashtab.h): Likewise.
1313         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
1314         to htab_find_slot_with_hash.
1315         * cpphash.c (hashtab.h): Now include.
1316         (_cpp_lookup_slot): INSERT is now enum insert_option.
1317         * cpphash.h (_cpp_lookup_slot): Likewise.
1318         * cppinit.c (hashtab.h): Include earlier.
1319         (initialize_builtins): Pass enum to htab_find_slot.
1320         * cpplib.c (hashtab.h): Now include.
1321         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
1322         (do_pragma_poison, do_assert): Likewise.
1323         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
1324         htab_find_slot_with_hash.
1325         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
1326         * tree.c (type_hash_add): Likewise.
1327         (build1): Minor cleanup.
1328
1329         * ggc-common.c: Add missing blanks.
1330         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
1331         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
1332
1333         * stmt.c (mark_case_node): New function.
1334         (mark_case_nesting): Call it.
1335
1336         * expmed.c (emit_store_flag): If comparing two-word integer
1337         with zero, can optimize NE, EQ, GE, and LT.
1338
1339         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
1340         * conflict.c: Minor cleanups.
1341         * optabs.c: Add blank line
1342         * simplify-rtx.c: Minor cleanups.
1343
1344 2000-04-18  Stan Cox  <scox@cygnus.com>
1345
1346         * gengenrtl.c (genlegend): Fix misspelling.
1347
1348 2000-04-18  Robert Lipe  <robertlipe@usa.net>
1349
1350         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
1351         bitfields of the host compiler are not signed quantities.
1352         * config.in: Regenerate.
1353         * configure: Regenerate.
1354         * system.h (USE_ENUM_BITFIELDS): Added.
1355         (ENUM_BITFIELDS): Added.
1356         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
1357         (SHORT_ENUM_BUG): Deleted.
1358         * tree.h (tree_common): Members `code', `mode', `built_in_class',
1359         now ENUM_BITFIELD.
1360         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
1361         (CODE_FIELD_BUG): Likewise.
1362         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
1363         (OLD_CC): Likewise.
1364         * config/m68k/x-ccur (X_CFLAGS): Likewise.
1365
1366 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
1367
1368         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
1369         mark is active.
1370
1371 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
1372
1373         * cppexp.c (lex): Don't assume tokens are NUL terminated.
1374         * cpplib.c (do_include, do_import, do_include_next,
1375         read_line_number, detect_if_not_defined): Likewise.
1376         * cpphash.c (collect_expansion): Likewise.
1377         (special_symbol, _cpp_macroexpand): Check return from
1378         cpp_file_buffer.
1379         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
1380         macros.  Delete all uses.
1381
1382         * gcc.dg/cpp-mi.c: Add two more test cases.
1383         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
1384
1385 2000-04-17  Richard Henderson  <rth@cygnus.com>
1386
1387         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
1388         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
1389
1390 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
1391
1392         * function.c (expand_function_start): Use hard_function_value to
1393         compute the RTL to use for DECL_RESULT.
1394
1395 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1396
1397         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
1398         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
1399          x86_memory_mismatch_stall): New global variables.
1400         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
1401         alloved; fix load penalties for Athlon.
1402         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
1403         x86_memory_mismatch_stall): Declare.
1404         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
1405          TARGET_MEMORY_MISMATCH_STALL): New.
1406         * i386.md (athlon scheduling parameters): Fix latencies according to
1407         Athlon Optimization Manual.
1408         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
1409         vector.
1410         (fsqrt instruction patterns): Set athlon_decode to direct.
1411         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
1412         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
1413         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
1414         and TARGET_PARTIAL_REGISTER_STALL machines.
1415         (pushdf_nointeger): New pattern.
1416         (pushdf_integer): Rename from pushdf.
1417         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
1418         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
1419
1420 2000-04-17  Richard Henderson  <rth@cygnus.com>
1421
1422         * loop.c (canonicalize_condition): Add WANT_REG argument.
1423         Stop the search if we match it.
1424         * expr.h (canonicalize_condition): Update decl.
1425         * predict.c (expected_value_to_br_prob): Use it.  Track last
1426         expected value note.
1427         (find_expected_value): Remove.
1428
1429         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
1430
1431 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
1432
1433         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
1434         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
1435         a plain file.
1436         * configure.in: Call AC_FUNC_MMAP_FILE.
1437         * configure: Regenerate.
1438         * config.in: Regenerate.
1439
1440         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
1441         * fixinc/fixincl.c: Likewise.
1442
1443 2000-04-17  Richard Henderson  <rth@cygnus.com>
1444
1445         * builtins.c (expand_builtin_expect): New.
1446         (expand_builtin): Call it.
1447         * builtins.def (BUILT_IN_EXPECT): New.
1448         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
1449         * extend.texi: Document it.
1450
1451         * predict.c (expected_value_to_br_prob): New.
1452         (find_expected_value): New.
1453         * basic-block.h (expected_value_to_br_prob): Declare.
1454         * toplev.c (rest_of_compilation): Invoke it.
1455
1456         * rtl.h (NOTE_EXPECTED_VALUE): New.
1457         (NOTE_INSN_EXPECTED_VALUE): New.
1458         * rtl.c (note_insn_name): Update.
1459         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
1460         cases; handle NOTE_INSN_EXPECTED_VALUE.
1461
1462 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
1463
1464         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
1465         leaf sibcall delay slot if flag_pic.
1466         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
1467
1468 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1469
1470         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
1471
1472         * fixproto: If fix-header fails, exit with an error.
1473
1474 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1475
1476         * cse.c (struct check_depdendence_data): New.
1477         (check_dependence): New function.
1478         (invalidate): Use check_depdenence.
1479
1480 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
1481
1482         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
1483         UNITS_PER_WORD is unsigned.
1484
1485         * tree.h (struct tree_common): Remove misleading comment.
1486
1487 2000-04-16  Dave Pitts  <dpitts@cozx.com>
1488
1489         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
1490         message in quotes. Otherwise, IBM's make program treats the '#' as the
1491         start of a comment and ignores the remainder of the line.
1492
1493         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
1494         upper case.
1495         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
1496         * cexp.y (initialize_random_junk): Likewise.
1497         * cppfiles.c (find_include_file): Cast alloca return value.
1498         * cppinit.c (initialize_standard_includes): Likewise.
1499         * cpplib.c (cpp_define, cpp_undef): Likewise.
1500         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
1501         * final.c (output_asm_insn): Allow for holes in EBCDIC.
1502         * fold-const.c (CHARMASK): New.
1503         (real_hex_to_f): Use it.
1504         * real.c (CHARMASK): New.
1505         (etoasc, asctoeg): Use it.
1506         (asctoeg): EBCDIC lower case characters preceed upper case.
1507
1508         * i370.c (mvs_add_label): Change spacing for coding conventions.
1509         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
1510         outputing case vectors.
1511         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
1512         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
1513         since vector in in the data CSECT.
1514         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
1515         * i370.md (Many patterns): Put the length in the XL directives.
1516         (movdi): Put back STM and MVC in definition.
1517         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
1518         pattern using the TCA.
1519         * oe.h (CPP_SPEC): Added to allow trigraphs.
1520         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
1521         not support the "long long" type.
1522
1523 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
1524
1525         * config/mips/mips-protos.h (mips_legitimate_address_p): New
1526         function.
1527         (mips_reg_mode_ok_for_base_p): Likewise.
1528         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
1529         (REG_OK_FOR_INDEX_P): Define unconditionally.
1530         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
1531         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
1532         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
1533         that GET_MODE_SIZE is unsigned.
1534         (mips_reg_mode_ok_for_base_p): Define.
1535         (mips_legitimate_address_p): Likewise.  Adjust now
1536         that GET_MODE_SIZE is unsigned.
1537         (block_move_loop): Make the number of bytes unsigned.
1538         (expand_block_move): Likewise.
1539         (function_arg): Make the loop counter unsigned to match the
1540         boundary condition.
1541
1542 2000-04-16  Richard Henderson  <rth@cygnus.com>
1543
1544         * rtl.h (enum insn_note): New enumeration.  Subsume
1545         NOTE_INSN_DELETED and friends.
1546         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
1547         * rtl.c (note_insn_name): Tweak string order.
1548
1549 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
1550
1551         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
1552         to offset * 2.
1553
1554         * cpplex.c (output_line_command): Remove debugging prints.
1555         (cpp_output_tokens): Don't write out a zero-length buffer or
1556         try to see if it has a newline in it.
1557         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
1558         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
1559         the end of the loop.  Use memmove.  Don't read past the end of
1560         the buffer.  Remove trailing newlines from error messages.
1561
1562 2004-04-16  Neil Booth  <NeilB@earthling.net>
1563
1564         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
1565         * cpplib.c: Add new syntax flags to directive table, and
1566         supporting macros.
1567
1568 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
1569
1570         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
1571         using ret $N.
1572
1573 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
1574
1575         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
1576         * haifa-sched.c: Update -fsched-verbose comments to use "=".
1577
1578 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1579
1580         * Makefile.in (ggc-page.o): Now includes toplev.h.
1581         * ggc-page.c (toplev.h): Now included.
1582         (gc_time): Remove declaration.
1583         (ggc_collect): TIME now long.
1584         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
1585         others static.
1586         * toplev.h (gc_time, parse_time, gc_time): New declarations.
1587
1588         * toplev.c: Make *_time variable long to reduce chance of overflow.
1589         (TIMEVAR): Likewise for `otime'.
1590         (print_time): Arg is now long; compute percentage in FP and round.
1591         * toplev.h (print_time): Arg is long.
1592
1593         * tree.c: Minor whitespace changes.
1594
1595         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
1596         * configure: Rebuilt.
1597         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
1598         (__fixunsxfDI): Renamed from __fixunsxfdi.
1599         (__fixunsdfDI): Renamed from __fixunsdfdi.
1600         (__fixunssfDI): Renamed from __fixunssfdi.
1601         (__floatdisf): Use proper type in REP_BIT macro.
1602         (__fixunsxfSI): Renamed from __fixunsxfsi.
1603         (__fixunsdfSI): Renamed from __fixunsdfsi.
1604         (__fixunssfSI): Renamed from __fixunssfsi.
1605         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
1606         Change location of macros and upper-case some names as above.
1607         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
1608         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
1609
1610         * varasm.c (assemble_variable): Add cast to remove warning.
1611         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
1612
1613         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
1614         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
1615         region number to -1.
1616
1617 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
1618
1619         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
1620         call unshare_all_rtl.
1621
1622         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
1623
1624 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
1625
1626         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
1627         Use .s1 not .s0 for all FP instructions.
1628
1629 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
1630
1631         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
1632         interfaces.
1633         (safe_fwrite, output_line_command): New static functions.
1634         (cpp_expand_to_buffer): Now private to cpplib.
1635         (cpp_scan_buffer): Take a printer.
1636
1637         * cpphash.h: Update prototypes.
1638         * cpplib.h: Update prototypes.
1639         (cpp_printer): New.
1640         (cpp_buffer): Remove last_nominal_fname.
1641         (cpp_reader): Remove lineno.
1642
1643         * cppmain.c: Use a cpp_printer.
1644         * fix-header.c: No need to inhibit line commands.  Call
1645         cpp_start_read with no printer.
1646
1647         * cpperror.c (cpp_notice_from_errno): Provide default name.
1648         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
1649         (find_include_file, cpp_read_file): Use make_IHASH.
1650         (file_cleanup): Set control_macro and clear
1651         input_stack_listing_current here.
1652         (_cpp_execute_include): Don't output entering-file marker.
1653         * cpphash.c (special_symbol): Look for the line number in the
1654         buffer, not the reader.
1655         (_cpp_macroexpand): No need to disable line commands.
1656         (_cpp_dump_definition): No need to generate line commands.
1657         (dump_hash_helper): Remove excess newline from output.
1658         * cppinit.c (dump_special_to_buffer): No need to generate line
1659         commands.
1660         (cpp_printer_init): New.
1661         (cpp_start_read): Take a printer, and start it up if it's not
1662         NULL.  No need to generate line commands.
1663         (cpp_finish): Expect no buffers stacked at all.  Take a
1664         printer argument, and flush the output buffer if it's not
1665         NULL.
1666         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
1667         Don't put two hashes at the beginning of an assertion.
1668         (cpp_get_token): Don't increment pfile->lineno or emit line
1669         commands here.  Return EOF if there's no buffer when we get
1670         EOF.
1671         * cpplib.c (do_define, skip_if_group):
1672         No need to disable line commands.
1673         (_cpp_output_line_command): Delete function.
1674         (do_line): Don't emit line commands here, but set things up so
1675         they will be emitted if necessary.  Use _cpp_fake_ihash to
1676         make unique nominal_fnames if necessary.
1677         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
1678         with 0 for column, not -1.
1679         (_cpp_handle_eof): Don't set the control macro here.  Don't
1680         clear input_stack_listing_current here.  Don't emit line
1681         commands.
1682
1683 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
1684
1685         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
1686         always, use the default SVR4 start address.
1687
1688         * config/rs6000/linux.h (LINK_SPEC): Don't define.
1689         (LINK_SHLIB_SPEC): Define.
1690         (LINK_START_DEFAULT_SPEC): Define.
1691         (LINK_OS_DEFAULT_SPEC): Define.
1692
1693         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
1694
1695         * config/rs6000/eabi.asm (__eabi): Call __init rather than
1696         __do_global_ctors to handle constructors.
1697         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
1698         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
1699         (STARTFILE_MVME_SPEC): Likewise.
1700         (STARTFILE_SIM_SPEC): Likewise.
1701         (ENDFILE_ADS_SPEC): Use crtend.
1702         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
1703         (ENDFILE_MVME_SPEC): Likewise.
1704         (ENDFILE_SIM_SPEC): Likewise.
1705         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
1706         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
1707         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
1708         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
1709         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
1710         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
1711         (CRTSTUFF_T_CFLAGS_S): Define.
1712         * config/rs6000/eabi-ctors.c: Delete.
1713
1714         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
1715         boundary.
1716         (__fini): Likewise.
1717         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
1718         boundary.
1719         (__fini): Likewise.
1720
1721 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
1722
1723         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
1724         plus mask size is smaller or equal to the mode size.
1725
1726 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1727
1728         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
1729         not yet set.
1730
1731         * expr.c (reload.h): Now included.
1732         (emit_block_move): Set volatile_ok when checking for movstr.
1733         (emit_move_1): Check for replacements in addresses in multi-word case.
1734         * Makefile.in (expr.o): Now includes reload.h.
1735
1736         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
1737         Never have a LIBCALL end a basic block.
1738         (find_basic_blocks_1): Likewise.
1739         Reorganize CALL_INSN cases.
1740
1741         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
1742
1743 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
1744
1745         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
1746         completers from mov.ret instruction.
1747
1748 2000-04-14  Richard Henderson  <rth@cygnus.com>
1749
1750         * fold-const.c (extract_muldiv): Don't distribute and widen
1751         multiply across plus for non-sizetype unsigned types.
1752
1753 2000-04-14  Richard Henderson  <rth@cygnus.com>
1754
1755         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
1756         If the original source is dead in the incr insn, it's dead now.
1757
1758 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1759
1760         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
1761         see if DECL_BIT_FIELD needs to still be set.
1762
1763         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
1764
1765         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
1766         print_int_cst_octal with something that's not an INTEGER_CST.
1767
1768         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
1769         and not a SUBREG to a FLOAT rtl.
1770
1771 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
1772
1773         * emit-rtl.c (try_split): Avoid infinite loop if the split
1774         results in a sequence that contains the original insn.
1775
1776 2000-04-13  Andreas Jaeger  <aj@suse.de>
1777
1778         * config/mips/mips.c (expand_block_move): Pass alignment
1779         argument to move_by_pieces in bits, not bytes.
1780
1781         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
1782         __pic__ for little endian.
1783
1784 2000-04-13  Andreas Jaeger  <aj@suse.de>
1785
1786         * config/i386/i386-protos.h: Add prototype for
1787         uno_comparison_operator.
1788
1789 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1790
1791         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
1792         * calls.c (ECF_PURE): New flag.
1793         (emit_call_1): Handle ECF_PURE calls.
1794         (initialize_argument_information): Unset ECF_PURE flag too.
1795         (precompute_arguments): Precompute for ECF_PURE too.
1796         (expand_call): Handle ECF_PURE calls too.
1797         (emit_library_call_value_1): Rename no_queue argument to fn_type,
1798         accept value of 2 as pure function.
1799         (emit_library_call_value, emit_library_call): Rename no_queue argument
1800         to fn_type.
1801         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
1802
1803         * tree.h (DECL_IS_PURE): New macro.
1804         (struct tree_decl): Add pure_flag.
1805         * c-common.c (enum attrs): Add attribute "pure".
1806         (init_attributes): Initialize attribute "pure"
1807         (decl_attributes): Handle attribute "pure".
1808         * extend.texi (Attribute "pure"): Document.
1809         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
1810         in pure function.
1811         (flags_from_decl_or_type): Support attribute "pure".
1812
1813 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
1814
1815         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
1816         the token except for numbers and identifiers.
1817
1818 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
1819
1820         * i386.c (ix86_expand_binary_operator,
1821         ix86_expand_unary_operator): Check no_new_pseudos
1822         instead of reload_in_progress and reload_completed.
1823         (ix86_split_ashldi, ix86_split_ashrdi,
1824         ix86_split_lshrdi): Check no_new_pseudos instead
1825         of reload_completed.
1826
1827 2000-04-12  Jeffrey A Law  (law@cygnus.com)
1828
1829         * function.c (purge_addressof): Unshare any shared rtl created by
1830         purge_addressof and its children.
1831
1832 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
1833
1834         * function.c (aggregate_value_p): VOID_TYPE nodes are never
1835         aggregates.
1836
1837 2000-04-05  Andreas Jaeger  <aj@suse.de>
1838
1839         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
1840         not compiling PIC code, add flags for mabi=64.
1841         (SUBTARGET_CPP_SIZE_SPEC): New.
1842         (SUBTARGET_CPP_SPEC): New.
1843         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
1844         for MIPS/Linux and lots of code needs these defines.
1845
1846 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
1847
1848         * reorg.c (fill_slots_from_thread): Check side_effects_p when
1849         trying the "opposite arithmetic" approach.
1850
1851 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1852
1853         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
1854         (struct sh_args): Add new field force_mem.
1855         (INIT_CUMULATIVE_ARGS): Initialize it.
1856         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
1857
1858 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1859
1860         * calls.c (expand_call): Do not reverse args in "equal from" field.
1861         (emit_library_call_value_1): Emit_libcall_block for const and pure
1862         function.
1863
1864 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1865
1866         * reload1.c (reload_combine): Don't enable optimization for fixed
1867         registers when encountering a BARRIER.
1868
1869 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1870
1871         * builtins.c (expand_builtin_memcmp): Do expansion even with
1872         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
1873
1874         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
1875         stack is propertly aligned; add sanity checking for aligned
1876         stack pointer.
1877         (expand_library_call_value_1): Add sanity checking for aligned
1878         stack pointer.
1879
1880 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
1881
1882         * calls.c (emit_library_call_value_1): Change 3rd arg to
1883         locate_and_pad_parm to disregard the setting of partial.
1884
1885 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1886
1887         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
1888
1889         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
1890         CALL_INSN from the normal case.
1891
1892 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1893
1894         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
1895         New global variables.
1896         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
1897         adjustment.
1898         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
1899         Declare,
1900         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
1901          TARGET_ADD_ESP_8): New macros.
1902         * i386.md: Add peep2s to convert esp adjustments to push and pop
1903         instructions.
1904         (pushsi_prologue, popsi_epilogue): New patterns.
1905
1906 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
1907
1908         * real.c (toe64): Remove stale #endif from the last change.
1909
1910 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
1911
1912         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
1913         * real.c (toe64): Revert previous change.
1914
1915 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
1916
1917         * objc/objc-act.c: Include ggc.h.
1918         (objc_tree_index, objc_global_trees): Convert most of the
1919         static tree variables into a static array with previous names
1920         as defines.
1921         (objc_ellipsis_node): New variable.
1922         (lang_init): Call objc_act_parse_init and c_parse_init.
1923         Create objc_ellipsis_node.
1924         (build_selector_translation_table): Use objc_ellipsis_node instead
1925         of (tree)1.
1926         (hack_method_prototype): Likewise.
1927         (get_arg_type_list): Likewise.
1928         (start_method_def): Likewise.
1929         (continue_method_def): Likewise.
1930         (gen_method_decl): Likewise.
1931         (ggc_mark_imp_list): New function.
1932         (ggc_mark_hash_table): New function.
1933         (objc_act_parse_init): New function.
1934         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
1935         * c-parse.in (c_parse_init): For objc add roots of objc specific
1936         local tree variables.
1937         * objc/objc-parse.y: Rebuilt.
1938         * objc/objc-parse.c: Rebuilt.
1939         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
1940
1941 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
1942
1943         * cse.c (delete_trivially_dead_insns): Also delete insns
1944         that copy a register to itself where the destination is
1945         a strict_low_part.
1946
1947 2000-04-11  Richard Henderson  <rth@cygnus.com>
1948
1949         * flow.c (struct propagate_block_info): Add new_dead, new_live.
1950         (propagate_block): Initialize them.  Use them in parallel instead
1951         of one tmp variable, ie revert much of the 0408 and 0407 functional
1952         changes, but keep the structural changes.
1953         (mark_set_regs): Take new_dead from propagate_block_info instead.
1954         (mark_set_1, mark_set_reg): Likewise.
1955         (mark_used_regs): Likewise with new_live.
1956         (mark_used_reg): Likewise.  Revert 0408 change.
1957
1958 2000-04-11  Nick Clifton  <nickc@cygnus.com>
1959
1960         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
1961         restriction.
1962         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
1963
1964 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1965
1966         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
1967         const section to output a CONSTRUCTOR based on the same conditions
1968         used for VAR_DECLs.
1969
1970 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
1971
1972         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
1973         * pa/pa-protos.h (output_call): Add additional argument indicating
1974         if the call is a sibling/tail call.
1975         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
1976         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
1977         (function_arg, function_arg_partial_nregs): Likewise
1978         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
1979         (emit_move_sequence): Zero extend certain constants as needed
1980         for TARGET_64BIT.
1981         (compute_zdepdi_operands, output_64bit_and): New functions.
1982         (output_64bit_ior, function_arg): Likewise.
1983         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
1984         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
1985         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
1986         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
1987         (output_bvb): Likewise.
1988         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
1989         (output_call): New argument 'sibcall'.  Generate sibcall sequences
1990         as needed.
1991         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
1992         (ouput_arg_descriptor): Do not emit argument descriptors for
1993         TARGET_64BIT.
1994         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
1995         defined.
1996         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
1997         (FUNCTION_OK_FOR_SIBALL): Define.
1998         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
1999         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
2000         (CPP_SPEC): Use new spec infrastructure.
2001         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
2002         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
2003         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
2004         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
2005         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
2006         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
2007         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
2008         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
2009         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
2010         (FUNCTION_ARG); Call out to C code.
2011         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
2012         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
2013         (MIN_UNITS_PER_WORD): Likewise.
2014         * pa/pa.md (cmpdi): New expander.
2015         (scc patterns, movstrsi): Not available for TARGET_64BIT.
2016         (64bit conditional arithmetic): New patterns.
2017         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
2018         (movsicc): Not available if modes on all the operands to not match.
2019         (movdicc): New expander and associated patterns.
2020         (64bit branches): New patterns.
2021         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
2022         (pre_ldd, post_std): New patterns.
2023         (64bit addil, load low part): New patterns.
2024         (special movsf constant): Not available for TARGET_64BIT.
2025         (movsf, movdf expanders): Force constants into memory.
2026         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
2027         (64bit movdf/movdi patterns): New patterns.
2028         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
2029         for TARGET_64BIT.
2030         (extendqidi2, extendhidi2, extendsidi2): Similarly.
2031         (adddi3 expander): Allow "arith_operand" for second input.
2032         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
2033         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
2034         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
2035         (muldi3): New expander for TARGET_64BIT.
2036         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
2037         for TARGET_64BIT.
2038         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
2039         patterns for TARGET_64BIT.
2040         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
2041         patterns for TARGET_64BIT.
2042         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
2043         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
2044         (sibcall_epilogue): New expander.
2045         (casesi): Tweak for TARGET_64BIT.
2046         (call expanders): Set & use the outgoing argument pointer.  Use the
2047         64bit call patterns as needed. Add additional arg to output_call.
2048         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
2049         (sibcall, sibcall_internal_symref): New expanders.
2050         (sibcall_value, sibcall_value_internal_symref
2051         (interspace_jump): Turn into an expander + matching patterns.
2052         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
2053         * pa/pa64-regs.h: Eliminate trigraph sequences.
2054         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
2055
2056 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
2057
2058         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
2059         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
2060         cpp_token with cpp_ttype everywhere.
2061         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
2062         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
2063         CPP_BUF_COL.  Line and column numbers are unsigned int, not
2064         long.
2065         * cpplex.c (cpp_buf_line_and_col): Delete.
2066         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
2067         'long lineno' to 'unsigned int lineno'.
2068         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
2069
2070 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2071
2072         * extend.texi: ISO C99 is not a draft anymore.
2073         * invoke.texi: ISO C++ is not a draft anymore.
2074         * cpp.texi: __cplusplus is required by the ISO standard.
2075
2076         * extend.texi (-fthis-is-variable): Undocument.
2077         * flags.h (warn_template_debugging): Remove declaration.
2078         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
2079         -Wenum-clash, -Wtemplate-debugging): Undocument.
2080
2081 2000-04-10  Nick Clifton  <nickc@cygnus.com>
2082
2083         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
2084         integer.
2085         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
2086         integer.
2087         (ARM_SIGN_EXTEND): Use HOST_UINT.
2088         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
2089         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
2090         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
2091         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
2092
2093         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
2094         (arm_gen_constant): Use HOST_UINT.
2095         (arm_canonicalize_constant): Use HOST_UINT.
2096         (arm_reload_in_hi): Use HOST_UINT.
2097         (arm_reload_out_hi): Use HOST_UINT.
2098         (output_multi_immediate): Use HOST_UINT.
2099         (int_log2): Use HOST_UINT.
2100         (arm_poke_function_name): Use HOST_UINT.
2101         (arm_output_epilogue): Use arm_volatile_func().
2102         (output_thumb_prologue): Use arm_strip_name_encoding().
2103
2104 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2105
2106         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
2107         of sequence point problems.
2108
2109 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
2110
2111         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
2112         Recomment.
2113         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
2114
2115 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2116
2117         * sbitmap.h: Whitespace changes and use upper-case macro args.
2118         (struct simple_bitmap_def): All sizes now unsigned.
2119         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
2120         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
2121         (sbitmap_vector_alloc): Parms and local vars now unsigned.
2122         (sbitmap_zero): Cast bzero arg to PTR.
2123         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
2124         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
2125         loop to make structure clearer.
2126         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
2127         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
2128         (sbitmap_a_and_b_or_c): Likewise.
2129         (sbitmap_intersection_of_succs): Minor cleanups.
2130         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
2131         (sbitmap_union_of_preds): Likewise.
2132         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
2133         (debug_sbitmap): New function.
2134
2135         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
2136         * c-typeck.c (convert_for_assignment): Likewise.
2137
2138         * expmed.c (init_expmed): Don't free objects we make.
2139         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
2140
2141         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
2142         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
2143
2144         * gcse.c (expr_hash_table_size): Now unsigned.
2145         (compute_ae_gen): Local variable `i' now unsigned.
2146         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
2147         (compute_transout, hoist_code): Likewise.
2148         (compute_local_properties): Likewise, also hash_table_size.
2149         (alloc_expr_hash_table): N_INSNS now unsigned.
2150         (delete_null_pointer_checks): Mark arg F as unused.
2151
2152         * regrename.c: Minor cleanups, including chang some variables
2153         to unsigned int.
2154
2155 2000-04-10  Neil Booth  <NeilB@earthling.net>
2156
2157         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
2158         than GETC ().
2159         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
2160
2161 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2162
2163         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
2164         __classof__, and __headof__ from the list of gnu keywords.
2165         (-ansi): Remove -foperator-names from list of implied options.
2166         Do not call it ANSI C++.
2167         (-foperator-names): Document as -fno-operator-names.
2168
2169 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
2170
2171         * cpphash.c (timestamp): Delete.
2172         (del_HASHNODE): If type is T_MCONST, free value.cpval.
2173         (special_symbol): Remove unnecessary braces.  Remove
2174         T_VERSION.  Treat T_STDC like T_CONST unless
2175         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
2176         when one is encountered, then convert them into T_MCONST
2177         nodes.
2178         * cppinit.c (builtin_array): version_string is T_MCONST.
2179         __STDC__ has a "1" in its cpval.  Don't have a terminator
2180         entry.  Clean up which entries are dumped.
2181         (initialize_builtins): Only __STDC__ gets the special
2182         -traditional treatment.  Count the length of builtin_array.
2183         Render version_string here.
2184         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
2185         * cpplib.h (struct cpp_reader): Remove timebuf.
2186
2187 2000-04-09  Richard Henderson  <rth@cygnus.com>
2188
2189         * genrecog.c (pred): Update comparison_operator for the unordered
2190         operators.
2191
2192         * config/i386/i386.c (no_comparison_operator): Disallow unordered
2193         operators.
2194         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
2195         (uno_comparison_operator): New.
2196         (put_condition_code): Handle UNORDERED/ORDERED.
2197         (unsigned_comparison): Likewise.
2198         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
2199         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
2200         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
2201         update all callers.  Handle all 8 unordered operators.
2202         (ix86_expand_setcc): Lose the unordered argument, update all callers.
2203         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
2204         * config/i386/i386.h (PREDICATE_CODES): Update.
2205         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
2206         (ix86_expand_branch, ix86_expand_setcc): Update.
2207         * config/i386/i386.md (sunordered, sordered): New.
2208         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
2209         (bunordered, bordered): New.
2210         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
2211         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
2212         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
2213
2214 2000-04-09  Philip Blundell  <philb@gnu.org>
2215
2216         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
2217
2218 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
2219
2220         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
2221         fix_truncxfhi2): New patterns.
2222         * i386.c (output_fix_trunc): Handle converting to HImode.
2223
2224 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
2225
2226         * ssa.c (convert_to_ssa): Eliminate dead code when calling
2227         life_analysis.
2228         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
2229         (for_each_successor_phi): Change parameter to basic_block.
2230         (coalesce_regs_in_successor_phi_nodes): Likewise.
2231         (coalesce_regs_in_copies): Likewise.
2232         (compute_coalesced_reg_partition): Use basic_block instead of index.
2233         * rtl.h (convert_to_ssa): Delete.
2234         (convert_from_ssa): Likewise.
2235         (successor_phi_fn): Likewise.
2236         (for_each_successor_phi): Likewise.
2237         (in_ssa_form): Likewise.
2238         * basic-block.h (convert_to_ssa): Moved from rtl.h.
2239         (convert_from_ssa): Likewise.
2240         (successor_phi_fn): Likewise.
2241         (in_ssa_form): Likewise.
2242         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
2243         * flow.c (calculate_global_regs_live): Pass a basic_block to
2244         for_each_successor_phi.
2245
2246 2000-04-08  Richard Henderson  <rth@cygnus.com>
2247
2248         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
2249         was modified in the current insn.
2250
2251 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
2252
2253         * arm/thumb.md: Delete.
2254         * arm/thumb-protos.h: Delete.
2255
2256 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
2257
2258         Merge changes from merged-arm-thumb-backend-branch onto trunk.
2259
2260         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
2261
2262         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
2263         into branch.
2264
2265         * arm.md (nop): Use the standard RTL expression.  Don't code as a
2266         define_expand.
2267         (*arm_nop, *thumb_nop): Delete.
2268
2269         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
2270         constants.  Use casts instead.
2271         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
2272         output_multi_immediate, arm_poke_function_name): Likewise.
2273         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
2274         MASK_RETURN_ADDDR): Likewise.
2275
2276         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
2277
2278         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
2279         into branch.
2280
2281         * arm.md (eh_epilogue): New function.
2282         * arm.h (struct machine_function): Move to here ...
2283         * arm.c: ... from here.
2284         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
2285         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
2286         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
2287
2288         2000-03-30  Nick Clifton  <nickc@cygnus.com>
2289
2290         * config/arm/semi.h (ASM_SPEC): Restore definition.
2291         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
2292
2293         * config/arm/elf.h (ASM_SPEC): Restore definition.
2294         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
2295
2296         * config/arm/arm.h (ASM_SPEC): Remove definition.
2297         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
2298
2299         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
2300
2301         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
2302
2303         2000-03-24  Nick Clifton  <nickc@cygnus.com>
2304
2305         Various formating tidyups, elimination of compile time
2306         warnings and synchronisation with internal sources:
2307
2308         * config/arm/arm-protos.h (assemble_align): Add prototype.
2309         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
2310         (gen_comapre_reg): Rename to arm_gen_compare_reg.
2311         (arm_return_addr_rtx): Rename to arm_return_addr.
2312
2313         * config/arm/arm.c: Include except.h.
2314         Define shorter typenames for strict minipool_node and struct
2315         minipool_fix.
2316         (arm_return_in_memory): For WinCE return all structures <= 32 bits
2317         in memory.
2318         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
2319         (gen_comapre_reg): Rename to arm_gen_compare_reg.
2320
2321         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
2322         already defined.
2323         (ASM_SPEC): Define if not already defined.
2324         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
2325
2326         * config/arm/arm.md: Rename references to gen_rotated_half_load to
2327         arm_gen_rotated_half_load, and references to gen_comapre_reg to
2328         arm_gen_compare_reg.
2329         (indirect_jump):  Only accept register operands.
2330         (load_indirect_jump): Keep this pattern since combine can generate
2331         it.
2332
2333         * config/arm/coff.h: Include aout.h.
2334         (MULTILIB_DEFAULTS): Only define if not already defined.
2335
2336         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
2337         into arm.h (so that COFF ports can support thumb based aliases).
2338         (ASM_SPEC): Move definition into arm.h
2339
2340         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
2341         redundant apcs spec.
2342         (ASM_SPEC): Move definition to arm.h
2343
2344         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
2345
2346         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
2347         for entries in the .bss section
2348
2349         2000-03-23  Nick Clifton  <nickc@cygnus.com>
2350
2351         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
2352         to thumb_far_jump_used_p.
2353
2354         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
2355         single integer parameter.
2356
2357         * config/arm/arm.c (struct machine_function): Add two new
2358         fields, 'far_jump_used' and 'arg_pointer_live'.
2359         (thumb_far_jump_used_p): Once the decision has been made that
2360         far jumps might be used, always return true.
2361         If being called from the initial elimination offset macro then
2362         do not bother to perform the test if the arg pointer is not
2363         being used.
2364         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
2365         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
2366
2367         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
2368
2369         * arm.c (output_return_instruction): Handle more cases where we can
2370         return from a function with an ldr instruction.
2371         (arm_output_epilogue): Likewise.
2372
2373         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
2374         if we need to push a large stack frame and there are no callee-saved
2375         registers.
2376
2377         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
2378         in ARM code if the frame pointer has been eliminated.
2379
2380         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
2381         unspec_volatile arguments to avoid duplicates.
2382         (consttable_1, consttable_2): Fixes for big-endian mode.
2383
2384         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
2385         as appropriate.
2386
2387         Re-write constant pool code.
2388         * arm.c (minipool_node, minipool_fix): New types.
2389         (minifix): Delete type.
2390         (arm_add_minipool_constant): Delete.
2391         (arm_compute_minipool_offsets, arm_find_barrier,
2392         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
2393         (get_jump_table_size): Now returns HOST_WIDE_INT.
2394         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
2395         functions.
2396         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
2397         (assign_minipool_offsets, arm_print_value): Likewise.
2398         (dump_minipool): Rewrite.
2399         (arm_barrier_cost): New function.
2400         (create_fix_barrier): New function.
2401         (push_minipool_barrier): New function.
2402         (push_minipool_fix): Record additional information about the fixup
2403         required.
2404         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
2405         check the mode of what needs fixing.
2406         (arm_reorg): Rewrite.
2407
2408         2000-03-08  Nick Clifton  <nickc@cygnus.com>
2409
2410         * config/arm/arm.md (indirect_jump): Force constant addresses into
2411         a register.
2412
2413         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
2414
2415         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
2416
2417         2000-02-24  Nick Clifton  <nickc@cygnus.com>
2418
2419         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
2420         adjust is word aligned.
2421         (thumb_expand_epilogue): Make sure that stack adjust is word
2422         aligned.
2423
2424         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
2425
2426         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
2427
2428         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
2429         pointer relative addresses.
2430
2431         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
2432
2433         * arm.c (find_barrier): Find the last barrier within the allowed
2434         range.
2435
2436         2000-02-09  Nick Clifton  <nickc@cygnus.com>
2437
2438         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
2439
2440         2000-02-09  Nick Clifton  <nickc@cygnus.com>
2441
2442         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
2443         ARM_FUNCTION_PROFILER.
2444
2445         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
2446         ARM_FUNCTION_PROFILER.
2447
2448         * config/arm/linux-oldld.h: Imported from mainline sources.
2449
2450         2000-02-07  Nick Clifton  <nickc@cygnus.com>
2451
2452         * config/arm/lib1funcs.asm: Merge in thumb functions from
2453         lib1thumb.asm.
2454
2455         * config/arm/lib1thumb.asm: Delete.
2456
2457         2000-02-04  Nick Clifton  <nickc@cygnus.com>
2458
2459         * config/arm/arm.c: Sychronised with current Red hat local
2460         sources.
2461         * config/arm/arm.h: Ditto.
2462         * config/arm/arm-protos.h: Ditto.
2463
2464         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
2465
2466         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
2467
2468         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
2469         byte stores.
2470
2471         2000-02-02  Nick Clifton  <nickc@cygnus.com>
2472
2473         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
2474
2475         * config/arm/arm.md (epilogue): Fix rtl checking abort because
2476         (return) was emited using an emit_insn() call.
2477
2478         2000-01-31  Nick Clifton  <nickc@cygnus.com>
2479
2480         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
2481         thumb stack frame.
2482         (thumb_exit): Move frame pointer back into hard frame pointer
2483         register if backtracing is being used.
2484
2485         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
2486
2487         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
2488         into branch.
2489
2490         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
2491
2492         * config/arm/arm.md (neg_pool_offset): Provide default for new
2493         attribute.
2494         (arm_movsi_insn): Add neg_pool_offset attribute.
2495         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
2496         rtx for the insn that starts the scan and an unsigned long for its
2497         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
2498         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
2499         instructions in *PINSERTED.
2500         (struct minipool_fixup): Add MIN_ADDRESS elt.
2501         (sort_fixups): Compute it.
2502         (arm_reorg): Changes to support inserting pools before the insn to be
2503         fixed up.
2504
2505         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
2506
2507         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
2508         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
2509         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
2510
2511         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
2512
2513         * config/arm/semi.h (TARGET_VERSION): Do not define if already
2514         defined.
2515         (TARGET_DEFAULT): Do not define if already defined.
2516
2517         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
2518
2519         * config/arm/arm.md (anddi3): Allow disjoint source operands.
2520         (iordi3): Allow disjoint source operands.
2521         (xordi3): Allow disjoint source operands.
2522         (negdi2): Permit construction for ARM and Thumb.
2523         (arm_negdi2): Renamed version of old negdi2 pattern.
2524         (thumb_negdi2): New pattern: Only permit non-overlapping
2525         source and destination.
2526
2527         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
2528
2529         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
2530         scratch low register so that it will not be deleted.
2531
2532         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
2533
2534         * config/arm/pe.h (ARM_PE): Define.
2535
2536         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
2537         interfacearm attribute if this is a PE toolchain.
2538         (output_return_instruction): Do not emit anything if the function
2539         has the naked attribute set.
2540         (is_called_in_ARM_mode): If the function has the interfacearm
2541         attribute then return true.
2542         (thumb_expand_prologue): Do not generate a prologue for naked
2543         functions.
2544         (thumb_expand_epilogue): Do not generate an epilogie for a naked
2545         function.
2546         (output_thumb_prologue): Do not bother if the function is naked.
2547         Strip PE encoding from function name before emitting.
2548
2549         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
2550
2551         * arm.md (pic_load_addr): Fix constraints.
2552
2553         * arm.md (casesi_insn): Fix mis-applied patch.
2554
2555         * arm.md ("core" function unit): Add rules for single- and
2556         multi-cycle insns.
2557         (All TARGET_THUMB patterns): Add "type" attribute information
2558         where needed.
2559         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
2560         the following insn is a CALL.
2561
2562         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
2563         pointer.
2564         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
2565         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
2566         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
2567
2568         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
2569
2570         * config/arm/linux-gas.h: oops - this file was missed out when the
2571         branch was created...
2572
2573         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
2574
2575         * thumb.c: Deleted.  Move contents to ...
2576         * arm.c: ... here.
2577         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
2578         rule for thumb.o
2579         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
2580         * configure: Regen.
2581
2582         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
2583         declare a prototype for asm_output_align();
2584
2585         * arm.c (thumb_condition_code): Delete.
2586         (arm_print_operand): Always use arm_condition_code array.
2587
2588         * arm.c (thumb_return_addr_rtx): Delete.
2589         (arm_save_machine_status, arm_restore_machine_status): Delete.
2590         (arm_init_machine_status, arm_mark_machine_status): New functions.
2591         (arm_init_expanders): Update accordingly.
2592         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
2593         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
2594         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
2595
2596         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
2597
2598         * configure.in : Fix arm-*-aout target to use new t-arm-aout
2599         script.
2600         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
2601         targets.
2602
2603         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
2604
2605         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
2606         stack backtrace structure.
2607
2608         * config/arm/arm-protos.h: Add prototypes for functions defined in
2609         arm/pe.h.
2610
2611         * config/arm/arm.c (arm_override_options): Fix selection of
2612         attributes of default processor.
2613
2614         * config/arm/coff.h: Delete needless #include.
2615
2616         * config/arm/pe.c: Delete unused code.
2617
2618         * config/arm/pe.h (CPP_DEFINES): Delete
2619         (SUBTARGET_CPP_SPEC): Define.
2620         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
2621
2622         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
2623
2624         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
2625
2626         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
2627         updated.
2628         (CAN_DEBUG_WITHOUT_FP): Define.
2629         (FIXED_REGISTERS): Make r11 call-saved.
2630         (CALL_USED_REGISTERS): Likewise.
2631         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
2632         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
2633         frame-pointer is required.
2634         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
2635         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
2636         if the target normally needs a stack frame in non-leaf functions.
2637         (use_return_insn): Correct logic for determining when a return
2638         instruction can be used.
2639         (output_return_instruction): Handle the frame-pointer register as
2640         a normal register when not TARGET_APCS_FRAME.
2641         (arm_output_prologue): Likewise.
2642         (arm_output_epilogue): Likewise.
2643         (output_func_epilogue): Likewise.
2644         (arm_expand_prologue): Likewise.
2645         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
2646
2647         * arm.c (use_return_insn): No need to check floating point regs if
2648         TARGET_SOFT_FLOAT.
2649         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
2650         the code of value stored in the minipool array.
2651         (arm_add_minipool_constant): Likewise.
2652
2653 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2654
2655         * basic-block.h (conflict_graph_enum_fn): K&R fix.
2656
2657 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2658
2659         * tree.c (tree_expr_nonnegative_p): New function.
2660
2661         * tree.h (tree_expr_nonnegative_p): Declare.
2662
2663         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
2664         elide some sign_compare warnings.
2665         (build_conditional_expr): Likewise.
2666
2667 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
2668
2669         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
2670
2671         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
2672         * i386.c (print_operand): Use the proper suffix for a 387 HImode
2673         operand.  Abort if a 387 operand has an unsupported size.
2674
2675 2000-04-08  Neil Booth  <NeilB@earthling.net>
2676
2677         * cppexp.c (parse_charconst): Null does not end character
2678         constants.
2679         * cppinit.c (ISTABLE): Null character handled as whitespace.
2680         * cpplex.c (null_warning):  new function.
2681         (skip_string): Emit warning if nulls encountered.
2682         (_cpp_skip_hspace): Emit warning if nulls encountered.
2683         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
2684         them.
2685         * cpp.texi: Update.
2686
2687 2000-04-07  Richard Henderson  <rth@cygnus.com>
2688
2689         * flow.c (loop_depth): Remove.
2690         (reg_next_use, cc0_live, mem_set_list): Replace with ...
2691         (struct propagate_block_info): New.
2692         (life_analysis): Don't allocate reg_next_use.
2693         (propagate_block_delete_insn): Break out of propagate_block.
2694         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
2695         (propagate_block_delete_libcall): Likewise.
2696         (propagate_block): Create a propagate_block_info struct to pass
2697         to subroutines.  Allocate one not two temporary regsets.  Don't
2698         clobber memory for const calls.  Look for clobbers in
2699         CALL_INSN_FUNCTION_USAGE.
2700         (mark_set_regs): Recognize COND_EXEC.
2701         (mark_set_reg): Break out of mark_set_1.
2702         (mark_used_reg): Break out of mark_used_regs.
2703         (mark_used_regs): Recognize COND_EXEC.
2704         (insn_dead_p): Use propagate_block_info struct.
2705         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
2706         (find_auto_inc, try_pre_increment_1): Likewise.
2707         (print_rtl_with_bb): Dump regs live at end too.
2708         (count_reg_sets_1): Pass in loop_depth.
2709         (count_reg_sets, count_reg_references): Likewise.
2710         (recompute_reg_usage): Provide it.
2711
2712 2000-04-07  Richard Henderson  <rth@cygnus.com>
2713
2714         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
2715         not the raw files.
2716
2717 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
2718
2719         * cpplib.c (do_elif): Skip the rest of the line if we're
2720         not going to bother evaluating it.
2721         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
2722         to avoid pointless calls to the lexer.
2723
2724 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
2725
2726         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
2727
2728 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
2729
2730         * calls.c (expand_call): emit_queue if we're trying a sibcall.
2731
2732 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
2733
2734         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
2735
2736 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
2737
2738         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
2739         crtend so they can be multilibbed.
2740         (STAGESTUFF): Remove s-crt and s-crtS.
2741
2742 2000-04-07  Richard Henderson  <rth@cygnus.com>
2743
2744         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
2745         if we discover we need a pseudo and no_new_pseudos is true.
2746         * config/alpha/alpha.md (ne:DI insn): New.
2747         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
2748
2749 2000-04-07  Richard Henderson  <rth@cygnus.com>
2750
2751         * rtl.def (COND_EXEC): New.
2752         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
2753         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
2754
2755         * genconfig.c (have_cond_arith_flag): Remove.
2756         (have_cond_exec_flag): New.
2757         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
2758         (main): Print HAVE_conditional_execution.
2759
2760         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
2761         (sched_analyze_insn, print_pattern): Likewise.
2762         * reload.c (find_equiv_reg): Likewise.
2763         * rtlanal.c (reg_referenced_p): Likewise.
2764         (note_stores, dead_or_set_regno_p): Likewise.
2765         (reg_overlap_mentioned_p): Rewrite to use a switch.
2766
2767         * ggc.h (struct rtx_def): Forward declare.
2768
2769         * print-rtl.c (debug_rtx_range): New.
2770         * rtl.h (debug_rtx_range): Declare.
2771
2772         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
2773
2774         * gcse.c (gcse_main): Don't rebuild the CFG here.
2775         (delete_null_pointer_checks): Likewise.
2776         * ssa.c (convert_to_ssa): Likewise.
2777         * toplev.c (rest_of_compilation): Do it here instead.  Combine
2778         sequential calls to TIMEVAR.  Consistently use `insns' instead of
2779         `get_insns()'.  Always split insns after reload when optimizing.
2780
2781         * basic-block.h (merge_blocks_nomove): Declare.
2782         (tidy_fallthru_edge): Declare.
2783         * flow.c (merge_blocks_nomove): Document as merging into previous
2784         blocks.  Remove cruft from between blocks; remove all edges out of A.
2785         (tidy_fallthru_edge): Export.
2786
2787 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
2788
2789         * ssa.c (compute_conservative_reg_partition): Declare with
2790         void arguments.
2791         * toplev.c (clean_dump_file): Remove previously-deleted function
2792         inadvertantly merged back in.
2793         * conflict.c (conflict_graph_add): Use a single call to
2794         htab_find_slot to look up and insert.
2795
2796 2000-04-06  Richard Henderson  <rth@cygnus.com>
2797
2798         * genrecog.c (*): Rename _last_insn to last_insn.
2799         (make_insn_sequence): Set the position of the peephole2 C test
2800         to be at the last insn.
2801
2802 2000-04-06  Richard Henderson  <rth@cygnus.com>
2803
2804         * flow.c (compute_flow_dominators): Free worklist.
2805
2806 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
2807
2808         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
2809
2810 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
2811
2812         * rtl.h (INSN_P): New macro.
2813         (successor_phi_fn): New typedef.
2814         (for_each_successor_phi): New prototype.
2815         (in_ssa_form): New variable.
2816         (PHI_NODE_P): Likewise.
2817         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
2818         phi nodes in successors.
2819         (mark_used_regs): Add PHI case.
2820         (set_phi_alternative_reg): New function.
2821         (life_analysis): Assert that dead code elimination is not selected
2822         when in SSA form.
2823         * toplev.c (to_ssa_time): New variable.
2824         (from_ssa_time): Likewise.
2825         (compile_file): Zero to_ssa_time and from_ssa_time.
2826         Print time to convert to and from SSA.
2827         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
2828         (print_time): Compute percent fraction as integer.
2829         * ssa.c (PHI_NODE_P): Moved to rtl.h.
2830         (convert_to_ssa): Check if we're already in SSA.
2831         Don't eliminate dead code in life_analysis.
2832         Rerun flow and life analysis at bottom.
2833         (eliminate_phi): Use canonical regnos when adding nodes.
2834         (mark_reg_in_phi): New function.
2835         (mark_phi_and_copy_regs): Likewise.
2836         (convert_from_ssa): Rerun life analysis at top.
2837         Use coalesced partition.
2838         Check for removing a phi node at the end of the block.
2839         (compute_coalesced_reg_partition): New function.
2840         (coalesce_regs_in_copies): Likewise.
2841         (coalesce_reg_in_phi): Likewise.
2842         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
2843         (for_each_successor_phi): Likewise.
2844         (rename_context): New struct.
2845         (rename_block): Use a rename_context with rename_insn_1.  When
2846         renaming sets of a subreg, emit a copy of the entire reg first.
2847         (rename_insn_1): Treat data as a rename_context *.  Save current
2848         insn in set_data.
2849         (rename_set_data): Add field set_insn.
2850         * Makefile.in (HASHTAB_H): Move up in file.
2851         (OBSTACK_H): New macro.
2852         (collect2.o): Use OBSTACK_H in dependencies.
2853         (sdbout.o): Likewise.
2854         (emit-rtl.o): Likewise.
2855         (simplify-rtx.o): Likewise.
2856         (fix-header.o): Likewise.
2857         (OBJS): Add conflict.o.
2858         (conflict.o): New rule.
2859         * basic-block.h: Include partition.h.
2860         (conflict_graph): New typedef.
2861         (conflict_graph_enum_fn): Likewise.
2862         (conflict_graph_new): New prototype.
2863         (conflict_graph_delete): Likewise.
2864         (conflict_graph_add): Likewise.
2865         (conflict_graph_conflict_p): Likewise.
2866         (conflict_graph_enum): Likewise.
2867         (conflict_graph_merge_regs): Likewise.
2868         (conflict_graph_print): Likewise.
2869         (conflict_graph_compute): Likewise.
2870         * conflict.c: New file.
2871
2872 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
2873
2874         * tlink.c (read_repo_files): Don't look for .rpo info for
2875         linker flags.
2876
2877 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2878
2879         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
2880
2881 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2882
2883         * config/sh/lib1funcs.asm (___udivsi3_i4):
2884         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
2885         only depends on FMOVD_WORKS.
2886
2887 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2888
2889         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
2890         make double constant 8-byte aligned.
2891
2892 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
2893
2894         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
2895         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
2896         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
2897         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
2898         Accept storing GENERAL_REGS into offsetable memory.
2899         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
2900         building a TFmode constant other than 0.0L into GENERAL_REGS.
2901
2902 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
2903
2904         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
2905
2906 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
2907
2908         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
2909         (macro_cleanup): No need to cast pbuf->macro.
2910         (collect_expansion): Use _cpp_get_define_token.  Goto done if
2911         it returns VSPACE.  Remove check for trailing space after
2912         CPP_COMMENT.
2913         (_cpp_create_definition): Don't diddle flags here.  Return
2914         directly on error.
2915         (unsafe_chars): Handle c1 being EOF.
2916         (push_macro_expansion): Use unsafe_chars for both accidental-paste
2917         checks.  Don't push the buffer till after we're done with
2918         them.
2919         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
2920         (PEEKN, FORWARD, GETC, PEEKC): Use them.
2921         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
2922         appropriately.
2923         (_cpp_parse_assertion): Don't NUL terminate.
2924         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
2925         hspace before calling _cpp_parse_assertion.  Remove all sets
2926         of only_seen_white. Treat '\f' as hspace.  Don't do anything
2927         special with '\n' here.
2928         (maybe_macroexpand): Handle T_EMPTY hash entries without
2929         pushing a buffer at all.
2930         (cpp_get_token): Handle clearing only_seen_white here.  Handle
2931         incrementing the line number here.  Clear
2932         potential_control_macro as well as only_seen_white, if
2933         appropriate.
2934         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
2935         (_cpp_get_define_token): New function, basically like
2936         _cpp_get_directive_token was but doesn't eat horizontal space.
2937         Don't do anything with only_seen_white here.
2938         (_cpp_get_directive_token): Just call _cpp_get_define_token
2939         repeatedly till it returns non-hspace.
2940
2941         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
2942         (conditional_skip, skip_if_group): Return int.
2943         (DIRECTIVE_TABLE): Change origin of all conditional directives
2944         to "COND".
2945         (TRAD_DIRECT_P): New macro.
2946         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
2947         an error for a bogus directive, unless -lang-asm.  Use
2948         TRAD_DIRECT_P. Loop calling handler functions till one returns
2949         zero.
2950         (get_macro_name): Don't diddle flags here.
2951         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
2952         Create T_EMPTY nodes for #define macro /* nothing */.
2953         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
2954         Use hp->name when calling pass_thru_directive.
2955         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
2956         Return the result of conditional_skip and/or skip_if_group.
2957         Don't call _cpp_output_line_command.
2958         (consider_directive_while_skipping): Use _cpp_get_directive_token.
2959         Issue -Wtraditional warnings as appropriate.  Don't complain
2960         about unrecognized directives.  If we are to stop skipping,
2961         return the number of the directive that ended the skip.
2962         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
2963         expansion and line commands while skipping.  Return the result
2964         of consider_directive_while_skipping, if nonzero.
2965         (do_endif): Just set potential_control_macro here.
2966         (validate_else): Use _cpp_get_directive_token.
2967         (do_assert, do_unassert): Don't save pointers into the
2968         token_buffer across calls to the lexer.  Use
2969         _cpp_get_directive_token.
2970
2971         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
2972         pointer, not an offset.  Replace 'data', which was a generic
2973         pointer, with 'macro', which points to a struct hashnode.
2974         (cpp_reader): Add 'potential_control_macro' pointer.
2975         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
2976         (CPP_BUF_GET, CPP_FORWARD): Delete.
2977         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
2978         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
2979         ACTIVE_MARK_P): Update.
2980         (_cpp_get_define_token): New internal function.
2981         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
2982
2983 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
2984
2985         * configure.in: And here.
2986         * configure: Regenerate.
2987         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
2988         --enable-libstdcxx-v3 is passed at configure time.
2989         * config.h.in: Regenerate.
2990
2991 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
2992
2993         * final.c (final): Use xcalloc to allocate line_note_exists.
2994         * function.c (free_after_compilation): Free the temp_slots.
2995         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
2996         (combine_temp_slot): Free temp_slots when they get combined.
2997         (purge_addressof): Fix typo in comment.
2998         * stmt.c (mark_goto_fixup): Mark the fixup itself.
2999         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
3000
3001         * ggc.h: Include varray.h.
3002         (ggc_pending_trees): Declare.
3003         (ggc_mark_tree_children): Remove declaration.
3004         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
3005         * ggc-common.c (ggc_pending_trees): New variable.
3006         (ggc_mark_roots): Call ggc_mark_trees.
3007         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
3008         the ggc_pending_trees.
3009         * Makefile.in (GGC_H): New variable.  Use it throughout in place
3010         of ggc.h.
3011
3012 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3013
3014         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
3015         GET_MODE_SIZE.
3016
3017 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3018
3019         * sh.c (sh_insn_length_adjustment): New function.
3020         * sh-protos.h (sh_insn_length_adjustment): Declare.
3021         * sh.h (ADJUST_INSN_LENGTH): Use it.
3022
3023 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
3024
3025         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
3026         from the insn where REG_RETVAL is added.
3027         (emit_no_conflict_block): Ditto.
3028
3029         * md.texi (Standard Names): Clarify when movX is needed.
3030
3031         * combine.c (simplify_comparison) [MINUS]: Do not replace
3032         all (op (minus A B) 0) with (op A B).
3033
3034 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
3035                           J"orn Rennecke <amylaar@cygnus.co.uk>
3036
3037         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
3038         (block_lump_real): Likewise.
3039
3040 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
3041
3042         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
3043         remaining non-zero debugging masks.
3044
3045 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
3046
3047         * basic-block.h (verify_flow_info): Declare.
3048         (flow_loop_outside_edge_p): Declare.
3049         * flow.c (verify_flow_info): Remove declaration.
3050         (clear_log_links, flow_loop_outside_edge_p): Likewise.
3051
3052 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
3053
3054         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
3055         not C++ comments.
3056
3057 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
3058
3059         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
3060         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
3061         seqdi_zero_trunc+1): Allow splits only if registers are
3062         different.
3063
3064 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
3065
3066         * acconfig.h: Add HAVE_GAS_HIDDEN.
3067         * config.in: Regenerated.
3068         * configure.in: Add test for .hidden pseudo-op in gas.
3069         * configure: Regenerated.
3070         * crtstuff.c: Include auto-host.h.
3071         Emit additional .hidden pseudo-op for __dso_handle if the
3072         assembler knows about it.
3073
3074 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
3075
3076         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
3077         before freeing argnames.
3078         * cpplib.c (do_ifndef): Cast return value of xstrdup.
3079
3080 2000-04-05  Michael Meissner  <meissner@redhat.com>
3081
3082         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
3083         Walton <jonboy@gordian.com> to make memory references with update
3084         work wtih -mregnames.
3085
3086 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3087
3088         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
3089         (regrename_optimize): Rename variables `def_uses' and
3090         `ext_basic_blocks' to avoid conflicts with similarly named
3091         typedefs in traditional C.
3092
3093         * calls.c (initialize_argument_information): Fix typo in previous
3094         change.
3095
3096 2000-04-04  Richard Henderson  <rth@cygnus.com>
3097
3098         * regrename.c (consider_available): Test fixed_regs not
3099         PIC_OFFSET_TABLE_REGNUM.
3100
3101 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
3102
3103         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
3104         crtend.
3105         (CRTSTUFF_T_CFLAGS_S): Delete definition.
3106         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
3107         (ENDFILE_LINUX_SPEC): Always use crtend.
3108         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
3109         (powerpc-*-linux-gnu): Likewise.
3110         * configure: Regenerate.
3111
3112         * config/rs6000/eabi.h: Don't include sysv4.h.
3113         (MULTILIB_DEFAULTS): Don't define.
3114         * config/rs6000/eabiaix.h: Don't include eabi.h.
3115         * config/rs6000/eabile.h: Delete.
3116         * config/rs6000/eabilesim.h: Delete.
3117         * config/rs6000/eabisim.h: Don't include eabi.h.
3118         * config/rs6000/linux.h: Don't include sysv4.h.
3119         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
3120         (MULTILIB_DEFAULTS): Don't redefine.
3121         * config/rs6000/rtems.h: Don't include eabi.h.
3122         * config/rs6000/sol2.h: Don't include sysv4le.h.
3123         * config/rs6000/sysv4le.h: Don't include sysv4.h.
3124         * config/rs6000/t-ppc: Delete.
3125         * config/rs6000/t-ppcgas: Correct comment.
3126         * config/rs6000/t-ppcos: Correct comment.  Don't build
3127         multilibs for -fPIC, rather use -fPIC -mstrict-align
3128         as default.
3129         * config/rs6000/t-ppc: Delete.
3130         * config/rs6000/vxppc.h: Don't include sysv4.h.
3131         * config/rs6000/vxppcle.h: Delete.
3132         * configure.in: Use multiple header files for p2pc ELF targets
3133         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
3134         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
3135         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
3136         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
3137         always available for these platforms.
3138
3139 2000-04-04  Richard Henderson  <rth@cygnus.com>
3140
3141         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
3142
3143 2000-04-04  Stan Cox  <scox@cygnus.com>
3144
3145         * Makefile.in: Add rules for regrename.o
3146         * regrename.c: New file.
3147         * rtl.h (regrename_optimize): Add prototype.
3148         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
3149         (compile_file, decode_d_option): Add support for -frename-registers.
3150         (rest_of_compilation): Call regrename_optimize.
3151         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
3152         New macros.
3153
3154 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3155
3156         * Makefile (gccbug): New target.
3157         (doc): Depend on it.
3158         * gcc.texi (Bugs): Link subnodes.
3159         (gccbug): New node.
3160         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
3161         Document severities, priorities, and classes in bug form.
3162
3163 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
3164
3165         * cpplex.c (trigraph_map, speccase): Combine into single
3166         table, chartab.
3167         (NORMAL, NONTRI): New macros.
3168         (_cpp_read_and_prescan): Change to use unified table.  Use
3169         is_hspace to test for whitespace.
3170
3171         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
3172         definition that doesn't provoke the "empty body in an
3173         if-statement" warning.
3174
3175 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
3176
3177         * builtins.c (expand_builtin_strlen): Force the source to
3178         be a memory address.
3179
3180 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3181
3182         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
3183
3184 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3185
3186         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
3187          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
3188         (ECF_IS_CONST): Rename to ECF_CONST.
3189         (special_function_p): Make static, change interface.
3190         (flags_from_decl_or_type, try_to_integrate): Break out from ...
3191         (expand_call) ... here; convert number of variables to flags.
3192         (emit_library_call_vlue_1): Likewise.
3193         (setjmp_call_p): New function.
3194         (initialize_argument_information): Accepts flags as argument;
3195         return flags.
3196         (precompute_arguments): Likewise.
3197         * tree.h (special_function_p): Remove.
3198         (setjmp_call_p): Add prototype.
3199
3200 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
3201
3202         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
3203         so that addresses are offsetable by up to 16 bytes.
3204         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
3205         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
3206         offsetable.
3207
3208         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
3209         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
3210         (movsf): Don't force any constant to memory if target is integer
3211         hard register.
3212         Move fp_zero_operand check below the const0_rtx check.
3213         (movtf): Likewise. Also allow fp_zero_operand for stores into
3214         memory.
3215         (movdf): Likewise. Also allow fp_zero_operand for stores into
3216         memory and into integer hard registers.
3217         (clear_df, clear_dfp, movdf_const_intreg_sp32,
3218         movdf_const_intreg_sp64): Remove.
3219         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
3220         conditions.
3221         (movdf_no_e_insn_v9_sp32): New pattern.
3222         (movdf_insn_v9only): Remove.
3223         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
3224         (movdf_insn_sp64): Remove.
3225         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
3226         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
3227         (following splits): Rewrite conditions. Add two new splits
3228         for storing 0.0 into memory and registers.
3229         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
3230         (movtf_insn_sp32): Redo constraints and conditions.
3231         (movtf_insn_vis_sp32): New pattern.
3232         (movtf_no_e_insn_sp32): Redo constraints and conditions.
3233         (movtf_insn_hq_sp64): Likewise.
3234         (movtf_insn_hq_vis_sp64): New pattern.
3235         (movtf_insn_sp64): Redo constraints and conditions.
3236         (movtf_insn_vis_sp64): New pattern.
3237         (movtf_no_e_insn_sp64): Redo constraints and conditions.
3238         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
3239         or memory.
3240         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
3241         -mvis or -m64 to take down the number of various reload patterns.
3242
3243 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
3244
3245         * pa/pa-64.h: New file.
3246         * pa/pa64-regs.h: New file.
3247         * pa/pa64-start.h: New file.
3248         * pa/t-pa64: New file.
3249         * pa/xm-pa64hpux.h: New file.
3250
3251 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3252
3253         * sparc.c (output_restore_regs): Prototype.
3254         (sparc_emit_float_lib_cmp): Constification.
3255
3256         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
3257
3258         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
3259         Prototype.
3260
3261         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
3262         (get_value_hash, hash_rtx): Likewise.
3263
3264         * ssa.c (compute_conservative_reg_partition): Prototype.
3265
3266         * tree.c (mark_hash_entry): Prototype.
3267
3268 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
3269
3270         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
3271         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
3272         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
3273
3274         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
3275         * objc/lang-specs.h: Likewise.
3276
3277 2000-04-03  Neil Booth  <NeilB@earthling.net>
3278
3279         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
3280         and SYNTAX_ERROR2. Replace `' in messages with ''.
3281         (op_to_str): Make re-entrant.
3282         (_cpp_parse_expr): Implement new error macros. Use | rather
3283         than || to logically or 2 boolean integers.  Simply expression
3284         checking we have a left operand iff needed.
3285
3286 2000-04-03  Nick Clifton  <nickc@cygnus.com>
3287
3288         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
3289
3290 2000-04-03  Philip Blundell  <philb@gnu.org>
3291
3292         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
3293
3294 2000-04-03  Felix Lee  <flee@cygnus.com>
3295
3296         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
3297         (run_shell): Use it.
3298
3299 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
3300
3301         * Makefile.in (stmp-int-hdrs): Make include subdir here...
3302         (stmp-fixproto): ...rather than here.
3303
3304 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
3305
3306         * pa.c (print_operand): Compute 'base' only inside the code paths
3307         that use it.
3308
3309 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
3310
3311         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
3312         CEIL_DIV_EXPR.
3313
3314 2000-04-03  Philipp Thomas  <pthomas@suse.de>
3315
3316         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
3317
3318 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
3319
3320         * Makefile.in (alias.o): Depend on $(TREE_H).
3321
3322 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
3323
3324         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
3325         processing C++.
3326         * cpplib.c (_cpp_handle_directive): Improve warnings for
3327         traditional C and indented directives.
3328
3329         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
3330         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
3331         fixinc/inclhack.def: Indent the # of #include_next one space.
3332         * cp/rtti.c: Un-indent #if and #endif.
3333
3334         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
3335         syntax error, but an error has already been printed.
3336         * cpplex.c (_cpp_parse_assertion): Give a more specific error
3337         message when called with nothing remaining on the line.
3338         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
3339         OTHER token, not an ASSERTION.
3340         * cpplib.c (do_assert): When we create a 'base' node, clear
3341         its aschain pointer.
3342
3343 2000-04-02  Neil Booth <NeilB@earthling.net>
3344
3345         * cppexp.c:  New typedef op_t.  struct operation and struct
3346         token updated to use it.
3347         (op_to_str): New function.
3348         (_cpp_parse_expr): Error messages modified to use op_to_str.
3349
3350 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3351
3352         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
3353         before checking MUST_PASS_IN_STACK.
3354
3355 2000-04-02  Neil Booth <NeilB@earthling.net>
3356
3357         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
3358         flags and initial priority into a single constant.  New
3359         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
3360         (_parse_cpp_expr): Implement new constants.  Take left operand
3361         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
3362         parse indicated by reducing FINISHED token.  Remove new lines
3363         from cpp_error messages.
3364
3365 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
3366
3367         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
3368         permanent obstack.
3369
3370 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
3371
3372         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
3373         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
3374         the strings and function names on the fly.  Take the #sccs
3375         entry out of the table if SCCS_DIRECTIVE is not defined.
3376         (_cpp_handle_directive): Decide if the # was at the beginning
3377         of the line here.  Issue -pedantic warnings for extended
3378         directives here.  Warn about K+R directives with the #
3379         indented, and C89/extended directives with the # not indented,
3380         here.
3381         (do_import, do_include_next, do_warning, do_ident, do_sccs,
3382         do_assert, do_unassert): Don't issue pedantic warning here.
3383
3384         * cpphash.h: Add CPP_WTRADITIONAL macro.
3385         * cpplib.h (struct cpp_options): Rename warn_stringify to
3386         warn_traditional; update comments.
3387         * cppinit.c (handle_option): Set warn_traditional not
3388         warn_stringify.
3389         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
3390         CPP_WTRADITIONAL (pfile).
3391         * cpplex.c (_cpp_lex_token): Don't decide if directives should
3392         be ignored in -traditional mode here.
3393
3394         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
3395         to initialize speccase[] and trigraph_map[].  Delete all
3396         references to pfile->input_speccase.  Always treat '?' as a
3397         special character.  Remove table-initialization code from
3398         _cpp_init_input_buffer.
3399
3400         * cpplib.h (struct cpp_reader): Remove input_speccase field.
3401         * cppinit.c (cpp_cleanup): Don't free input_speccase.
3402
3403 2000-04-01  Richard Henderson  <rth@cygnus.com>
3404
3405         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
3406         (mostlyclean): Likewise.
3407
3408         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
3409         (struct dump_file_info, enum dump_file_index, dump_file): New.
3410         (open_dump_file): Take a dump_file_index not a suffix, and a decl
3411         not a string.  Clean out file if we havn't yet done so.  Do nothing
3412         if the dump isn't enabled.
3413         (close_dump_file): Do nothing if the dump isn't open.  Dump
3414         graph data if requested.
3415         (dump_rtl, clean_dump_file): Remove.
3416         (compile_file): Don't clean the dump files.  Only finalize .bp dump
3417         if flag_test_coverage or flag_branch_probabilities.  Only finalize
3418         .combine dump if optimizing.  Iterate over dump_file to finalize the
3419         graph dumps.
3420         (rest_of_compilation): Update for open_dump_file/close_dump_file.
3421         Convert all uses of dump_rtl.
3422         (decode_d_option): Iterate over dump_file to implement 'a' and to
3423         locate pass-specific dumps.
3424
3425 2000-04-01  Neil Booth <NeilB@earthling.net>
3426
3427         * cppexp.c: Redefine priority constants.
3428         (_cpp_parse_expr): Replace left and right priority scheme with
3429         single priority logic.  Move LOGICAL to same place as COMPARE.
3430         Remove bogus check for multiple unary +/- operators.
3431
3432 2000-04-01  Neil Booth <NeilB@earthling.net>
3433
3434         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
3435         within the switch statement.  Binary operations break out of
3436         the switch naturally.  '(' tokens handled by forcing
3437         immediate shift.  ')' handled by forcing immediate reduce to
3438         the previous '('.  New error messages.
3439
3440 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
3441
3442         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
3443         part', it's already in use.  Use %K instead.  Add a return at the
3444         end of what is now %K.
3445         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
3446
3447 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3448
3449         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
3450         allocate_dynamic_stack_space.
3451         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
3452         update stack_pointer_delta; do not update arg_size_so_far.
3453         (compute_argument_block_size): Use stack_delta instead of
3454         stack_pointer_pending and arg_size_so_far.
3455         (expand_call): Add sanity checking for stack_pointer_delta;
3456         save and restore stack_pointer_delta for SIB, use
3457         stack_pointer_delta for alignment; do not update arg_space_so_far.
3458         (emit_library_call_value): Use stack_pointer_delta for alignment.
3459         (store_one_arg): Do not update arg_space_so_far.
3460         * explow.c (adjust_stack, anti_adjust_stack): Update
3461         stack_pointer_delta.
3462         (allocate_dynamic_stack_space): Add sanity checking for
3463         stack_pointer_delta.
3464         * expr.c (init_expr, clear_pending_stack_adjust): Clear
3465         stack_pointer_delta.
3466         (emit_push_insn): Update stack_pointer_delta.
3467         * function.h (struct expr_status): Add x_stack_pointer_delta;
3468         remove x_arg_space_so_far.
3469         (arg_space_so_far): Remove.
3470         (stack_pointer_delta): New macro.
3471
3472 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
3473
3474         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
3475         Reorder struct cpp_options and struct cpp_reader for better
3476         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
3477         takes two args.  Change all 'char' flags to 'unsigned char'.
3478         Move show_column flag into struct cpp_options.  Don't
3479         prototype cpp_options_init.
3480         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
3481         cppinit.c, cpplex.c, cpplib.c:
3482         Replace CPP_OPTIONS (pfile)->whatever with
3483         CPP_OPTION (pfile, whatever), and likewise for
3484         opts = CPP_OPTIONS (pfile); ... opts->whatever;
3485
3486         * cppinit.c (merge_include_chains): Take a cpp_reader *.
3487         Extract CPP_OPTION (pfile, pending) and work with that
3488         directly.
3489         (cpp_options_init): Delete.
3490         (cpp_reader_init): Turn on on-by-default options here.
3491         Allocate the pending structure here.
3492         (cl_options, enum opt_code): Define these from the same table,
3493         kept in a large macro.  Add -fshow-column and -fno-show-column
3494         options.
3495
3496         * cpperror.c (v_message): If show_column is off, don't print
3497         the column number.
3498
3499         * cppmain.c: Update for new interface.
3500         * fix-header.c: Likewise.
3501
3502 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
3503
3504         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
3505         definition.
3506         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
3507         are passed to any invocation of AR_FOR_TARGET.
3508         (AR_CREATE_FOR_TARGET): New macro.
3509         (AR_EXTRACT_FOR_TARGET): New macro.
3510         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
3511         AR_EXTRACT_FOR_TARGET.
3512         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
3513         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
3514         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
3515         AR_EXTRACT_FOR_TARGET to sub-makes.
3516
3517 2000-03-31  Neil Booth <NeilB@earthling.net>
3518
3519         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
3520         PAREN_INNER_PRIO.
3521         (_cpp_parse_expr): Check for multiple unary +/- operators.
3522         Correct priorities of ':' and '?'.  Treat ')' as having a
3523         value.  Ensure conditional expression is not void.
3524
3525 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
3526
3527         * alias.c (canon_rtx): Make it global.
3528         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
3529         equality.
3530         * cse.c (struct table_elt): Add canon_exp.
3531         (insert): Clear it.
3532         (invalidate): Canonicalize expressions only once.
3533         * rtl.h (canon_rtx): Declare.
3534
3535 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
3536
3537         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
3538         * alias.c (reg_known_value): Add comments.
3539         (init_alias_analysis): Likewise.
3540         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
3541         address.
3542         (cse_basic_block): Fix typo in comment.
3543         * emit-rtl.c: Include hashtab.h.
3544         (const_int_htab): New variable.
3545         (const_int_htab_hash): New function.
3546         (const_int_htab_eq): Likewise.
3547         (rtx_htab_mark_1): Likewise.
3548         (rtx_htab_mark): Likewise.
3549         (gen_rtx_CONST_INT): Cache all CONST_INTs.
3550         (unshare_all_rtx): Fix formatting.
3551         (init_emit_once): Initialize const_int_htab.
3552         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
3553         address.
3554         * rtl.texi: Document the fact that all CONST_INTs with the same
3555         value are shared.
3556
3557 2000-03-30  Richard Henderson  <rth@cygnus.com>
3558
3559         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
3560
3561 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
3562
3563         * configure.in: Comment out --enable-c-cpplib stanza.
3564         * configure: Regenerate.
3565
3566 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3567
3568         * expr.c (store_constructor): Properly compute displacement and
3569         alignment when offset is variable.
3570
3571         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
3572         cases of alignment in bytes.
3573
3574 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
3575
3576         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
3577         since it is used to generate c-parse.y.
3578         * objc-parse.c, objc-parse.y: Regenerated.
3579
3580         * function.c (expand_function_end): Pass alignment argument to
3581         emit_block_move in bits, not bytes.
3582
3583 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3584
3585         * expr.c (move_by_pieces_ninsns): Fix one more missing align
3586         correction.
3587
3588         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
3589
3590         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
3591         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
3592         * function.c (assign_parms): Likewise.
3593         * integrate.c (expand_inline_function): Likewise.
3594         * stmt.c (expand_decl): Likewise.
3595         (copy_rtx_and_substitute): Likewise.
3596         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
3597         (clear_by_pieces): Fix error in last change.
3598         * emit-rtl.c (init_emit): Set known registers alignment in bits.
3599         * function.h (regno_pointer_align): Now unsigned.
3600         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
3601         is in bits.
3602         * config/i386/i386.c (aligned_operand): Likewise.
3603         * config/sparc/sparc.c (mem_min_alignment): Likewise.
3604         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
3605         (unaligned_memory_operand): Likewise.
3606         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
3607         Also make alignments and sizes unsigned and some whitespace cleanup.
3608         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
3609
3610         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
3611         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
3612         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
3613         (expand_builtin_memset): Likewise, but to clear_storage.
3614         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
3615         (restore_fixed_argument_area): Likewise.
3616         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
3617         (load_register_parameters): Likewise, to emit_group_load.
3618         (expand_call): Likewise, to emit_group_store and emit_block_move.
3619         (emit_library_call_value_1): Likewise, to emit_block_move.
3620         (store_one_arg): Likewise, and to emit_push_insn.
3621         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
3622         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
3623         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
3624         (emit_block_move, emit_group_load, emit_group_store): Likewise.
3625         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
3626         (expand_assigment, store_expr, store_constructor_field): Likewise.
3627         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
3628         (store_constructor, store_field, get_inner_reference): Likewise.
3629         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
3630         (expand_expr, case COMPONENT_REF): Likewise.
3631         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
3632         and positions; reindent code.
3633         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
3634         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
3635         (assign_parms): Likewise to emit_group_store.
3636         * optabs.c (prepare_cmp_insn): Alignment is in bits.
3637         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
3638         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
3639         (expand_return): Likewise to {extract,store}_bit_field.
3640         * stor-layout.c (get_mode_alignment): Minor cleanup.
3641         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
3642         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
3643
3644 2000-03-29  Nick Clifton  <nickc@cygnus.com>
3645
3646         * config/arm/arm.h: Undo effects of previous delta:
3647         (ASM_SPEC): Do not define.
3648         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
3649
3650         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
3651         typo.
3652
3653 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3654
3655         * cppinit.c (cpp_start_read): Call initialize_dependency_output
3656         only after reading in the primary source file.
3657
3658 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
3659
3660         * c-common.c (c_common_nodes_and_builtins): The first parameter to
3661         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
3662         or a reference to a va_list.
3663         * builtins.c (stabilize_va_list): Simplify now we don't have to
3664         work around C array address decay.
3665         * c-typeck.c (convert_for_assignment): Handle assignment to
3666         a reference parameter by taking the address of the RHS.
3667         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
3668         (va_copy): Likewise.
3669         (__va_copy): Likewise.
3670         * ginclude/varargs.h (va_start): Likewise.
3671         (__va_copy): Likewise.
3672
3673 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
3674
3675         * i386/djgpp.h: Remove extraneous "+".
3676
3677         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
3678
3679         * calls.c (expand_call): Fix typo in last change.
3680
3681 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
3682
3683         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
3684         been expanded.
3685
3686 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3687
3688         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
3689         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
3690         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
3691         * tree.c (bit_position, byte_position): Likewise.
3692         * tree.h: Declare new functions.
3693
3694 2000-03-29  Nick Clifton  <nickc@cygnus.com>
3695
3696         * config/arm/arm.c: Minor formatting changes/
3697         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
3698         already defined.
3699         (ASM_SPEC): Define if not already defined.
3700
3701 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3702
3703         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
3704         _cpp_calc_hash.
3705
3706 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
3707
3708         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
3709         value, don't output it as unsigned.
3710
3711 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
3712
3713         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
3714
3715 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3716
3717         * c-common.c (c_common_nodes_and_builtins): Don't special case
3718         cplus_mode when declaring builtin bzero/bcmp, always avoid
3719         prototype arguments.
3720
3721 2000-03-29  Bruce Korb  <bkorb@gnu.org>
3722
3723         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
3724         to a non-file
3725
3726 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3727
3728         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
3729         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
3730         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
3731         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
3732         (save_fixed_argument_area, restore_fixed_argument_area):
3733         conditionize by #ifdef REG_PARM_STACK_SPACE only.
3734         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
3735         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
3736         (precompute_register_parameters): Avoid #ifdefs on
3737         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
3738         (stire_one_args): Likewise.
3739         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
3740         (emit_library_call_value_1): Likewise.
3741         (compute_argument_block_size): Align to STACK_BOUNDARY only for
3742         ACCUMULATE_OUTGOING_ARGS.
3743         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
3744         value.
3745         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
3746         (use_crosses_set_p): Likewise.
3747         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
3748         #define ACCUMULATE_OUTGOING_ARGS 1.
3749         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
3750         frames.
3751         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
3752         constants.
3753         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
3754         (TARGET_SWITCHES): Add push-args, no-push-args,
3755         accumulate-outgoing-args and no-accumulate-outgoing-args.
3756         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
3757         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
3758         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
3759         and PUSH_ROUNDING.
3760         (emit_push_insn): Likewise.
3761         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
3762         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
3763         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
3764         (STACK_DYNAMIC_OFFSET): Define correctly for both
3765         ACCUMULATE_OUTGOING_ARGS and normal mode.
3766         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
3767         * tm.texi (PUSH_ARGS): Document.
3768         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
3769
3770 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3771
3772         * flags.h (flag_optimize_sibling_calls): Declare.
3773         * calls.c (expand_call): Fail sibcall when
3774         !flag_optimize_sibling_calls
3775         * invoke.texi (flag_optimize_sibling_calls): Document.
3776         * toplev.c (flag_optimize_sibling_calls): New global variable.
3777         (f_options): Add flag_optimize_sibling_calls.
3778         (rest_of_compilation): Conditionize
3779         optimize_sibling_and_tail_recursive_calls by
3780         flag_optimize_sibling_calls.
3781         (main): Set flag_optimize_sibling_calls for -O2.
3782         * stmt.c (expand_return): Conditionize tail recursion by
3783         flag_optimize_sibling_calls.
3784
3785 2000-03-29  Richard Henderson  <rth@cygnus.com>
3786
3787         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
3788         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
3789
3790 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
3791
3792         * except.c (add_eh_table_entry): Mark type_info's as referenced.
3793
3794 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3795
3796         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
3797         is given.
3798         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
3799         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
3800         * config/rs6000/aix.h: then modified likewise.
3801
3802 2000-03-28  Richard Henderson  <rth@cygnus.com>
3803
3804         * rtl.h: Redistribute enum reg_note documentation.
3805         Kill trailing whitespace.
3806         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
3807         Kill trailing whitespace.
3808
3809 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
3810
3811         * cppfiles.c (hash_IHASH): Just return i->hash.
3812         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
3813         htab_find_with_hash.
3814         (cpp_read_file): Likewise.
3815         (find_include_file): Likewise.  Properly initialize
3816         ih->nshort.  Share ih->name and ih->nshort if possible.
3817         * cpphash.c (_cpp_calc_hash): New function.
3818         (hash_HASHNODE): Just return h->hash.
3819         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
3820         htab_find_with_hash.
3821         * cpphash.h: Prototype _cpp_calc_hash.
3822         * cppinit.c (initialize_builtins): Provide a valid hash
3823         to _cpp_make_hashnode, using _cpp_calc_hash.
3824
3825         * cpphash.c (collect_expansion): # is not a special character
3826         in object-like macros.  In -traditional mode, /**/ is not
3827         token paste at the beginning or end of the line.
3828         * cpplib.c (do_include, do_import, do_include_next): If
3829         parse_include fails, return immediately.
3830
3831 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
3832
3833         * config/arm/arm.md (return peepholes): Update to reflect the new
3834         call insn patterns.
3835         * config/arm/arm.c (arm_volatile_func): Also check
3836         current_function_nothrow.
3837         (output_return_instruction, output_func_prologue): Use it.
3838         (arm_output_epilogue, arm_expand_prologue): Likewise.
3839
3840 2000-03-27  Tom Tromey  <tromey@cygnus.com>
3841
3842         * gcc.c (handle_braces): In {x*...} case, break out of loop if
3843         switch is found.
3844
3845 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3846
3847         * expr.c (store_constructor): SIZE now signed.
3848         For EXPR_SIZE, don't evaluate size; just needed if constant.
3849         * fold-const.c (fold): Fix a number of cases when folded tree is
3850         wrong type.
3851         * function.c (flush_addressof): Reenable.
3852         * tree.h (flush_addressof): Likewise.
3853         * toplev.c (independent_decode_option): Look at strings_processed.
3854         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
3855
3856 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
3857
3858         * sibcall.c (indentify_call_return_value): Find last call in the chain;
3859         Allow stack adjustment after function call.
3860
3861         * regmove.c (struct csa_memlist): Make mem field rtx *.
3862         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
3863         (try_apply_stack_adjustment): Replace whole MEM rtx.
3864         (combine_stack_adjustments_for_block): Update calls
3865         to record_one_stack_ref.
3866
3867 2000-03-28  Neil Booth  <NeilB@earthling.net>
3868
3869         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
3870         '\\' rather than a null character, so nulls are not special.  Fix
3871         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
3872         speed trigraph conversion.
3873         (_cpp_init_input_buffer): Initialize trigraph map.
3874
3875 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
3876
3877         * config/i386/i386.c (output_387_binary_op): Correct intel
3878         mode assembly output, and add spaces after commas in AT&T
3879         output.  Correct Unixware assembler comment.  Document input
3880         constraints.  Comment fp operations.  Reduce profligate buffer
3881         size.  Remove extraneous abort.  Localize temp var.
3882         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
3883         (output_fix_trunc): Add spaces after commas in assembly output.
3884
3885 2000-03-27  Richard Henderson  <rth@cygnus.com>
3886
3887         * i386-protos.h (ix86_match_ccmode): Declare.
3888         * i386.c (ix86_match_ccmode): New.
3889         (ix86_expand_fp_compare): Update for pattern renames.
3890         (ix86_expand_strlensi_unroll_1): Likewise.
3891         * i386.h (EXTRA_CC_MODES): Add CCZ.
3892         (SELECT_CC_MODE): Use it for EQ/NE zero.
3893         * i386.md (cmpsi_ccz_1): New.
3894         (cmpqi_ccz_1): New.
3895         (*testsi_ccz_1): New.
3896         (testqi_ccz_1): New.
3897         (cmpsi_ccno_1): Rename from cmpsi_0.
3898         (testsi_ccno_1): Rename from testsi_1.
3899         (testqi_ccno_1): Rename from testqi_1.
3900         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
3901         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
3902         (*cmphi_0): Use ix86_match_ccmode.
3903         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
3904         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
3905         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
3906         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
3907         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
3908         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
3909         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
3910         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
3911         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
3912         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
3913         (appropriate peepholes): Likewise.
3914         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
3915         (*subsi_3, *subhi_3, *subqi_3): Remove.
3916         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
3917         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
3918         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
3919         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
3920         (x86_shift_adj_1): Use CCZ.
3921         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
3922
3923 2000-03-27  Stan Cox  <scox@cygnus.com>
3924
3925         * resource.h (mark_resource_type): New.
3926         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
3927         find_free_register): Use mark_resource_type.
3928         (mark_set_resources): Change include_delayed_effects
3929         to mark_resource_type.
3930         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
3931         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
3932         Use mark_resource_type.
3933
3934 2000-03-27  Richard Henderson  <rth@cygnus.com>
3935
3936         * i386.md (call_pop_0, call_value_pop_0): New.
3937         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
3938         (call_value_pop_1): Likewise.
3939         (call_0, call_value_0): New.
3940         (call_1, call_value_1): Remove constraint from unused arg.
3941
3942 2000-03-27  Nick Clifton  <nickc@cygnus.com>
3943
3944         * invoke.texi (Spec Files): Document new spec % command created by
3945         Tom Tromey's recent patch.
3946
3947 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
3948
3949         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
3950         if not defined.
3951
3952 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3953
3954         * expr.c (expand_assignment): Fix typo in last change.
3955
3956         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
3957
3958 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3959
3960         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
3961         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
3962         and DECL_INLINE if FUNCTION_DECL.
3963         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
3964         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
3965         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
3966         (combine_parm_decls): Likewise.
3967         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
3968         * print-tree.c (print_node): Likewise.
3969         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
3970         DECL_TRANSPARENT_UNION on proper decl types.
3971         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
3972         * stor-layout.c (layout_decl): Only check DECL_PACKED and
3973         DECL_BIT_FIELD of FIELD_DECL.
3974         * tree.h (DECL_RESULT_FLD): New macro.
3975
3976         * expr.c (expand_assignment): Add code to handle variable-sized
3977         BLKmode case.
3978
3979 2000-03-26  Richard Henderson  <rth@cygnus.com>
3980
3981         * calls.c (expand_call): Pass parms not original exp to
3982         optimize_tail_recursion.  Mind return value instead of looking
3983         for a barrier.
3984         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
3985         call_expr.  Move checks for call_expr and current_function_decl ...
3986         (expand_return): ... here.
3987
3988 2000-03-26  Tom Tromey  <tromey@cygnus.com>
3989
3990         * gcc.c (handle_braces): Recognize `%{<S}' construct.
3991         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
3992         defines.
3993         (process_command): Use them.
3994         (check_live_switch): Likewise.
3995         (give_switch): Skip ignored switches.
3996
3997 2000-03-26  Jan Hubicka  <jh@suse.cz>
3998
3999         * jump.c (jump_optimize_1): Fix typo in elide optimizations
4000         for minimal jump pass test.
4001
4002 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
4003
4004         * integrate.c (function_cannot_inline_p): Do inline functions that
4005         return `void'.
4006
4007 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4008
4009         * stor-layout.c (layout_type, set_sizetype): early_type_list is
4010         now a list of TREE_LIST entries, not types.
4011         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
4012
4013         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
4014         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
4015         int_bit_position.
4016         * config/mips/mips.c (function_arg): Likewise; also remove cast
4017         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
4018         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
4019         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
4020         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
4021         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
4022         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
4023         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
4024         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
4025         num_adjusts now unsigned.
4026         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
4027         * config/sparc/sparc.c (struct function_arg_record_value_parms):
4028         NREGS now unsigned.
4029         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
4030         as is BITPOS variable; use host_integerp and int_bit_position.
4031         (function_arg_record_value_2): Likewise.
4032         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
4033         Variable REGNO now unsigned.
4034         (function_arg_record_value): NREGS now unsigned.
4035
4036 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
4037
4038         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
4039
4040 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4041
4042         * Rework fields used to describe positions of bitfields and
4043         modify sizes to be unsigned and use HOST_WIDE_INT.
4044         * alias.c (reg_known_value_size): Now unsigned.
4045         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
4046         (really_start_incremental_init): Use bitsize_zero_node.
4047         (push_init_level, pop_init_level, output_init_element): Likewise.
4048         Use bitsize_unit_node and bitsize_one_node.
4049         (output_pending_init_elements, process_init_element): Likewise.
4050         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
4051         (make_extraction): Position and length HOST_WIDE_INT and unsigned
4052         HOST_WIDE_INT, respectively.
4053         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
4054         (num_sign_bit_copies): Returns unsigned.
4055         BITWIDTH now unsigned; rework arithmetic.
4056         Remove recursive call from arg to MAX.
4057         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
4058         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
4059         REGNO now unsigned.
4060         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
4061         (find_split_point, expand_compound_operation, make_extraction): LEN
4062         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
4063         (make_field_assignment): Likewise.
4064         (combine_simplify_rtx): Add cast.
4065         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
4066         (force_to_mode): WIDTH now unsigned; add cast.
4067         (if_then_else_cond): SIZE now unsigned.
4068         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
4069         (extended_count): Now returns unsigned.
4070         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
4071         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
4072         (simplify_comparison): MODE_WIDTH now unsigned.
4073         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
4074         (mark_used_regs_combine): Likewise; rework arithmetic.
4075         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
4076         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
4077         (record_promoted_value): REGNO now unsigned.
4078         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
4079         (get_last_value): REGNO now unsigned.
4080         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
4081         (reg_dead_regno, reg_dead_endregno): Now unsigned.
4082         (remove_death): Arg REGNO now unsigned.
4083         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
4084         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
4085         now unsigned.
4086         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
4087         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
4088         (struct cse_reg_info): REGNO now unsigned.
4089         (cached_regno): Now unsigned.
4090         (REGNO_QTY_VALID_P): Add cast.
4091         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
4092         (remove_invalid_regs): Likewise.
4093         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
4094         as are variables END and I.
4095         (get_cse_reg_info, insert): Likewise.
4096         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
4097         (canon_hash): Likewise.
4098         (insert_regs, lookup_for_remove): REGNO now unsigned.
4099         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
4100         New variable RN.
4101         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
4102         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
4103         * emit-rtl.c (subreg_realpart_p): Add cast.
4104         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
4105         (operand_subword_force): Arg I is now unsigned.
4106         * except.c (eh_regs): Variable I is now unsigned.
4107         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
4108         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
4109         length is unsigned HOST_WIDE_INT; likewise for internal variables.
4110         (store_split_bit_field, extract_fixed_bit_field): Likewise.
4111         (extract_split_bit_field, store_bit_field, extract_bit_field):
4112         Likewise.
4113         * expr.c (store_constructor_fields, store_constructor, store_field):
4114         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
4115         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
4116         (do_jump): Likewise.
4117         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
4118         MAX_SIZE is now unsigned.
4119         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
4120         (emit_group_store): Likewise.
4121         (emit_move_insn): I now unsigned.
4122         (store_constructor): Use host_integerp, tree_low_cst, and
4123         bitsize_unit_node.
4124         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
4125         Rework all calculations to use trees and new fields.
4126         * expr.h (promoted_input_arg): Regno now unsigned.
4127         (store_bit_field, extract_bit_field): Adjust types of pos and size.
4128         (mark_seen_cases): Arg is HOST_WIDE_INT.
4129         * flow.c (verify_wide_reg_1): REGNO now unsigned.
4130         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
4131         precisions and alignments are unsigned.
4132         (optimize_bit_field_compare, fold_truthop): Likewise.
4133         (int_const_binop): Adjust threshold for size_int_type_wide call.
4134         (fold_convert): Likewise.
4135         (size_int_type_wide): Make table larger and fix thinko that only
4136         had half of table used.
4137         (all_ones_mask_p, fold): Precisions are unsigned.
4138         * function.c (put_reg_info_stack): REGNO is unsigned.
4139         (instantiate_decl): Size is HOST_WIDE_INT.
4140         (instantiate_virtual_regs): I is unsigned.
4141         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
4142         (promoted_input_arg): REGNO is unsigned.
4143         * function.h (struct function): x_max_parm_reg is now unsigned.
4144         * gcse.c (max_gcse_regno): Now unsigned.
4145         (struct null_pointer_info): min_reg and max_reg now unsigned.
4146         (lookup_set, next_set): REGNO arg now unsigned.
4147         (compute_hash_table): REGNO and I now unsigned.
4148         (handle_avail_expr): regnum_for_replacing now unsigned.
4149         (cprop_insn): REGNO now unsigned.
4150         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
4151         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
4152         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
4153         * hard-reg-set.h (reg_class_size): Now unsigned.
4154         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
4155         * jump.c (mark_modified_reg): I now unsigned; add cast.
4156         (rtx_equal_for_thread_p): Add cast.
4157         * loop.c (max_reg_before_loop): Now unsigned.
4158         (struct_movable): REGNO now unsigned.
4159         (try_copy_prop): REGNO arg unsigned.
4160         (regs_match_p): XN and YN now unsigned.
4161         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
4162         (strength_reduce): Likewise; NREGS also unsigned.
4163         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
4164         * loop.h (struct iv_class): REGNO now unsigned.
4165         (max_reg_before_loop, first_increment_giv, last_increment_giv):
4166         Now unsigned.
4167         * machmode.h (mode_size, mode_unit_size): Now unsigned.
4168         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
4169         * optabs.c (expand_binop): I and NWORDS now unsigned.
4170         (expand_unop): I now unsigned.
4171         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
4172         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
4173         * real.c (significand_size): Now returns unsigned.
4174         * real.h (significand_size): Likewise.
4175         * regclass.c (reg_class_size): Now unsigned.
4176         (choose_hard_reg_mode): Both operands now unsigned.
4177         (record_reg_classes): REGNO and NR now unsigned.
4178         (reg_scan): NREGS now unsigned.
4179         (reg_scan_update): old_max_regno now unsigned.
4180         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
4181         * reload.c (find_valid_class): BEST_SIZE now unsigned.
4182         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
4183         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
4184         Likewise for variable R.
4185         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
4186         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
4187         (find_equiv_reg): Add casts.
4188         (regno_clobbered_p): Arg REGNO now unsigned.
4189         * reload.h (struct reload): NREGS now unsigned.
4190         (refers_to_regno_for_reload_p): Regno args are unsigned.
4191         (regno_clobbered_p): Likewise.
4192         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
4193         (compute_use_by_pseudos): REGNO now unsigned.
4194         (find_reg): I and J now unsigned, new variable K, and change loop
4195         variables accordingly; THIS_NREGS now unsigned.
4196         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
4197         (spill_hard_reg): REGNO arg now unsigned; add casts.
4198         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
4199         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
4200         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
4201         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
4202         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
4203         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
4204         (emit_reload_insns): REGNO now unsigned.
4205         (reload_cse_move2add): Add cast.
4206         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
4207         and rework loop.
4208         * resource.c (mark_referenced_resources, mark_set_resources): New
4209         variable R; REGNO and LAST_REGNO now unsigned.
4210         (mark_target_live_regs): J and REGNO now unsigned.
4211         * rtl.c (mode_size, mode_unit_size): Now unsigned.
4212         * rtl.h (union rtunion_def): New field rtuint.
4213         (XCUINT): New macro.
4214         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
4215         (operand_subword, operand_subword_force): Word number is unsigned.
4216         (choose_hard_reg_mode): Operands are unsigned.
4217         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
4218         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
4219         (regno_use_in, combine_instructions, remove_death): Likewise.
4220         (reg_scan, reg_scan_update): Likewise.
4221         (extended_count): Return is unsigned.
4222         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
4223         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
4224         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
4225         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
4226         (reg_reg_last_1): FIRS and LAST now unsigned.
4227         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
4228         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
4229         now unsigned.
4230         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
4231         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
4232         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
4233         (replace_regs): Arg NREGS now unsigned.
4234         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
4235         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
4236         (simplify_binary_operation): Likewise.
4237         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
4238         THIS_LAST now unsigned.
4239         (cselib_record_set): Add cast.
4240         * ssa.c (ssa_max_reg_num): Now unsigned.
4241         (rename_block): REGNO now unsigned.
4242         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
4243         sizes now unsigned.
4244         (all_cases_count): Just return -1 not -2.
4245         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
4246         Rework tests to use trees whenever possible.
4247         Use host_integerp and tree_low_cst.
4248         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
4249         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
4250         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
4251         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
4252         (smallest_mode_for_size): Likewise.
4253         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
4254         KNOWN_ALIGN is now an alignment, so simplify code.
4255         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
4256         (start_record_layout): Renamed from new_record_layout_info.
4257         Update to new fields.
4258         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
4259         New functions.
4260         (place_union_field): Renamed from layout_union_field.
4261         Update to use new fields in rli.
4262         (place_field): Renamed from layout_field.
4263         Major rewrite to use new fields in rli; pass alignment to layout_decl.
4264         (finalize_record_size): Rework to use new fields in rli and handle
4265         union.
4266         (compute_record_mode): Rework to simplify and to use new DECL fields.
4267         (finalize_type_size): Make rounding more consistent.
4268         (finish_union_layout): Deleted.
4269         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
4270         (layout_type, case RECORD_TYPE): Call new function names.
4271         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
4272         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
4273         (get_best_mode): UNIT is now unsigned; remove casts.
4274         * tree.c (bit_position): Compute from new fields.
4275         (byte_position, int_byte_position): New functions.
4276         (print_type_hash_statistics): Cast to remove warning.
4277         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
4278         (build_index_type): Likewise; make subtype of sizetype.
4279         (build_index_2_type): Pass sizetype to build_range_type.
4280         (build_common_tree_nodes): Use size_int and bitsize_int to
4281         initialize nodes; add bitsize_{zero,one,unit}_node.
4282         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
4283         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
4284         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
4285         (DECL_FIELD_BITPOS): Deleted.
4286         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
4287         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
4288         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
4289         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
4290         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
4291         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
4292         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
4293         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
4294         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
4295         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
4296         (DECL_ALIGN): Adjust to new field in union.
4297         (DECL_OFFSET_ALIGN): New field.
4298         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
4299         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
4300         (union tree_decl): Add struct for both aligns.
4301         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
4302         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
4303         (struct record_layout_info): Rework fields to have offset
4304         alignment and byte and bit position.
4305         (start_record_layout, place_field): Renamed from old names.
4306         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
4307         (byte_position, int_byte_position): Likewise.
4308         (get_inner_reference): Change types of position and length.
4309         * unroll.c (unroll_loop): New variable R; use for some loops.
4310         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
4311         (calculate_giv_inc): Arg REGNO now unsigned.
4312         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
4313         * varasm.c (assemble_variable): Clean up handling of size using
4314         host_integerp and tree_low_cst.
4315         (decode_addr_const): Use byte, not bit, position.
4316         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
4317         use tree_low_cst and int_bit_position.
4318         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
4319
4320 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
4321
4322         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
4323         (reorder_block_def): New members eff_head and eff_end.
4324         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
4325         (verify_insn_chain): New function.
4326         (skip_insns_between_block): Add code to skip deleted insns.
4327         Check for note before using.
4328         (chain_reorder_blocks): Replace calls to skip_insns_between_block
4329         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
4330         Check for note before using.
4331         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
4332         (fixup_reorder_chain): Restructure, clean up, defect removal.
4333         (reorder_basic_blocks): Remove last_insn and references to it.
4334         Moved insn chain verification code into a new function (see above).
4335         Delete defective code that sets last insn.
4336         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
4337         all blocks.
4338
4339 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4340
4341         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
4342
4343 2000-03-24  Richard Henderson  <rth@cygnus.com>
4344
4345         * tree.c (lang_safe_for_unsave): Remove.
4346         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
4347         allowing for two levels of unsafeness.  Remove lang hook.
4348         * tree.h: Update declarations.
4349         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
4350         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
4351         Always fail sibcalls when there are pending cleanups.
4352
4353 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
4354
4355         * flow.c (propagate_block): When we delete an ADDR_VEC,
4356         also delete the BARRIER following it if there is one.
4357
4358 2000-03-24  Richard Henderson  <rth@cygnus.com>
4359
4360         * builtins.c (expand_builtin_bzero): Convert `length' argument
4361         to sizetype.
4362
4363 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
4364
4365         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
4366         comparison if regno's are equal.
4367         * calls.c (initialize_argument_informat): Add ecf_flags argument.
4368         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
4369         (expand_call): Update caller.
4370         Avoid making a sibling call if argument size of the callee is larger
4371         than argument size of the caller.
4372         Call hard_function_value with outgoing set if in sibcall pass.
4373         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
4374
4375         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
4376         Change LEAF_REGISTERS from an array initializer to actual array
4377         identifier. Move static global variable into the function.
4378         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
4379         sequences for leaf functions.
4380         * global.c (global_alloc): Likewise.
4381         * tm.texi (LEAF_REGISTERS): Update documentation.
4382
4383         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
4384         TARGET_FLAT leaf disabling hack.
4385         (LEAF_REGISTERS): Changed from an array initializer to actual array
4386         identifier to avoid duplication and remove the above hack.
4387         (FUNCTION_OK_FOR_SIBCALL): Define.
4388         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
4389         always like call attribute.
4390         (eligible_for_sibcall_delay): New attribute.
4391         (sibcall): New delay type.
4392         (sibcall, sibcall_value, sibcall_epilogue): New expands.
4393         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
4394         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
4395         * config/sparc/sparc.c (sparc_leaf_regs): New array.
4396         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
4397         New functions.
4398         (output_function_epilogue): Move part of the code into
4399         output_restore_regs.
4400         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
4401         TYPE_SIBCALL.
4402         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
4403         prototypes.
4404
4405         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
4406         until infrastructure is finished.
4407
4408 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
4409
4410         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
4411         (save_parm_insns): Not here.
4412
4413 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4414
4415         * builtins.c (expand_builtin_bzero): New function.
4416         (expand_builtin): Handle bzero.
4417
4418         * builtins.def: Add BUILT_IN_BZERO.
4419
4420         * c-common.c (c_common_nodes_and_builtins): Provide builtin
4421         prototype & function for bzero.
4422
4423 2000-03-23  Michael Meissner  <meissner@redhat.com>
4424
4425         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
4426         change adding TARGET_FP to the TF floating point insns, except for
4427         trunctfsf2, which generates direct calls to truncdfsf2.
4428
4429 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
4430
4431         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
4432         try to protect against middle-end changes that break binary
4433         compatibility.
4434         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
4435
4436 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4437
4438         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
4439
4440 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4441
4442         * calls.c (expand_call): If TARGET is passed by reference and
4443         is readonly, write a CLOBBER.
4444
4445 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4446
4447         * builtins.c (expand_builtin): Handle bcmp.
4448
4449         * builtins.def: Add BUILT_IN_BCMP.
4450
4451         * c-common.c (c_common_nodes_and_builtins): Provide builtin
4452         prototype & function for bcmp.
4453
4454 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
4455
4456         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
4457         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
4458         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
4459
4460 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
4461
4462         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
4463         alternative when using -fp64 -gp32.
4464
4465 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
4466
4467         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
4468         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
4469         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
4470
4471         * frame.h (frame_state): Revert last change.
4472         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
4473         * libgcc2.c (throw_helper): Revert last change.
4474
4475 2000-03-22  Richard Henderson  <rth@cygnus.com>
4476
4477         * stmt.c (expand_asm_operands): Don't promote the temporary.
4478
4479 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4480
4481         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
4482         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
4483           c_get_alias_set): Likewise.
4484         * c-decl.c (duplicate_decls): Likewise.
4485         * c-typeck.c (default_conversion,build_unary_op): Likewise.
4486         * calls.c (initialize_argument_information): Likewise.
4487         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
4488         Likewise.
4489         * dwarfout.c (decl_class_context,output_type): Likewise.
4490         * expr.c (get_inner_reference): Likewise.
4491         * fold-const.c (simple_operand_p,fold): Likewise.
4492         * function.c (aggregate_value_p): Likewise.
4493         * stmt.c (expand_asm_operands): Likewise.
4494         * varasm.c (named_section): Likewise.
4495
4496 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
4497
4498         Implement dwarf2 exception handling for the ARM.
4499         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
4500         (DWARF_FRAME_RETURN_COLUMN): Define.
4501         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
4502         REG_FRAME_RELATED_EXPR note.
4503         (emit_sfm): Likewise.
4504         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
4505         * dwarf2out.c (reg_save): Handle saving a register to itself.
4506         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
4507         * except.c (eh_regs): Don't use the static chain reg if it's
4508         callee-saved.
4509         * frame.h (frame_state): Add cfa_saved field.
4510         * frame.c (execute_cfa_insn): Set it.
4511         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
4512         the epilogue.
4513         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
4514         Now takes a parm.
4515         (instantiate_virtual_regs): Adjust.
4516         * tm.texi: Adjust.
4517         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
4518         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
4519         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
4520
4521         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
4522         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
4523
4524 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4525
4526         * builtins.def: New file.
4527
4528         * Makefile.in (TREE_H): Depend on builtins.def.
4529
4530         * builtins.c (built_in_names): Use builtins.def.
4531
4532         * tree.h (built_in_function): Likewise.
4533
4534 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
4535
4536         * tree.c (size_in_bytes): Return size_zero_node, not
4537         integer_zero_node.
4538
4539 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
4540
4541         * config/fp-bit.c (pack_d): Correct the case when a denormal
4542         is rounded up and stops being denormal.
4543
4544 2000-03-21  Richard Henderson  <rth@cygnus.com>
4545
4546         * config/alpha/alpha.c (function_arg): Check for void_type_node
4547         before using MUST_PASS_IN_STACK.
4548
4549 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
4550
4551         * regmove.c (combine_stack_adjustments_for_block): Check that
4552         the stack pointer is a valid memory address.
4553
4554 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
4555
4556         * calls.c: re-install Mar 16 emit_library_call merge.
4557
4558 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
4559
4560         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
4561         we cannot be sure that if reload_completed base register will
4562         be properly aligned.
4563
4564 2000-03-21  Richard Henderson  <rth@cygnus.com>
4565
4566         * flow.c (delete_block): Fix typo last change.
4567
4568 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
4569
4570         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
4571         not COMPLETE_TYPE_P, to check the type of the expression.
4572
4573 2000-03-21  Michael Meissner  <meissner@redhat.com>
4574
4575         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
4576         all floating point insns that just tested the macro
4577         TARGET_HAS_XFLOATING_LIBS.
4578         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
4579         used to only use the gprs.
4580
4581 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
4582
4583         * tree.h (COMPLETE_TYPE_P): New macro.
4584         (COMPLETE_OR_VOID_TYPE_P): New macro.
4585         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
4586         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
4587         * c-aux-info.c (gen_type): Use them.
4588         * c-common.c (c_expand_expr_stmt): Likewise.
4589         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
4590         grokdeclarator, grokparms, finish_struct, start_function,
4591         store_parm_decls, combine_parm_decls): Likewise.
4592         * c-parse.y (cast_expr): Likewise.
4593         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
4594         c_size_in_bytes, c_alignof, build_component_ref,
4595         build_indirect_ref, build_array_ref, convert_arguments,
4596         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
4597         * calls.c (initialize_argument_information): Likewise.
4598         * convert.c (convert_to_integer): Likewise.
4599         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
4600         * dwarfout.c (location_or_const_value_attribute,
4601         output_enumeration_type_die, output_structure_type_die,
4602         output_union_type_die, output_type): Likewise.
4603         * expr.c (safe_from_p, expand_expr): Likewise.
4604         * function.c (assign_parms): Likewise.
4605         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
4606         * tree.c (build_array_type, build_function_type,
4607         build_method_type, build_offset_type, build_complex_type): Likewise.
4608         * c-parse.c, c-parse.h: Regenerated.
4609
4610 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4611
4612         * config/c4x/rtems.h: Include config/rtems.h.
4613
4614 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
4615
4616         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
4617         decl is a FUNCTION_DECL
4618
4619 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
4620
4621         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
4622         function uses output registers.  Don't save RP for leaf functions.
4623         Do save RP even if no epilogue.
4624         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
4625         (CALL_USED_REGISTERS): Unmark in registers.
4626         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
4627         to near the middle.
4628
4629 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
4630
4631         * config/rs6000/rs6000.md (bunordered): New expander.
4632         (bordered): New expander.
4633         (buneq): New expander.
4634         (bunge): New expander.
4635         (bungt): New expander.
4636         (bunle): New expander.
4637         (bunlt): New expander.
4638         (bltgt): New expander.
4639
4640         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
4641         (ccr_bit_negated_p): New function.
4642         (print_operand): For %C, generate appropriate cror for UNEQ,
4643         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
4644
4645 2000-03-20  Andreas Jaeger  <aj@suse.de>
4646
4647         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
4648         warning.
4649
4650         * tree.h (safe_for_unsave): Prototype.
4651
4652 2000-03-20  Richard Henderson  <rth@cygnus.com>
4653
4654         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
4655         (combine_stack_adjustments_for_block): Don't allow sp references
4656         in the side of a set we're not fixing up.
4657         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
4658         after life_analysis.
4659
4660 2000-03-20  Richard Henderson  <rth@cygnus.com>
4661
4662         * calls.c (expand_call): Don't bother generating tail call
4663         sequences if there are pending cleanups.  Use
4664         expand_start_target_temps/expand_end_target_temps to elide
4665         cleanups created during sibcall expansion.
4666
4667 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
4668
4669         * configure.in: Set $IFS to a value if it doesn't already have one
4670         in the --enable-checking handling.
4671         * configure: Regenerate.
4672
4673 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4674
4675         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
4676         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
4677         Regenerated.
4678
4679 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
4680
4681         * jump.c (delete_noop_moves): Remove code attempting to
4682         combine stack adjustments.
4683
4684 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4685
4686         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
4687         * except.c (emit_cleanup_handler): Use them.
4688         (expand_end_all_catch): Likewise.
4689         * function.c (fixup_var_refs): Likewise.
4690         (expand_function_end): Clear catch_clauses_last.
4691         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
4692         * except.h (struct eh_status): New field x_catch_clauses_last.
4693         (catch_clauses_last): New define.
4694
4695         * Makefile.in (tree.o): Depend on HASHTAB_H.
4696         * tree.c: Include hashtab.h.
4697         (struct type_hash): Remove next field.
4698         (TYPE_HASH_SIZE): Remove.
4699         (TYPE_HASH_INITIAL_SIZE): New define.
4700         (type_hash_table): Change type to htab_t.
4701         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
4702         mark_hash_entry): New functions.
4703         (init_obstacks): Allocate type hash.
4704         (type_hash_lookup): Use htab functions.
4705         (type_hash_add, mark_type_hash): Likewise.
4706         (dump_tree_statistics): Call print_type_hash_statistics.
4707
4708 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4709
4710         * rs6000/t-aix41: New file.
4711
4712         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
4713
4714 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
4715
4716         * tm.texi (Driver): Fix typos and tweak entry for
4717         INCLUDE_DEFAULTS.
4718         Move misplaced STRUCT_FORCE_BLK entry ...
4719         (Storage Layout): ... to here.
4720         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
4721
4722 2000-03-19  Richard Henderson  <rth@cygnus.com>
4723
4724         * flow.c (delete_block): Delete the addr_vec along with the block.
4725         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
4726         reference labels.
4727
4728         * fold-const.c (extract_muldiv): Apply type check for defined
4729         overflow to multiply as well as divide.
4730
4731         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
4732
4733 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
4734
4735         * emit-rtl.c (remove_unncessary_notes): Check that all
4736         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
4737         associated NOTE_BLOCK.
4738         * function.h (identify_blocks): Update comments.
4739         (reorder_blocks): Declare.
4740         * function.c (identify_blocks): Don't take paramters.
4741         (reorder_blocks): Don't take parameters.
4742         * loop.h (find_loop_tree_blocks): Remove.
4743         (unroll_block_trees): Likewise.
4744         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
4745         reorder_blocks instead of unroll_block_trees.h
4746         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
4747         * stmt.c (find_loop_tree_blocks): Remove.
4748         (unroll_block_trees): Likewise.
4749         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
4750         in whole-function mode.
4751         * tree.h (reorder_blocks): Remove declaration.
4752
4753         * expr.c: Include intl.h.
4754         * Makefile.in (expr.o): Depend on intl.h.
4755
4756 2000-03-18  Richard Henderson  <rth@cygnus.com>
4757
4758         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
4759
4760 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
4761
4762         * tree.h (tree_index): Remove enumerals for integer types.
4763         (integer_type_kind): New type.
4764         (integer_types): New variable.
4765         (char_type_node): Adjust.
4766         (signed_char_type_node): Likewise.
4767         (unsigned_char_type_node): Likewise.
4768         (short_integer_type_node): Likewise.
4769         (short_unsigned_type_node): Likewise.
4770         (integer_type_node): Likewise.
4771         (unsigned_type_node): Likewise.
4772         (long_integer_type_node): Likewise.
4773         (long_unsigned_type_node): Likewise.
4774         (long_long_integer_type_node): Likewise.
4775         (long_long_unsigned_type_node): Likewise.
4776         * tree.c (integer_types): New variable.
4777         (init_obstacks): Register it as a root.
4778
4779 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
4780
4781         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
4782         NEXT_INSN. Update last insn in chain.
4783
4784 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
4785
4786         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
4787         with TYPE_DECL_SUPPRESS_DEBUG set.
4788
4789 2000-03-18  Richard Henderson  <rth@cygnus.com>
4790
4791         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
4792
4793 2000-03-18  Richard Henderson  <rth@cygnus.com>
4794
4795         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
4796         care for HALF_PIC_P.
4797         (expander_call_insn_operand): Remove.
4798         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
4799         * i386.h (PREDICATE_CODES): Update.
4800         * i386.md (all call expanders): Remove predicates, remove special
4801         handling for half-pic.
4802         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
4803         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
4804         (sibcall_epilogue): New.
4805
4806 2000-03-17  Richard Henderson  <rth@cygnus.com>
4807
4808         * rtlanal.c (single_set): Reject if the parallel has anything
4809         except SET or USE or CLOBBER.
4810
4811 2000-03-17  Jeff Law  <law@cygnus.com>
4812             Richard Henderson  <rth@cygnus.com>
4813
4814         * Makefile.in (OBJS): Add sibcall.o.
4815         (sibcall.o): New.
4816         * sibcall.c: New file.
4817         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
4818         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
4819         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
4820         Emit sibcall patterns when requested.  Update all callers.
4821         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
4822         elimination seems feasable.
4823         * final.c (leaf_function_p): Sibling calls don't discount being
4824         a leaf function.
4825         * flow.c (HAVE_sibcall_epilogue): Provide default.
4826         (find_basic_blocks_1): Sibling calls don't throw.
4827         (make_edges): Make edge from sibling call to EXIT.
4828         (propagate_block): Don't remove sibcall_epilogue insns.
4829         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
4830         (sibcall_epilogue): New.
4831         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
4832         (identify_blocks_1): Likewise.  Break out from ...
4833         (identify_blocks): ... here.
4834         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
4835         (reorder_blocks): ... here.
4836         (init_function_for_compilation): Zap prologue/epilogue as varrays.
4837         (record_insns): Extend a varray instead of mallocing new memory.
4838         (contains): Read a varray not array of ints.
4839         (sibcall_epilogue_contains): New.
4840         (thread_prologue_and_epilogue_insns): Emit and record
4841         sibcall_epilogue patterns.
4842         (init_function_once): Allocate prologue/epilogue varrays.
4843         * genflags.c (gen_insn): Treat sibcall patterns as calls.
4844         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
4845         Broken out from ...
4846         (save_for_inline_nocopy): ... here.
4847         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
4848         Broken out from ...
4849         (expand_inline_function): ... here.
4850         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
4851         (subst_constants): Handle 'n' formats.
4852         * jump.c (jump_optimize_minimal): New.
4853         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
4854         optimizations if it's set.
4855         * rtl.c (copy_rtx): Do copy jump & call for insns.
4856         * rtl.h (struct rtx_def): Document use of jump and call for insns.
4857         (SIBLING_CALL_P): New.
4858         (sibcall_use_t): New.
4859         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
4860         Invoke optimize_sibling_and_tail_recursive_calls.
4861         * tree.c (lang_safe_for_unsave): New.
4862         (safe_for_unsave): New.
4863         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
4864
4865         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
4866         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
4867         (*sibcall_osf_1, *sibcall_value_osf_1): New.
4868
4869 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
4870
4871         * objc/objc-act.c (encode_method_prototype): Pass types, not
4872         PARM_DECLs, to int_size_in_bytes.
4873
4874 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
4875
4876         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
4877
4878         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4879         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
4880
4881 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4882
4883         * Clean up usages of TREE_INT_CST_LOW.
4884         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
4885         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
4886         Regenerated.
4887         * c-tree.h (min_precision): Move declaration to here.
4888         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
4889         (build_unary_op, add_pending_init): Use bit_position.
4890         (pending_init_member, process_init_element): Likewise.
4891         (really_start_incremental_init, push_init_level, pop_init_level):
4892         Don't make copies of nodes or modify them in place, use consistent
4893         types when tracking positions, and use tree routines computations.
4894         (set_init_index, output_init_element): Likewise.
4895         (output_pending_init_elements, process_init_element): Likewise.
4896         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
4897         tree_low_cst and int_bit_position; also minor cleanup.
4898         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
4899         (print_cst_octal): Precision is unsigned.
4900         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
4901         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
4902         (simple_type_align_in_bits): Result is unsigned int.
4903         Use tree_int_low_cst and host_integerp.
4904         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
4905         (field_byte_offset): Result is HOST_WIDE_INT.
4906         Change types of internal variables so alignments are unsigned int,
4907         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
4908         Use host_integerp, tree_low_cst, and int_bit_position.
4909         (add_bit_offset_attribute): Likewise.
4910         (add_data_member_location_attribute): Use tree_cst_low.
4911         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
4912         (add_bit_size_attribute): Use tree_low_cst.
4913         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
4914         * dwarfout.c: Similar changes to dwarf2out.c.
4915         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
4916         * genoutput.c (n_occurences): Return -1 for null string.
4917         (strip_whitespace): Accept null string and make into function.
4918         (scan_operands): Reflect above changes.
4919         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
4920         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
4921         * ssa.c (rename_registers): Add missing cast of arg to bzero.
4922         * tree.c (int_size_in_bytes): Check for too big to represent.
4923         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
4924         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
4925         New declarations.
4926         (min_precision): Delete from here.
4927         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
4928         and int_bit_position.
4929         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
4930         (encode_method_def): Likewise.
4931         (build_ivar_list_initializer): Use int_bit_position.
4932         (generate_shared_structures): Convert size.
4933         (encode_type, encode_complete_bitfield): Use integer_zerop.
4934         (encode_bitfield): Use tree_low_cst and int_bit_position.
4935
4936 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4937
4938         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
4939
4940 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4941
4942         * call.c (special_function_p): It is only malloc if it returns
4943         Pmode.
4944
4945 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4946
4947         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
4948         (C33_FLAG, TARGET_C3X): Add macros.
4949         (TARGET_SWITCHES): Add -m33 option.
4950         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
4951
4952 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4953
4954         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
4955         (PARALLEL_PACK_FLAG): Delete.
4956         (TARGET_SWITCHES): Update.
4957         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
4958
4959 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4960
4961         * fold-const.c (fold): Fix a few cases when the returned result
4962         is not of the same type as the input.
4963
4964 2000-03-16  Nick Clifton  <nickc@cygnus.com>
4965
4966         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
4967         warning.
4968
4969 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4970
4971         * libgcc2.h: Move prototypes above macros with the same name.
4972         Wrap some function prototypes in the conditional which indicates
4973         whether they are supported, i.e. "BITS_PER_UNIT == 8".
4974
4975 2000-03-16  Richard Henderson  <rth@cygnus.com>
4976
4977         * calls.c: Revert last two changes.
4978
4979 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
4980
4981         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
4982         has exponent 0 is a zero.
4983
4984         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
4985         HASH may already be nonzero.  Add code/mode into hash value
4986         immediately after repeat label.
4987         (cselib_lookup): Don't leave the hash table in an inconsistent
4988         state before a hash lookup operation.
4989
4990 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
4991
4992         * i386.md (all HI and QI mode non-move patterns):  Conditionize
4993         by TARGET_[HQ]IMODE_MATH.
4994         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
4995         x86_promote_qi_regs): Declare.
4996         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
4997         TARGET_PROMOTE_QI_REGS): New macros.
4998         (PROMOTE_MODE): New macro.
4999         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
5000         x86_promote_qi_regs): New global variables.
5001
5002 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
5003
5004         * calls.c (emit_library_call_value_1): Break out from ...; handle
5005         VOIDmode function calls too.
5006         (emit_library_call_value): ... here.
5007         (emit_library_call): Implement by calling emit_library_call_value_1.
5008
5009 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
5010
5011         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
5012         Update arg_space_so_far on stack adjustments.
5013         (emit_library_call, emit_library_call_value): Likewise; take into
5014         account arg_space_so_far and pending_stack_adjust when calculcating
5015         the boundary.
5016
5017 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
5018
5019         * flow.c: Move all basic block reordering code into its own file.
5020         (create_basic_block): Externalize.
5021         * bb-reorder.c: New file. Copy all basic block reordering code from
5022         flow.c to this file.
5023         (reorder_basic_blocks): Fix fencepost error in for-loop.
5024         (reorder_basic_blocks): Remove braces from single statement for-loops.
5025         * basic-block.h: Add declaration for create_basic_block.
5026         * Makefile.in: Add rules for bb-reorder.o.
5027
5028 2000-03-16  Neil Booth  <NeilB@earthling.net>
5029
5030         * cppinit.c (handle_option):  Implement #unassert directive
5031         as -A- command line option.
5032         (print_help):  Update.
5033         * cpptexi.c:  Update.
5034
5035 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5036
5037         * md.texi (Standard Names): Document `jump'.
5038
5039 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
5040
5041         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
5042         gotos.
5043
5044 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
5045
5046         Merge changes from newppc-branch onto trunk.
5047
5048         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
5049
5050         * rs6000.c (toc_hash_table): Update for new hash table functions.
5051         (toc_hash_function): Likewise.
5052         (toc_hash_eq): Likewise.
5053         (toc_hash_mark_entry): Likewise.
5054         (toc_hash_mark_table): Likewise.
5055         (output_toc): Likewise.
5056         (rs6000_add_gc_roots): Likewise.
5057
5058         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5059
5060         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
5061         (AR_FLAGS_FOR_TARGET): here.  New macro.
5062
5063         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
5064
5065         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
5066         fpmem_operand) Delete.
5067         (xer_operand) New.
5068         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
5069         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
5070         (rs6000_save_machine_status, rs6000_restore_machine_status,
5071         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
5072         references to above variables.
5073         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
5074         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
5075         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
5076         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
5077         (XER_REGNO_P, XER_REGNO): New.
5078         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
5079         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
5080         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
5081         XER_REGNO_P.
5082         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
5083         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
5084         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
5085
5086         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5087
5088         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
5089         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
5090         * rs6000.h: from here.
5091
5092         * rs6000-protos.h (rs6000_select_section): Provide prototype.
5093         (rs6000_select_rtx_section): Likewise.
5094         (rs6000_encode_section_info): Likewise.
5095         (sdata_section): Likewise.
5096         (sdata2_section): Likewise.
5097         (sbss_section): Likewise.
5098         * sysv4.h (rs6000_select_section): Delete prototype.
5099         (rs6000_select_rtx_section): Likewise.
5100         (rs6000_encode_section_info): Likewise.
5101         (sdata_section): Likewise.
5102         (sdata2_section): Likewise.
5103         (sbss_section): Likewise.
5104         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
5105
5106         * sysv4.h: Delete various unnecessary #undef's and put a comment
5107         on the remaining ones.
5108         Change various comments according to coding standard.
5109
5110         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
5111
5112         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
5113         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
5114         (CR0_REGNO_P) Remove.
5115         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
5116         setup_incoming_varargs, mtcrf_operation, print_operand,
5117         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
5118         Use the above macros.
5119
5120         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
5121
5122         * config/rs6000/rs6000.md: Added a new alternative for each
5123         pattern that had a 'x' alternative but no 'y' alternative.
5124         Added a new split for each of the above patterns.
5125
5126         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
5127
5128         * aix41.h (ASM_CPU_SPEC): Delete.
5129         (CPP_CPU_SPEC): Delete.
5130
5131         * aix.h (RS6000_OUTPUT_BASENAME): Define.
5132         (ASM_OUTPUT_LABEL): Define.
5133         (ASM_GLOBALIZE_LABEL): Define.
5134         (STRIP_NAME_ENCODING): Define.
5135         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
5136         (STRIP_NAME_ENCODING): Don't define.
5137         (ASM_OUTPUT_LABEL): Don't define.
5138         (ASM_GLOBALIZE_LABEL): Don't define.
5139         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
5140         names, and ASM_OUTPUT_LABEL to output labels, rather than
5141         asm_fprintf.
5142         (ASM_OUTPUT_LABEL): Define.
5143         (ASM_OUTPUT_INT): Use assemble_name.
5144         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
5145         (STRIP_NAME_ENCODING): Don't undefine first.
5146         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
5147         ELF.
5148         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
5149         specified with 'asm' even with -fleading-underscore.
5150         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
5151         (output_epilog): Likewise.
5152         (output_toc): Likewise.
5153         * tramp.asm: Handle -fleading-underscore correctly.
5154
5155         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
5156         -mminimal-toc.
5157         (nonlocal_goto_receiver): Delete.
5158         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
5159
5160         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
5161         (SET_ASM_OP): Define.
5162         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
5163
5164         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
5165         (ASM_LONG): Define.
5166
5167         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
5168         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
5169
5170         * rs6000.h: Add 'u' to more constants.
5171
5172         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
5173
5174         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
5175
5176         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
5177
5178         * rs6000.c (reg_or_u_cint_operand): New function.
5179         (logical_operand): Handle 64-bit hosts.
5180         (logical_u_operand): New function.
5181         (non_logical_cint_operand): Handle 64-bit hosts.
5182         (non_logical_u_cint_operand): New function.
5183         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
5184         (PREDICATE_CODES): Define new functions.
5185         * rs6000-protos.h: Declare new functions.
5186         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
5187         (movdi_64): Bracket code intended for 64-bit hosts.  Create
5188         CONST_DOUBLE for 32-bit values.
5189         (scc insns): Generate DImode compares.
5190         (mfcr insns): Create DImode versions.
5191         (sge matchers): New patterns.
5192
5193         2000-02-15  Gabriel Paubert  <paubert@iram.es>
5194
5195         * rs6000.md: Correct instructions length attributes and
5196         constraints on unsigned compare instructions.
5197         (*ne0): Disable for PowerPC64.
5198
5199         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5200
5201         * rs6000.c (output_function_profiler): Use .long for a 32-bit
5202         quantity, fix profile1.C test failure under -fPIC.
5203
5204         * rs6000.c: Add 'u' to many constants to suppress warnings.
5205         (constant_pool_expr_1): Make static.
5206         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
5207         * rs6000.h: Add 'u' to many constants to suppress warnings.
5208
5209         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
5210         for the start of the TOC, instead of LCTOC..0.
5211         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
5212         of the TOC.
5213         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
5214         (load_toc_aix_di): Use LCTOC..1.
5215
5216         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
5217         * rs6000.c (rs6000_legitimize_address): New function from
5218         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
5219         symbols in the constant pool that really are TOC references.
5220         (print_operand_address): For ELF, write TOC offsets under
5221         -fPIC as subtractions in the insn.
5222         (output_toc): For ELF, define symbols in TOC as normal labels,
5223         to match RTL.
5224         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
5225         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
5226         (create_TOC_reference): Prototype only when RTX_CODE is defined.
5227         * rs6000.md (movsi): Only use create_TOC_reference on
5228         symbols in the constant pool that really are TOC references.
5229
5230         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
5231         * rs6000.c (rs6000_reorg): Delete.
5232         * rs6000-protos.h (rs6000_reorg): Delete.
5233
5234         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
5235
5236         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
5237
5238         * aix.h (SETUP_FRAME_ADDRESSES): Define.
5239         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
5240         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
5241         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
5242         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
5243         rs6000_aix_emit_builtin_unwind_init.
5244         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
5245         rs6000_emit_eh_toc_restore on AIX.
5246         (return_eh_si): Use r2.
5247         (return_eh_di): Use r2.
5248
5249         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
5250         since we're breaking binary compatibility anyway.
5251
5252         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5253
5254         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
5255         constant_pool_expr_p): Declare them.
5256         (constant_pool_expr_p): Declare it.
5257         * config/rs6000/rs6000.c (toc_label_name): Define.
5258         (rs6000_override_options): Set toc_label_name.
5259         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
5260         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
5261         uses_TOC): New functions.
5262         (print_operand): Delete old '*' case.
5263         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
5264         and strip off rtl for TOC before calling output_addr_const.
5265         (rs6000_emit_load_toc_table): Use toc_label_name.
5266         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
5267         the default.
5268         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
5269         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
5270         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
5271         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
5272         into explicit TOC_REGISTER offsets.
5273         (TOC_REGISTER): New macro.
5274         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
5275         TARGET_TOC to reference TOC_REGISTER.
5276         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
5277         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
5278         uses_TOC before emitting label references.
5279
5280         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
5281
5282         * rs6000.md (stack_tie): Fix warning.
5283
5284         * eabi-ctors.c: Use 'asm' names for the start/end variables,
5285         to handle -fleading-underscore.
5286         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
5287         (USER_LABEL_PREFIX): New macro.
5288         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
5289         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
5290         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
5291         call-linux can use the same multilibs.
5292         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
5293         and call-linux multilibs.  Do multilib with -fleading-underscore.
5294         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
5295         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
5296         to call-aix.
5297
5298         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
5299         have MASK_SOFT_FLOAT set.
5300         (CPP_FLOAT_DEFAULT_SPEC): New macro.
5301         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
5302         CPP_FLOAT_DEFAULT_SPEC.
5303
5304         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
5305         * rs6000.md: Whitespace change.
5306         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
5307         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
5308
5309         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
5310
5311         * rs6000.md (eh_epilogue): New expander.
5312         (eh_reg_restore): New expand/split/insn combination.
5313         (return_eh_si): New insn.
5314         (return_eh_di): New insn.
5315
5316         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
5317         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
5318         * eabi-ctors.c (__do_global_ctors): Register this object's
5319         frame.  Clean up.  Call atexit() after the constructors.
5320         (__do_global_dtors): Deregister this object's frame.  Clean up.
5321         Allow for recursive calls to exit().
5322         * rs6000.c (fixuplabelno): New variable.
5323         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
5324         TARGET_RELOCATABLE, it slows down exec() under linux.
5325         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
5326
5327         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
5328         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
5329         (ASM_OUTPUT_DWARF_DELTA2): New macro.
5330         (ASM_OUTPUT_DWARF_DELTA4): New macro.
5331         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
5332         (ASM_OUTPUT_DWARF_ADDR): New macro.
5333         (ASM_OUTPUT_DWARF_DATA4): New macro.
5334         (ASM_OUTPUT_DWARF_DATA2): New macro.
5335         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
5336         (ASM_OUTPUT_DWARF_OFFSET): New macro.
5337         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
5338
5339         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
5340
5341         * rs6000.c (rs6000_sr_alias_set): New variable.
5342         (rs6000_override_options): Initialise rs6000_sr_alias_set.
5343         (rs6000_emit_stack_tie): New function.
5344         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
5345         in a way that dwarf2out can understand.
5346         (rs6000_frame_related): New function.
5347         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
5348         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
5349         Use rs6000_emit_stack_tie when needed.
5350         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
5351         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
5352         * rs6000.md (stack_tie): New insn.
5353         (return_internal_si): Allow return value to be in the count
5354         register.
5355         (return_internal_di): Likewise.
5356
5357         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
5358
5359         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
5360
5361         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
5362
5363         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
5364
5365         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
5366
5367         * rs6000.md (stmw): Use the right POWER opcode.
5368         (lmw): Likewise.
5369
5370         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5371
5372         * rs6000-protos.h: New file.
5373
5374         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
5375
5376         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
5377         warnings.
5378
5379         * sysv4.h: Likewise.
5380
5381         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
5382
5383         * ../../configure.in: Delete powerpcle-*-winnt*
5384         and powerpcle-*-pe|powerpcle-*-cygwin*.
5385         * ../../configure: Regenerated.
5386         * cygwin.h: Delete.
5387         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
5388         (TARGET_WINDOWS_NT): Delete.
5389         (ABI_NT): Delete.
5390         (CALL_NT_DLLIMPORT): Delete.
5391         Delete NT-specific code.
5392         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
5393         * win-nt.h: Delete.
5394         * t-winnt: Delete.
5395         * nt-ci.asm: Delete.
5396         * nt-cn.asm: Delete.
5397         * ntstack.asm: Delete.
5398
5399         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5400
5401         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
5402         (ASM_FILE_START): Likewise.
5403         (ASM_DECLARE_FUNCTION_NAME): Likewise.
5404         (ASM_OUTPUT_LABELREF): Likewise.
5405         (ASM_OUTPUT_SKIP): Likewise.
5406         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
5407         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5408         (ASM_OUTPUT_CASE_LABEL): Likewise.
5409         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
5410         (ASM_OUTPUT_ASCII): Likewise.
5411
5412         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
5413
5414         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
5415         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
5416         increment rs6000_pic_labelno here.
5417         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
5418         and increment rs6000_pic_labelno here.
5419
5420         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
5421
5422         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
5423         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
5424         allocation knows (reg) is dead before the insn.
5425
5426         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
5427
5428         * rs6000.md (movsi_to_cr): Correct typo in output template.
5429
5430         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
5431
5432         * rs6000.c (rs6000_pic_labelno): Always define.
5433         (rs6000_pic_func_labelno): Delete.
5434         (lmw_operation): Check for a zero base register,
5435         which doesn't mean what we want.
5436         (stmw_operation): New function.
5437         (print_operand): Define new 'l' modifier.
5438         (rs6000_stack_info): We must save all 64 bits of the registers
5439         if TARGET_POWERPC64.
5440         (rs6000_output_load_toc_table): Delete.
5441         (rs6000_emit_load_toc_table): New function.
5442         (rs6000_allocate_stack_space): Delete.
5443         (rs6000_emit_allocate_stack): New function.
5444         (rs6000_emit_prologue): New function.
5445         (output_prolog): Use rs6000_emit_prologue.
5446         (rs6000_emit_epilogue): Change a few variable names to be
5447         more accurate.  Restore all 64 bits of the registers if
5448         TARGET_POWERPC64.  Only restore the FP registers which were used
5449         if they are being saved/restored one-at-a-time.
5450         (output_mi_thunk): Delete inefficient code generation.
5451         (output_function_profiler): Don't use rs6000_output_load_toc_table.
5452         * rs6000.h: Declare rs6000_emit_load_toc_table,
5453         rs6000_allocate_stack_space, stmw_operation.  Don't declare
5454         rs6000_output_load_toc_table.
5455         * rs6000.md (elf_high): Allow register 0, but discourage it
5456         heavily.
5457         (elf_low): Support loading into register 0.
5458         (load_toc_aix_si): New pattern.
5459         (load_toc_aix_di): New pattern.
5460         (load_toc_v4_pic_si): New pattern.
5461         (load_toc_v4_pic_di): New pattern.
5462         (load_toc_v4_PIC_1): New pattern.
5463         (load_toc_v4_PIC_1b): New pattern.
5464         (load_toc_v4_PIC_2): New pattern.
5465         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
5466         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
5467         (prologue): New expander.
5468         (movesi_from_cr): New pattern.
5469         (stmw): New pattern.
5470         (save_fpregs_si): New pattern.
5471         (save_fpregs_di): New pattern.
5472
5473         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5474
5475         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
5476         (movdi): Likewise.
5477         (movhi): Likewise.
5478         (movqi): Likewise.
5479
5480         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5481
5482         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
5483         at present.
5484         (movsi_got_internal): Likewise.
5485         (movsi_got_internal+1): Likewise.
5486         (set_sp): 'unspec 7' does a SImode clobber.
5487
5488         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5489
5490         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
5491         allocate a stack temporary.
5492         (floatsidf2_internal): Likewise.
5493         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
5494         with unspec.
5495         (floatunssidf2): Don't use the fpmem "register", just
5496         allocate a stack temporary.
5497         (floatunssidf2_internal): Likewise.
5498         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
5499         with unspec.
5500         (floatsidf2_loadaddr): Delete.
5501         (floatsidf2_store1): Delete.
5502         (floatsidf2_store2): Delete.
5503         (floatsidf2_load): Delete.
5504         (fix_truncdfsi2): Don't use the fpmem "register", just
5505         allocate a stack temporary.
5506         (fix_truncdfsi2_internal_si): Delete.
5507         (fix_truncdfsi2_internal_di): Delete.
5508         (fix_truncdfsi2_internal): New insn.
5509         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
5510         (fix_truncdfsi2_store): Delete.
5511         (fix_truncdfsi2_load): Delete.
5512         (fctiwz): Produce gen_fctiwz.
5513
5514         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
5515
5516         * eabi.h (INVOKE__main): Define.
5517         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
5518         specially.
5519         (rs6000_emit_prologue): Likewise.
5520         * rs6000.h (struct rs6000_stack): Don't keep track of whether
5521         this is the main program.
5522
5523         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5524
5525         * rs6000.c (rs6000_va_arg): Delete some unused variables.
5526
5527         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5528
5529         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
5530         goes after the argument.
5531
5532         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
5533
5534         * rs6000.md: Document 'unspec' values used.
5535         (epilogue): New expander.
5536         (movesi_to_cr_one): New expander.
5537         (movesi_to_cr and following): New pattern.
5538         (lmw): New pattern.
5539         (return_internal_si): New pattern.
5540         (return_internal_di): New pattern.
5541         (return_and_restore_fpregs_si): New pattern.
5542         (return_and_restore_fpregs_di): New pattern.
5543         * rs6000.h: Declare new functions.
5544         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
5545         rather than rs6000_calls_p.
5546         (rs6000_makes_calls): Delete.
5547         (lmw_operation): New function.
5548         (mtcrf_operation): New function.
5549         (rs6000_emit_epilogue): New function.
5550         (output_epilog): Call rs6000_emit_epilogue and final if
5551         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
5552
5553         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
5554
5555         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
5556         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
5557         * aix.h (SUBTARGET_SWITCHES): Document switches.
5558         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
5559         sched-prolog and sched-epilog the same.  Document all the
5560         switches.
5561         (TARGET_OPTIONS): No longer allow -mdebug-.
5562
5563         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
5564
5565         * rs6000.h (ASM_FILE_END): Move to aix.h.
5566         (EXTRA_SECTIONS): Move to aix.h.
5567         (READONLY_DATA_SECTION): Move to aix.h.
5568         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
5569         (SELECT_SECTION): Move to aix.h.
5570         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
5571         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
5572         (LINK_REGISTER_REGNUM): New definition.
5573         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
5574         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
5575         AIX and SVR4.
5576         * sysv4.h: Delete the code between the inclusion of rs6000.h
5577         and svr4.h.
5578         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
5579         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
5580         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
5581         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
5582         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
5583         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
5584         (fix_truncdfsi2_internal_di): New pattern.
5585         (fix_truncdfsi2_store): The second arg here is Pmode too.
5586         (fix_truncdfsi2_load): The second arg here is Pmode too.
5587         (tablejumpdi): Now that switch tables hold only SImode values,
5588         gcc needs to know how to add them to the pc which is DImode.
5589         * rs6000.c (rs6000_stack_info): Use symbolic name for
5590         LINK_REGISTER_REGNUM.
5591         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
5592         (output_toc): Delete unused variables s1 and s2.
5593         (output_ascii): Use fputs not fprintf on a variable string.
5594
5595         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
5596
5597         * rs6000.c (processor_target_table): Add power3 as alias for 630.
5598         * aix43.h: Revert Aug 2 change.
5599         (HAS_INIT_SECTION): Define, not visible yet.
5600         (LD_INIT_SWITCH): Define, not visible yet.
5601         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
5602
5603         2000-01-04  Joel Sherrill (joel@OARcorp.com>
5604
5605         * config/rs6000/rtems.h: Include config/rtems.h.
5606
5607         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
5608
5609         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
5610         (SLOW_UNALIGNED_ACCESS): Define.
5611         (CASE_VECTOR_MODE): Always use 32-bit offsets.
5612         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
5613         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
5614         (toc_section): Likewise and .toc pseudo-op.
5615         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
5616         64-bit mode.
5617         (TEXT_SECTION_ASM_OP): Likewise.
5618         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
5619         32-bit offsets.
5620
5621         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
5622
5623         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
5624         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
5625         compiling libgcc2.
5626
5627         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5628
5629         * rs6000.h: Move more stuff from here...
5630         * aix.h: to here.
5631         * sysv4.h: Cleanup accordingly.
5632         * netware.h: Likewise
5633
5634         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5635
5636         * rs6000.h: Continue cleanup.
5637         * aix.h: Likewise.
5638         * lynx.h: Likewise.
5639         * netware.h: Likewise.
5640         * sol2.h: Likewise.
5641         * sysv4.h: Likewise.
5642         * win-nt.h: Likewise.
5643
5644         * rs6000.h (TARGET_SWITCHES): Add descriptions.
5645         (TARGET_OPTIONS): Likewise.
5646
5647         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
5648         (SUBTARGET_OPTIONS): Likewise.
5649
5650         * rs6000.md: Fix compile time warnings.
5651
5652         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
5653
5654         vxworks patches from the Cygnus tree originally by
5655         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
5656         <vmakarov@cygnus.com>.
5657         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
5658         (ENDFILE_SPEC): Likewise.
5659         (LIB_VXWORKS_SPEC): New macro.
5660         (STARTFILE_VXWORKS_SPEC): New macro.
5661         (ENDFILE_VXWORKS_SPEC): New macro.
5662         (LINK_START_VXWORKS_SPEC): New macro.
5663         (LINK_OS_VXWORKS_SPEC): New macro.
5664         (CPP_OS_VXWORKS_SPEC): New macro.
5665         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
5666         * vxppc.h: Rewrite to use proper configuration method.
5667         * vxppcle.h: New file.
5668         * ../../configure.in: Add powerpcle-wrs-vxworks*.
5669         * ../../configure: Rebuilt.
5670
5671         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
5672
5673         Lots of changes to rs6000.h, sysv4.h, aix.h,
5674         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
5675         with the aim that rs6000.h is the first header
5676         included and the others override it.
5677         * aix.h: New file.
5678
5679         * x-aix41-gld: Remove.
5680         * x-aix43: Remove.
5681         * x-aix41: Remove target-specific switches, and don't specify
5682         -Wl,-bbigtoc as we don't need it any more.
5683         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
5684         Use t-aix43 for AIX 4.3 and above.
5685         * ../../configure: Regenerated.
5686
5687         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
5688         options, that don't do anything yet.
5689         (MASK_SCHED_PROLOG): New macro.
5690         (MASK_SCHED_EPILOG): New macro.
5691         (TARGET_SCHED_PROLOG): New macro.
5692         (TARGET_SCHED_EPILOG): New macro.
5693
5694         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
5695
5696         * rs6000.c: Correct comment, the `minimal' TOCs are actually
5697         one per translation unit, not one per function.
5698         (output_toc): Also do duplicate constant elimination
5699         for per-translation-unit TOCs.
5700
5701         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
5702         a comment explaining _exactly_ when this pattern gets used.
5703         (builtin_setjmp_receiver): New pattern for better clarity.
5704         (init_v4_pic): Move it into a section dealing with TOC registers.
5705
5706         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
5707
5708         * rs6000.c (toc_hash_table): New variable.
5709         (rs6000_hash_constant): New function.
5710         (toc_hash_function): New function.
5711         (toc_hash_eq): New function.
5712         (toc_hash_mark_entry): New function.
5713         (toc_hash_mark_table): New function.
5714         (output_toc): Don't output duplicate TOC entries in
5715         a single file.
5716         (rs6000_add_gc_roots): Add the hash table as a GC root.
5717         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
5718         where they clearly shouldn't be.  This may need to be fixed
5719         later when there is a GNU ar for AIX.
5720         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
5721         Don't define BOOT_LDFLAGS as it is now not necessary.
5722
5723         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
5724
5725         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
5726         for va_list on AIX.  Use unsigned_char_type_node rather than
5727         constructing our own version on svr4.
5728
5729         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
5730
5731         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
5732         since patently it's not.
5733
5734         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
5735
5736         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
5737         define_expand/define_insn pair, and handle restore of the
5738         SVR4 -fpic register.
5739
5740 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
5741
5742         * acconfig.h (HAVE_GAS_WEAK): New define.
5743         * configure.in (assembler weak support): Check for .weak support.
5744         * config.in, configure: Rebuilt.
5745         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
5746         HAVE_GAS_WEAK is defined.
5747
5748 2000-03-15  Nick Clifton  <nickc@cygnus.com>
5749
5750         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
5751         asm_fprintf().
5752
5753 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
5754
5755         * cppfiles.c (open_include_file): New function.
5756         (find_include_file, cpp_read_file): Use it.
5757
5758 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
5759
5760         * cpphash.c (dump_hash_helper): Take the slot, not the element.
5761
5762 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
5763
5764         * flow.c (verify_flow_info): Check for unconditional return.
5765
5766 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
5767
5768         * config/ia64/ia64.md (restore_stack_nonlocal): New.
5769         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
5770         (__ia64_restore_stack_nonlocal): New.
5771         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
5772
5773 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5774
5775         * cpphash.c (collect_formal_parameters): Do not complain about
5776         parameter names that just start with `__VA_ARGS__'.
5777
5778 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
5779
5780         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
5781         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
5782         * i386.c (pentiumpro_cost): Set mul cost to 4.
5783         (x86_use_movx): Set for PPro.
5784
5785 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
5786
5787         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
5788         STACK_BOUNDARY for empty frames now.
5789
5790 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
5791
5792         * stor-layout.c (layout_union): Remove.
5793         (layout_union_field): New function, split out from layout_union.
5794         (finish_union_layout): Likewise.
5795         (layout_field): Handle unions by calling layout_union_field.
5796         (finish_record_layout): Handle unions.
5797         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
5798         QUAL_UNION_TYPE handling.
5799
5800 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
5801
5802         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
5803         end of basic block is jump_insn, not barrier; use create_basic_block
5804         instead of creating basic block by hand.
5805
5806 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
5807
5808         * flow.c (reorder_basic_blocks): Account for barriers when writing
5809         over NEXT_INSN (last_bb->end).
5810         (verify_flow_info): Add check for missing barriers.
5811
5812 2000-03-14  Greg McGary  <gkm@gnu.org>
5813
5814         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
5815         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
5816         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
5817         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
5818         __unbounded, __unbounded__): New keywords.
5819         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
5820         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
5821         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
5822
5823 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
5824
5825         * cselib.h: New file.
5826         * alias.c: Include "cselib.h".
5827         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
5828         MEMs as two new arguments.
5829         (get_addr): New static function.
5830         (find_base_term): Handle VALUEs.
5831         (memrefs_conflict_p): Likewise.
5832         (true_dependence): Call get_addr on the addresses.
5833         Call fixed_scalar_and_varying_struct_p with addresses that have been
5834         passed through get_addr and canon_rtx.
5835         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
5836         with true_dependence.
5837         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
5838         * loop.c: Include "cselib.h".
5839         (load_mems): Process extended basic block that enters the loop with
5840         cselib.  Use that information to change initialization of the shadow
5841         register so that a constant equivalence is seen by later passes.
5842         * reload1.c: Include "cselib.h".
5843         (reload_cse_invalidate_regno): Delete function.
5844         (reload_cse_mem_conflict_p): Likewise.
5845         (reload_cse_invalidate_mem): Likewise.
5846         (reload_cse_invalidate_rtx): Likewise.
5847         (reload_cse_regno_equal_p): Likewise.
5848         (reload_cse_check_clobber): Likewise.
5849         (reload_cse_record_set): Likewise.
5850         (reg_values): Delete static variable.
5851         (invalidate_regno_rtx): Likewise.
5852         (reload_cse_delete_noop_set): New static function.
5853         (reload_cse_simplify): New static function, broken out of
5854         reload_cse_regs_1.
5855         (reload_cse_noop_set_p): Delete unused argument INSN.
5856         Just call rtx_equal_for_cselib_p on set source and destination.
5857         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
5858         reload_cse_delete_noop_set.  Delete code to keep track of values; use
5859         cselib functions instead.  Delete code to push/pop obstacks.
5860         (reload_cse_simplify_set): Use cselib to find equivalent values.
5861         Delete code to push/pop obstacks.
5862         (reload_cse_simplify_operands): Likewise.
5863         * rtl.def (VALUE): New rtx code.
5864         * rtl.h (union rtunion_def): New elt rt_cselib.
5865         (X0CSELIB, CSELIB_VAL_PTR): New macros.
5866         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
5867         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
5868         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
5869         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
5870         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
5871         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
5872         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
5873         cselib_record_set, cselib_record_sets): New static functions.
5874         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
5875         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
5876         references_value_p): New functions.
5877         (MAX_USELESS_VALUES, REG_VALUES): New macros.
5878         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
5879         n_useless_values, reg_values, callmem, cselib_obstack,
5880         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
5881         New static variables.
5882         * varray.h (union varray_data_tag): New elt te.
5883         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
5884         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
5885         dependencies.
5886
5887 2000-03-14  Nick Clifton  <nickc@cygnus.com>
5888
5889         * gcc.c (do_spec_1): Catch the case where %* is used in a
5890         substitution pattern, but it has not been initialised.
5891         Issue a meaningful error message if an unrecognised operator
5892         is encountered in a spec string.
5893
5894 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
5895
5896         * function.c (prepare_function_start): Correctly initialize
5897         cfun->stack_alignment_needed.
5898
5899 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
5900
5901         * cppfiles.c (find_include_file): Don't assume nshort is a
5902         substring of name.
5903
5904 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
5905
5906         * configure.in (hppa configurations): Add pa32-regs.h to the
5907         list of tm files as appropriate.
5908         * configure: Rebuilt.
5909         * pa.c (compute_frame_size): Remove explicit knowledge about FP
5910         register numbering.
5911         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
5912         (fmpyaddoperands, fmpysuboperands): Likewise.
5913         * pa.h: Remove various definitions which depend on knowing
5914         how registers are numbered.
5915         * pa32-regs.h: New file with PA32 register numbering specific
5916         definitions.
5917
5918 2000-03-14  Richard Henderson  <rth@cygnus.com>
5919
5920         * regmove.c (combine_stack_adjustments): New.
5921         (stack_memref_p, single_set_for_csa): New.
5922         (free_csa_memlist, record_one_stack_memref): New.
5923         (try_apply_stack_adjustment): New.
5924         (combine_stack_adjustments_for_block): New.
5925         * rtl.h (combine_stack_adjustments): Declare.
5926         * toplev.c (rest_of_compilation): Call it.
5927
5928         * i386.md: Revert 2000-01-16 change.
5929
5930 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5931
5932         * gccbug.in: Add web category, gcc specific classes.
5933
5934 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
5935
5936         * stor-layout.c (finalize_record_size): Fix typo.
5937
5938 2000-03-14  Stan Shebs  <shebs@apple.com>
5939
5940         * c-typeck.c (c_alignof): Error on incomplete types.
5941         * extend.texi (Alignment): Document this.
5942
5943 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
5944
5945         * cppfiles.c: Include mkdeps.h.
5946         (find_include_file, read_include_file): Remove _cpp_ prefix
5947         from name, make static.
5948         (_cpp_execute_include): New function, broken out of
5949         do_include.
5950
5951         * cpplib.c: Don't include mkdeps.h.
5952         (struct directive): Remove type field. Reorder entries.  The
5953         function takes only one argument.
5954         (struct if_stack): Make type field an int.
5955         (directive_table): Rename to dtable.  Generate it, the
5956         prototypes of the directive handlers, and the enum for the
5957         directive numbers, from a template macro.
5958         (do_ifndef, do_include_next, do_import): New functions.
5959         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
5960         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
5961         do_ident, do_assert, do_unassert, do_sccs): Take only one
5962         argument.
5963         (do_sccs): Define always, but alter behavior based on
5964         SCCS_DIRECTIVE.
5965         (_cpp_handle_directive, consider_directive_while_skipping):
5966         Restructure for new directive table layout.
5967
5968         (pass_thru_directive): Take a directive number, not a pointer
5969         to a struct directive.
5970         (parse_include): New function, broken out of do_include.
5971         (do_include, do_import, do_include_next): Use parse_include
5972         and _cpp_execute_include.
5973         (do_elif, do_else): Test for T_ELSE specifically when checking
5974         for #elif/#else after #else.
5975         (parse_ifdef): New function, broken out of do_ifdef.
5976         (validate_else): Expect a name arg without a leading #.
5977         (if_directive_name): Delete.
5978         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
5979         directive handlers with only one argument.
5980
5981         * cpphash.h: Update prototypes.
5982         (enum node_type): Remove entries for directives.
5983         * Makefile.in: Update dependencies.
5984
5985         * cpphash.c (dump_hash_helper): Only dump nodes of type
5986         T_MACRO.  Emit a newline after each definition.
5987
5988 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5989
5990         * gccbug.in: New file.
5991         * configure.in (all_outputs): Add gccbug.
5992         * Makefile.in (install-common): Install gccbug.
5993         (GCCBUG_INSTALL_NAME): New variable.
5994         * configure: Rebuilt.
5995
5996 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
5997
5998         * function.c (put_var_into_stack): Use type_for_mode to calculate
5999         part_type.  Use MEM_SET_IN_STRUCT_P.
6000         * expr.c (store_field): Handle CONCAT.
6001         (store_constructor): Use fields_length.
6002         * tree.c (fields_length): New fn.
6003         * tree.h: Declare it.
6004
6005 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
6006
6007         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
6008         (cpplex.o): New target.
6009         * po/POTFILES.in: Add cpplex.c.
6010
6011         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
6012         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
6013         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
6014         skip_block_comment, skip_line_comment, skip_comment,
6015         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
6016         _cpp_parse_name, skip_string, parse_string,
6017         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
6018         _cpp_get_directive_token, find_position,
6019         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
6020         (maybe_macroexpand, _cpp_lex_token): New functions.
6021
6022         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
6023         parse_goto_mark): Delete.
6024         (_cpp_handle_eof): New function.
6025         (_cpp_handle_directive): Rename from handle_directive.
6026         (_cpp_output_line_command): Rename from output_line_command.
6027         (do_if, do_elif): Call _cpp_parse_expr directly.
6028         * cppfiles.c (_cpp_read_include_file): Don't call
6029         init_input_buffer here.
6030         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
6031         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
6032         here; pop the token_buffer and skip the rest of the line here.
6033         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
6034         here.
6035
6036         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
6037         Define here.
6038         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
6039         CPP_GOTO_MARK): New macros.
6040         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
6041         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
6042         _cpp_read_and_prescan, _cpp_init_input_buffer,
6043         _cpp_grow_token_buffer, _cpp_get_directive_token,
6044         _cpp_handle_directive, _cpp_handle_eof,
6045         _cpp_output_line_command): Prototype them here.
6046         * cpplib.h (enum cpp_token): Add CPP_MACRO.
6047         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
6048         quote_string, output_line_command): Remove.
6049
6050 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
6051
6052         * stmt.c (expand_end_case): RANGE may be signed, and when checking
6053         whether it is too large we must also verify that it isn't negative.
6054
6055 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
6056
6057         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
6058         (movsi_zero_liveg0): Remove.
6059         (movsf_insn_novis_liveg0): Remove.
6060         (negsi2): Remove.
6061         (negsi2_not_liveg0): Rename to negsi2.
6062         (one_cmplsi2): Remove.
6063         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
6064         (one_cmplsi2_liveg0): Remove.
6065         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
6066         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
6067         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
6068         (PREDICATE_CODES): Remove zero_operand.
6069         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
6070         TARGET_BROKEN_SAVERESTORE.
6071         (zero_operand): Remove.
6072         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
6073         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
6074         options.
6075         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
6076         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
6077         TARGET_BROKEN_SAVERESTORE): Remove.
6078         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6079         Remove.
6080         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6081         Remove.
6082         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6083         Remove.
6084
6085         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
6086
6087 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
6088
6089         * cpplib.c (do_pragma_implementation): Fix off-by-one error
6090         truncating a string.  Don't assume tokens are nul terminated.
6091         Problem noted by Andreas Jaeger <aj@suse.de>
6092
6093 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
6094
6095         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
6096         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
6097         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
6098
6099 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
6100
6101         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
6102         STRUCTURE_SIZE_BOUNDARY.
6103
6104 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
6105
6106         * tree.h (record_layout_info_s): New structure.
6107         (record_layout_info): New type.
6108         (new_record_layout_info): New function.
6109         (layout_field): Likewise.
6110         (finish_record_layout): Likewise.
6111         * stor-layout.c (layout_record): Remove.
6112         (new_record_layout_info): New function.
6113         (layout_field): New function, broken out from layout_record.
6114         (finalize_record_size): Likewise.
6115         (compute_record_mode): Likewise.
6116         (finalize_type_size): New function, broken out from layout_type.
6117         (finish_record_layout): Likewise.
6118         (layout_type): Use them.
6119
6120 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
6121
6122         * cpphash.c: Don't include version.h.
6123         (special_symbol) [case T_VERSION]: Look for the string in
6124         hp->value.cpval; don't use version_string.
6125         * cppinit.c (initialize_builtins): Set hp->value.cpval for
6126         __VERSION__ to version_string.
6127         * Makefile.in (cpphash.o): Update deps.
6128
6129 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
6130
6131         Convert cpplib to use libiberty/hashtab.c.
6132
6133         * cpplib.h (struct cpp_reader): Make hashtab and
6134         all_include_files of type 'struct htab *'.  Delete HASHSIZE
6135         and ALL_INCLUDE_HASHSIZE macros.
6136
6137         * cpphash.h: Update prototypes.
6138         (struct hashnode): Remove next, prev, and bucket_hdr members.
6139         Make length a size_t.  Add hash member.
6140         (struct ihash): Remove next member.  Add hash member.  Make
6141         name a flexible array member.
6142
6143         * cppfiles.c: Include hashtab.h.
6144         (include_hash): Delete.
6145         (IHASHSIZE): New macro.
6146         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
6147         (cpp_included): Do the hash lookup here.
6148         (_cpp_find_include_file): Rewrite.
6149         (cpp_read_file): Put the "fake" hash entry into the hash
6150         table.  Honor the control_macro, if it turns out we've seen
6151         the file before.  Don't push the buffer here.
6152         (_cpp_read_include_file): Push the buffer here.
6153         (OMODES): New macro.  Use it whenever we call open(2).
6154
6155         * cpphash.c: Include hashtab.h.
6156         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
6157         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
6158         _cpp_lookup_slot): New functions.
6159         (HASHSIZE): new macro.
6160         (hashf, _cpp_install, _cpp_delete_macro): Delete.
6161         (_cpp_lookup): Use hashtab.h routines.
6162
6163         * cppinit.c: Include hashtab.h.
6164         (cpp_reader_init): Call _cpp_init_macro_hash and
6165         _cpp_init_include_hash.  Don't allocate hashtab directly.
6166         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
6167         pfile->all_include_files.
6168         (initialize_builtins): Use _cpp_make_hashnode and
6169         htab_find_slot to add hash entries.
6170         (cpp_finish): Just call _cpp_dump_macro_hash.
6171         * cpplib.c: Include hashtab.h.
6172         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
6173         create hash entries.
6174         (do_pragma_poison, do_assert): Likewise.
6175         (do_include): Don't push the buffer here.  Don't increment
6176         system_include_depth unless _cpp_read_include_file succeeds.
6177         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
6178         or htab_remove_elt.
6179         (do_pragma_implementation): Use alloca to create copy.
6180
6181         * Makefile.in: Update dependencies.
6182
6183 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6184
6185         * cppinit.c (cl_directive_handler): More K&R fixing.
6186
6187 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
6188
6189         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
6190         STACK_BOUNDARY.
6191         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
6192
6193 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6194
6195         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
6196         Change from char[] to macros.
6197
6198 2000-03-12  Neil Booth  <NeilB@earthling.net>
6199
6200         * cppinit.c (cpp_start_read): Update indirect function
6201         call to K&R C.
6202
6203 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
6204
6205         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
6206         entry.
6207
6208         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
6209         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
6210
6211 2000-03-11  Neil Booth  <NeilB@earthling.net>
6212
6213         * cppinit.c (struct pending option): Replace undef with a
6214         pointer to a directive handling routine.
6215         (struct cpp_pending): Replace separate assert_ and define_
6216         lists with one directive_ list.
6217         (new_pending_define): Rename new_pending_directive. Extra
6218         argument is the directive's handling routine.
6219         (handle_option): Update to use new_pending_directive.
6220
6221 2000-03-11  Neil Booth  <NeilB@earthling.net>
6222
6223         * cppfiles.c (file_cleanup, _cpp_find_include_file,
6224         remap_filename, _cpp_read_include_file, actual_directory,
6225         hack_vms_include_specification): Replace bcopy(), index() etc
6226         calls.  Add casts to some allocations.  Make some variables
6227         pointers to const [unsigned] char.
6228         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
6229         collect_formal_parameters): Similarly.
6230         * cppinit.c (struct pending_option, append_include_chain,
6231         cpp_options_init, cpp_reader_init, initialize_standard_includes,
6232         cpp_start_read, new_pending_define, handle_option): Similarly.
6233         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
6234         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
6235         do_pragma_implementation, detect_if_not_defined,
6236         do_ifdef, skip_if_group, cpp_get_token, parse_string,
6237         do_assert, do_unassert): Similarly.
6238         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
6239         function prototypes.
6240         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
6241
6242 2000-03-10  Richard Henderson  <rth@cygnus.com>
6243
6244         * builtins.c (expand_builtin_strlen): Revert last change.
6245         Use emit_insn_before if we're at the beginning of a sequence.
6246
6247 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
6248
6249         * builtins.c (expand_builtin_strlen): Make sure that we have something
6250         at the beginning of the sequence.
6251
6252         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
6253         deferred inlines.
6254
6255         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
6256
6257 2000-03-10  Richard Henderson  <rth@cygnus.com>
6258
6259         * except.c (can_throw): Use INTVAL on a CONST_INT.
6260         (reachable_handlers): Likewise.
6261         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
6262
6263 2000-03-10  Andreas Jaeger  <aj@suse.de>
6264
6265         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
6266         MD_STARTFILE_PREFIX since those are not needed on linux.
6267         (ASM_FILE_START): New, from mips/gnu.h.
6268
6269 2000-03-09  Richard Henderson  <rth@cygnus.com>
6270             Alex Samuel  <samuel@codesourcery.com> and others
6271
6272         * Makefile.in (ssa.o): New rule.
6273         (OBJS): Add ssa.o.
6274         (STAGESTUFF): Add *.ssa and *.ussa.
6275         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
6276         * rtl.def (PHI): New RTL expression.
6277         * rtl.h (clear_log_links): New declaration.
6278         (convert_to_ssa): Likewise.
6279         (convert_from_ssa): Likewise.
6280         * flow.c (split_edge): If the entry node falls through to the
6281         split edge's source block, split the entry edge.
6282         (clear_log_links): New function.
6283         * toplev.c (ssa_dump): New variable.
6284         (flag_ssa): Likewise.
6285         (f_options): Add "ssa".
6286         (compile_file): Create SSA dump files.
6287         (rest_of_compilation): Go to and from SSA if enabled.
6288         (decide_d_option): Handle -de for SSA dump files.
6289         * ssa.c: New file.
6290
6291 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
6292
6293         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
6294         same as VAR_DECL.
6295
6296 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
6297
6298         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
6299
6300 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
6301
6302         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
6303         (MD_STARTFILE_PREFIX_1): New macro.
6304
6305 2000-03-09  Robert Lipe  <robertl@sco.com>
6306
6307         * config/ia64/ia64.c: Include system.h.
6308
6309 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
6310
6311         * except.c (nothrow_function_p): If -fno-exceptions, just return.
6312         (init_eh_nesting_info): Likewise.
6313
6314         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
6315         (TREE_NOTHROW): Rename from TREE_RAISES.
6316         * toplev.c (rest_of_compilation): Set it.
6317         * print-tree.c (print_node): Adjust.
6318         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
6319         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
6320         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
6321         REG_EH_REGION note as appropriate.
6322         (libfunc_nothrow): New fn.
6323         (emit_library_call, emit_library_call_value): Use it.
6324         (expand_call): Check TREE_NOTHROW.
6325
6326         * varasm.c (make_decl_rtl): Skip initial '*' when setting
6327         DECL_ASSEMBLER_NAME.
6328
6329 2000-03-09  Andreas Jaeger  <aj@suse.de>
6330
6331         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
6332         (TARGET_MEM_FUNCTIONS): Define.
6333
6334 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
6335
6336         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
6337
6338         * except.c (can_throw): See through a SEQUENCE.
6339         (nothrow_function_p): New fn.
6340         * except.h: Declare it.
6341         * function.c (current_function_nothrow): New var.
6342         (prepare_function_start): Initialize it.
6343         * output.h: Declare it.
6344         * toplev.c (rest_of_compilation): Set it.
6345         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
6346
6347 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
6348
6349         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
6350         match.  (cpp_compare_defs): Count the nul separator when
6351         advancing over argument names.
6352
6353 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
6354
6355         * recog.c (preprocess_constraints): Matching constraints affect
6356         same alternative/different operand, not same operand/different
6357         alternative.
6358
6359         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
6360         register and a constant specially.
6361
6362 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6363
6364         * libgcc2.h: New file.
6365         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
6366
6367 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
6368
6369         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
6370         * configure: Regenerate.
6371         * config/ia64: New.
6372
6373 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
6374
6375         * Makefile.in (LIBCPP_DEPS): New macro.
6376         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
6377         it to declare deps.
6378         * cpperror.c: Include cpphash.h.
6379         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
6380         dingleberry.
6381         (lex): Don't use CPP_WARN_UNDEF.
6382         (_cpp_parse_expr): Return an int, the truth value.
6383         * cppfiles.c: Include cpphash.h.
6384         (_cpp_merge_include_chains): Move to cppinit.c and make static.
6385         * cppinit.c (include_defaults_array): Disentangle.
6386         (cpp_cleanup): Don't free the if stack here.
6387         (cpp_finish): Pop off all buffers, not just one.
6388         * cpplib.c (eval_if_expr): Return int.
6389         (do_xifdef): Rename do_ifdef.
6390         (handle_directive): Don't use CPP_PREPROCESSED.
6391         (cpp_get_token): Don't use CPP_C89.
6392         * fix-header.c: Don't use CPP_OPTIONS.
6393
6394         * cpplib.h: Move U_CHAR, enum node_type, struct
6395         file_name_list, struct ihash, is_idchar, is_idstart,
6396         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
6397         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
6398         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
6399         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
6400         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
6401         of _cpp_simplify_pathname, _cpp_find_include_file,
6402         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
6403         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
6404         cppinit.c.
6405         Change all uses of U_CHAR to be unsigned char instead.
6406         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
6407
6408 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
6409
6410         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
6411         (dwarf2out_begin_prologue): Set it.
6412         (output_call_frame_info): Don't emit EH unwind info for leaves.
6413
6414         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
6415         can occur outside of an EH region.
6416         * except.c: Correct comments about rethrow behavior.
6417         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
6418
6419 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
6420
6421         * flow.c (make_edges): Always call make_eh_edge for calls.
6422
6423 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
6424
6425         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
6426         (struct cpp_buffer): Remove fname and underflow fields.
6427         (struct cpp_reader): Remove get_token field.
6428         (struct include_hash): Rename to struct ihash.  Add typedef to
6429         IHASH.
6430         (struct if_stack): Remove fname field.
6431         (IF_STACK_FRAME): Rename to IF_STACK.
6432
6433         * cpperror.c (print_containing_files): Trust that there are no
6434         macro buffers below the top file buffer.
6435         * cppfiles.c: Replace all references to 'struct include_hash'
6436         with 'IHASH'.  Rename initialize_input_buffer to
6437         init_input_buffer.  Don't set or reference cpp_buffer->fname,
6438         use buffer->ihash->name instead.
6439         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
6440         not CPP_NULL_BUFFER.
6441         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
6442         IF_STACK_FRAME, IHASH not struct include_hash.
6443         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
6444         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
6445         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
6446         references to cpp_buffer->fname (delete entirely, or use
6447         ->ihash->name instead) and IF_STACK->fname.
6448         (cpp_push_buffer): Don't set new->underflow.
6449         (do_include): Use cpp_file_buffer.
6450
6451         * cpphash.c (collect_formal_parameters): Remove duplicate
6452         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
6453         used as a macro argument name.  Don't append "..." to namebuf
6454         for varargs macros.  After we're done scanning, go through
6455         namebuf and make it NUL separated, not comma separated.
6456         (_cpp_compare_defs): Remove register tag from variables.
6457         Expect defn->argnames to be NUL separated.
6458         (_cpp_dump_definition): Expect defn->argnames to be NUL
6459         separated and in forward order.
6460         * cpphash.h: Update documentation of argnames field.
6461
6462 2000-03-08  Richard Henderson  <rth@cygnus.com>
6463
6464         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
6465         to fail.  Don't pre-expand the source operand.
6466
6467         * i386.md (strlensi): Initialize eoschar and align before use.
6468
6469 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
6470
6471         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
6472         CONSTRUCTOR element.
6473
6474 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
6475
6476         * mips.c (mips_expand_prologue): If the last
6477         named argument is the vararg marker "va_list", treat it as
6478         an unnamed argument.
6479
6480 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
6481
6482         * dbxout.c (dbxout_parms): When correcting for promoted
6483         big-endian parameters, use the mode of the DECL_RTL rather
6484         than UNITS_PER_WORD.
6485
6486 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
6487
6488         * c-common.h (make_fname_decl): Declare.
6489         * c-common.c (make_fname_decl): Define.
6490         (declare_hidden_char_array): Remove.
6491         (declare_function_name): Use make_fname_decl.
6492         * c-decl.c (c_make_fname_decl): New function.
6493         (init_decl_processing): Set make_fname_decl.
6494
6495 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
6496
6497         * cccp.c (handle_directive): Initialize backslash_newlines_p.
6498
6499 2000-03-07  Philipp Thomas  <pthomas@suse.de>
6500
6501         * po/POTFILES.in: Remove cppalloc.c from file list.
6502
6503 2000-03-07  Steve Chamberlain  <sac@pobox.com>
6504
6505         * pj.c (pj_expand_prologue): current_function->args_info is
6506         now current_function_args_info.
6507
6508         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
6509         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
6510         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
6511
6512 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6513
6514         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
6515         output as hexadecimal rather than the default octal.
6516
6517 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
6518
6519         * cpphash.c (special_symbol): Fix thinko in previous commit.
6520
6521 2000-03-07  Neil Booth  <NeilB@earthling.net>
6522
6523         * cppexp.c (struct operation, left_shift, right_shift,
6524         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
6525         "int"s to "unsigned int"s.
6526         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
6527         Similarly.
6528         * cpplib.h: Update for above.
6529         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
6530         returned from allocations.
6531
6532         * cppinit.c (opt_comp, parse_options): New functions.
6533         (handle_option): Use parse_option to parse a single command
6534         line option, that possibly takes an argument.
6535         (cpp_handle_options): Sort the array of command line options on
6536         first invocation (non-ASCII hosts only).
6537         (print_help): Update.
6538
6539 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
6540
6541         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
6542         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
6543
6544         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
6545         initialized.
6546         * cppinit.c (cpp_cleanup): Free imp->nshort also.
6547
6548         * cpperror.c (cpp_print_containing_files,
6549         cpp_print_file_and_line, v_cpp_message): Rename to
6550         print_containing_files, print_file_and_line, and v_message.
6551         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
6552         to _cpp_parse_expr, parse_escape, and lex.
6553         (parse_charconst): Remove broken multibyte support.
6554         * cppfiles.c (include_hash): Make static.
6555         (cpp_included): New function.
6556         (merge_include_chains, find_include_file, finclude,
6557         simplify_pathname): Rename to _cpp_merge_include_chains,
6558         _cpp_find_include_file, _cpp_read_include_file, and
6559         _cpp_simplify_pathname.
6560         * cpphash.c (cpp_lookup, free_definition, delete_macro,
6561         cpp_install, create_definition, macroexpand, compare_defs,
6562         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
6563         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
6564         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
6565         * cppinit.c (cpp_handle_option): Rename to handle_option, make
6566         static.
6567         * cpplib.c: Remove extern prototype of cpp_parse_expr.
6568
6569         * cpphash.h: Update prototypes.
6570         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
6571
6572 2000-03-07  Andrew Haley  <aph@cygnus.com>
6573
6574         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
6575         PTRDIFF_TYPE should be based solely on Pmode.
6576         (SIZE_TYPE): ditto.
6577
6578 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6579
6580         * rtl.h (rtunion_def): Constify member `rtstr'.
6581         (emit_line_note_after, emit_line_note, emit_line_note_force,
6582         emit_note, decode_asm_operands): Constify.
6583
6584         * cse.c (canon_hash): Likewise.
6585
6586         * dbxout.c (dbxout_block): Likewise.
6587
6588         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
6589         v_warning_for_asm): Likewise.
6590
6591         * dwarfout.c (function_start_label): Likewise.
6592
6593         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
6594         emit_line_note_force): Likewise.
6595
6596         * final.c (last_filename, asm_insn_count, final_scan_insn,
6597         output_source_line): Likewise.
6598
6599         * function.h (struct emit_status): Likewise.
6600
6601         * gcse.c (hash_expr_1): Likewise.
6602
6603         * genattr.c (gen_attr, main): Likewise.
6604
6605         * genattrtab.c (struct function_unit, current_alternative_string,
6606         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
6607         attr_numeral, check_attr_test, check_attr_value,
6608         convert_set_attr_alternative, convert_set_attr,
6609         compute_alternative_mask, simplify_by_exploding, gen_attr,
6610         gen_unit): Likewise.
6611
6612         * genflags.c (gen_insn): Likewise.
6613
6614         * gengenrtl.c (type_from_format): Likewise.
6615
6616         * genopinit.c (gen_insn): Likewise.
6617
6618         * genoutput.c (n_occurrences, process_template, process_template):
6619         Likewise.
6620
6621         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
6622         Likewise.
6623
6624         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
6625         Likewise.
6626
6627         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
6628         ggc_set_mark, ggc_get_size): Likewise.
6629
6630         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
6631
6632         * optabs.c (init_one_libfunc): Likewise.
6633
6634         * output.h (assemble_start_function): Likewise.
6635
6636         * recog.c (decode_asm_operands): Likewise.
6637
6638         * toplev.c (rest_of_compilation): Likewise.
6639
6640         * tree.h (emit_line_note_after, emit_line_note,
6641         emit_line_note_force): Likewise.
6642
6643         * varasm.c (asm_output_bss, asm_output_aligned_bss,
6644         asm_emit_uninitialised, assemble_start_function,
6645         assemble_variable, const_hash, compare_constant_1,
6646         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
6647
6648         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
6649
6650         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
6651
6652         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
6653
6654         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
6655
6656         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
6657         arm_dllimport_name_p): Likewise.
6658
6659         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
6660         Likewise.
6661
6662         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
6663
6664         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6665
6666         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
6667         arm_mark_dllexport, arm_mark_dllimport,
6668         arm_pe_encode_section_info): Likewise.
6669
6670         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
6671         ASM_FINISH_DECLARE_OBJECT): Likewise.
6672
6673         * arm/thumb.c (thumb_function_prologue): Likewise.
6674
6675         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
6676
6677         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6678
6679         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
6680
6681         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
6682
6683         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
6684
6685         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6686
6687         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
6688         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
6689
6690         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
6691
6692         * i386/i386.c (asm_output_function_prefix): Likewise.
6693
6694         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
6695
6696         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6697
6698         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
6699
6700         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
6701         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
6702         ASM_OUTPUT_SECTION_NAME): Likewise.
6703
6704         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
6705
6706         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
6707
6708         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
6709
6710         * m32r/m32r.c (m32r_encode_section_info): Likewise.
6711
6712         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6713
6714         * mcore/mcore.c (mcore_encode_section_info): Likewise.
6715
6716         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6717
6718         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6719
6720         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6721
6722         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
6723
6724         * mips/mips.md (movdi, movsi): Likewise.
6725
6726         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6727
6728         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6729
6730         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6731
6732         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
6733         ASM_OUTPUT_ASCII): Likewise.
6734
6735         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
6736         output_mi_thunk, output_toc): Likewise.
6737
6738         * rs6000/rs6000.md (movsi): Likewise.
6739
6740         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
6741
6742         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
6743
6744         * v850/v850.c (print_operand, print_operand_address,
6745         v850_encode_data_area): Likewise.
6746
6747 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
6748
6749         * config/mips/mips.md (zero_extendsidi2): Always force operand
6750         one to memory for mips16.
6751
6752 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6753
6754         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
6755         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
6756         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
6757         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
6758         (min_precision): Result is unsigned.
6759         (add_double, neg_double, mul_double): Low word is unsigned.
6760         (lshift_double, rshift_double, lrotate_double): Likewise.
6761         (rrotate_double, div_and_round_double): Likewise.
6762         (tree_floor_log2, compare_tree_int): New functions.
6763         (preserve_rtl_expr_temps): New declaration.
6764         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
6765         (decl_attributes): Use tree_log2 to find alignment.
6766         Check for TREE_INT_CST_HIGH for format args.
6767         (min_precision): Now unsigned.
6768         Use tree_floor_log2.
6769         (truthvalue_conversion): Delete long-disabled code.
6770         * c-decl.c (finish_struct): Clean up tests on field width.
6771         (finish_function): Use compare_tree_int.
6772         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
6773         * c-typeck.c (comptypes): Use tree_int_cst_equal.
6774         (default_conversion, digest_init): Use compare_tree_int.
6775         (build_binary_op): Use integer_all_onesp and compare_tree_int.
6776         Fix type errors in forming masks.
6777         * calls.c (initialize_argument_information): Use compare_tree_int.
6778         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
6779         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
6780         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
6781         (store_field): Use compare_tree_int.
6782         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
6783         (expand_expr, case ARRAY_REF): Use compare_tree_int.
6784         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
6785         (do_store_flag): Use compare_tree_int.
6786         * fold-const.c (encode, decode): Low part is always unsigned.
6787         (force_fit_type, add_double, neg_double, mul_double): Likewise.
6788         (lshift_double, rshift_double, lrotate_double): Likewise.
6789         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
6790         (fold_convert): Use compare_tree_int.
6791         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
6792         (invert_truthvalue, case INTEGER_CST): Likewise.
6793         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
6794         * mkdeps.c (deps_dummy_targets): Make I unsigned.
6795         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
6796         (lshift_double, rshift_double, lrotate_double, rrotate_double):
6797         Likewise.
6798         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
6799         (expand_end_case): Use compare_tree_int.
6800         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
6801         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
6802         (layout_decl): Likewise.
6803         (layout_record, layout_union): Make sizes unsigned.
6804         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
6805         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
6806         * tree.c (struct type_hash): hashcode is unsigned.
6807         (build_type_attribute_variant, type_hash_list): Likewise.
6808         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
6809         (attribute_hash_list, build_array_type, build_method_type): Likewise.
6810         (build_complex_type): Likewise.
6811         (real_value_from_int_cst): Remove unneeded casts.
6812         (integer_all_onesp): Add casts.
6813         (tree_floor_log2, compare_tree_int): New functions.
6814         (build_index_type): Use tree_int_cst_sgn.
6815         * varasm.c (assemble_variable): Use compare_tree_int.
6816
6817 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
6818
6819         * cpphash.c (collect_expansion): Also catch ## at start of macro.
6820
6821         * varasm.c (make_decl_rtl): Don't add a number to members of
6822         local classes.
6823         (make_function_rtl): Likewise.
6824
6825 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6826
6827         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
6828         patch from 2000-01-28.
6829
6830 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
6831
6832         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
6833         filled with an insn from the jump target.
6834
6835 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6836
6837         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
6838         (c4x_external_ref): Likewise.
6839         * config/c4x/c4x.c (struct name_list): Likewise.
6840
6841 1999-12-16  Ben Collins  <bcollins@debian.org>
6842
6843         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
6844         argument to genmultilib.
6845         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
6846         the contents into the multilib.h header.
6847         * gcc.c: Declare multilib_exclusions for the specs file.
6848         (set_multilib_dir): Use it.
6849         (print_multilib_info): Likewise.
6850         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
6851         to pass to genmultilib.
6852
6853 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6854
6855         * builtins.c (built_in_class_names, built_in_names): Constify a
6856         char*.
6857
6858         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
6859         int.
6860         (_mcleanup): Ensure value matches format specifier in sprintf.
6861
6862         * cpphash.c (special_symbol): Don't needlessly cast away
6863         const-ness.
6864
6865         * cppinit.c (base_name): Delete unused prototype.
6866
6867         * mkdeps.c (deps_init): Make definition K&R safe.
6868
6869         * tree.h (built_in_class_names, built_in_names): Constify a
6870         char*.
6871
6872 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
6873
6874         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
6875         floating point instructions for epilogue delay.
6876
6877         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
6878         to gas if it supports .register pseudo.
6879
6880         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
6881         LONG_DOUBLE_TYPE_SIZE if not defined.
6882         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
6883         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
6884         * real.c: Likewise.
6885         * gengenrtl.c: Likewise.
6886         * print-rtl.c: Likewise.
6887         * rtl.c: Likewise.
6888         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
6889         MASK_LONG_DOUBLE_128.
6890         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
6891         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
6892         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
6893         (SUBTARGET_SWITCHES): Define.
6894         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
6895         with -mlong-double-128.
6896         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
6897         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
6898         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
6899         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
6900         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
6901         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
6902         with -mlong-double-128.
6903         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
6904         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
6905         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
6906         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
6907         TARGET_LONG_DOUBLE_128): Define.
6908         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
6909         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
6910         long double on TARGET_ARCH64.
6911
6912 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
6913
6914         * function.c (free_temps_for_rtl_expr): Don't free slots
6915         that have been pushed into a higher level.
6916
6917         Revert this patch:
6918         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
6919
6920 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
6921
6922         * basic-block.h (ALLOCA_REG_SET): Remove.
6923         (INITIALIZE_REG_SET): New macro.
6924         * flow.c (update_life_info): Use it.
6925         (calculate_global_regs_live): Likewise.
6926         (propagate_block): Likewise.
6927         * global.c (build_insn_chain): Likewise.
6928         * haifa-sched.c (schedule_region): Likewise.
6929
6930 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
6931
6932         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
6933         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
6934         (DWARF_ARANGES_PAD_SIZE): New define.
6935         (output_aranges): Use it to pad the address range header.
6936         (DWARF_ROUND): Fix for non power of 2 rounding.
6937
6938 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
6939
6940         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
6941
6942 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
6943
6944         * tree.def (RTL_EXPR): Update documentation.
6945         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
6946         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
6947         * function.c (preserve_rtl_expr_temp): New function.
6948         (preserve_rtl_expr_temps): Likewise.
6949         (preserve_rtl_expr_result): Use it.
6950
6951         Revert this patch:
6952         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
6953
6954 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
6955
6956         * regmove.c (copy_src_to_dest)  Do not create src->dest move
6957         for unchanging destination.
6958
6959 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
6960
6961         * function.h (struct sequence_stack): Remove rtl_expr.
6962         (struct emit_staus): Likewise.
6963         (seq_rtl_expr): Remove.
6964         * tree.h (free_temps_for_rtl_expr): Don't declare.
6965         (start_sequence_for_rtl_expr): Likewise.
6966         * rtl.h (preserve_rtl_expr_result): Likewise.
6967         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
6968         (start_sequence_for_rtl_expr): Remove.
6969         (push_topmost_sequence): Don't save sequence_rtl_expr.
6970         (pop_topmost_sequence): Remove comment about not restoring it.
6971         (end_sequence): Don't set seq_rtl_expr.
6972         (init_emit): Don't initialize it.
6973         (mark_sequence_stack): Don't mark it.
6974         (mark_emit_status): Likewise.
6975         * except.c (protect_with_terminate): Use
6976         start_sequence_for_rtl_expr, not start_sequence.
6977         * expr.c (expand_expr, case RTL_EXPR): Don't call
6978         preserve_rtl_expr_result or free_temps_for_rtl_expr.
6979         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
6980         (preserve_rtl_expr_result): Remove.
6981         (free_temps_for_rtl_expr): Likewise.
6982         (pop_temp_slots): Likewise.
6983         (mark_temp_slot): Don't mark the rtl_expr.
6984         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
6985         start_sequence_for_rtl_expr.
6986
6987 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
6988
6989         * mkdeps.c, mkdeps.h: New files.
6990         * po/POTFILES.in: Add them.
6991         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
6992         (cpplib.o, cppinit.o): Depend on mkdeps.h.
6993         (mkdeps.o): New target.
6994
6995         * cppfiles.c: Delete deps_output.
6996         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
6997         OBJECT_SUFFIX, and base_name.
6998         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
6999         the include hash.
7000         (initialize_dependency_output): Use deps_init,
7001         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
7002         all the unnecessary string bashing.
7003         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
7004         level.
7005         * cpplib.c (do_include): Use deps_add_dep.
7006         * cpplib.h (struct cpp_reader): Replace deps_buffer,
7007         deps_allocated_size, deps_size, deps_column members with
7008         single pointer to a struct deps.  Delete prototype of
7009         deps_output.
7010
7011         * cppinit.c: Fix thinko in previous patch.
7012
7013 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7014
7015         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
7016         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
7017         (mode_for_size_tree): New function.
7018         (layout_decl, layout_type): Call it and clean up BLKmode checks.
7019         * tree.h (mode_for_size_tree): New declaration.
7020
7021         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
7022
7023 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
7024
7025         * stmt.c (is_body_block): Move...
7026         * dwarfout.c, dwarf2out.c: ...from here.
7027         * tree.h: Declare it.
7028         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
7029         * final.c (final_start_function): Do call remove_unnecessary_notes
7030         when scheduling.
7031
7032 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
7033
7034         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
7035
7036         * cpplib.h (_dollar_ok): New macro.
7037         (is_idchar, is_idstart): Use it.
7038         (IStable): Rename to _cpp_IStable.  Declare it const if
7039         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
7040         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
7041         is_space): Update for renamed IStable.
7042
7043         * cppinit.c: Delete all references to FAKE_CONST and CAT
7044         macros. Define init_IStable as empty macro if gcc >=2.7 or
7045         C99. Change TABLE() to ISTABLE and hardcode name of table.
7046         (cpp_start_read): Don't change the IStable based on
7047         dollars_in_ident.
7048
7049         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
7050         changed.  Handle '$' for char1 correctly.
7051         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
7052
7053         * cppexp.c (tokentab2): Make const.
7054         (cpp_lex): Make toktab const.
7055         * cppinit.c (include_defaults_array): Make const.
7056         (initialize_standard_includes): Make default_include const.
7057
7058 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
7059
7060         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
7061         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
7062         (gen_decl_die): Likewise.
7063         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
7064         (output_decl): Likewise.
7065
7066         * varasm.c (make_function_rtl): If we change the name used in the
7067         rtl, update DECL_ASSEMBLER_NAME accordingly.
7068         (make_decl_rtl): Likewise.
7069
7070         * toplev.c (rest_of_compilation): Tweak formatting.
7071
7072         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
7073         remove_unnecessary_notes.
7074         (debug_ignore_block): New fn.
7075         * toplev.h: Declare it.
7076         * emit-rtl.c (remove_unncessary_notes): Call it.
7077         * dwarf2out.c (dwarf2out_ignore_block): New fn.
7078         * dwarf2out.h: Declare it.
7079         * final.c (final_start_function): Don't call remove_unnecessary_notes
7080         if we did insn scheduling.
7081
7082 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
7083
7084         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
7085         * cpplib.h: Delete SET_CPP_PEDANTIC.
7086
7087 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7088
7089         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
7090         result is a RECORD_TYPE.
7091
7092 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
7093
7094         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
7095
7096 2000-03-03  Richard Henderson  <rth@cygnus.com>
7097
7098         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
7099         addition over compliments over shifts.
7100
7101 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7102
7103         * reload1.c (reload_combine_note_use): Handle return register USEs.
7104         REG case: Handle multi-hard-register hard regs.
7105
7106 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7107
7108         * md.texi: Document use of '*' in insn pattern name.
7109
7110 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
7111
7112         * calls.c (special_function_p): operator new may not be malloc-like.
7113
7114         * gcse.c (dump_hash_table): Really fix error in last change.
7115
7116 2000-03-02  Denis Chertykov  <denisc@overta.ru>
7117
7118         * avr.c (print_operand): Use print_operand_address instead of
7119         output_addr_const.
7120         * avr/libgcc.S: Cleanup code.
7121
7122 2000-03-02  Richard Henderson  <rth@cygnus.com>
7123
7124         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
7125
7126 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
7127
7128         * tree.h (TYPE_ALIGN_UNIT): New macro.
7129
7130 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
7131
7132         * i386.c: (constant_call_address_operand): Reject CONST_INT.
7133
7134 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
7135
7136         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
7137         for the buffer.
7138         (SET_CPP_PEDANTIC): New macro.
7139         * cpplib.c (do_include): Don't bother checking system_header_p.
7140         (do_warning, do_ident, do_assert, do_unassert): Likewise.
7141         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
7142
7143         * function.h (struct expr_status): Add x_arg_space_so_far.
7144         (arg_space_so_far): New macro.
7145         * expr.c (init_expr): Initialize it.
7146         * calls.c (emit_call_1): Reset it.
7147         (compute_argument_block_size, expand_call): Use it.
7148         (expand_call, store_one_arg): Increment it.
7149
7150 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7151
7152         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
7153         a UNION_TYPE.
7154
7155 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
7156
7157         * cppfiles.c (cpp_read_file): New function.
7158
7159         * cpphash.c (collect_expansion): Make sure to reset last_token
7160         to NORM when we hit a string.  Handle trailing whitespace
7161         properly when the expansion is empty.
7162         (create_definition): Disable line commands while parsing the
7163         directive line.
7164         (dump_definition): If pfile->lineno == 0, output a line
7165         command ahead of the dump, and add a trailing newline.
7166
7167         * cppinit.c (append_include_chain): Add fifth argument, which
7168         indicates whether or not system headers are C++ aware.
7169         (initialize_standard_includes): New function,
7170         broken out of read_and_prescan.  Pass 'cxx_aware' value from
7171         the include_defaults_array on to append_include_chain.
7172         (dump_special_to_buffer): Const-ify char array.
7173         (builtin_array): Don't dump __BASE_FILE__.
7174         (cpp_start_read): Use cpp_read_file.  Reorder code for
7175         clarity.  Don't output line commands here for -D/-A/-U
7176         switches.  Don't call deps_output for files included with
7177         -include or -imacros.
7178
7179         * cpplib.c (do_define): Don't pay any attention to the second
7180         argument.
7181         (cpp_expand_to_buffer): Disable line commands while scanning.
7182         (output_line_command): Work in the file buffer.
7183         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
7184         Fix formatting of comments.  Prototype cpp_read_file.
7185
7186 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7187
7188         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
7189         reference the language-equivalent of sizetype.
7190         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
7191         * fold-const.c (size_binop, size_diffop): Put back checks.
7192         * gcse.c (dump_hash_table): Fix minor error in last change.
7193         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
7194         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
7195         all sizetypes.
7196
7197 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
7198
7199         * calls.c (expand_call)  Do not attempt to combine stack adjustments
7200         with inhibit_defer_pop set.
7201
7202 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
7203
7204         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
7205         the DECL_SIZE for a FIELD_DECL.
7206
7207 2000-03-01  Bruce Korb  <bkorb@gnu.org>
7208
7209         * fixinc/inclhack.tpl: remove unused symlinks
7210         * fixinc/README: GCC Maintainer info
7211         * fixinc/inclhack.sh: regen
7212         * fixinc/fixincl.sh: regen
7213
7214 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
7215
7216         * cpphash.c (collect_expansion): Trim trailing white space
7217         from macro definitions, but don't go past the last insertion
7218         point.
7219
7220 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
7221
7222         * i386.md (mulqi3): New pattern.
7223
7224 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
7225
7226         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
7227         token types.
7228         (struct cpp_reader): Add parsing_if_directive and
7229         parsing_define_directive flags.
7230         (struct cpp_options): Remove output_conditionals flag.
7231         (check_macro_name): Delete prototype.
7232
7233         * cpphash.h (struct macrodef): Delete.
7234         (struct reflist): Separate from struct definition.
7235         (struct definition): Remove unused fields.  Add column number.
7236         (create_definition): Returns a DEFINITION *.  Takes a
7237         cpp_reader * and an int.
7238
7239         * cpphash.c (SKIP_WHITE_SPACE): Delete.
7240         (PEEKC): Copy defn from cpplib.c.
7241         (rest_extension, REST_EXTENSION_LENGTH): Delete.
7242         (struct arg): New.
7243         (struct arglist): Simplify.
7244         (collect_expansion): Rewrite.  Get tokens by calling
7245         cpp_get_token.  Add more error checking.
7246         (collect_formal_parameters): New function, broken out of
7247         create_definition and reworked to use get_directive_token.
7248         (create_definition): All real work is now in collect_expansion
7249         and collect_formal_parameters.  do_define handles finding the
7250         macro name.  Return a DEFINITION, not a MACRODEF.
7251         (macroexpand): Replace bcopy with memcpy throughout.  Replace
7252         character-at-a-time copy loop with memcpy and pointer increments.
7253         (compare-defs): d1->argnames / d2->argnames might be null.
7254
7255         * cpplib.c (copy_rest_of_line): Delete function.
7256         (skip_rest_of_line): Do all the work ourselves.
7257         (skip_string): New function.
7258         (parse_string): Use skip_string.
7259         (get_macro_name): New function.
7260         (check_macro_name): Delete.
7261         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
7262         (cpp_skip_hspace): Use CPP_BUMP_LINE.
7263         (handle_directive): ICE if we're called on a macro buffer.
7264         (do_define): Determine macro name and type (funlike/objlike)
7265         here.  Expunge all uses of MACRODEF.
7266         (cpp_push_buffer): Set line_base to NULL.
7267         (do_undef, read_line_number): Don't worry about getting a POP token.
7268         (eval_if_expression): Set/reset parsing_if_directive around
7269         cpp_parse_expr. Don't clear only_seen_white.
7270         (skip_if_group): Remove output_conditionals logic.  Use
7271         skip_rest_of_line.
7272         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
7273         tokens under appropriate conditions.
7274         (cpp_unassert): Call do_unassert not do_assert.  Oops.
7275
7276         * cppexp.c (parse_defined): New function, break out of
7277         cpp_lex.
7278         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
7279         ourselves, with cpp_defined.
7280         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
7281
7282         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
7283         * gcc.dg/strpaste-2.c: New.
7284
7285 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
7286
7287         * fold-const.c (size_binop): Don't asert inputs are the same and
7288         have TYPE_IS_SIZETYPE set.
7289         (size_diffop): Likewise.
7290
7291 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
7292
7293         * dwarfout.c (output_block): Output abstract blocks even if they
7294         don't have TREE_ASM_WRITTEN set.
7295
7296         * calls.c (emit_library_call): Check for null REG.
7297
7298 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
7299
7300         * c-decl.c (current_function_decl): Move to toplev.c.
7301         (init_decl_processing): Don't add current_function_decl as a ggc
7302         root here.
7303         * dbxout.c (dbxout_symbol): Change return type to int.
7304         (dbxout_symbol_location, dbxout_syms): Likewise.
7305         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
7306         any locals. Use current_function_func_begin_label if set.
7307         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
7308         * dwarf2out.c (dwarf2out_begin_prologue): Set
7309         current_function_func_begin_label.
7310         * final.c (final_start_function): Reset it.
7311         * toplev.c (current_function_decl): Define it here.
7312         (current_function_func_begin_label): New variable.
7313         (main): Add both as ggc roots.
7314         * tree.h (current_function_func_begin_label): Declare.
7315
7316 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7317
7318         * gcse.c: Cleanups throughout: mostly white-space, but also
7319         some minor rearrangement of code.
7320
7321 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
7322
7323         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
7324         returns a PARALLEL.  Use emit_group_load and use_group_regs
7325         as needed.
7326         (emit_library_call_value): Similarly.
7327
7328         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
7329         * pa/quadlib.asm: Remove.
7330         * pa/quadlib.c: New file.
7331
7332         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
7333         * configure: Rebuilt.
7334
7335 2000-02-29  Philip Blundell  <pb@futuretv.com>
7336
7337         * config/arm/conix-elf.h: New file.
7338         * configure.in (arm*-*-conix*): New configuration.
7339         * configure: Regenerate.
7340
7341 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
7342
7343         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
7344         don't have TREE_ASM_WRITTEN set.
7345
7346 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7347
7348         * Eliminate DECL_FIELD_SIZE.
7349         * builtins.c (built_in_class_names, built_in_names): New variables.
7350         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
7351         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
7352         DECL_SIZE, not DECL_FIELD_SIZE.
7353         * print-tree.c (print_node): Remove code that prints extra blank
7354         lines in some cases.
7355         Properly handle inline and builtin function cases.
7356         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
7357         * tree.h (built_in_class_named, built_in_names): New declarations.
7358         (union tree_decl): Rename internal unions to u1 and u2 and change
7359         some of their components.
7360         Add new field built_in_class.
7361         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
7362         Reflect above changes.
7363         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
7364         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
7365         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
7366         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
7367
7368 2000-02-28  Dmitri Makarov  <dim@windriver.com>
7369
7370         * extend.texi: Document ARM's support for long/short calls.
7371
7372         * invoke.texi: Document ARM's -mlong-calls command line switch.
7373
7374         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
7375         (arm_encode_call_attribute): Add prototype.
7376         (arm_set_default_type_attribute): Add prototype.
7377         (arm_strip_name_encoding): Add prototype.
7378
7379         * config/arm/arm.c (arm_init_cumulative_args): replace
7380         initialisation og 'long_calls' field with initialisation of
7381         'call_cookie' field.
7382         (enum arm_pragma_enum): New enum.
7383         (arm_pragma_long_calls): New static variable.
7384         (arm_process_pragma): Also process "#pragma long_calls_off".
7385         (arm_valid_type_attribute_p): Accept short_call attribute.
7386         (arm_comp_type_attributes): Check long/short call attributes.
7387         (arm_encode_call_attribute):  New function:  Encode long_call
7388         or short_call attribute in function name.
7389         (arm_set_default_type_attributes): New function: Assign
7390         default attributes to newly defined type.
7391         (current_file_function_operand): New function: Return true if
7392         the symbol is a function which has already been compiled.
7393         (arm_is_longcall_p): New function: Return true if the
7394         indicated function should be called via a long call.
7395         (arm_get_strip_length): New function.  Returns number of
7396         prefix characters to be stripped from a function's name.
7397         (arm_strip_name_encoding): New function.  Strip prefix characters
7398         from a function's name.
7399
7400         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
7401         with 'call_cookie'.
7402         (SHORT_CALL_FAG_CHAR): Define.
7403         (LONG_CALL_FAG_CHAR): Define.
7404         (ENCODED_SHORT_CALL_ATTR_P): Define.
7405         (ENCODED_LONG_CALL_ATTR_P): Define.
7406         (ARM_NAME_ENCODING_LENGTHS): Define.
7407         (STRIP_NAME_ENCODING): Define.
7408         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
7409         (ARM_ENCODE_CALL_TYPE): Define.
7410         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
7411         (ARM_DECLARE_FUNCTION_SIZE): Define.
7412         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
7413
7414         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
7415         if a long call is needed.
7416         (call_value): Ditto.
7417         (call_symbol): Ditto.
7418
7419         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
7420         ARM_DECLARE_FUNCTION_SIZE.
7421
7422         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
7423         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
7424         (ARM_STRIP_NAME_ENCODING): Undefine.
7425         (STRIP_NAME_ENCODING): Undefine.
7426         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
7427         (ASM_DECLARE_FUNCTION_NAME): Ditto.
7428         (ASM_OUTPUT_COMMON): Ditto.
7429         (ASM_DECLARE_OBJECT_NAME): Ditto.
7430
7431         * config/arm/pe.c (arm_dllexport_name_p): Check for
7432         ARM_PE_FLAG_CHAR.
7433         (arm_dllimport_name_p): Ditto.
7434         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
7435         (arm_mark_dllimport): Ditto.
7436
7437 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7438
7439         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
7440
7441 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
7442
7443         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
7444
7445 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
7446
7447         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
7448         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
7449         NO_BUILTIN_WCHAR_TYPE is not defined.
7450         (CPP_WCHAR_TYPE): Delete.
7451         * cccp.c (main): Don't change wchar_type if cplusplus.
7452         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
7453
7454 2000-02-28  Nick Clifton  <nickc@cygnus.com>
7455
7456         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
7457
7458 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
7459
7460         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
7461         (ASM_WEAKEN_LABEL): Define.
7462
7463 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
7464
7465         * expr.c (store_constructor): Do not emit USE.
7466         * rtl.h (stupid_life_analysis): Remove.
7467
7468 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7469
7470         * function.c (number_blocks): Reset next_block_index based on
7471         what debugging format is used, not what is defined.
7472
7473         * lcm.c: Minor reformatting throughout.
7474         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
7475
7476         * toplev.c (rest_of_compilation): Account for time in
7477         optimize_mode_switching.
7478
7479         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
7480         if only marking labels.
7481
7482 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
7483
7484         * calls.c (expand_call): Attempt to combine stack adjustments with
7485         pending stack adjustments.
7486
7487 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7488
7489         * loop.c (reg_in_basic_block_p): Don't abort when falling through
7490         to the end of the function.
7491
7492 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
7493
7494         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
7495         blocks.
7496         * final.c (next_block_index): Remove.
7497         (max_block_depth): Likewise.
7498         (pending_blocks): Likewise.
7499         (init_final): Don't initialize them.
7500         (final_start_function): Don't set next_block_index.  Set up
7501         BLOCK_NUMBER.
7502         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
7503         * function.h (number_blocks): New function.
7504         * function.c (get_block_vector): New function.
7505         (identify_blocks): Use it.
7506         (reorder_blocks): Set NOTE_BLOCK.
7507         (number_blocks): New function.
7508         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
7509         * tree.h (BLOCK_NUMBER): New macro.
7510         (tree_block): Add block_num field.
7511         * dbxout.c (next_block_number): Remove.
7512         (dbxout_init): Don't set it.
7513         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
7514         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
7515         block numbers.
7516         * toplev.c (rest_of_compilation): Always call
7517         find_loop_tree_blocks.  Fix indentation.
7518         * dwarf2out.c (next_block_number): Remove.
7519         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
7520         to determine block numbers.
7521         (gen_inlined_subroutine_die): Likewise.
7522         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
7523         (decls_for_scope): Don't increment next_block_number.
7524         * dwarfout.c (next_block_number): Remove.
7525         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
7526         to determine block numbers.
7527         (output_inlined_subroutine_die): Likewise.
7528         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
7529         (output_decls_for_scope): Don't increment next_block_number.
7530         * sdbout.c (next_block_number): Remove.
7531         (sdbout_block): Use BLOCK_NUMBER.
7532         (sdbout_begin_block): Simplify.
7533         * xcoffout.c (next_block_number): Remove.
7534         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
7535         (xcoffout_begin_block): Don't set next_block_number.
7536         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
7537         next_block_number.
7538
7539 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7540
7541         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
7542         (expand_builtin_strcpy): Pass correct type to size_binop.
7543         (expand_builtin_strcmp): Likewise.
7544         Clean up conditional structure.
7545         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
7546         (complete_array_type): Don't use size_binop for MAXINDEX.
7547         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
7548         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
7549         (c_alignof): Use size_one_node.
7550         (build_unary_op): Pass arg of proper type to size_binop.
7551         (really_start_incremental_init, push_init_level): Use sizetype for
7552         constructor{,_bit,_unfilled}_index.
7553         (pop_init_label, output_init_element): Likewise.
7554         (output_pending_init_elements, process_init_element): Likewise.
7555         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
7556         * expr.c (store_expr): Use size_int.
7557         (store_constructor): Use proper types for size_binop args.
7558         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
7559         (expand_expr_unaligned): Likewise.
7560         (string_contant): Return object of sizetype.
7561         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
7562         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
7563         (ARGS_SIZE_TREE): Pass proper types to size_binop.
7564         * fold-const.c (int_const_binop): Refine when size_int is called.
7565         (fold_convert): Likewise.
7566         (size_int_wide): Rework to take KIND as arg, only take low order
7567         bits, handle new sizetype_tab datatype, and chain entries in
7568         size_table.
7569         (size_int_type_wide): New function.
7570         (size_binop): Validate types of arguments.
7571         (ssize_binop): Deleted.
7572         (size_diffop): New function.
7573         (extract_muldiv): Only fold division into multiplication for sizetypes.
7574         * function.c (assign_parms): Use size_diffop and make sure
7575         VAR field is of ssizetype; also pass proper type to size_binop.
7576         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
7577         (round_down): Deleted from here.
7578         * store-layout.c (sizetype_tab): Now an array.
7579         (sizetype_set, early_root_list): New variables.
7580         (variable_size): Use size_one_node.
7581         (round_up): Pass proper type to size_binop.
7582         (round_down): Moved to here and corrected as above.
7583         (layout_record): Pass proper arg types to size_binop.
7584         (layout_type): Likewise.
7585         If sizetype_set is zero, record the type just laid out.
7586         (make_unsigned_type): Don't call set_sizetype;
7587         (make_signed_type): Likewise; also, call fixup_signed_type.
7588         (initialize_sizetypes): New function.
7589         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
7590         set name of bitsizetype to "bit_size_type".
7591         Fix up type of sizes of all types made before call.
7592         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
7593         * tree.c (fix_sizetype): Deleted.
7594         (build_common_tree_nodes): Call initialize_sizetypes.
7595         (build_common_tree_nodes_2): Don't call fix_sizetype.
7596         * tree.h (TYPE_IS_SIZETYPE): New macro.
7597         (initialize_sizetype): New declaration.
7598         (enum size_type_kind): New type.
7599         (struct sizetype_tab): Deleted.
7600         (sizetype_tab): Now array; adjust sizetype macros.
7601         (size_diffop, size_int_type_wide): New functions.
7602         (size_int_wide): Change number of args and type; access macros changed.
7603         (ssize_int, sbitsize_int): New macros.
7604         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
7605         (ROUND_TYPE_SIZE_UNIT): New macro.
7606
7607 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
7608
7609         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
7610
7611 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7612
7613         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
7614         Mark as possibly unused.
7615
7616         * cse.c (cse_insn): Delete dead code involving tablejump.
7617         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
7618
7619         * Makefile.in (libcpp.a): Start by deleting it.
7620
7621 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7622
7623         * cpplib.h (enum file_change_code): Added rename_file.
7624         * cpplib.c (do_line): If a filename is given, set file_change to
7625         rename_file.
7626         (output_line_command): If file_change is rename_file, always
7627         output a # directive with the file name.
7628
7629         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
7630
7631 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
7632
7633         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
7634         when copying a PARM_DECL or RESULT_DECL.
7635
7636 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7637
7638         * fix-header.c (recognized_function): Also fix prototypes for
7639         functions taking "void".
7640
7641 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
7642
7643         * reload1.c (do_output_reload): Check reg_reloaded_valid before
7644         looking at reg_reloaded_contents.
7645
7646 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
7647
7648         * Makefile.in (STMP_FIXINC): New toggle.
7649         (LIBGCC2_DEPS): Delete all references.
7650         (stmp-headers): Delete target.  All references either deleted
7651         or changed to stmp-int-headers.
7652         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
7653         (LIBCPP_OBJS): Take out cppalloc.o.
7654         (cppalloc.o): Delete target.
7655         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
7656         (gen-protos, fix-header): Link with libiberty.a.
7657         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
7658         to empty.
7659
7660         * configure.in: Remove refs to strerror.
7661         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
7662         * system.h: Take out strerror stanza.
7663
7664         * cpperror.c (my_strerror): Delete function.
7665         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
7666         * cppmain.c (main): Call xmalloc_set_program_name first thing.
7667         * cppalloc.c: Delete file.
7668         * gen-protos.c: Don't provide xrealloc.
7669
7670         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
7671         xstrerror throughout.
7672
7673 2000-02-26  Bruce Korb  <bkorb@gnu.org>
7674
7675         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
7676         match for DOS headers, too.
7677         * fixinc/inclhack.sh,fixincl.x: Regenerate.
7678
7679 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
7680
7681         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
7682         is right for most ELF targets.
7683         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
7684         Let the default file use %U properly.
7685         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
7686         default.
7687
7688         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
7689         numbers.
7690
7691 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7692
7693         * toplev.c (documented_lang_options): Correct spelling error.
7694         (decode_d_option, decode_f_option, main): Likewise.
7695
7696         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
7697
7698         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
7699         to tell assembler it is permitted to expand large constants.
7700
7701 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
7702
7703         * protoize.c: (AUX_INFO_SUFFIX): New macro.
7704         (aux_info_suffix): Use.
7705         (SAVE_SUFFIX): New macro.
7706         (save_suffix): Use.
7707         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
7708         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
7709         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
7710
7711         * invoke.texi (Running Protoize): Update documentation.
7712
7713 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
7714
7715         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
7716
7717 2000-02-25  John Wehle  (john@feith.com)
7718
7719         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
7720
7721 2000-02-25  Anthony Green  <green@cygnus.com>
7722
7723         * toplev.c (rest_of_compilation): Rebuild jump labels if
7724         combine_instructions has created a new direct jump.
7725         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
7726         when appropriate.
7727         (combine_instructions): Call try_combine with new argument.
7728         Return non-null value when new direct jump instruction is created.
7729         * rtl.h: combine_instructions returns an int.
7730
7731 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
7732
7733         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
7734         jump when changing a computed jump into a jump to a known
7735         target.
7736
7737 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
7738
7739         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
7740         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
7741
7742         * i386.md (define_expand "clrstrsi"): Fix typo.
7743
7744 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
7745
7746         * rtl.texi: Fix typo.
7747
7748 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7749
7750         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
7751         UNITS_PER_WORD.  Change caller initial_elimination_offset.
7752         (rounded_frame_size): Take into account that argument pushed has
7753         changed.  Fix TARGET_ALIGN_DOUBLE problem.
7754
7755 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
7756
7757         * haifa-sched.c (schedule_block): Explain the real reason
7758         we delete REG_SAVE_NOTEs on the first insn of a block.
7759         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
7760
7761 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
7762
7763         * input.h (push_srcloc): New function.
7764         (pop_srcloc): Likewise.
7765         * toplev.c (push_srcloc): Define it.
7766         (pop_srcloc): Likewise.
7767
7768 2000-02-24  Richard Henderson  <rth@cygnus.com>
7769
7770         * flow.c (life_analysis): When collecting reg info, clear
7771         regs_ever_live.
7772
7773 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7774
7775         Fix bug exposed by reload.c no longer rounding the frame
7776         size to BIGGEST_ALIGNMENT:
7777         * sh.c (rounded_frame_size): New function.
7778         (sh_expand_prologue, sh_expand_epilogue): Use it.
7779         (initial_elimination_offset): Likewise.
7780
7781 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7782
7783         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
7784         * sh-protos.h (sh_need_epilogue): Declare.
7785         * sh.c (sh_need_epilogue_known): New static variable.
7786         (sh_need_epilogue): New function.
7787         (function_epilogue): Clear need_epilogue_known.
7788         * sh.md (return): Split into expander / insn pattern.
7789         Make the expander conditional on ! sh_need_epilogue ().
7790
7791 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
7792
7793         * machmode.h (get_mode_alignment): Declare.
7794         (GET_MODE_ALIGNMENT): Call it.
7795         * stor-layout.c (get_mode_alignment): New function. Make
7796         sure alignment is always power of 2.
7797
7798 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
7799
7800         * i386.h: Remove useless definition of "I386" and misleading
7801         comment above it.
7802
7803 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
7804
7805         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
7806         under which TREE_PERMANENT will be set.
7807         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
7808         build1): Use TREE_SET_PERMANENT.
7809         * print-tree.c (print_node): Don't report value of
7810         TREE_PERMANENT if ggc_p is true.
7811
7812         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
7813         decide whether to give a type a new alias set.
7814         * objc/objc-act.c (build_objc_string_object): Never copy the string.
7815         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
7816         of value of 'obstack'.
7817
7818
7819 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7820
7821         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
7822
7823 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7824
7825         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
7826         * cpplib.c (cpp_get_token): Produce them.
7827         * cppexp.c (cpp_lex): Handle them.
7828
7829 2000-02-23  Nick Clifton  <nickc@cygnus.com>
7830
7831         * config/arm/arm.c (arm_comp_type_attributes): Simply and
7832         comment tests on type attributes.
7833
7834 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7835
7836         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
7837         conform to documentation.
7838         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
7839         to check for special cases.
7840         * sh-protos.h (sh_loop_align): Declare.
7841         * sh.c (sh_loop_align): Define.
7842
7843 2000-02-22  Andrew Haley  <aph@cygnus.com>
7844
7845         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
7846         (SIZE_TYPE): Is 32 bits when using -mgp32.
7847         (PTRDIFF_TYPE): Ditto.
7848
7849 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7850
7851         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
7852
7853 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
7854
7855         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
7856         BIGGEST_FIELD_ALIGNMENT a constant.
7857
7858 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
7859
7860         * dwarf2out.c (output_line_info): Put the marker for the end of
7861         the line number info at the actual end.
7862         (gen_struct_or_union_type_die): Use decl_function_context
7863         to check for local classes.
7864         * dwarfout.c (output_type): Likewise.
7865
7866 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
7867
7868         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
7869         for arguments with a mode, but no type.
7870         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
7871         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
7872         * pa/long_double.h: New file.
7873         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
7874         both have 128bit wide long doubles.
7875         * configure: Rebuilt.
7876
7877 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7878
7879         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
7880
7881         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
7882         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
7883         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
7884
7885         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
7886
7887         * integrate.c (compare_blocks, find_block): Likewise.
7888
7889         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
7890
7891         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
7892
7893         * stmt.c (stmt_status, set_file_and_line_for_stmt,
7894         expand_asm_operands): Likewise.
7895
7896 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
7897
7898         * predict.c (estimate_probability): Added the pointer heuristic to
7899         the collection of static branch predictors.
7900
7901 2000-02-21  Catherine Moore  <clm@cygnus.com>
7902
7903         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
7904         * invoke.texi (-mfix7000): Document.
7905
7906 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
7907
7908         * diagnostic.c (init_output_buffer): Make it possible to output at
7909         least 32 characters if we're given a too long prefix.
7910
7911 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
7912
7913         * varasm.c (initializer_constant_valid_p): Call
7914         lang_expand_constant to simplify the constant.
7915
7916 2000-02-20  Bruce Korb  <bkorb@gnu.org>
7917
7918         * fixinc/inclhack.def(stdio_va_list):
7919         typedef needs to be disabled.
7920         * fixinc/inclhack.sh: regen
7921         * fixinc/fixincl.x: regen
7922
7923 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
7924
7925         * print-rtl.c (print_rtx): Don't print addresses when
7926         flag_dump_unnumbered.
7927
7928 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7929
7930         * sparc.c (sparc_output_scratch_registers): Mark parameter with
7931         ATTRIBUTE_UNUSED.
7932         (sparc_va_arg, sparc_flat_output_function_prologue,
7933         sparc_flat_output_function_epilogue): Cast value to unsigned in
7934         comparison.
7935         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
7936
7937         * sparc.md: Add default case in switch.
7938
7939 2000-02-19  Richard Henderson  <rth@cygnus.com>
7940
7941         * c-typeck.c (add_pending_init): Don't abort for multiple
7942         fields at the same offset.
7943         (pending_init_member): Test the correct member.
7944
7945 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7946
7947         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
7948         instead of SImode.
7949         (start_catch_handler) : Same.
7950
7951 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
7952
7953         * Makefile.in: Have flow.o depend on $(EXPR_H)
7954
7955 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7956
7957         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
7958         * c-decl.c (duplicate_decls, finish_enum): Likewise.
7959         (finish_decl): Remove -Wlarger-than code from here.
7960         * flags.h (id_clash_len): Now int.
7961         (larger_than_size): Now HOST_WIDE_INT.
7962         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
7963         Clean up checking to see if in table.
7964         (make_bit_field_ref): Remove extra parm to bitsize_int.
7965         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
7966         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
7967         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
7968         and for computing size of decl.
7969         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
7970         Move -Wlarger-than code to here.
7971         (layout_record): Remove extra arg to bitsize_int.
7972         Set TYPE_BINFO_SIZE_UNIT.
7973         (layout_union): Remove extra arg to bitsize_int.
7974         Use proper type for size of QUAL_UNION.
7975         (layout_type): Remove extra arg to bitsize_int.
7976         * toplev.c (id_clash_len): Now int.
7977         (larger_than_size): Now HOST_WIDE_INT.
7978         (decode_W_option): Clean up id-clash and larger-than- cases.
7979         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
7980         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
7981         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
7982         (struct tree_decl): New field size_unit.
7983         (size_int_wide): No HIGH operand; NUMBER is now signed.
7984         (size_int_2): Deleted.
7985         (size_int, bitsize_int): Don't use it and rework args.
7986         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
7987
7988 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
7989
7990         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
7991
7992 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
7993
7994         * invoke.texi (Warning Options): Add an explanation of why
7995         you might want the -Wfloat-equal flag.
7996
7997 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7998
7999         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
8000         * cppinit.c (new_pending_define): Add cast to avoid warning.
8001         * expmed.c (extract_bit_field): Likewise.
8002         * flow.c (enum reorder_skip_type): New type.
8003         (skip_insns_between_blcok): New it.
8004         Rework to avoid warning about possibly undefined variable.
8005         * function.c (assign_parms): Make thisparm_boundary unsigned.
8006         * genrecog.c (write_switch): Cast XWINT result to int.
8007         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
8008         * mips-tfile.c (init_file): Make two versions of FDR intializer:
8009         one for MIPS and one for Alpha.
8010         (get_tag, copy_object): Add casts to avoid warnings.
8011         * optabs.c (init_one_libfunc): Cast NAME to (char *).
8012         * reload.c (find_reloads): Make TYPE enum reload_type.
8013         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
8014         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
8015         * varasm.c (compare_constant_1): Add cast to avoid warning.
8016         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
8017         to (char *).
8018         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
8019         Cast switch operand of size to int.
8020         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
8021         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
8022         in unhandled case.
8023
8024 2000-02-18  Nick Clifton  <nickc@cygnus.com>
8025
8026         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
8027         anything for an alignment of zero.
8028
8029         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
8030         anything for an alignment of zero.
8031
8032 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
8033
8034         * gcc.texi (Bug Reporting): Refer to bugs.html.
8035         (Bug Lists): Likewise.
8036         * system.h (GCCBUGURL): New preprocessor define.
8037         * rtl.c (fancy_abort): Use it.
8038         * gcc.c (main): Likewise.
8039
8040 2000-02-18  Richard Henderson  <rth@cygnus.com>
8041
8042         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
8043         (life_analysis_1): Subsume into ...
8044         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
8045         Use update_life_info for the relaxation.
8046         (update_life_info): Update REG_BASIC_BLOCK for registers live on
8047         entry and regs_live_at_setjmp.
8048         (set_noop_p): Simplify.
8049         (notice_stack_pointer_modification_1): Renamed from s/_1//.
8050         (record_volatile_insns): Split into ...
8051         (delete_noop_moves): ... here,
8052         (notice_stack_pointer_modification): ... here,
8053         (insn_dead_p): ... and here.
8054         (propagate_block): Don't query INSN_VOLATILE.
8055         (mark_used_regs): Mind !PROP_REG_INFO.
8056         * toplev.c (rest_of_compilation): Call mark_constant_function here,
8057         not in life_analysis.
8058
8059 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
8060
8061         * loop.c (canonicalize_condition): New function,
8062         broken out of get_condition.
8063         (get_condition): Use it.
8064         * expr.h (canonicalize_condition): Prototype it.
8065
8066         * tree.h (tree_int_cst_msb): Declare.
8067         * tree.c (tree_int_cst_msb): New function.
8068
8069 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
8070
8071         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
8072         isn't set.
8073
8074         * invoke.texi (-fmessage-length=n): Document.
8075
8076 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
8077
8078         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
8079
8080 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
8081
8082         * function.c (thread_prologue_and_epilogue_insns): Put a line note
8083         after the prologue.
8084
8085 2000-02-17  Nick Clifton  <nickc@cygnus.com>
8086
8087         * config/arm/thumb.c: Replace includes of system headers with
8088         #include "system.h".
8089
8090 2000-02-16  Richard Henderson  <rth@cygnus.com>
8091
8092         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
8093         Add crtbeginS.o and crtendS.o.
8094         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
8095         (ENDFILE_SPEC): Use crtendS.o.
8096         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
8097
8098         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
8099         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
8100         shared and present.
8101         (__dso_handle): New variable.
8102         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
8103         bias to __CTOR_END__.
8104
8105 2000-02-16  Richard Henderson  <rth@cygnus.com>
8106
8107         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
8108
8109 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8110
8111         * longlong.h (__clz_tab): Declare as static to match definition.
8112
8113 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
8114         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
8115         (XREF_FILE_NAME): Define.
8116
8117         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
8118         (EH_FRAME_SECTION_ASM_OP): Define.
8119         (IDENT_ASM_OP): Define.
8120         (TEXT_SECTION_ASM_OP): Define.
8121         (CPP_SPEC): Define.
8122         (CTORS_SECTION_ASM_OP): Define.
8123         (CTOR_SECTION_FUNCTION): Use it.
8124         (DTORS_SECTION_ASM_OP): Define.
8125         (DTOR_SECTION_FUNCTION): Use it.
8126
8127 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
8128
8129         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
8130         NOTE_BASIC_BLOCK.
8131
8132         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
8133         debug_bb_n): New functions.
8134         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
8135         * basic-block.h: Prototype new functions.
8136
8137 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
8138
8139         * configure.in: Add support for avr target.
8140         * configure: Rebuilt.
8141
8142         * invoke.texi: Add AVR invocation docs.
8143         * install.texi: Add information about AVR.
8144         * md.texi: Add AVR constraint letters description.
8145         * extend.texi: Add description for AVR specific attributes.
8146
8147 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
8148
8149         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
8150
8151 2000-02-16  Nick Clifton  <nickc@cygnus.com>
8152
8153         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
8154         (make_insn_raw): Move RTL check here.
8155
8156 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8157
8158         * version.c: Include gansidecl.h and version.h.
8159
8160         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
8161
8162         * configure.in (gcc_version): When setting, narrow search to
8163         lines containing `version_string'.
8164
8165         * Makefile.in (mainversion): Likewise.
8166         (GCC_H): New variable.
8167         (gcc.h): Delete target.
8168         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
8169         (version.o): Depend on version.h.
8170         (dbxout.o): Don't depend on gcc.h.
8171
8172 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8173                           Michael Meissner  <meissner@cygnus.com>
8174
8175         * md.texi (Simple Constraints): Add item about whitespace.
8176         * genoutput.c (strip_whitespace): New.
8177         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
8178         strip_whitespace for constraints.
8179         Test pointer using NULL, not 0.
8180
8181 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8182
8183         * cpplib.c (do_line): Pedwarn for #line > 32767.
8184
8185         * c-lex.c (readescape): Warn about '\x', but do not reject it.
8186
8187 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
8188
8189         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
8190         to default cpp spec.
8191         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
8192         * cpp.texi: Document __GNUC_PATCHLEVEL__.
8193         * cpp.1: Likewise.
8194
8195         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
8196         default spec.
8197
8198 2000-02-15  Denis Chertykov  <denisc@overta.ru>
8199
8200         * configure.in: Add support for avr target.
8201
8202 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8203
8204         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
8205         (sh_addr_diff_vec_mode): Don't declare.
8206         * sh.c (sh_addr_diff_vec_mode): Delete.
8207
8208 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8209
8210         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
8211
8212 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8213
8214         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
8215         (smulsi3_highpart_i): Name.
8216         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
8217         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
8218         (smulsi3_highpart, umulsi3_highpart): Likewise.
8219
8220         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
8221         correctly independent of endianness.
8222         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
8223         confuse the optimizers.
8224         (mulsidi3+1, umulsidi3+1): New define_split.
8225
8226 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
8227
8228         * config/sh/sh.md: Guard insn splits against illegal registers.
8229         * config/sh/sh.h: Correct comment about macros.
8230
8231 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8232                           Andrew MacLeod  <amacleod@cygnus.com>
8233
8234         * Makefile.in (lcm.o): Depend on insn-attr.h.
8235         * basic-block.h (optimize_mode_switching): Declare.
8236         * lcm.c (tm_p.h, insn-attr.h): #include.
8237         (seginfo, bb_info): New structs.
8238         (antic, transp, comp, delete, insert) : New file-scope static variables.
8239         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
8240         (reg_becomes_live, optimize_mode_switching): Likewise.
8241         * tm.texi: Add description of mode switching macros.
8242         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
8243
8244         * sh-protos.h (remove_dead_before_cse): Remove prototype.
8245         (fldi_ok, fpscr_set_from_mem): New prototypes.
8246         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
8247         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
8248         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
8249         (sh_flag_remove_dead_before_cse): Remove declaration.
8250         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
8251         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
8252         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
8253         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
8254         (barrier_align): Allow for JUMP_INSNS containing a parallel.
8255         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
8256         (fldi_ok): New function.
8257         (get_fpscr_rtx): Add fpscr_rtx as GC root.
8258         (emit_sf_insn): Only generate fpu switches when optimize < 1.
8259         (emit_df_insn): Likewise.
8260         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
8261         (sh_flag_remove_dead_before_cse): Delete.
8262         (get_free_reg, fpscr_set_from_mem): New functions.
8263         * sh.md (movdf, movsf): Remove no_new_pseudos code.
8264         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
8265
8266 2000-02-15  Loren Rittle  <ljrittle@acm.org>
8267
8268         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
8269
8270 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8271
8272         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
8273         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
8274
8275         * cccp.c: Include version.h and/or don't declare `version_string'.
8276         * collect2.c: Likewise.
8277         * alpha.c: Likewise.
8278         * arm/aof.h: Likewise.
8279         * arm/coff.h: Likewise.
8280         * arm/elf.h: Likewise.
8281         * arm/pe.h: Likewise.
8282         * arm/tcoff.h: Likewise.
8283         * arm/telf.h: Likewise.
8284         * arm/tpe.h: Likewise.
8285         * arm/vxarm.h: Likewise.
8286         * convex/convex.c: Likewise.
8287         * i386/dgux.c: Likewise.
8288         * i386/sun386.h: Likewise.
8289         * m88k/m88k.c: Likewise.
8290         * mcore/mcore-pe.h: Likewise.
8291         * mips/mips.h: Likewise.
8292         * romp/romp.h: Likewise.
8293         * sh/sh.c: Likewise.
8294         * cpphash.c: Likewise.
8295         * cppinit.c: Likewise.
8296         * dwarf2out.c: Likewise.
8297         * dwarfout.c: Likewise.
8298         * gcc.c: Likewise.
8299         * gcc.h: Likewise.
8300         * mips-tfile.c: Likewise.
8301         * protoize.c: Likewise.
8302         * toplev.c: Likewise.
8303         * tree.h: Likewise.
8304
8305         * version.c (version_string): Constify a char*.
8306
8307         * version.h: New file.
8308
8309 2000-02-14  Nick Clifton  <nickc@cygnus.com>
8310
8311         * configure.in: Add mcore-elf and mcore-pe targets.
8312         * configure: Regenerate.
8313
8314         * NEWS: Add note that MCore port has been contributed.
8315
8316         * invoke.texi: Document command line switches for MCore port.
8317         * install.texi: Add MCore to list of supported targets.
8318
8319 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
8320
8321         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
8322         then we will need to import the frame handling functions.
8323         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
8324         to import the frames themselves.
8325
8326 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
8327                           Jason Eckhardt  <jle@cygnus.com>
8328
8329         * basic_block.h: Added prototype for reorder_basic_blocks.
8330         * toplev.c: Changes to add -freorder-blocks and graph dump after
8331         block reordering is done.
8332         * flow.c (reorder_block_def): New structure for use during block
8333         reordering.
8334         (REORDER_BLOCK_*): New macros to access members of above structure.
8335         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
8336         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
8337         functions for block reordering.
8338
8339 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8340
8341         * gcc.texi (Passes): Fix typo.
8342         * md.texi (Standard Names): Ditto.
8343         * tm.texi (Storage Layout): Ditto.
8344
8345 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
8346
8347         * cpplib.c (do_define): Only free the old definition if it
8348         actually had one.
8349
8350 2000-02-13   Neil Booth  <NeilB@earthling.net>
8351
8352         * cppfiles.c (read_and_prescan): When emitting deferred
8353         newlines, test speccase[] again instead of checking each
8354         possible whitespace character in turn.  When we encounter \r,
8355         look behind for \n first, then ahead.
8356
8357 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
8358
8359         * cse.c (cse_altered): New internal flag.
8360         (cse_insn): Set it if we changed an insn.
8361         (cse_main): Clear cse_altered before each basic block.
8362         Only garbage collect if cse_altered is true afterward.
8363
8364 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8365
8366         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
8367
8368 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
8369
8370         * combine.c (simplify_comparison): Fix typo.
8371
8372 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
8373
8374         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
8375         consistently.
8376
8377 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8378
8379         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
8380         previously inserted node instead of root node.  Caller changed.
8381
8382 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8383
8384         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
8385
8386 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8387
8388         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
8389         __dereg_frame_dtor): Add prototype argument.
8390
8391         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
8392
8393         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
8394
8395         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
8396
8397         * gthr-vxworks.h (__gthread_once): Likewise.
8398
8399         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
8400
8401 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
8402
8403         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
8404         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
8405         stack pointer in functions w/o saved registers, output LEAVE more often
8406         on TARGET_USE_LEAVE machines.
8407
8408 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
8409
8410         * config/arm/arm.c (arm_init_cumulative_args); New function:
8411         Initlaise the CUMULATIE_ARGS strcuture for a function
8412         defintion.
8413         (arm_function_arg): New function: Determine where to place a
8414         function's argument.  Also handles deciding the function's
8415         call cookie.
8416         (current_file_function_operand): New function: Return true if
8417         the symbol is a function which has already been compiled.
8418         (arm_is_long_call_p): New function: Return true if the
8419         indicated function should be called via a long call.
8420         (arm_valid_type_attribute_p): New function: Return true if the
8421         attribute is a valid, arm specific, attribute.
8422         (arm_comp_type_attribute): New function: Return true if the
8423         two types have compatable, arm specific, attributes.
8424
8425         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
8426         structure.
8427         (FUNCTION_ARG): Redefine to call arm_function_arg.
8428         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
8429         structure field.
8430         (INIT_CUMULATIVE_ARGS): Redefine to call
8431         arm_init_cumulative_args.
8432         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
8433         field.
8434         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
8435         field.
8436         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
8437         functions.
8438         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
8439         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
8440         (COMP_TYPE_ATTRIBUTES): Define.
8441
8442         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
8443         if a long call is needed.
8444         (call_value): Call arm_is_long_call_p to decide if a long call
8445         is needed.
8446         (call_symbol): Call arm_is_long_call_p to decide if a long call
8447         is needed.
8448
8449         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
8450
8451 2000-02-11  Denis Chertykov  <denisc@overta.ru>
8452
8453         * README.AVR: New file with information about the avr ports.
8454         * config/avr: New directory with avr port files.
8455
8456 2000-02-11  Andreas Jaeger  <aj@suse.de>
8457
8458         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
8459
8460 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
8461
8462         * cpphash.c: Fix formatting, update commentary.
8463         (dump_definition): Take three separate arguments instead of a
8464         MACRODEF structure argument.
8465         * cpphash.h: Update prototype of dump_definition.
8466         * cppinit.c (cpp_finish): Update call of dump_definition.
8467
8468         * cpplib.c (do_define): Always create new hash entry with
8469         T_MACRO type.  Remove redundant check for redefinition of
8470         poisoned identifier.  Update call of dump_definition.
8471         (do_undef): Don't call check_macro_name.  Rename sym_length to
8472         len.
8473         (do_error, do_warning): Don't use copy_rest_of_line or
8474         SKIP_WHITE_SPACE.
8475         (do_warning): Don't use pedwarn for the actual warning,
8476         only the notice about its not being in the standard.  (Fixes
8477         bug with #warning in system headers.)
8478         (do_ident): Stricter argument checking - accept only a single
8479         string after #ident.  Also, macro-expand the line.
8480         (do_xifdef): Use cpp_defined.  De-obfuscate.
8481
8482         (do_pragma): Split out specific pragma handling to separate
8483         functions.  Use get_directive_token.  Update commentary.  Do
8484         not pass on #pragma once or #pragma poison to the front end.
8485         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
8486         do_pragma_default): New.
8487
8488 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
8489
8490         * jump.c (jump_optimize_1): The first operand in a relational
8491         can be a CONST_INT.
8492         * optabs.c (emit_conditional_move): Handle relationals which
8493         have a known true/false result.
8494
8495 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
8496
8497         * function.c (thread_prologue_and_epilogue_insns): Don't insert
8498         a RETURN insn into a block which already ends with a jump.
8499
8500 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
8501
8502         * haifa-sched.c (BUF_LEN): Increase a lot.
8503
8504 2000-02-11  Nick Clifton  <nickc@cygnus.com>
8505
8506         * configure.in: Add tm_p_file specification for thumb targets.
8507         * configure: Regenerate.
8508
8509         * config/arm/thumb-protos.h: New file: Prototypes for exported
8510         functions defined in thumb.c.
8511
8512 2000-02-11  Robert Lipe  <robertl@sco.com>
8513
8514         * Makefile.in (bootstrap-lean): Remove additional files.
8515         (bootstrap2-lean): Likewise.
8516         (VOL_FILES): List of files for above.
8517
8518 2000-02-11  Nathan Sidwell  <nathan@acm.org>
8519
8520         * cpphash.c (special_symbol): Remove spurious argument to
8521         cpp_lookup.
8522
8523 2000-02-11  Joel Sherrill (joel@OARcorp.com>
8524
8525         * configure.in: (i*86-*-rtems*): Swapped elf and coff
8526         stanzas.
8527         * configure: Rebuilt.
8528
8529 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
8530
8531         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
8532
8533 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
8534
8535         * pa.c, pa.h: Remove trigraph sequences within comments.
8536
8537 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
8538
8539         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
8540
8541 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
8542
8543         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
8544
8545 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8546
8547         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
8548
8549 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8550
8551         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
8552         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
8553         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
8554         (ASM_FILE_END): Use c4x_file_end.
8555         * config/c4x/c4x.c (c4x_global_label): New function.
8556         (c4x_external_ref, c4x_file_end): Likewise.
8557
8558         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
8559         (c4x_external_ref, c4x_end_file): Likewise.
8560
8561 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
8562
8563         * cppexp.c: Don't include cpphash.h.
8564         (parse_charconst, cpp_lex): Use cpp_defined.
8565         (cpp_lex): Use get_directive_token throughout.  Remove
8566         unnecessary cases from switch.  Move assertion-handling code
8567         down to OTHER case.
8568         (cpp_parse_expr): If we see '+' or '-', check the context to
8569         determine if they are unary or binary operators.  Streamline
8570         the jumps a bit.  Do not call skip_rest_of_line.
8571
8572         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
8573         static.  Export get_directive_token.  Update commentary.
8574         (cpp_defined): New function.
8575         (do_define): Remove reference to T_PCSTRING.  Call
8576         free_definition to release memory for old definition, when
8577         redefining a macro.
8578         (eval_if_expression): Set only_seen_white to 0 before calling
8579         cpp_parse_expr.  Call skip_rest_of_line after it returns.
8580         (cpp_read_check_assertion): Don't preserve a pointer into the
8581         token buffer across a call to cpp_get_token.
8582
8583         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
8584         * cppfiles.c (redundant_include_p): Use cpp_defined.
8585         * cpphash.c (free_definition): New function.
8586         (delete_macro): Use it.  Update commentary.
8587         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
8588         free_definition.
8589         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
8590         from enum node_type.  Prototype cpp_defined and get_directive_token.
8591         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
8592
8593         * fix-header.c (check_macro_names): Use cpp_defined.
8594         (read_scan_file): Set inhibit_warnings and inhibit_errors in
8595         the options structure.
8596
8597 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8598
8599         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
8600
8601 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
8602
8603         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
8604         rather than die->die_tag.
8605
8606 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8607
8608         * combine.c (make_extraction, force_to_mode): Avoid warning on
8609         mixed-signedness conditionals.
8610         (make_field_assignment, nonzero_bits): Likewise.
8611         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
8612         (store_split_bit_field, extract_split_bit_field): Likewise.
8613         (extract_fixed_bit_field, store_bit_field,
8614         * expr.c: Change alignment to be unsigned everywhere.
8615         (move_by_pieces, store_constructor_field, store_constructor):
8616         Alignment parm is unsigned.
8617         (emit_block_move, emit_group_load, emit_group_store): Likewise.
8618         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
8619         (do_compare_rtx_and_jump): Likewise.
8620         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
8621         Compare align with GET_MODE_ALIGNMENT.
8622         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
8623         (get_inner_reference): Likewise.
8624         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
8625         (expand_assignment): Local vars for alignment now unsigned.
8626         (store_constructor, store_field, expand_expr, do_jump): Likewise.
8627         (do_compare_and_jump): Likewise.
8628         (store_field): Call new function expr_align.
8629         * expr.h (emit_block_move, emit_group_load, emit_group_store):
8630         Alignment arg now unsigned.
8631         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
8632         (do_compare_rtx_and_jump, store_bit_field): Likewise.
8633         (extract_bit_field): Likewise.
8634         * fold-const.c (add_double): Add cast to eliminate signedness warning.
8635         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
8636         (get_best_mode): Alignment arg is unsigned.
8637         * rtl.h (move_by_pieces): Likewise.
8638         * store-layout.c (maximum_field_alignment, set_alignment):
8639         Now unsigned.
8640         (layout_decl): Alignment arg is now unsigned.
8641         Remove unneeded casts.
8642         (layout_record, layout_union, layout_type): Remove unneeded casts.
8643         Local alignment variables now unsigned.
8644         (get_best_mode): Alignment arg now unsigned.
8645         * tree.c (expr_align): New function.
8646         * tree.h (expr_align): Likewise.
8647         (maximum_field_alignment, set_alignment): Now unsigned.
8648         (get_inner_reference): Alignment argument is now pointer to unsigned.
8649         * varasm.c (assemble_variable): Add cast to eliminate warning.
8650
8651 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
8652
8653         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
8654         then store directly into op0.
8655
8656         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
8657         the CALL_INSN, and emit the note immediately after it.
8658
8659 2000-02-10  Nick Clifton  <nickc@cygnus.com>
8660
8661         * config/arm/thumb.md (epilogue): Include a (return) in the
8662         generated insn, and emit it using emit_jump_insn not
8663         emit_insn.
8664
8665 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
8666
8667         * function.c (assign_temp): Change zero-sized arrays to size 1.
8668         * integrate.c (expand_inline_function): Do not update
8669         stack_alignment_needed
8670         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
8671         add some sanity checking, remove optimization for function with
8672         zero frame size.
8673
8674 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8675
8676         * flow.c (mark_regs_live_at_end): Delete unused variables.
8677
8678         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
8679
8680         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
8681         in macro FRAME_GROWS_DOWNWARD.
8682
8683         * stmt.c (expand_end_bindings): Delete unused variable.
8684
8685         * unroll.c (iteration_info): Mark parameter `loop' with
8686         ATTRIBUTE_UNUSED.
8687
8688 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8689
8690         * fixinc/server.c (load_data): Return NULL if the marker line is
8691         not found.
8692         (run_shell): If load_data returns NULL, retry the command once, in
8693         a new shell.
8694
8695         * configure: Rebuilt.
8696
8697 2000-02-09  Bruce Korb  <bkorb@gnu.org>
8698
8699         * gcc/fixincludes:  ** DELETED **
8700         * gcc/fixcpp:  ** DELETED **
8701         * gcc/fixinc-nt.sed:  ** DELETED **
8702         * gcc/just-fixinc:  ** DELETED **
8703         * gcc/Makefile.in:  Removed out-dated commentary
8704         * gcc/configure.in: Removed fast-fixincludes disablement.
8705         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
8706
8707 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
8708         * function.c (thread_prologue_and_epilogue_insns): Uncomment
8709         last change.
8710
8711 2000-02-09  Richard Henderson  <rth@cygnus.com>
8712
8713         * jump.c (delete_insn): Don't delete user labels at -O0.
8714
8715 2000-02-09  Robert Lipe  <robertl@sco.com>
8716
8717         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
8718         Don't link with HOST_LIBS.
8719
8720 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
8721
8722         * configure.in: Correct --help text for --with-dwarf2.
8723         Put tm-dwarf2.h after other tm files, if it's requested.
8724         * configure: Regenerate.
8725         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
8726         defining it.
8727
8728 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
8729
8730         * cpplib.h: Provide HASHNODE typedef and forward decl of
8731         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
8732         DEFINITION, struct hashnode, struct macrodef, struct
8733         definition, scan_decls prototype, default defn of
8734         INCLUDE_LEN_FUDGE moved elsewhere.
8735
8736         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
8737         definition, and struct hashnode moved here. Remove the unused
8738         'predefined' field from struct definition.  Replace the 'args'
8739         union with its sole member.  All users updated (cpphash.c).
8740         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
8741         multiple include guard.
8742
8743         * cpphash.c (hashf): Make static; use better algorithm; drop
8744         HASHSIZE parameter; return an unsigned int.
8745         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
8746         used. Calculate HASHSIZE modulus here.
8747         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
8748         here.
8749         (create_definition): Drop PREDEFINITION parameter.
8750         * cpplib.c (do_define): Don't calculate a hash value here.
8751         Don't pass (keyword == NULL) to create_definition.
8752
8753         * scan.h: Prototype scan_decls here.
8754         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
8755         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
8756         callers of cpp_lookup and cpp_install updated.
8757
8758         * cpphash.c (macarg): Hoist all the flag diddling out of the
8759         function...
8760         (macroexpand): ... and out of the loop that calls macarg.
8761         Skip over the initial paren before macro arguments with
8762         cpp_get_non_space_token; point may be some distance before
8763         that paren.  Abort if it's not there.
8764
8765         * cpplib.c (parse_clear_mark): Delete function.
8766         (parse_set_mark, parse_goto_mark): Make static.
8767         (ACTIVE_MARK_P): New macro.
8768         (skip_block_comment, skip_line_comment): Do not bump the line
8769         if ACTIVE_MARK_P is true.
8770         (cpp_pop_buffer): The buffer to be popped may not have an
8771         active mark.
8772         (cpp_get_token): When looking for the initial paren before
8773         macro arguments, only set a mark in a file buffer, Always
8774         return to that mark before proceeding to call macroexpand or
8775         return a NAME token.
8776
8777         * cpplib.h: Remove prototypes of parse_set_mark,
8778         parse_clear_mark, parse_goto_mark.
8779         (struct cpp_options): Rename 'put_out_comments' to
8780         'discard_comments' and invert its sense.
8781         * cppinit.c, cpphash.c, cpplib.c: All users of
8782         put_out_comments changed to use discard_comments, with
8783         opposite sense.
8784
8785 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
8786
8787         * function.c (thread_prologue_and_epilogue_insns): Don't delete
8788         the edge from a block that both jumps and falls through to the
8789         fallthru block.
8790
8791 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
8792
8793         * config/arm/arm.md (movsi): In PIC mode, make sure that a
8794         constant source address is legitimate.
8795
8796 2000-02-09  Philip Blundell  <pb@futuretv.com>
8797
8798         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
8799         correctly.
8800
8801         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
8802         generating PIC.
8803         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
8804
8805 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
8806
8807         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
8808         ends with a newline and a NUL.  Don't be so clever manipulating
8809         strings.
8810
8811 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
8812
8813         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
8814         not to BIGGEST_ALIGNMENT.
8815
8816 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
8817
8818         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
8819         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
8820         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
8821         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
8822         * frame.c (execute_cfa_insn): Handle
8823         DW_CFA_GNU_negative_offset_extended.
8824
8825 2000-02-08  Richard Henderson  <rth@cygnus.com>
8826
8827         * flow.c (tidy_fallthru_edges): Split out from ...
8828         (delete_unreachable_blocks): ... here.
8829         (find_basic_blocks): Use it.
8830
8831 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8832
8833         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
8834
8835 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
8836
8837         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
8838         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
8839         (fix-header.o): Don't depend on cpphash.h.
8840
8841         * scan.c (hashstr): New function.
8842         * scan.h: Prototype it.
8843         * fix-header.c: Don't include cpphash.h.  Use hashstr.
8844         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
8845         hashstr.  Report hash table statistics.  Add private
8846         definition of xrealloc.
8847
8848 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8849
8850         * i386.h (TARGET_SWITCHES): Fix typo in option name.
8851
8852 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
8853
8854         * function.c (thread_prologue_and_epilogue_insns): Don't replace
8855         jumps with returns unless they are jumps to the fallthru block.
8856
8857 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
8858
8859         * i386.md (addqi3_cc): Fix contraints.
8860
8861 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8862
8863         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
8864
8865 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
8866
8867         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
8868         carriage return after a macro name.
8869
8870 2000-02-07  Fred Fish  <fnf@be.com>
8871
8872         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
8873         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
8874
8875 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
8876
8877         * cppfiles.c (deps_output): Count spacers in deps_column.
8878
8879 2000-02-07  Neil Booth  <NeilB@earthling.net>
8880
8881         * cppinit.c (initialize_dependency_output): If there is no
8882         suffix, don't try to look for known suffixes.  Use strrchr.
8883         (cpp_start_read): Remove duplicate initialization.
8884
8885 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
8886
8887         * calls.c (compute_argument_block_size): New argument
8888         preferred_stack_boundary.
8889         (expand_call): update cfun->preferred_stack_boundary, update call of
8890         compute_argument_block_size
8891         (emit_library_call): Increate cfun->preferred_stack_boundary
8892         to PREFERRED_STACK_BOUNDARY
8893         (emit_library_call_value): Likewise.
8894         * explow.c (allocate_dynamic_stack_spave): Likewise.
8895         * function.c (prepare_function_start): Set
8896         cfun->preferred_stack_boundary
8897         * function.h (struct function): Add preferred_stack_boundary field.
8898         * integrate.c (expand_inline_function): Update
8899         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
8900         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
8901         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
8902
8903 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
8904
8905         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
8906         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
8907         cpp_pedwarn, cpp_pedwarn_with_line,
8908         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
8909         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
8910         v_cpp_error_with_line, v_cpp_warning_with_line,
8911         cpp_message_from_errno, cpp_perror_with_name): Delete.
8912
8913         * cpperror.c (cpp_print_containing_files): Take starting
8914         buffer as argument.
8915         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
8916         (v_cpp_message): Now called directly by all entry points.
8917         Remove -1 case.
8918         (cpp_pfatal_with_name, cpp_message): Delete.
8919         (cpp_notice_from_errno, cpp_ice): New functions.
8920         (cpp_notice): Is now for reporting error conditions, just
8921         without an associated file.
8922         (cpp_error, cpp_error_with_line): Don't do anything if
8923         opts->inhibit_errors is on.
8924         (cpp_pedwarn_with_file_and_line): Take column argument also.
8925
8926         * cpplib.h: Update prototypes of exported functions.
8927         (struct cpp_options): Add inhibit_errors.
8928
8929         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
8930         non-error messages.  Include intl.h.
8931
8932         * cppinit.c, cppmain.c: Likewise.  Also, use
8933         cpp_notice_from_errno instead of cpp_perror_with_name or
8934         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
8935
8936         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
8937         report internal errors.
8938
8939         * cpplib.c (do_define): Switch bcopy to memcpy.
8940         Give cpp_pedwarn_with_file_and_line a dummy column argument.
8941
8942         * cpplib.c (copy_rest_of_line): Revert previous change: don't
8943         bail out early if we hit a line comment.
8944
8945 2000-02-06  Richard Henderson  <rth@cygnus.com>
8946
8947         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
8948         * basic-block.h: Declare them.
8949         * emit-rtl.h (active_insn_p): New.
8950         (next_active_insn, prev_active_insn): Use it.
8951         * rtl.h: Declare it.
8952         * function.c (emit_return_into_block): New.
8953         (thread_prologue_and_epilogue_insns): Insert return insns instead
8954         of epilogues when possible.
8955         * jump.c (jump_optimize_1): Remove code to insert a return insn
8956         on the fallthru to the exit block.
8957
8958         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
8959         and for non-empty stack frames.
8960         * i386.md (return): Expand to return-pop as needed.
8961
8962 2000-02-06  Richard Henderson  <rth@cygnus.com>
8963
8964         * simplify-rtx.c (simplify_relational_operation): Canonicalize
8965         constant to op1 for testing.
8966
8967 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8968
8969         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
8970         (fixuns_truncqfqi2): Use it.
8971
8972 2000-02-06  Richard Henderson  <rth@cygnus.com>
8973
8974         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
8975         as a TYPE_LEA insn.
8976
8977         * i386.md (widening and peepholes): Mask the constant instead of
8978         using gen_lowpart.
8979
8980 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
8981
8982         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
8983         input pointer before possibly branching off to the backslash
8984         code.
8985         * cpphash.c (macroexpand): Correctly delete \r escapes when
8986         stringifying parameters.
8987         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
8988         if we can; bail out early if we hit a line comment.
8989         (handle_directive): Treat '# 123' in an .S file just like
8990         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
8991         Return 1 for '# not_a_directive'.
8992         (get_directive_token): Pop macro buffers here, so that
8993         cpp_get_token can't sneakily move past a newline.
8994         Add sanity checks.
8995         (cpp_get_token): goto randomchar if handle_directive returns 0.
8996
8997         * cppalloc.c: Update copyright.
8998         * cpplib.c: Merge all the static function prototypes into one
8999         block.
9000         * cpplib.h: Remove #if 0 block.
9001
9002         * cpperror.c: Remove #ifdef EMACS block.
9003         * cppmain.c: Likewise.
9004         * cpphash.c: Remove #if 0 blocks.
9005         * cppinit.c: Remove #if 0 blocks, and the -lint option.
9006         * cpplib.c: Remove #if 0 blocks and code referencing
9007         pcp_inside_if or for_lint.  Remove duplicate error message.
9008         Fix error messages for #else after #else or #elif.  Reformat.
9009         Remove archaic TODO list.
9010         * cpplib.h: Remove pcp_inside_if and for_lint flags.
9011
9012 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
9013
9014         * i386/osf1elf.h: Add missing backslash to multiline string.
9015
9016 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9017
9018         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
9019
9020 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9021
9022         * Makefile.in (c-common.o): Depend on $(EXPR_H).
9023
9024         * c-common.c: Include expr.h.
9025
9026         * c-pragma.c (mark_align_stack): Add prototype.
9027
9028         * caller-save.c (add_stored_regs): Likewise.
9029
9030         * combine.c (record_promoted_value): Likewise.
9031
9032         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
9033         Likewise.
9034
9035         * cppinit.c (new_pending_define): Likewise.
9036
9037         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
9038
9039         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
9040         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
9041         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
9042         class_scope_p): Likewise.
9043
9044         * dwarf2out.h (dwarf2out_set_demangle_name_func,
9045         dwarf2out_add_library_unit_info): Likewise.
9046
9047         * ggc.h (ggc_page_print_statistics): Likewise.
9048
9049         * haifa-sched.c (propagate_deps): Likewise.
9050
9051         * reg-stack.c (next_flags_user, record_label_references): Likewise.
9052
9053         * rtl.h (set_stack_check_libfunc): Likewise.
9054
9055         * toplev.h (set_fatal_function): Likewise.
9056
9057         * toplev.c (set_fatal_function): Delete prototype.
9058
9059         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
9060
9061 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
9062
9063         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
9064         (FUNC_END): Likewise.
9065
9066 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9067
9068         * caller-save.c: Include tm_p.h.
9069
9070 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9071
9072         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
9073
9074 2000-02-04  Neil Booth  <NeilB@earthling.net>
9075
9076         * cccp.c (main): Check 'dir' for a NULL pointer before passing
9077         it to strcmp.
9078
9079 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
9080
9081         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
9082         * genflags.c: Use the max_operand_1 logic from genemit.c to
9083         calculate how many arguments gen_insn prototypes have.  Remove
9084         NO_MD_PROTOTYPES ifdefs from the generated file.
9085         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
9086         file.  Cast gen_insn initializers to insn_gen_fn.
9087         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
9088         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
9089
9090 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9091
9092         * fixinc/Makefile.in (HDR): Add machname.h.
9093         (clean): Likewise.
9094
9095 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9096
9097         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
9098         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
9099         (c4x_cpu_version): Ditto.
9100         * config/c4x/c4x-protos.h: ... here.
9101
9102 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
9103
9104         * dwarf2out.c (add_abstract_origin_attribute): Don't call
9105         gen_abstract_function on our context if we're a nested function.
9106
9107 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9108
9109         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
9110         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
9111
9112 2000-02-04  Bruce Korb  <bkorb@gnu.org>
9113
9114         * fixinc/genfixes(machname.h):
9115         Move the functionality from gen-machine.h into this file.
9116         UNdef MN_NAME_PAT if there are no names to change.
9117         Also, be a little kinder when AutoGen is not present.
9118
9119         * fixinc/Makefile.in(machname.h):
9120         Change the generation rule to use genfixes.
9121
9122         * fixinc/fixfixes.c(machine_name):
9123         machine_name_fix's functionality now dependent upon whether
9124         MN_NAME_PAT is defined.
9125
9126         * fixinc/fixtests.c(machine_name):
9127         ditto.
9128
9129         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
9130         of MN_NAME_PAT.
9131
9132         * fixinc/fixlib.h(mn_get_regexps):
9133         ditto
9134
9135         * fixinc/gen-machine.h: DELETED
9136
9137 2000-02-04  Jan Hubicka  <jh@suse.cz>
9138             Richard Henderson  <rth@cygnus.com>
9139
9140         * i386.c (SAVE_REGS_FIRST): Remove.
9141         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
9142         (ix86_compute_frame_size): Likewise.
9143         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
9144         (ix86_emit_restore_regs): Remove.
9145         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
9146         when a frame pointer is in use.
9147         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
9148         instead of pop to restore a register when profitable; emit leave
9149         when profitable.
9150         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
9151         as a TYPE_LEA insn.
9152         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
9153         * i386.md (prologue_allocate_stack): Remove.
9154         (epilogue_deallocate_stack): Remove.
9155         (pro_epilogue_adjust_stack): New.
9156
9157 2000-02-04  Richard Henderson  <rth@cygnus.com>
9158
9159         * function.c (diddle_return_value): Rework to use a callback function.
9160         Use current_function_return_rtx if it's been set up.
9161         (do_clobber_return_reg, clobber_return_register): New.
9162         (do_use_return_reg, use_return_register): New.
9163         (expand_function_end): Use them.
9164         * stmt.c (expand_null_return): Likewise.
9165         * function.h: Declare them.
9166         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
9167         (mark_reg): Change arguments as appropriate for callback.
9168         * integrate.c (expand_inline_function): Revert 19 Jan change.
9169
9170 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9171
9172         * tm.texi (Values in Registers): Fix typo: "fo" "for".
9173         (Misc): Say the scheduler, not the Haifa scheduler.
9174
9175 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
9176
9177         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
9178         when in_mem is set.  Update all callers.
9179
9180 2000-02-04  Richard Henderson  <rth@cygnus.com>
9181
9182         * i386/openbsd.h (INT_ASM_OP): Define.
9183
9184 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9185
9186         * tm.texi: Fix various typos.
9187
9188 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
9189
9190         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
9191         (MD_STARTFILE_PREFIX_1): New macro.
9192
9193 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
9194
9195         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
9196         destination when needed.
9197         (strmovsi, strsetsi): New expander.
9198         (strmovsi_1, strsetsi_1): New pattern.
9199         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
9200         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
9201         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
9202         * invoke.texi (align-stringops, inline-all-stringops): Document.
9203
9204 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
9205
9206         * i386/netbsd.h (INT_ASM_OP): Define.
9207
9208 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
9209
9210         * cpplib.h (cpp_reader): Add new flag, no_directives.
9211         * cpphash.c (macarg): Set it.
9212         * cpplib.c (handle_directive): If no_directives is on and we
9213         find a directive, issue an error and discard the line.
9214
9215 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
9216
9217         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
9218         FP constants.  Add ! TARGET_FPU check for FP constants.
9219
9220 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
9221
9222         * flow.c (find_basic_blocks): Don't kill label_value_list
9223         here.
9224         (cleanup_cfg): Kill it here.
9225
9226 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9227
9228         * expr.c (store_field): Ensure ALIGN is no stricter than the
9229         alignment of EXP.
9230
9231 2000-02-02  Richard Henderson  <rth@cygnus.com>
9232
9233         * jump.c (delete_insn): Partially revert 19 Jan change;
9234         don't convert unused code labels to notes at -O0.
9235
9236 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9237
9238         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
9239         split_all_insns to recreate REG_LABEL notes for flow2 pass.
9240
9241 2000-02-01  Richard Henderson  <rth@cygnus.com>
9242
9243         * i386.c (general_no_elim_operand): New.
9244         (nonmemory_no_elim_operand): New.
9245         (ix86_expand_move): Copy eliminable operands before a push.
9246         * i386-protos.h: Declare new functions.
9247         * i386.h (CAN_ELIMINATE): Simplify.
9248         (PREDICATE_CODES): Update.
9249         * i386.md (push insns): Don't allow eliminable register operands.
9250
9251 2000-02-01  Richard Henderson  <rth@cygnus.com>
9252
9253         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
9254         replace BLKmode with DECL_RTL's mode.
9255
9256 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
9257
9258         * frame.c (find_fde): Convert for loop to do-while so compiler
9259         sees it's always executed at least once.
9260         * libgcc2.c (BBINBUFSIZE): Kill.
9261         (__bb_init_prg): Use fgets.
9262         (__bb_exit_trace_func): Don't paste strings.
9263         * unroll.c (unroll_loop): Initialize unroll_type, not
9264         unroll_number, and tweak logic to match.
9265
9266         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
9267         all failure paths.
9268         (ix86_flags_dependant): Likewise.  Disentangle control flow.
9269         (ix86_sched_reorder): Break guts out to
9270         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
9271         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
9272         any possible use.
9273
9274         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
9275         use string concatenation.  Don't save and restore esi.
9276
9277         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
9278         (machname.h): Remove script to separate file.  Use two-step
9279         sequence so target is not created if script fails.
9280         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
9281         identifiers are defined.
9282         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
9283         an empty string, machine_name doesn't need to do anything at
9284         all.
9285         (is_cxx_header): Add more cases to regexp.
9286         * fixinc/fixlib.h: Update prototype.
9287         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
9288         mn_get_regexps.
9289         * fixinc/fixincl.c: Define NO_BOGOSITY.
9290
9291         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
9292         (hp_sysfile): Add missing comma.
9293         (math_exception): Put the wrapper ifdefs at the beginning and
9294         the end of the file.
9295         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
9296
9297 2000-02-01  Richard Henderson  <rth@cygnus.com>
9298
9299         * sparc.c (fp_zero_operand): Turn into a normal predicate.
9300         Use CONST0_RTX.  Update all callers.
9301         * sparc.h, sparc-protos.h: Update accordingly.
9302         * sparc.md (fp mov insns): Use fp_zero_operand directly
9303         where applicable.
9304
9305 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9306
9307         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
9308         example.
9309
9310 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9311
9312         * Makefile.in (specs.ready): New target.
9313         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
9314
9315 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9316
9317         * fixinc.irix: Use unique filenames for writing into /tmp,
9318         * fixinc.ptx: Likewise.
9319         * fixinc.sco: Likewise.
9320         * fixinc.svr4: Likewise.
9321         * fixinc.winnt: Likewise.
9322
9323 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9324
9325         * tsystem.h: New file.
9326
9327         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
9328         s-crtS): Depend on tsystem.h.
9329
9330         * crtstuff.c: Include tsystem.h.
9331         * frame.c: Likewise.
9332         * libgcc2.c: Likewise.
9333
9334 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
9335
9336         * builtins.c (expand_builtin_memset): Expand for variable sized
9337         lengths too.
9338
9339 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
9340
9341         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
9342         on ABI.
9343
9344 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9345
9346         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
9347
9348         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
9349
9350 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
9351
9352         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
9353         case 3->2 combining (combining with splitting) in which 2 is CC0
9354         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
9355         checked at the begining of the function with the aid of calling
9356         function 'can_combine_p'.
9357
9358 2000-01-31  Dave Brolley  <brolley@redhat.com>
9359
9360         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
9361
9362 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
9363
9364         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
9365         new label.
9366
9367 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9368
9369         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
9370
9371         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
9372         PROTO -> PARAMS.
9373
9374 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
9375
9376         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
9377         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
9378         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
9379         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
9380         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
9381         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
9382         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
9383         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
9384         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
9385         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
9386
9387         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
9388         Add %(cpp_cpu) to CPP_SPEC.
9389
9390         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
9391         Add %(cc1_cpu) to CC1_SPEC.
9392
9393 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
9394
9395         * c-decl.c (c_decode_option): Accept optional numeric argument to
9396         -Wformat and set warn_format.
9397         * c-common.c: Don't emit warning about non-constant printf format
9398         string unless warn_format > 1.
9399
9400 2000-01-30  Richard Henderson  <rth@cygnus.com>
9401
9402         * alpha.md (return_internal): Allow after reload only.
9403
9404 2000-01-30  Richard Henderson  <rth@cygnus.com>
9405
9406         * i386.c (ix86_compute_frame_size): Omit padding1 if the
9407         local frame size is zero.
9408
9409 2000-01-30  Richard Henderson  <rth@cygnus.com>
9410
9411         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
9412         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
9413         * alpha.md (return): Turn into an expander.
9414         (return_internal): Don't use $26.
9415         (epilogue): Emit the return insn.
9416
9417 2000-01-30  Richard Henderson  <rth@cygnus.com>
9418
9419         * alpha.md (negtf2, abstf2): Fix word order thinko.
9420         (extendsftf2): New.
9421         (trunctfsf2): Avoid intermediate rounding errors.
9422
9423 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
9424
9425         * cppfiles.c (find_position): Drop 'colp' argument, return the
9426         new line base.
9427         (read_and_prescan): Adjust to match.  Don't ever manipulate
9428         line or line_base except via find_position.
9429
9430 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
9431
9432         * c-parse.in: Apply Ulrich's changes from c-parse.y.
9433         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
9434         Regenerate.
9435
9436 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
9437
9438         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
9439         just print "<command line>".  If 'filename' is null or an
9440         empty string, print "<stdin>" for the filename.
9441         * cpplib.c (do_define): Don't print the 'location of the
9442         previous definition' message if we're still parsing the
9443         command line.
9444         (cpp_pedwarn_with_file_and_line): Always call
9445         cpp_file_line_for_message.
9446
9447 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
9448
9449         * flow.c (mark_regs_live_at_end): Fix typo.
9450
9451 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
9452
9453         * c-common.c: Adjust variable names, comments, help strings to c99.
9454         * c-lex.c: Likewise.
9455         * c-parse.y: Likewise.
9456         * c-tree.h: Likewise.
9457         * cccp.c: Likewise.
9458         * cpplib.h: Likewise.
9459         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
9460         * cppinit.c: Likewise.
9461
9462 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9463
9464         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
9465         * c4x.c: Define the optab rtx values.
9466         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
9467         (c4x_emit_libcall): Use new optab rtx values.
9468         (c4x_emit_libcall3): Likewise.
9469         (c4x_emit_libcall_mulhi): Likewise.
9470         * c4x-protos.h: Add prototypes for optab rtx values and change
9471         prototypes for above c4x_emit_libcall functions.
9472
9473 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9474
9475         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
9476         syntax is used.
9477         (c4x_function_prologue): Use regnames intead of float_reg_names when
9478         TI syntax is used.
9479         (c4x_function_epilogue): Likewise.
9480         (c4x_print_operand): Likewise.
9481         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
9482         * c4x.md (set_high): Disable for TARGET_TI.
9483
9484 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9485
9486         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
9487         of framepointer + constant to ADDR_REGS class.
9488         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
9489         * c4x.c (std_or_reg_operand): New function.
9490         * c4x-protos.h (std_or_reg_operand): Prototype it.
9491
9492 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9493
9494         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
9495                 object names as libgcc2.c.
9496         * libgcc.S: Use newly defined names.
9497
9498 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
9499         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
9500         function.
9501         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
9502         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
9503         (FLOW_LOOP_LAST_BLOCK): Likewise.
9504
9505 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9506
9507         * basic-block.h (struct loop): New fields 'first' and 'last'.
9508         * flow.c (flow_loops_find): Compute loop->first and loop->last.
9509         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
9510         and loop->last to check for NOTE_INSN_LOOP_END.
9511
9512 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
9513
9514         * predict.c (estimate_probability): Use the new FIRST and LAST fields
9515         of the loop descriptor rather than HEADER and LATCH. Also added
9516         missing break statements as well making some coding style modifications
9517         as suggested by Michael Hayes.
9518
9519 2000-01-28  Richard Henderson  <rth@cygnus.com>
9520
9521         * flow.c (find_basic_blocks): Remove do_cleanup argument.
9522         Break out that code ...
9523         (cleanup_cfg): ... here.
9524         (commit_one_edge_insertion): Detect a return instruction being
9525         emitted to an edge.  Emit a barrier following; clear fallthru.
9526         (commit_edge_insertions): Verify CFG consistency.
9527         * function.c (expand_function_start): Kill unused variable.
9528         (expand_function_end): Likewise.
9529         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
9530         to insert the epilogue.
9531
9532         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
9533         (delete_null_pointer_checks): Likewise.
9534         * output.h: Likewise.
9535         * reg-stack.c (reg_to_stack): Likewise.
9536         * toplev.c (rest_of_compilation): Likewise.  Run
9537         thread_prologue_and_epilogue_insns after rebuilding the CFG.
9538
9539 2000-01-28  Richard Henderson  <rth@cygnus.com>
9540
9541         * Makefile.in (flow.o): Revert 24 Jan change.
9542         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
9543         FUNCTION_VALUE result to DECL_RESULT's mode.
9544
9545         * haifa-sched.c (schedule_insns): Don't recompute reg info
9546         after reload.
9547
9548 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
9549
9550         * configure.in: Make --enable-cpplib the default.
9551         * configure: Regenerate.
9552         * gcc.dg/990119-1.c: No longer expected to fail.
9553
9554 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
9555
9556         * jump.c (jump_optimize_1): Delete an optimization that is also done
9557         by merge_blocks in flow.
9558
9559 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9560
9561         * diagnostic.c (build_message_string, output_printf,
9562         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
9563         (build_location_prefix): Fix non-literal format string.
9564
9565 2000-01-27  Richard Henderson  <rth@cygnus.com>
9566
9567         * alpha.md (trunctfsf2): New.
9568
9569 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
9570
9571         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
9572
9573 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
9574
9575         * cppinit.c (cpp_handle_option): Recognize C++ comments under
9576         -std=gnu89.
9577         * cpplib.c (skip_block_comment, skip_line_comment): Split code
9578         out of...
9579         (skip_comment) ... here.  Permit C++ comments in system
9580         headers always.  Warn about C++ comments in user code under
9581         -std=gnu89 -pedantic.
9582         (copy_comment): Use skip_comment.
9583         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
9584         return EOF.
9585         (consider_directive_while_skipping, do_else, do_endif): Call
9586         validate_else unconditionally.
9587         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
9588         text after the conditional in a system header.
9589         * cpplib.h (struct cpp_buffer): Add flag
9590         warned_cplusplus_comments.
9591
9592 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
9593
9594         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
9595         Use unshare_all_rtl_1.
9596         (unshare_all_rtl_again): New function.
9597         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
9598
9599         * function.c (purge_addressof_1): Use unshare_all_rtl_again
9600         rather than resetting the 'used' flags ourself.
9601
9602         * toplev.c (rest_of_compilation): Add current_function_decl
9603         to the unshare_all_rtl call.
9604         * tree.h: Prototype unshare_all_rtl.
9605         * rtl.h: Prototype unshare_all_rtl_again here.
9606
9607 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
9608
9609         * genoutput.c (output_prologue): Include ggc.h in generated
9610         files.
9611         * Makefile.in (insn-output.o): Depends on ggc.h.
9612
9613 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
9614             Hans-Peter Nilsson  <hp@bitrange.com>
9615
9616         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
9617         Remove redundant include of xm-ns32k.h.
9618         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
9619         Remove redundant include of xm-ns32k.h.
9620         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
9621         Remove redundant include of xm-ns32k.h.
9622         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
9623
9624         * ns32k/ns32k.h: Update comment on multiply-add instructions.
9625         (TARGET_SWITCHES): Add documentation strings.
9626         (DWARF_FRAME_REGNUM): Override default definition.
9627         (REG_CLASS_CONTENTS): Add comments.
9628         (SUBSET_P): Format to reduce line length.
9629         (SMALL_REGISTER_CLASSES): Make a run time option.
9630         (GO_IF_NONINDEXED_ADDRESS): Reformat.
9631         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
9632         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
9633         (regclass_map): fix typo in comment.
9634         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
9635         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
9636         (trace, reg_or_mem_operand): Delete, unused function.
9637         (calc_address_cost): Small offsets are cheaper than large ones.
9638         (expand_block_move): Generate more efficient code when bytes is a
9639         known at compile time.
9640         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
9641         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
9642         instead of reg_or_mem_operand.
9643
9644         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
9645         not general_operand.  Similarly use "=rm" or stricter, not "=g".
9646         For input operands, use stricter constraints than "g" if not
9647         general_operand.  Similarly use stricter predicate than
9648         "general_operand" when stricter constraints than "g" are present,
9649         except for matching constraints.
9650         (movstrsi): Use "memory_operand" for operands 0 and 1.
9651         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
9652         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
9653         not reg_or_mem_operand.
9654         (udivmoddisi4): Ditto.
9655         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
9656         Use nonimmediate_operand for operand 3, not register_operand.
9657         (udivmoddiqi4_internal): Use register_operand for operand 1, not
9658         reg_or_mem_operand.
9659
9660 2000-01-27  Fred Fish  <fnf@be.com>
9661
9662         * gthr-posix.h: Fix typo; compatibily -> compatibility.
9663         * gthr-single.h: Likewise.
9664         * gthr-solaris.h: Likewise.
9665         * gthr-vxworks.h: Likewise.
9666         * gthr-win32.h: Likewise.
9667         * gthr.h: Likewise.
9668
9669 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
9670
9671         * cppinit.c: Add " (cpplib)" to end of string printed by
9672         -v / --version.
9673
9674 2000-01-27  Richard Henderson  <rth@cygnus.com>
9675
9676         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
9677         testing for a signed comparison.
9678         (alpha_emit_floatuns): New.
9679         * alpha-protos.h: Declare it.
9680         * alpha.md (floatunsdisf2, floatunsdidf2): New.
9681         (extendsfdf2): Tidy.
9682
9683 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
9684
9685         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
9686         no -g option specifying debugging format, default to -gstabs+.
9687
9688 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
9689
9690         * calls.c (special_function_p): New argument fork_or_exec.
9691         (expand_call): When profile_arc_flag is set and the function
9692         is in the fork_or_exec group, call __bb_fork_func first.
9693         * libgcc2.c, _bb module (__bb_fork_func): New function.
9694         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
9695         output file.
9696         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
9697         * tree.h (special_function_p): Update prototype.
9698
9699 2000-01-26  Richard Henderson  <rth@cygnus.com>
9700
9701         * alpha.c (alpha_split_tfmode_pair): New.
9702         * alpha-protos.h: Declare it.
9703         * alpha.md (abstf2, negtf2): New.
9704         (movtf insn): Add input G constraint.
9705         (movtf splitter): Use alpha_split_tfmode_pair.
9706
9707 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9708
9709         * i386/cygwin.h: PROTO -> PARAMS.
9710
9711 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
9712
9713         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
9714         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
9715         using _Qp_cmp/_Q_cmp and testing the return value.
9716         (print_operand): Call reverse_condition_maybe_unordered if
9717         we are handling CCFPmode or CCFPEmode.
9718         Handle ORDERED, UN* and LTGT comparisons.
9719         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
9720         if not TARGET_HARD_QUAD.
9721         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
9722         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
9723         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
9724         Adjust gen_b* calls so that they reflect return comparison of
9725         sparc_emit_float_lib_cmp.
9726
9727 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9728
9729         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
9730         incoming operands array is large enough for one more operand.
9731         (alpha_emit_xfloating_arith): Likewise.
9732
9733 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
9734
9735         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
9736         file with one line and no trailing newline.
9737         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
9738         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
9739         checking if the match is on the line.
9740         * fixinc/gnu-regex.c: Provide regerror not __regerror.
9741
9742 2000-01-25  Richard Henderson  <rth@cygnus.com>
9743
9744         * sparc.c (output_cbranch): Fix accidental squashing of the
9745         fp branch pre-delay nop.
9746
9747 2000-01-25  Richard Henderson  <rth@cygnus.com>
9748
9749         * tree.def (UNNE_EXPR): Remove.
9750         * c-typeck.c (build_binary_op): Don't handle it.
9751         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
9752
9753         * rtl.def (UNNE): Remove.
9754         (LTGT): Add.
9755         * jump.c (reverse_condition): Update accordingly.
9756         (swap_condition): Likewise.
9757         (comparison_dominates_p): Handle unordered comparisons.
9758         (reverse_condition_maybe_unordered): New.
9759         * rtl.h (reverse_condition_maybe_unordered): Declare.
9760
9761         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
9762         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
9763         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
9764         * sparc.md (bltgt): New.
9765
9766 2000-01-25  Nick Clifton  <nickc@redhat.com>
9767
9768         * emit-rtl.c (emit_insn): Only check machine class insns for
9769         improper emission of a RETURN.
9770
9771 2000-01-25  Richard Henderson  <rth@cygnus.com>
9772
9773         * Makefile.in (flow.o): Depend on $(EXPR_H).
9774         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
9775         duplicate the structure of diddle_return_value for keeping regs live.
9776
9777 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9778
9779         * loop.c (current_loop_info): Delete.
9780         (consec_sets_invariant_p): Add loop argument, update callers.
9781         (get_condition_for_loop): Likewise.
9782         (count_nonfixed_reads, update_giv_derive): Likewise.
9783         (simplify_giv_expr, general_induction_var): Likewise.
9784         (consec_sets_giv, recombine_givs): Likewise.
9785         (move_movables): Delete loop_start and loop_end arguments,
9786         add loop argument, and update callers.
9787         (find_mem_givs, check_final_value): Likewise.
9788         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
9789         (loop_invariant_p): Rename from invariant_p, add loop argument, and
9790         update callers.
9791         (basic_induction_var): Add loop argument, delete loop_level argument,
9792         and update callers.
9793         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
9794         add loop argument, and update callers.
9795         (find_splittable_regs, find_splittable_givs): Likewise.
9796         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
9797         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
9798         (biv_total_increment): Delete loop_start and loop_end arguments;
9799         update callers.
9800         (precondition_loop_p): Delete loop_start and loop_info arguments;
9801         update callers.
9802         * loop.h (get_condition_for_loop): Add loop argument.
9803         (biv_total_increment): Delete loop_start and loop_end arguments.
9804         (precondition_loop_p): Delete loop_start and loop_info arguments;
9805         add loop argument.
9806         (final_biv_value): Delete loop_start and loop_end arguments;
9807         add loop argument.
9808         (final_giv_value, back_branch_in_range_p): Likewise.
9809
9810 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
9811
9812         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
9813
9814 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
9815
9816         * Makefile.in (c-gperf.h) : Change the "See" pointer to
9817         point to the new "generated_files" doc.
9818
9819 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
9820
9821         * config/fp-bit.c (_unord_f2): Fix typo.
9822
9823 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
9824
9825         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
9826         c-typeck.c, objc/objc-act.c: Remove all references to obstack
9827         functions obsoleted by GC, such as push_obstacks_nochange,
9828         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
9829         and code which existed only to decide whether or not to call
9830         them.  Remove now-unused NESTED argument from start_function;
9831         all callers changed.  Do not change behavior based on ggc_p.
9832         The use of the ixp_obstack in c-iterate.c and the util_obstack
9833         in objc/objc-act.c remain; these are not obsoleted by garbage
9834         collection.
9835         * c-tree.h: Update prototype for start_function.
9836
9837         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
9838
9839 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
9840
9841         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
9842         mips16.
9843
9844 2000-01-25  Richard Henderson  <rth@cygnus.com>
9845
9846         * sparc-protos.h (select_cc_mode): Declare.
9847         * sparc.c (select_cc_mode): New.  Handle unordered compares.
9848         (output_cbranch): Always reverse via code change.  Handle
9849         unordered compares.  Factor tests and string updates.
9850         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
9851         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
9852         * sparc.md (bunordered, bordered): New.
9853         (bungt, bunlt, buneq, bunge, bunle): New.
9854
9855 2000-01-25  Richard Henderson  <rth@cygnus.com>
9856
9857         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
9858         * ggc-common.c (ggc_add_rtx_varray_root): New.
9859         (ggc_mark_rtx_varray): New.
9860         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
9861         functions down below ggc_mark_foo.
9862         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
9863
9864 2000-01-25  Richard Henderson  <rth@cygnus.com>
9865
9866         * alpha.c (secondary_reload_class): Don't allocate a secondary
9867         for integral mode memories into FLOAT_REGS.  Rearrange the more
9868         complicated memory expression inward.
9869
9870 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
9871
9872         * inclhack.def: Fixes to play nicer with FreeBSD, and
9873         corrections to comments.
9874         (cxx_unready): Add select expression.
9875         (irix_sockaddr): Add bypass expression.
9876         (machine_ansi_h_va_list): New fix.
9877         (stdio_va_list): No need to edit _BSD_VA_LIST_.
9878         Split out addition of "#include <stdarg.h>" to...
9879         (stdio_stdarg_h): ... here.
9880         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
9881         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
9882         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
9883         size_t.
9884         (ultrix_ifdef): Tighten up select expression.
9885
9886         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
9887         re_ct and max_mach to avoid use of shell.  Make printed names
9888         match names in inclhack.def.  Use static copyright date.
9889         Don't count c_test and test expressions as requiring regex_t
9890         slots.  Add some commentary.
9891         * inclhack.tpl: Do not include the 'This script contains N
9892         fixup scripts' line if PROGRAM is defined.  Use static
9893         copyright date.
9894
9895 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
9896
9897         * dwarf2out.c: include "varray.h", not dyn-string.h.
9898         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
9899         (addr_const_to_string, addr_to_string): Lose.
9900         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
9901         (struct dw_val_struct): val_addr is now an rtx.
9902         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
9903         (used_rtx_varray): New varray.
9904         (dwarf2out_init): Initialize it.
9905         (save_rtx): New fn.
9906         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
9907         addr_to_string.
9908         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
9909         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
9910         * Makefile.in (dwarf2out.o): Update dependencies.
9911
9912 2000-01-24  Richard Henderson  <rth@cygnus.com>
9913
9914         * i386.c (i386_dwarf_output_addr_const): New.
9915         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
9916
9917         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
9918         if defined.
9919         * dwarfout.c (output_mem_loc_descriptor): Likewise.
9920         * i386.c (i386_simplify_dwarf_addr): New.
9921         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
9922
9923 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
9924
9925         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
9926         TYPE_STUB_DECL is NULL.
9927
9928 2000-01-24  Richard Henderson  <rth@cygnus.com>
9929
9930         * builtins.c (expand_tree_builtin): Move ...
9931         * c-common.c (expand_tree_builtin): ... here.
9932
9933 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9934
9935         * loop.h (LOOP_INFO): New accessor macro.
9936         * basic-block.h (struct loop): Rename field `info' to `aux'.
9937         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
9938         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
9939         * unroll.c (loop_iterations, unroll_loop): Likewise.
9940
9941 2000-01-24  Christopher Faylor <cgf@cygnus.com>
9942
9943         * config/i386/t-cygwin: Accomodate new winsup directory layout
9944         when searching for include files.
9945
9946 2000-01-24  Richard Henderson  <rth@cygnus.com>
9947
9948         * rtl.def: Add unordered fp comparisions.
9949         * tree.def: Likewise.
9950         * tree.h: Add ISO C 9x unordered fp comparision builtins.
9951
9952         * builtins.c (expand_tree_builtin): New function.
9953         * c-typeck.c (build_function_call): Use it.
9954         (build_binary_op): Support unordered compares.
9955         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
9956
9957         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
9958         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
9959         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
9960         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
9961         * jump.c (reverse_condition): Don't abort for UNLE etc, but
9962         return UNKNOWN.
9963         (swap_condition): Handle unordered compares.
9964         (thread_jumps): Check can_reverse before reversing.
9965         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
9966         reversed for FP.
9967
9968         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
9969         setcc is present before acking for cmp_optab.  Update all callers.
9970         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
9971         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
9972         * expr.c (expand_expr): Likewise.  Support unordered compares.
9973         (do_jump, do_store_flag): Likewise.
9974         * expr.h (enum libfunc_index): Add unordered compares.
9975
9976         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
9977         (DPBIT_FUNCS): Add _unord_df.
9978         * config/fp-bit.c (_unord_f2): New.
9979         * fp-test.c (main): Try unordered compare builtins.
9980
9981         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
9982         * alpha.c (alpha_comparison_operator): Check mode properly.
9983         (alpha_swapped_comparison_operator): Likewise.
9984         (signed_comparison_operator): Likewise.
9985         (alpha_fp_comparison_operator): New.
9986         (alpha_emit_conditional_branch): Handle unordered compares.
9987         * alpha.h (PREDICATE_CODES): Update.
9988         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
9989         (bunordered, bordered): New.
9990
9991 2000-01-24  Richard Henderson  <rth@cygnus.com>
9992
9993         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
9994         * alpha.md (movtf): New expander, insn, and splitter.
9995
9996 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
9997
9998         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
9999         dead registers.
10000
10001 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
10002
10003         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
10004         (FIXED_REGISTERS, CALL_USED_REGISTERS,
10005          REG_ALLOC_ORDER): Add frame pointer
10006         (FRAME_POINTER_REGNUM): Set to 20
10007         (HARD_FRAME_POINTER_REGNUM): New macro.
10008         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
10009         to HARD_FRAME_POINTER.
10010         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
10011         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
10012         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
10013         (HI_REGISTER_NAMES): Add "frame".
10014         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
10015         (debug_reg): Handle FRAME_POINTER_REGNUM.
10016         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
10017         GENERAL_REGS and INDEX_REGS.
10018         * i386.c (SAVED_REGS_FIRST): new macro.
10019         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
10020         (ix86_decompose_address, memory_address_length): Likewise.
10021         (regclass_map): Add frame pointer.
10022         (call_insn_operand): Handle frame_pointer_rtx.
10023         (reg_no_sp_operand): Likewise.
10024         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
10025         (print_operand, legitimize_pic_address): Fix formating.
10026         (ix86_compute_frame_size): Make static, update prototype, new
10027         parameters padding1, padding2, use ix86_nsaved_regs, use
10028         stack_alignment_needed.
10029         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
10030         to HARD_FRAME_POINTER_REGNUM conversions.
10031         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
10032         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
10033         (print_reg): Abort on FRAME_POINTER_REGNUM
10034
10035 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
10036
10037         * i386.h (PREDICATE_CODES): Add aligned_operand.
10038         * i386.c (aligned_operand): New function.
10039         (ix86_aligned_p): Kill.
10040         * i386.md (movhi_1): Emit mov for aligned operands.
10041         (promoting peep2s): Use aligned_operand.
10042
10043 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
10044
10045         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
10046         expression to allow underscores in macro names.
10047         (fix_char_macro_defines): Increment scanning pointer.
10048
10049 2000-01-23  Richard Henderson  <rth@cygnus.com>
10050
10051         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
10052         * alpha/osf5.h: New file.
10053         * configure.in (alpha-*-osf5): Add it to tm_file.
10054
10055         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
10056
10057         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
10058         (alpha_emit_xfloating_cvt, function_arg): Declare.
10059         * alpha.c (alpha_emit_conditional_branch): Call
10060         alpha_emit_xfloating_compare for TFmode compares.
10061         (alpha_lookup_xfloating_lib_func): New.
10062         (alpha_compute_xfloating_mode_arg): New.
10063         (alpha_emit_xfloating_libcall): New.
10064         (alpha_emit_xfloating_arith): New.
10065         (alpha_emit_xfloating_compare): New.
10066         (alpha_emit_xfloating_cvt): New.
10067         (print_operand): Add default abort case.
10068         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
10069         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
10070         (BIGGEST_ALIGNMENT): Increase to 128 bits.
10071         (RETURN_IN_MEMORY): True for TF/TCmode.
10072         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
10073         (FUNCTION_ARG): Move to function_arg.
10074         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
10075         (ASM_OUTPUT_LONG_DOUBLE): New.
10076         (ASM_OUTPUT_DOUBLE): Always output bits.
10077         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
10078         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
10079         (extenddftf2, trunctfdf2): New.
10080
10081 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10082
10083         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
10084         * config/sparc/sol2.h: ... here.
10085
10086 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10087
10088         * basic-block.h (struct loops): New field `levels'.
10089         * flow.c (flow_loops_level_compute): Traverse all outer loops.
10090         (flow_loop_level_compute): Initialise level to 1.
10091         (flow_loops_find): Set loops->levels.
10092         (flow_loops_dump): Print loops->levels.
10093
10094 2000-01-23  Richard Henderson  <rth@cygnus.com>
10095
10096         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
10097         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
10098
10099 2000-01-23  Richard Henderson  <rth@cygnus.com>
10100
10101         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
10102         * i386.h (DBX_REGISTER_NUMBER): Use them.
10103         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
10104         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
10105         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
10106         * i386/sequent.h: Kill incorrect comment.
10107
10108 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
10109
10110         * ggc-page.c (struct page_entry): Make `context_depth' an
10111         `unsigned short'.
10112         (struct globals): Likewise.
10113
10114 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
10115
10116         * loop.c (check_dbra_loop): When checking a loop for
10117         reversability, check the source of any stores to ensure
10118         they don't depend on an initial value.
10119
10120 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10121
10122         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
10123
10124 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
10125
10126         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
10127         'pz_scan' into scope of entire function.  Only affects
10128         compiles with -DDEBUG.
10129
10130 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
10131
10132         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
10133         section naming to that prior to 2000-01-07 patch.
10134         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
10135         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
10136         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
10137         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
10138         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
10139
10140 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
10141
10142         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
10143         constant.
10144
10145 2000-01-21  Jim Wilson  <wilson@cygnus.com>
10146
10147         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
10148         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
10149
10150 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
10151
10152         * cpphash.c (change_newlines): Delete function.
10153         (struct argdata): Delete 'newlines' and 'use_count' fields.
10154         (macroexpand): Remove code referencing those fields.
10155
10156 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10157
10158         * loop.c (loops_info): New variable.
10159         (loop_optimize): Allocate loops->array and free it on exit.
10160         Allocate memory for loops_info and assign to each loop,
10161         replacing alloca.
10162         (find_and_verify_loops): Do not allocate loops->array.
10163
10164 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
10165
10166         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
10167
10168 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
10169
10170         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
10171         pseudos if expanded after first flow.
10172         (movdi_pic_label_ref): Likewise.
10173
10174 2000-01-20  Richard Henderson  <rth@cygnus.com>
10175
10176         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
10177
10178 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
10179
10180         * Makefile.in (fixinc.sh): Depend on specs.
10181         * fixinc/Makefile.in: Add rule to create machname.h.
10182         (fixlib.o): Depend on machname.h.
10183         * fixinc/fixtests.c (machine_name): New test.
10184         * fixinc/fixfixes.c (machine_name): New fix.
10185         * fixinc/fixlib.c (mn_get_regexps): New helper function for
10186         the machine_name test and fix.
10187         * fixinc/fixlib.h: Prototype it.
10188         * fixinc/inclhack.def (machine_name): Use the C test and fix.
10189         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
10190
10191         * gcc.c (do_spec_1) [case P]: Take care not to create
10192         identifiers with three leading or trailing underscores.
10193
10194         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
10195         (fixincl): Don't specify libraries twice on link line.
10196         (gnu-regex.o): Remove special rule.
10197         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
10198         defined by config.h.  Do not define _REGEX_RE_COMP.
10199         (regcomp): Allocate and initialize a fastmap.
10200         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
10201
10202 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
10203
10204         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
10205
10206 2000-01-19  Richard Henderson  <rth@cygnus.com>
10207
10208         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
10209         arguments with BB.  Update all callers.  Tidy line wrapping.
10210
10211 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
10212
10213         * emit-rtl.c (try_split): Return last_insn if we split the
10214         last_insn.
10215
10216 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
10217
10218         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
10219         (ix86_initial_elimination_offset): Declare.
10220         * i386.c (ix86_nsaved_regs): Break out from ...
10221         (ix86_can_use_return_insn_p): ... here.
10222         (ix86_emit_save_regs): Break out from ...
10223         (ix86_expand_prologue): ... here.
10224         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
10225         out from ...
10226         (ix86_expand_epilogue): ... here.
10227         (ix86_compute_frame_size): Make static, add prototype.
10228         (ix86_initial_elimination_offset): Break out from ...
10229         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
10230
10231 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10232
10233         * recog.h (OUT_FCN): Delete.
10234
10235         * vax.md: Call `get_insn_template' instead of OUT_FCN.
10236
10237 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10238
10239         * cppalloc.c: PROTO -> PARAMS.
10240         * cpperror.c: Likewise.
10241         * cppfiles.c: Likewise.
10242         * cpplib.c: Likewise.
10243         * cpplib.h: Likewise.
10244
10245         * config/arm/arm-protos.h: PROTO -> PARAMS.
10246         * config/arm/arm.c: Likewise.
10247         * config/c4x/c4x.c: Likewise.
10248         * config/fr30/fr30-protos.h: Likewise.
10249         * config/nextstep.c: Likewise.
10250         * config/pa/pa.c: Likewise.
10251         * config/pj/pj.c: Likewise.
10252         * config/rs6000/rs6000.c: Likewise.
10253         * config/v850/v850-protos.h: Likewise.
10254         * config/v850/v850.c: Likewise.
10255
10256 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10257
10258         * i370-protos.h: New file.
10259
10260         * i370.c: Include tm_p.h.  Fix compile time warnings.
10261
10262         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
10263         warnings.
10264
10265         * i370.md: Likewise.
10266
10267 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10268
10269         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
10270         (target_isinf, target_isnan, eisnan): Mark parameter with
10271         ATTRIBUTE_UNUSED.
10272         (eiisinf): Wrap in INFINITY.
10273         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
10274         (ibmtoe): Remove unused variable `rndsav'.
10275
10276 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10277
10278         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
10279         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
10280
10281 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
10282
10283         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
10284         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
10285         (fix_char_macro_defines, fix_char_macro_uses): New functions.
10286
10287         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
10288         Recognize Emacs mode markers also.
10289         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
10290         C++ comments in C++ headers.  Call is_cxx_header only if
10291         necessary.
10292
10293         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
10294         bypass for ncurses.
10295         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
10296         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
10297         ... these, which use the new C fixes.
10298         (math_exception): Escape literal '+' in bypass expression.
10299
10300         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
10301         Regenerate.
10302
10303 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
10304
10305         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
10306         inside the MEM.
10307
10308 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10309
10310         * loop.c (loop_optimize): Allocate loop_info structure for each loop
10311         prior to calling scan_loop.
10312
10313 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10314
10315         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
10316         (split_branches, calc_live_regs): Likewise.
10317
10318 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10319
10320         * sh.md (fpu_single, fp_mode): New attributes.
10321
10322 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10323
10324         * loop.c (current_loop_info): Renamed from loop_info_data
10325         and changed to a pointer.
10326         (loop_optimize): Allocate loop_info structure for each loop
10327         and initialise to zero.
10328         (scan_loop): Set current_loop_info.
10329
10330         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
10331         on iteration_var.
10332
10333 2000-01-19  Richard Henderson  <rth@cygnus.com>
10334
10335         * stupid.c: Die die die.
10336         * Makefile.in (OBJS): Remove stupid.o.
10337         (stupid.o): Likewise.
10338
10339         * except.c (emit_eh_context): Don't emit USEs for stupid.
10340         * explow.c (probe_stack_range): Likewise.
10341         * flags.h (obey_regdecls): Remove.
10342         * flow.c (find_basic_blocks): Don't run try_merge_blocks
10343         when not optimizing.
10344         (life_analysis): Limit data collection when not optimizing.
10345         (mark_regs_live_at_end): Always mark the return value registers.
10346         (mark_used_regs): Remove dummy RETURN case.
10347         (print_rtl_with_bb): Don't consult obey_regdecls.
10348         * function.c (use_variable, use_variable_after): Remove.
10349         (assign_parms): Consult optimize not obey_regdecls.
10350         (expand_function_start): Don't emit USEs for stupid.
10351         (expand_function_end): Likewise.
10352         * global.c (build_insn_chain): Export.
10353         * integrate.c (expand_inline_function): Kill return-value USE
10354         handling code.
10355         * jump.c (jump_optimize_1): Do simple jump optimizations and
10356         dead code elimination.
10357         (calculate_can_reach_end): Remove check_deleted argument.
10358         (delete_insn): Patch out insns even when not optimizing.
10359         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
10360         * rtl.h (use_variable, use_variable_after): Remove declarations.
10361         (build_insn_chain): Declare.
10362         * stmt.c (expand_value_return): Don't emit USEs for stupid.
10363         (expand_end_bindings): Likewise.
10364         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
10365         * toplev.c (obey_regdecls): Remove.
10366         (rest_of_compilation): Don't set it.  Kill stupid in favour of
10367         flow1, local-alloc, and reload.
10368         (main): Don't set obey_regdecls.
10369
10370         * config/nextstep.c (handle_pragma): Likewise.
10371
10372         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
10373
10374         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
10375
10376 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10377
10378         * alpha-protos.h: PROTO -> PARAMS.
10379         * alpha.c: Likewise.
10380         * elf.h: Likewise.
10381         * h8300.c: Likewise.
10382         * i386-protos.h: Likewise.
10383         * i386.c: Likewise.
10384         * m32r-protos.h: Likewise.
10385         * m32r.c: Likewise.
10386         * mips.c: Likewise.
10387         * mips.md: Likewise.
10388         * gmon-sol2.c: Likewise.
10389         * sparc.c: Likewise.
10390
10391 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10392
10393         * ns32k-protos.h: New file.
10394
10395         * ns32k.c: Fix compile time warnings.
10396
10397         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
10398         warnings.
10399
10400         * ns32k.md: Likewise.
10401
10402 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10403
10404         * vax-protos.h: New file.
10405
10406         * vax.c: Fix compile time warnings.
10407
10408         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
10409         warnings.
10410
10411         * vax.md: Likewise.
10412
10413         * vaxv.md: Likewise.
10414
10415 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10416
10417         * romp-protos.h: New file.
10418
10419         * romp.c: Fix compile time warnings.
10420
10421         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
10422         warnings.
10423
10424         * romp.md: Likewise.
10425
10426 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10427
10428         * we32k-protos.h: New file.
10429
10430         * we32k.c: Fix compile time warnings.
10431
10432         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
10433         warnings.
10434
10435 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10436
10437         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
10438
10439         * except.c (eh_regs): Likewise.
10440
10441         * final.c (output_operand): Likewise.
10442
10443         * fold-const.c (target_isinf, target_isnan): Likewise.
10444
10445 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10446
10447         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
10448         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
10449
10450         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
10451         when optimize_size.
10452         (clrstrsi): Rewrite.
10453         (strsethi, strsetqi): New expanders.
10454         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
10455         (cmpstrsi): Emit compare insn before cmpstrsi_1
10456         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
10457         (strlensi_1): Likewise.
10458         (cmpstrsi_1): Likewise; do not output compare.
10459         (strlen expander): Do not unroll when optimizing for size.
10460         (*subsi3_carry): Rename to subsi3_carry
10461         (addqi3_cc): New pattern.
10462         * i386.h (processor_costs): Add move_ratio field.
10463         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
10464         * i386.c (*_cost): Set move_ratio.
10465         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
10466         (x86_expand_strlensi_1): Rewrite the main loop.
10467
10468 2000-01-17  Richard Henderson  <rth@cygnus.com>
10469
10470         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
10471         * cse.c (find_comparison_args, fold_rtx): Likewise.
10472         * integrate.c (subst_constants): Likewise.
10473         * loop.c (get_condition): Likewise.
10474
10475         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
10476
10477         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
10478
10479 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10480
10481         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
10482         (RESTORE_WARN_FLAGS): Unpack it.
10483         Change semantic type of extension to ttype.
10484         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
10485         * c-parse.y, c-parse.c, objc/objc-parse.y,
10486         objc/objc-parse.c: Regenerate.
10487
10488 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
10489
10490         * fixinc/fixlib.c: Add copyright notice.
10491         (compile_re): New function.
10492         * fixinc/fixlib.h: Prototype compile_re.
10493
10494         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
10495         Use compile_re to compile regular expressions.
10496
10497         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
10498         where the pattern matched.
10499
10500         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
10501         use 'replace'.
10502         (ultrix_ansi_compat): Likewise.
10503         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
10504         add egrep test.
10505         (interactv_add2, interactv_add3): Delete.
10506         (x11_sprintf): Don't use filename glob.
10507         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
10508         Regenerate.
10509
10510 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10511
10512         * print-rtl.c: PROTO -> PARAMS.
10513         * real.c: Likewise.
10514         * reg-stack.c: Likewise.
10515         * resource.c: Likewise.
10516         * sdbout.h: Likewise.
10517         * simplify-rtx.c: Likewise.
10518         * stor-layout.c: Likewise.
10519         * stupid.c: Likewise.
10520         * xcoffout.c: Likewise.
10521         * xcoffout.h: Likewise.
10522
10523 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10524
10525         * toplev.c: PROTO -> PARAMS.
10526         * toplev.h: Likewise.
10527         * tree.c: Likewise.
10528         * tree.h: Likewise.
10529         * unroll.c: Likewise.
10530         * varasm.c: Likewise.
10531         * varray.c: Likewise.
10532         * varray.h: Likewise.
10533
10534 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10535
10536         * reload.c: PROTO -> PARAMS.
10537         * reload.h: Likewise.
10538         * reload1.c: Likewise.
10539         * reorg.c: Likewise.
10540         * resource.h: Likewise.
10541         * rtl.c: Likewise.
10542         * rtl.h: Likewise.
10543         * rtlanal.c: Likewise.
10544         * sbitmap.h: Likewise.
10545         * sdbout.c: Likewise.
10546         * stack.h: Likewise.
10547         * stmt.c: Likewise.
10548         * system.h: Likewise.
10549
10550 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10551
10552         * machmode.h: PROTO -> PARAMS.
10553         * mbchar.h: Likewise.
10554         * mips-tdump.c: Likewise.
10555         * mips-tfile.c: Likewise.
10556         * optabs.c: Likewise.
10557         * output.h: Likewise.
10558         * prefix.c: Likewise.
10559         * profile.c: Likewise.
10560         * protoize.c: Likewise.
10561         * real.h: Likewise.
10562         * recog.c: Likewise.
10563         * recog.h: Likewise.
10564         * regclass.c: Likewise.
10565         * regmove.c: Likewise.
10566         * regs.h: Likewise.
10567
10568 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10569
10570         * ggc-common.c: PROTO -> PARAMS.
10571         * ggc-page.c: Likewise.
10572         * ggc-simple.c: Likewise.
10573         * ggc.h: Likewise.
10574         * global.c: Likewise.
10575         * graph.c: Likewise.
10576         * gthr-win32.h: Likewise.
10577         * haifa-sched.c: Likewise.
10578         * halfpic.h: Likewise.
10579         * integrate.c: Likewise.
10580         * integrate.h: Likewise.
10581         * jump.c: Likewise.
10582         * lcm.c: Likewise.
10583         * local-alloc.c: Likewise.
10584         * loop.c: Likewise.
10585         * loop.h: Likewise.
10586
10587 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10588
10589         * genattr.c: PROTO -> PARAMS.
10590         * genattrtab.c: Likewise.
10591         * gencheck.c: Likewise.
10592         * gencodes.c: Likewise.
10593         * genconfig.c: Likewise.
10594         * genemit.c: Likewise.
10595         * genextract.c: Likewise.
10596         * genflags.c: Likewise.
10597         * gengenrtl.c: Likewise.
10598         * genopinit.c: Likewise.
10599         * genoutput.c: Likewise.
10600         * genpeep.c: Likewise.
10601         * genrecog.c: Likewise.
10602
10603 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
10604
10605         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
10606
10607 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10608
10609         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
10610         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
10611         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
10612         * configure, config.in: Rebuilt.
10613
10614 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
10615
10616         * config/i386/i386.md: Add peephole to merge successive stack
10617         adjusts.
10618
10619 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
10620
10621         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
10622         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
10623         when walking backwards to find all the parameter loads when
10624         the basic block ends in a call.
10625
10626 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10627
10628         * loop.c (this_loop_info): Delete.
10629         (uid_loop): Add in place of uid_loop_num.  All uses updated.
10630         (loop_number_exit_count): Delete and replace with entry in loop
10631         structure.  All uses updated.
10632         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
10633         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
10634         (loop_outer_loop): Likewise.
10635         (loop_invalid, loop_number_exit_labels): Likewise.
10636         (loop_used_count_register): Delete and replace with entry in
10637         loop_info structure.
10638         (find_and_verify_loops): Add loops argument.
10639         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
10640         loop_end, etc. arguments with loop structure pointer.  All callers
10641         changed.
10642         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
10643         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
10644         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
10645         (insert_bct): Likewise.
10646         (basic_induction_var): New argument level.
10647         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
10648         vtop, and cont.  Add used_count_register.
10649         (uid_loop): Delete declaration.
10650         (loop_number_exit_count): Likewise.
10651         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
10652         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
10653         (loop_outer_loop, loop_used_count_register): Likewise.
10654         (loop_invalid, loop_number_exit_labels): Likewise.
10655         (unroll_loop): Replace loop_start and loop_end arguments
10656         with loop structure pointer.
10657         (loop_precondition_p, loop_iterations): Likewise.
10658         Include basic-block.h.
10659         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
10660         with loop structure pointer.
10661         (loop_precondition_p, loop_iterations): Likewise.
10662         * basic-block.h (struct loop): New entries vtop, cont,
10663         cont_dominator, start, end, top, scan_start, exit_labels,
10664         exit_count.
10665         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
10666
10667 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
10668
10669         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
10670
10671 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
10672
10673         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
10674
10675 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10676
10677         * pdp11-protos.h: New file.
10678
10679         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
10680         time warnings.
10681
10682         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
10683         warnings.
10684
10685         * pdp11.md: Likewise.
10686
10687         * 2bsd.h: Likewise.
10688
10689 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10690
10691         * mn10300-protos.h: New file.
10692
10693         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
10694         time warnings.
10695
10696         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
10697         warnings.
10698
10699         * mn10300.md: Likewise.
10700
10701 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10702
10703         * mn10200-protos.h: New file.
10704
10705         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
10706         time warnings.
10707
10708         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
10709         warnings.
10710
10711         * mn10200.md: Likewise.
10712
10713 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10714
10715         * h8300-protos.h: New file.
10716
10717         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
10718         time warnings.
10719
10720         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
10721         warnings.
10722
10723         * h8300.md: Likewise.
10724
10725 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10726
10727         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
10728         (asm_emit_uninitialised): Likewise.
10729
10730 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
10731
10732         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
10733         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
10734
10735 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
10736
10737         * config/mips/mips.c (override_options): Don't turn on extra
10738         alignment for mips16.
10739
10740 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
10741
10742         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
10743         eabi, and make sure queued POSTINCREMENT rtl is emitted at
10744         the right point.
10745
10746 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
10747
10748         * builtins.c (PAD_VARARGS_DOWN): Define.
10749         (std_expand_builtin_va_arg): Use the above macro.
10750         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
10751         * tm.texi (Register Arguments): Document the above macro.
10752
10753 2000-01-14  Nick Clifton  <nickc@cygnus.com>
10754
10755         * emit-rtl.c (emit_insn): If checking is enabled, make sure
10756         that this function has not been used to emit a jump
10757         instruction.
10758
10759         * jump.c (return_jump_1): Cope with being passed a null rtx.
10760
10761 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10762
10763         * eh-common.h: PROTO -> PARAMS.
10764         * emit-rtl.c: Likewise.
10765         * errors.c: Likewise.
10766         * errors.h: Likewise.
10767         * except.c: Likewise.
10768         * except.h: Likewise.
10769         * explow.c: Likewise.
10770         * expmed.c: Likewise.
10771         * expr.c: Likewise.
10772         * expr.h: Likewise.
10773         * final.c: Likewise.
10774         * fix-header.c: Likewise.
10775         * flow.c: Likewise.
10776         * fold-const.c: Likewise.
10777         * function.c: Likewise.
10778         * function.h: Likewise.
10779         * gcc.c: Likewise.
10780         * gcov-io.h: Likewise.
10781         * gcov.c: Likewise.
10782         * gcse.c: Likewise.
10783
10784 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10785
10786         * sh-protos.h: New file.
10787
10788         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
10789         Add static prototypes.  Fix compile time warnings.
10790
10791         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
10792         * sh.md: Likewise.
10793         * elf.h: Likewise.
10794
10795 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10796
10797         * arc-protos.h: New file.
10798
10799         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
10800         time warnings.
10801
10802         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
10803         warnings.
10804
10805         * arc.md: Likewise.
10806
10807 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10808
10809         * dsp16xx-protos.h: New file.
10810
10811         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
10812         time warnings.
10813
10814         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
10815         warnings.
10816
10817         * dsp16xx.md: Likewise.
10818
10819 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10820
10821         * convex-protos.h: New file.
10822
10823         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
10824         time warnings.
10825
10826         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
10827         warnings.
10828
10829 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10830
10831         * elxsi-protos.h: New file.
10832
10833         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
10834         time warnings.
10835
10836         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
10837         warnings.
10838
10839         * elxsi.md: Likewise.
10840
10841 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
10842
10843         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
10844         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
10845         match the comment for MIPS16.
10846
10847 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
10848
10849         * flow.c (split_edge): Do not call set_block_for_insn if we
10850         do not have a basic_block_for_insn structure.
10851
10852         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
10853         and destination functions are 32bit aligned within the trampoline.
10854         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
10855         (TRAMPOLINE_ALIGNMENT): Define.
10856
10857         * cse.c (cse_insn): When changing (set (pc) (reg)) to
10858         (set (pc) (label_ref)), verify the change creates a valid insn.
10859
10860         * fr30.c (call_operand): Tighten and rework to match rules for
10861         call RTL expressions.
10862         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
10863         * fr30.md (call patterns): Improve constraints.
10864
10865 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
10866
10867         * fr30.c (fr30_expand_epilogue): Revert last change.
10868         Use emit_jump_insn for the return insn.
10869
10870 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
10871                           Stan Cox  <scox@cygnus.com>
10872
10873         * predict.c: New file. Preliminary infrastructure work for static
10874         branch prediction and basic block reordering.
10875         * basic-block.h: Add prototype for estimate_probability.
10876         * Makefile.in: Add rules for predict.o.
10877
10878 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
10879
10880         * fixincludes (va_list): Use __not_va_list__ for the dummy.
10881         * fixinc/*: Likewise.
10882
10883 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10884
10885         * cccp.c: PROTO -> PARAMS.
10886         * cexp.y: Likewise.
10887         * collect2.c: Likewise.
10888         * combine.c: Likewise.
10889         * convert.h: Likewise.
10890         * cse.c: Likewise.
10891         * dbxout.c: Likewise.
10892         * dbxout.h: Likewise.
10893         * diagnostic.c: Likewise.
10894         * doprint.c: Likewise.
10895         * dwarf2out.c: Likewise.
10896         * dwarf2out.h: Likewise.
10897         * dwarfout.c: Likewise.
10898         * dwarfout.h: Likewise.
10899         * dyn-string.h: Likewise.
10900
10901 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10902
10903         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
10904         macro conditionals guarding use.
10905
10906         * dwarf2out.c: Include "tm_p.h".
10907
10908         * function.c (locate_and_pad_parm): Mark parameter with
10909         ATTRIBUTE_UNUSED.
10910         (expand_function_end): Likewise for variable `context'.
10911
10912         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
10913
10914 2000-01-13  Nick Clifton  <nickc@cygnus.com>
10915
10916         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
10917         register to prevent compile time warnings.
10918
10919 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
10920
10921         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
10922         to avoid -Wtraditional warning.
10923
10924 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10925
10926         * 1750a-protos.h: New file.
10927
10928         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
10929         time warnings.
10930
10931         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
10932         warnings.
10933
10934         * 1750a.md: Likewise.
10935
10936 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10937
10938         * a29k-protos.h: New file.
10939
10940         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
10941         time warnings.
10942
10943         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
10944         warnings.
10945
10946 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10947
10948         * clipper-protos.h: New file.
10949
10950         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
10951         time warnings.
10952
10953         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
10954         warnings.
10955
10956 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10957
10958         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
10959
10960 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
10961
10962         * configure.in (--enable-new-gxx-abi): New option.
10963         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
10964         * Makefile.in (GXX_ABI_FLAG): New variable.
10965         * configure: Regenerate.
10966
10967 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10968
10969         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
10970         * tm.texi (FORCE_STRUCT_BLK): Document.
10971         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
10972
10973 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
10974
10975         * config/ns32k/ns32k.md: Revert Jan 9 change.
10976
10977         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
10978         to a mode-test, if the predicate is address_operand.
10979
10980 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
10981
10982         * combine.c (if_then_else_cond): Be careful about what kinds
10983         of RTL expressions are passed to operand_subword.
10984
10985         * flow.c (split_edge): If we have to insert a new jump, make
10986         sure to associate it with a basic block.
10987
10988         * flow.c (commit_one_edge_insertion): A block with one successor
10989         can end in a JUMP_INSN that is not a simplejump.
10990
10991 2000-01-12  Robert Lipe  <robertl@sco.com>
10992
10993         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
10994         (BUILD_VA_LIST_TYPE): Define.
10995         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
10996         with crtstuff.c.
10997
10998 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
10999
11000         * cccp.c (do_pragma): Add cast to (char *).
11001
11002 2000-01-12  Richard Henderson  <rth@cygnus.com>
11003             Fred Fish  <fnf@be.com>
11004             Jason Merrill  <jason@cygnus.com>
11005
11006         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
11007         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
11008         * i386/beos-elf.h, i386/beos-pe.h: New files.
11009
11010         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
11011         * cross-make (SYSTEM_HEADER_DIR): Define using
11012         CROSS_SYSTEM_HEADER_DIR.
11013
11014         * gcc.c (LIBRARY_PATH_ENV): Provide default.
11015         (process_command): Use it.
11016         (main): Likewise.  Kill trailing = from env vars.
11017         (build_search_list): Put it back.
11018         * collect2.c (main): Use LIBRARY_PATH_ENV.
11019
11020         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
11021         * toplev.c: Use NEED_DECLARATION_ENVIRON.
11022
11023         * tm.texi (Frame Layout): Document SMALL_STACK.
11024         * c-common.c (c_common_nodes_and_builtins): Check it.
11025
11026         * system.h: Undef alloca after including glibc's <stdlib.h>,
11027         if USE_C_ALLOCA is defined.
11028
11029         * gcc.c (set_input): New fn.
11030         (main): After all input files are compiled, reset the input file
11031         info to the first.
11032
11033         * aclocal.m4 (rindex, index): If already defined, don't attempt
11034         to redefine.
11035
11036         * ginclude/varargs.h: (__va_list__): Define ifndef.
11037         * ginclude/stdarg.h: Likewise.
11038
11039         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
11040         instead of unsigned char.
11041
11042         * hash.h (true, false, boolean): Undef before enum.
11043
11044         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
11045         proper type of "HOST_WIDE_INT *", rather than their natural type of
11046         "unsigned HOST_WIDE_INT *".
11047
11048 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11049
11050         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
11051
11052         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
11053
11054         * regclass.c (choose_hard_reg_mode): Likewise.
11055
11056         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
11057
11058         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
11059
11060 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11061
11062         * c-common.c: PROTO -> PARAMS.
11063         * c-common.h: Likewise.
11064         * c-decl.c: Likewise.
11065         * c-iterate.c: Likewise.
11066         * c-lang.c: Likewise.
11067         * c-lex.c: Likewise.
11068         * c-lex.h: Likewise.
11069         * c-parse.in: Likewise.
11070         * c-pragma.c: Likewise.
11071         * c-pragma.h: Likewise.
11072         * c-tree.h: Likewise.
11073         * c-typeck.c: Likewise.
11074         * objc/objc-act.c: Likewise.
11075         * objc/objc-act.h: Likewise.
11076
11077 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11078
11079         * m88k-protos.h: New file.
11080
11081         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
11082         time warnings.
11083
11084         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
11085
11086         * m88k.md: Likewise.
11087
11088         * tekXD88.h: Likewise.
11089
11090 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11091
11092         * m68k-protos.h: New file.
11093
11094         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
11095         time warnings.
11096
11097         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
11098
11099         * mot3300.h: Likewise.
11100
11101 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
11102
11103         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
11104         extract_bitlst.
11105         (extract_bitlist): Declare bitlen.
11106
11107 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
11108
11109         * cccp.c: Accept and ignore -lang-fortran.
11110
11111         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
11112         qualifiers don't match at any level of pointerness.
11113
11114 2000-01-12  Robert Lipe  <robertl@sco.com>
11115
11116         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
11117
11118 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
11119
11120         * reload1.c (reload_reg_unavailable): New static variable.
11121         (reload_reg_free_p): Test it.
11122         (reload_reg_free_for_value_p): Test it instead of
11123         reload_reg_used.
11124         (choose_reload_regs_init): Compute it.
11125
11126 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
11127
11128         * reorg.c (fill_slots_from_thread): Check modified_in_p
11129         before replacing.
11130
11131 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
11132
11133         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
11134         these nodes even if INTERNALS is not set.
11135
11136 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
11137
11138         * gcse.c (delete_null_pointer_checks_1): Cope when
11139         get_condition cannot determine the condition.
11140
11141 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
11142
11143         * toplev.h (set_message_length): Declare.
11144
11145         * diagnostic.c (obstack_chunk_alloc): Define macro.
11146         (obstack_chunk_free): Likewise.
11147         (struct output_buffer): New data structure.
11148         (vmessage): Remove.
11149         (output_maximum_width): New variable.
11150         (doing_line_wrapping, set_message_length, init_output_buffer,
11151         get_output_prefix, output_space_left, emit_output_prefix,
11152         output_newline, output_append, output_puts, dump_output,
11153         vbuild_message_string, build_message_string, build_location_prefix,
11154         voutput_notice, output_printf, line_wrapper_printf,
11155         vline_wrapper_message_with_location):  New functions. Implement
11156         automatic line wrapping.
11157         (v_message_with_decl): Make it handle automatic line wrapping.
11158         (v_error_with_file_and_line): Likewise.
11159         (v_warning_with_file_and_line): Likewise.
11160         (announce_function): Likewise.
11161         (default_print_error_function): Likewise.
11162
11163 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
11164
11165         * cpplib.h (struct cpp_options): Change lang_asm to char.
11166         Add lang_fortran.
11167         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
11168         done in cpp_handle_option now.
11169         (initialize_builtins): Take out special case code used only by
11170         __STDC_VERSION__.
11171         (cpp_handle_option): Turn off trigraphs and trigraph warnings
11172         if -traditional.  Recognize -lang-fortran and set
11173         lang_fortran, also turn off cplusplus_comments.
11174         (print_help): Document -lang-fortran.
11175         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
11176         lang_asm. Ignore all directives other than `# 123 "file"' if
11177         CPP_PREPROCESSED.
11178         (cpp_get_token): If -traditional, don't recognize directives
11179         unless the # is in column 1.
11180         (parse_string): If lang_fortran or lang_asm, silently
11181         terminate strings ('' or "") at end of line.
11182         Remove unnecessary braces.
11183
11184 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11185             Richard Henderson  <rth@cygnus.com>
11186
11187         * resource.c (mark_referenced_resources): Mark a set strict_low_part
11188         as used.
11189         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
11190         strict_low_part when possible.
11191
11192 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11193
11194         * alias.c: PROTO -> PARAMS.
11195         * basic-block.h: Likewise.
11196         * bitmap.c: Likewise.
11197         * bitmap.h: Likewise.
11198         * builtins.c: Likewise.
11199         * c-aux-info.c: Likewise.
11200         * caller-save.c: Likewise.
11201         * calls.c: Likewise.
11202
11203 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11204
11205         * Makefile.in (toplev.o): Depend on regs.h.
11206
11207         * output.h (tdesc_section): Prototype.
11208
11209         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
11210
11211         * sdbout.c: Include "tm_p.h".
11212
11213         * toplev.c: Include "regs.h".
11214
11215 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
11216
11217         * unroll.c (unroll_loop): Add EH support.
11218
11219 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11220
11221         * pa-protos.h: New file.
11222
11223         * pa.c: Include recog.h and tm_p.h.
11224         (compute_zdepwi_operands, compute_movstrsi_length,
11225         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
11226         find_addr_reg, import_milli): Add static prototypes.
11227         (pa_cpu_string, pa_arch_string): Constify a char*.
11228         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
11229         (read_only_operand): Add argument `mode'.
11230         (singlemove_string, output_move_double, output_fp_move_double,
11231         output_block_move, output_and, output_ior, output_ascii,
11232         remove_useless_addtr_insns, milli_names, output_mul_insn,
11233         output_div_insn, output_mod_insn, output_arg_descriptor,
11234         output_cbranch, output_bb, output_bvb, output_dbra, ,
11235         output_millicode_call, output_call, hppa_encode_label,
11236         output_parallel_movb, output_parallel_addb): Constify a char*.
11237         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
11238         (output_parallel_addb): Remove extra arg to `constrain_operands'
11239
11240         * pa.h:  Move all prototypes to pa-protos.h.
11241         (pa_cpu_string, pa_arch_string): Constify a char*.
11242         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
11243
11244         * pa.md: Call `function_label_operand' with mode argument.
11245         Likewise for `read_only_operand'.
11246         Fix nesting of parens in call to `symbolic_operand'.
11247
11248 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11249
11250         * i860-protos.h: New file.
11251
11252         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
11253         time warnings.
11254
11255         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
11256
11257         * i860.md: Likewise.
11258
11259 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
11260
11261         * i386.md (movstrsi expander): Rewrite.
11262         (movstrsi_1 insn): Deleted.
11263         (strmovhi, strmovqi expander): New expanders.
11264         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
11265         * i386.c (x86_single_stringop): New global variable.
11266         * i386.h (x86_single_stringop): Declare.
11267         (TARGET_SINGLE_STRINGOP): New macro.
11268
11269 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
11270
11271         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
11272         integer vararg POSTINCREMENT before the destination of the jump
11273         for the hard fp case.
11274         (function_arg_pass_by_reference): Pass a copy of CUM to
11275         FUNCTION_ARG.
11276
11277         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
11278         for CONSTANT_ADDRESS_P above while loop for subreg.
11279
11280 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
11281
11282         * flow.c (propagate_block): When a prologue/epilogue insn
11283         is marked dead, unconditionally clear libcall_is_dead and
11284         insn_is_dead, and only dump rtl if warnings aren't being
11285         suppressed.
11286
11287 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
11288
11289         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
11290         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
11291         (FIXED_REGISTERS): Set dirflag as fixed.
11292         (CALL_USED_REGISTERS): Set dirflag as used.
11293         (REG_ALLOC_ORDER): Set dirflag as last one.
11294         (DIRFLAG_REG): New macro.
11295         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
11296         (HI_REGISTER_NAMES): Add dirflag.
11297         (DEBUF_PRINT_REG): Handle dirflag.
11298         * i386.md (type attribute): New cld and str types.
11299         (length_opcode attribute): Set cld and str to 1.
11300         (memory attribute): Set str to unknown - it is not clear from the
11301         patterns.
11302         (pent_np function unit): Prefixed string operations takes 12 cycles
11303         minimally; cld takes 2 cycles.
11304         (ppro_uops attribute): Str is "many" and cld is "few".
11305         (ppro_p0 unit): Handle cld here.
11306         (k6_alux unit): Handle cld and str types.
11307         (k6_load unit): It is ocupied by str opcodes.
11308         (k6_store unit): It is ocupied by str opcodes.
11309         (athlon_decode): Str is vector decoded.
11310         (athlon_ieu): Handle str and cld.
11311         (cld pattern): New.
11312         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
11313         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
11314         cmpstrsi_nz_1 insn): Do not output cld instruction
11315
11316 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
11317
11318         * gcc.texi (G++ and GCC): Add Java and Chill.
11319         (Bug Critera): Don't list languages.
11320
11321         * gcc.texi (Incompatibilities): No longer claim most C compilers
11322         are K&R.
11323
11324         * gcc.texi (G++ and GCC): Update other front-ends list.
11325
11326 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
11327
11328         * i386.c (ix86_expand_setcc): Fix typo.
11329         (ix86_expand_movcc): Similarly.
11330
11331         * Band-aid until haifa's bitset implementation is nuked.
11332         * haifa-sched.c (extract_bitlst): New parameter for size of the
11333         bitset in bits.  All callers changed.  Avoid looking at undefined
11334         bits in the bitset.
11335         (edgeset_bitsize): New variable.
11336         (schedule_region): Initialize edgeset_bitsize.
11337
11338 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11339
11340         * Makefile.in (optabs.o): Depend on real.h
11341         (resource.o): Depend on insn-attr.h
11342
11343         * builtins.c (result_vector): Wrap prototype in macro conditions
11344         governing definition and use.
11345
11346         * c-common.c: Include tm_p.h.
11347
11348         * c-lex.c: Likewise.
11349
11350         * elfos.h: Constify a char*.
11351
11352         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
11353         (get_attr_length, shorten_branches, profile_after_prologue): Mark
11354         parameter with ATTRIBUTE_UNUSED.
11355
11356         * fold-const.c (exact_real_inverse): Wrap variable `i' in
11357         CHECK_FLOAT_VALUE.
11358
11359         * haifa-sched.c (schedule_insns): Mark parameter with
11360         ATTRIBUTE_UNUSED.
11361
11362         * optabs.c: Include real.h.
11363
11364         * real.h (ereal_atof): Add prototype arguments.
11365
11366         * resource.c: Include insn-attr.h.
11367
11368         * sdbout.c (sdbout_queue_anonymous_type,
11369         sdbout_dequeue_anonymous_types): Wrap in macro
11370         SDB_ALLOW_FORWARD_REFERENCES.
11371         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
11372         ATTRIBUTE_UNUSED.
11373
11374         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
11375
11376         * stupid.c: Include tm_p.h.
11377
11378         * tree.c (real_value_from_int_cst): Mark parameter with
11379         ATTRIBUTE_UNUSED.
11380
11381 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11382
11383         * i960-protos.h: New file.
11384
11385         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
11386         time warnings.
11387
11388         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
11389
11390 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11391
11392         * combine.c (expand_field_assignment): Do not discard SUBREGs
11393         while computing nonzero_bits.
11394
11395 2000-01-09  Nick Clifton  <nickc@cygnus.com>
11396
11397         * config/arm/arm.c: Fix compile time warnings about signed vs
11398         unsigned constants.
11399         * config/arm/arm.h: Fix compile time warnings about signed vs
11400         unsigned constants.
11401
11402 2000-01-09  Philip Blundell  <philb@gnu.org>
11403
11404         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
11405         than `ldm' with only one register.
11406         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
11407         only one register.
11408
11409         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
11410         clobbered.
11411
11412 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
11413
11414         * config/ns32k/ns32k.md (load or push effective address): Operand 1
11415         must have SImode.
11416
11417 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11418
11419         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
11420         assignment used as truth value.
11421
11422         * function.c (assign_temp): Mark parameter `dont_promote' with
11423         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
11424         PROMOTE_FOR_CALL_ONLY.
11425
11426         * genrecog.c (write_subroutine): Mark variable `operands' with
11427         ATTRIBUTE_UNUSED.
11428
11429         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
11430         ATTRIBUTE_UNUSED.
11431
11432         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
11433         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
11434
11435         * toplev.c (note_deferral_of_defined_inline_function): Likewise
11436         for `decl'.
11437
11438 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11439
11440         * config/c4x.h: Tidy up comments.
11441         * config/c4x.c: Likewise.
11442
11443 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
11444
11445         * fold-const.c (lshift_double, rshift_double): Handle
11446         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
11447
11448 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11449
11450         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
11451         in prepare_function_start().
11452
11453 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
11454
11455         * config/v850/v850.c (expand_epilogue): Interrupt functions no
11456         longer allocate extra stack for function calls.
11457
11458 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11459
11460         * config/c4x/c4x.md (*subqf3_set): Fix typo.
11461
11462 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11463
11464         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
11465
11466 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
11467
11468         * rs6000.c (processor_target_table): Add power3 as alias for 630.
11469         * aix43.h: Revert Aug 2 change.
11470         (HAS_INIT_SECTION): Define, not visible yet.
11471         (LD_INIT_SWITCH): Define, not visible yet.
11472         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
11473
11474         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
11475
11476         * collect2.c (main): Expand ld2 size further.
11477         (export_object_lst): Cast assignment to avoid warning.
11478         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
11479         (scan_prog_file, COFF): Do not collect initialization or
11480         finalization functions generated for entire shared object if
11481         init/fini support present.
11482
11483 2000-01-07  Nick Clifton  <nickc@cygnus.com>
11484
11485         * config/elfos.h: Tidy up formatting of marcos.  Make sure
11486         that .section directives are always prefixed by a tab.
11487
11488         * config/svr4.h: Add #include "elfos.h" and remove duplicate
11489         definitions.
11490
11491 2000-01-07  Matt Austern  <austern@sgi.com>
11492
11493         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
11494         expon.
11495
11496 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
11497
11498         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
11499         crtstuff.c.
11500         (crtbegin.o, s-crtS): Likewise.
11501
11502 2000-01-06  Richard Henderson  <rth@cygnus.com>
11503
11504         * alpha.md (adddi_2+1): Limit offset such that it will be
11505         loadable with a single ldah+lda pair.
11506         (adddi_2+2): Explicitly fail split if we can't make it work.
11507
11508 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
11509
11510         * protoize.c: Conditionally include unistd.h.
11511         (IS_SAME_PATH_CHAR): New macro.
11512         (IS_SAME_PATH): New macro.
11513         (CPLUS_FILE_SUFFIX): New macro.
11514         (cplus_suffix): New static variable.
11515         (is_abspath): New static function.
11516         (in_system_include_dir): Handle DOS style pathnames.
11517         (file_could_be_converted): Likewise.
11518         (file_normally_convertible): Likewise.
11519         (directory_specified_p): Likewise.
11520         (file_excluded_p): Likewise.
11521         (abspath): Likewise.
11522         (shortpath): Likewise.
11523         (referenced_file_is_newer): Likewise.
11524         (save_def_or_dec): Likewise.
11525         (do_processing): Likewise.
11526         (main): Likewise.
11527         (edit_file): Likewise. Use rename instead of link.
11528         (rename_c_file): Likewise. Don't rename syscalls file.
11529         (munge_compile_params): Define null device for DOS based systems.
11530         (process_aux_info_file): Use binary mode if appliable.
11531         (edit_file): Likewise.
11532         * invoke.texi (Running Protoize): Document C++ suffixes used.
11533
11534         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
11535         IS_DIR_SEPARATOR macros.
11536         * collect2.c: Likewise.
11537         * cppinit.c: Likewise.
11538         * dwarf2out.c: Likewise.
11539         * gcc.c: Likewise.
11540         * gcov.c: Likewise.
11541         * prefix.c: Likewise.
11542         * rtl.c: Likewise.
11543         * toplev.c: Likewise.
11544         * system.h: And move to here.
11545
11546         * prefix.c (update_path): Fix typo in variable name.
11547
11548 2000-01-06  Richard Henderson  <rth@cygnus.com>
11549
11550         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
11551         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
11552         (count_reg_sets_1, count_reg_references): Likewise.
11553         (flow_loops_level_compute): Start counting actual loop depth at 1.
11554         (flow_loops_find): Likewise.
11555         * local-alloc.c (update_equiv_regs): Likewise.
11556         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
11557
11558 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
11559
11560         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
11561         FIRST_PSEUDO_REGISTER
11562         * dwarf2out.c: Don't include frame.h
11563         * dwarfout.c: Likewise
11564         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
11565         frame.h
11566
11567 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
11568
11569         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
11570         dead registers.
11571
11572         * i386.c (movsf splitter): Fix typo in my last checkin.
11573
11574 2000-01-05  Nick Clifton  <nickc@cygnus.com>
11575
11576         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
11577         own definition of this macro.
11578         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
11579         flag_data_sections or UNIQUE_SECTION_P are true.
11580
11581         * tm.texi (UNIQUE_SECTION): Document that it can be called for
11582         unitialised data decls.
11583
11584         * config/i386/winnt.c (i386_pe_unique_section): Cope with
11585         being called for uninitialised data.
11586
11587         * config/i386/interix.c (i386_pe_unique_section): Cope with
11588         being called for uninitialised data.
11589
11590         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
11591         for uninitialised data.
11592
11593         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
11594         for uninitialised data.
11595
11596         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
11597         for uninitialised data.
11598
11599         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
11600         (UNIQUE_SECTION_P): Always generate a unique section if
11601         flag_data_sections is true.
11602         (UNIQUE_SECTION): Also generate unique sections for
11603         uninitialised data.
11604         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
11605         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
11606         named_section().
11607
11608 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11609
11610         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
11611         SI, or DI.
11612
11613 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11614
11615         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
11616         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
11617         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
11618         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
11619         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
11620
11621         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
11622
11623 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
11624
11625         * c-decl.c (finish_enum): Simplify code to determine minimum and
11626         maximum values of the enum, and calculate the type.  Remove check
11627         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
11628         the DECL_INITIAL of each enumeration constant with a copy converted
11629         to the enumeration type.  When updating variant types, don't bother
11630         updating the type itself.
11631
11632         * c-typeck.c (build_binary_op): Simplify conditional expressions
11633         when weeding out spurious signed-unsigned warnings.  Add new
11634         spurious warning category: if the unsigned quantity is an enum
11635         and its maximum value fits in signed_type(result_type).  Update
11636         commentary.
11637         (build_conditional_expr): Warn here if one alternative is signed
11638         and the other is unsigned.
11639
11640 2000-01-05  Nick Clifton  <nickc@cygnus.com>
11641
11642         * config/fr30/fr30.h: Remove extraneous comments.
11643
11644 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
11645
11646         * reload1.c (choose_reload_regs): When disabling a reload, also
11647         set reload_spill_index to -1.
11648
11649 2000-01-04  Joel Sherrill (joel@OARcorp.com>
11650
11651         * configure.in (m68*-*-rtemscoff*): New target, formal name for
11652         old m68*-*-rtems*.
11653         (m68*-*-rtemself*): New target.
11654         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
11655         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
11656         (sparc*-*-rtemself*): New target.
11657         (sparc*-*-rtems*): Now elf not a.out.
11658         * config/i386/rtems.h: Include config/rtems.h.
11659         * config/i386/rtemself.h: Include config/rtems.h.
11660         * config/i960/rtems.h: Include config/rtems.h.
11661         * config/m68k/rtems.h: Include config/rtems.h.
11662         * config/m68k/rtemself.h: Include config/rtems.h.
11663         * config/mips/rtems64.h: Include config/rtems.h.
11664         * config/pa/rtems.h: Include config/rtems.h.
11665         * config/rs6000/rtems.h: Include config/rtems.h.
11666         * config/sh/rtems.h: Include config/rtems.h.
11667         * config/sh/rtemself.h: Include config/rtems.h.
11668         * config/sparc/rtems.h: Include config/rtems.h.
11669         * config/sparc/rtemself.h: Include config/rtems.h
11670
11671 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
11672
11673         * final.c (shorten_branches): Correctly compute length of
11674         asms without operands.
11675
11676 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
11677
11678         * configure.in: Add pj target.
11679         * configure: Regenerate.
11680         * config/pj: New directory.
11681         * config/pj/lib1funcs.S: New file.
11682         * config/pj/linux.h: New file.
11683         * config/pj/pj.c: New file.
11684         * config/pj/pj.md: New file.
11685         * config/pj/pjl.h: New file.
11686         * config/pj/t-pj: New file.
11687         * config/pj/xm-pj.h: New file
11688
11689 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
11690
11691         * toplev.c (rest_of_compilation): Run shorten-branches before
11692         reg-stack for now.
11693
11694 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11695
11696         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
11697         macros so that they're consistent with their names.
11698         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
11699         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
11700
11701 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11702
11703         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
11704         modified inadvertently.
11705
11706 2000-01-04  Joel Sherrill <joel@OARcorp.com>
11707
11708         * configure.in (v850*-*-rtems*): New target.
11709         * configure: Regenerate.
11710         * config/v850/rtems.h: New file.
11711
11712 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
11713
11714         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
11715         (__gthread_key_create): Likewise.
11716         (__gthread_key_dtor):  Likewise.
11717         (__gthread_once): Fix logic.
11718         (__gthread_key_delete): Cast away constness.
11719
11720         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
11721         * invoke.texi: Document.
11722         * i386/mingw32.h (CPP_SPEC): Use.
11723         (LIBGCC_SPEC): Likewise.
11724         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
11725
11726 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
11727
11728         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
11729         (HANDLE_PRAGMA_PACK): Undefine.
11730         (SLOW_UNALIGNED_ACCESS): Define.
11731
11732 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
11733
11734         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
11735         to default definition.
11736         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
11737         (store_fixed_bit_field): Call macro with word_mode and alignment.
11738         (extract_bit_field): Call macro with relevant mode and alignment.
11739         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
11740         to default definition.
11741         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
11742         and alignment.
11743         (move_by_pieces_ninsns): Likewise.
11744         (clear_by_pieces): Likewise.
11745         (emit_push_insn): Likewise.
11746         (store_field): Call macro with relevant mode and alignment.
11747         (expand_expr): Likewise.
11748         (expand_expr_unaligned): Likewise.
11749
11750         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
11751         (SLOW_UNALIGNED_ACCESS): Define.
11752         (CASE_VECTOR_MODE): Always use 32-bit offsets.
11753         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
11754         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
11755         (toc_section): Likewise and .toc pseudo-op.
11756         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
11757         64-bit mode.
11758         (TEXT_SECTION_ASM_OP): Likewise.
11759         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
11760         32-bit offsets.
11761
11762         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
11763         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
11764         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
11765         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
11766         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
11767
11768 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
11769
11770         * regclass.c: Revert my Jan 4 change to loop cost computation.
11771
11772 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11773
11774         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
11775         compilation.
11776
11777 2000-01-04  Stan Cox  <scox@cygnus.com>
11778
11779         * haifa-sched.c (build_control_flow): Change unreachable simple
11780         loop test to check if current block has only one predecessor.
11781         (find_rgns): Initialize degree.  Use dest as degree index, not src.
11782
11783 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11784
11785         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
11786
11787         * calls.c (expand_call): Likewise for
11788         `old_stack_arg_under_construction'.
11789
11790         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
11791
11792         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
11793         `save_constant'.
11794
11795         * gcc.c (execute): Likewise for `ut' and `st'.
11796
11797         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
11798
11799         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
11800
11801         * jump.c (jump_optimize_1): Likewise for `temp2'.
11802
11803         * local-alloc.c (block_alloc): Likewise for `r1'.
11804
11805         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
11806
11807         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
11808         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
11809
11810         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
11811         and `set2'.
11812
11813         * reload.c (find_reloads): Likewise for `goal_alternative_number'
11814         and `goal_earlyclobber'.
11815
11816         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
11817
11818         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
11819
11820         * stupid.c (stupid_life_analysis): Likewise for `chain'.
11821
11822         * unroll.c (copy_loop_body): Likewise for `copy'.
11823
11824         * varasm.c (output_constructor): Likewise for `byte'.
11825
11826 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11827
11828         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
11829         all FP constants for constant->reg moves.
11830         (ix86_split_to_parts): Try to convert memory address into immediate
11831         when available in the constant pool.
11832         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
11833         moves.
11834         (LEGITIMATE_CONSTANT_P): Return 1.
11835         * i386.md (pushsf): New splitter to convert constant pool memory
11836         reference to immediate.
11837         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
11838         reload.
11839
11840 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
11841
11842         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
11843         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
11844         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
11845         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
11846         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
11847
11848 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
11849
11850         * ginclude/stdbool.h:  Support compilation as C++.
11851
11852 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11853
11854         * fold-const.c (make_range): Don't try to reverse an unbounded range.
11855
11856 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
11857
11858         * regclass.c (regclass): Properly compute loop_cost.  Adjust
11859         comments.
11860
11861         * regclass.c: Fix minor whitespace problems.
11862
11863 2000-01-03  Anthony Green  <green@cygnus.com>
11864
11865         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
11866         Restore the pic register if required.
11867
11868 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
11869
11870         * c-common.c (format_char_info): Update comment.
11871         (check_format_info): Recognize 'z' modifier in the same way 'Z'
11872         was recognized.  Emit warning for formats new in ISO C99 only
11873         if flag_isoc9x is not set.
11874
11875 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
11876
11877         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
11878
11879 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11880
11881         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
11882         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
11883         (make_compound_operation): Choose cheaper alternative between
11884         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
11885
11886         * regclass.c (op_costs): Remove global variable.
11887         (record_reg_classes): New parameter "op_costs" and "reg_pref".
11888         (record_operand_costs): Break out from ...
11889         (scan_one_insn): ... here.
11890         (dump_regclass): Make dumps nicer.
11891         (regclass): Dump preferrences choosed and changes done during passes.
11892
11893 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
11894
11895         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
11896
11897 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
11898
11899         * config/sparc/sparc.c (gen_df_reg): New function.
11900         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
11901         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
11902         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
11903         movtf_cc_reg_sp64+1): Use it.
11904
11905 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
11906
11907         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
11908         copied LABEL_DECLs.
11909
11910 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11911
11912         * config/i386/i386.c (ix86_expand_unary_operator): Function
11913         definition made void.
11914         (ix86_expand_binary_operator): Update outdated preceding comment.
11915         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
11916         prototype.
11917
11918         * config/i386/i386.c (override_options): Fix option-name typo.
11919
11920 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
11921
11922         * system.h (CEIL): Define.
11923         * builtins.c (CEIL): Remove.
11924         * expmed.c (CEIL): Likewise.
11925         * expr.c (CEIL): Likewise.
11926         * stor-layout.c (CEIL): Likewise.
11927
11928 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11929
11930         * expr.c (store_constructor_field): Fix typo introduced with last
11931         gcc2 merge.
11932
11933 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
11934
11935         * tree.h (BINFO_N_BASETYPES): New macro.
11936
11937 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
11938
11939         * expmed.c (emit_store_flag): Prevent losing a pending stack
11940         adjust the same way we prevent losing queued increments.
11941
11942 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11943
11944         * function.c (update_temp_slot_address): Handle case where sum of
11945         temporary address plus offset in register is a valid address.
11946
11947 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
11948
11949         * genrecog.c (change_state) Corrected typo.
11950
11951 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11952
11953         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
11954         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
11955         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
11956
11957 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
11958
11959         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
11960         case, expand GT comparisons correctly.  Fix a comment before this
11961         part of the code.
11962
11963 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
11964
11965         * dwarfout.c: Include "frame.h"
11966         * dwarf2out.c: Likewise.
11967         * Makefile.in (dwarfout.o): Depend on frame.h
11968         (dwarf2out.o): Likewise.
11969
11970 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
11971
11972         Restore i386 binary compatibility in Dwarf EH info.
11973         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
11974         value of FIRST_PSEUDO_REGISTER.
11975         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
11976         (struct frame_state): Use DWARF_FRAME_REGISTERS.
11977         * dwarfout.c (output_reg_number): Ditto.
11978         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
11979         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
11980
11981 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
11982
11983         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
11984         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
11985         (<hack>_RE_CT): not needed
11986         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
11987         rewritten to scan the file text once only
11988         "template<..." test added
11989         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
11990         (is_cxx_header): declaration added
11991         * fixinc/fixtests.c(is_cxx_header): removed
11992         (apply_fix_p_t): removed
11993         (double_slash_test): is_cxx_header is only called once now
11994         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
11995         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
11996         within the templates.
11997         The borken spelling of "broken" was fixed.
11998         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
11999         The default level depends on FIXINC_DEBUG.
12000
12001 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12002
12003         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
12004         Otherwise provide a declaration for atexit.
12005         (init_dummy): Make sure dummy call to atexit is nevertheless
12006         called with correct number of args.
12007
12008         * frame.c: Update comments referring to other files.
12009
12010         * libgcc2.c: Likewise.
12011
12012 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12013
12014         * cse.c (free_element, get_element): Remove unused prototypes.
12015
12016         * fold-const.c (extract_muldiv): Initialize variables `op0' and
12017         `op1'.
12018
12019         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
12020         `else' clauses.
12021
12022 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
12023
12024         * configure.in,configure: case arm for mn10200-*-* now sets
12025         float_format=i32 so that float.h will correctly claim "double"
12026         to be 32 bits. Ran autoconf to generate configure from .in file.
12027
12028 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
12029
12030         * pa.md (conditional zero): If op1 is a register, force it into
12031         the same register as op0.
12032
12033 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
12034
12035         * tree.h (BINFO_BASETYPES): Improve documentation.
12036
12037 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12038
12039         * configure.in (--enable-checking): Use a more portable `for'
12040         loop syntax.
12041
12042 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12043
12044         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
12045         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
12046
12047         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
12048         Delete files.
12049
12050         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
12051         Delete descriptions.
12052
12053         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
12054         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
12055         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
12056         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
12057         xm-svr4.h: Remove all instances of sys_siglist handling.
12058
12059 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
12060
12061         * config/sparc/sparc.md (cmp_zero_qi,
12062         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
12063         cmp_zero_extendqidi2_andcc_set): New patterns.
12064
12065 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
12066
12067         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
12068         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
12069         (fpgnulib.c, xfgnulib.c): Add rules.
12070         * m68k/t-mot3300-gas: Likewise.
12071
12072 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
12073
12074         * configure.in: Avoid [[ by using test and changequote.  Add
12075         changequote required by 1999-12-14 change.
12076         * configure: Rebuild.
12077
12078 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
12079
12080         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
12081
12082 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
12083
12084         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
12085         * flow.c (find_use_as_address): Likewise.
12086         * function.c (fixup_var_refs_1): Likewise.
12087         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
12088         * jump.c (invert_exp, redirect_exp): Likewise.
12089         * loop.c (replace_call_address): Likewise.
12090         (count_nonfixed_reads): Likewise.
12091         * rtlanal.c (modified_between_p): Likewise.
12092         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
12093         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
12094         * unroll.c (remap_split_bivs): Likewise.
12095
12096 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12097
12098         * diagnostic.c (v_message_with_decl): Use .* format specifier
12099         instead of building the format specifier width manually.
12100
12101         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
12102         determining whether to provide a prototype.  Remove the
12103         sys_siglist clause in the conditional.
12104
12105 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12106
12107         * fold-const.c (operand_equal_p): Use memcmp to compare string
12108         constants.
12109         Suggested by D. J. Bernstein
12110
12111 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
12112
12113         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
12114         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
12115         compiling libgcc2.
12116         * config/mips/mips.h (TARGET_64BIT): Likewise.
12117         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
12118         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
12119         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
12120         dsps.  Give routines proper names if SI/DI modes are not used.
12121         * longlong.h: Use DWunion instead of DIunion.
12122
12123 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
12124
12125         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
12126         GC_CHECKING, GC_ALWAYS_COLLECT.
12127         * configure.in: Allow --enable-checking with an argument
12128         listing check modes to enable.
12129         * config.in, configure: Rebuilt.
12130         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
12131         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
12132         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
12133         ENABLE_GC_ALWAYS_COLLECT.
12134         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
12135         throughout.
12136         * tree.h, tree.c: Change ENABLE_CHECKING to
12137         ENABLE_TREE_CHECKING throughout.
12138
12139 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12140
12141         * fold-const.c (fold_truthop): Properly check for FP RHS.
12142
12143 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
12144
12145         * toplev.h (note_deferall_of_defined_inline_function): Declare.
12146         * toplev.c (note_deferral_of_defined_inline_function): New
12147         function, split out from ...
12148         (rest_of_compilation): ... here.  Use it.
12149
12150 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12151
12152         * expr.c (store_constructor): Don't call clear_storage if size is
12153         variable.
12154
12155 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12156
12157         * Makefile.in (toplev.o): Depend on loop.h.
12158
12159         * dwarfout.c: Include tm_p.h.
12160
12161         * emit-rtl.c (restore_emit_status): Mark parameter with
12162         ATTRIBUTE_UNUSED.
12163
12164         * final.c (final_scan_insn): Likewise.
12165
12166         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
12167         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
12168         flow_depth_first_order_compute, flow_loop_pre_header_find,
12169         flow_loop_tree_node_add, flow_loops_tree_build,
12170         flow_loop_level_compute, flow_loops_level_compute,
12171         flow_loop_outside_edge_p): Add prototypes.
12172         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
12173
12174         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
12175         Mark with ATTRIBUTE_NORETURN.
12176
12177         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
12178
12179         * local-alloc.c (no_conflict_p): Likewise.
12180
12181         * loop.c (insert_bct): Hide definitions of variables with hidden
12182         usage.
12183         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
12184
12185         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
12186         with ATTRIBUTE_UNUSED.
12187         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
12188         (reg_scan): Likewise.
12189
12190         * reload.c (find_reloads): Remove unused variables `changed'.
12191
12192         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
12193         away const-ness.
12194         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
12195         Remove unused variable `insn'.
12196
12197         * toplev.c: Include loop.h.
12198         (report_file_and_line): Remove unnecessary prototype.
12199
12200         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
12201
12202         * unroll.c (biv_total_increment): Likewise.
12203
12204 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12205
12206         * reload1.c (emit_input_reload_insns): Restore old behaviour
12207         wrt. 'special' reloads.
12208
12209 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
12210
12211         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
12212         hash.h.  (cse.c): Don't depend on hashtab.h.
12213
12214         * cse.c: Don't include hashtab.h.
12215         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
12216         of dead functions.
12217         * ggc-simple.c: Don't include hash.h.
12218
12219 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
12220
12221         * dwarf2out.c (add_abstract_origin_attribute): Call
12222         gen_abstract_function on our function context.
12223
12224 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
12225
12226         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
12227
12228 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12229
12230         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
12231         case in switch.
12232
12233 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12234
12235         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
12236         constraints to "a!r".
12237
12238 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
12239
12240         * Makefile.in (calls.o): Depend on function.h.
12241         (alias.o): Likewise.
12242
12243 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
12244
12245         * reload1.c (emit_reload_insns): Break out code and variables into...
12246         (input_reload_insns, other_input_address_reload_insns,
12247         other_input_reload_insns, input_address_reload_insns,
12248         inpaddr_address_reload_insns, output_reload_insns,
12249         output_address_reload_insns, outaddr_address_reload_insns,
12250         operand_reload_insns, other_operand_reload_insns,
12251         other_output_reload_insns): ... new static variables, and...
12252         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
12253         do_output_reload): ... new functions.
12254
12255 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12256
12257         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
12258
12259 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12260
12261         * md.texi: Add c4x constraints documentation.
12262
12263 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12264
12265         * config/i386/dgux.c (struct option): Rename to
12266         lang_independent_option.
12267         (struct m_options): Add description field.
12268         (output_options): Rename option type, add sep declaration, output
12269         ix86_cpu_string and ix86_arch_string only if set.
12270         (output_file_start): Rename option type.
12271
12272 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
12273
12274         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
12275         stmp-int-hdrs.
12276         (libgcc2.a): Similarly.
12277
12278 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
12279
12280         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
12281         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
12282         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
12283
12284 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
12285
12286         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
12287         Remove redundant initialization of "frexpon" and "expon".
12288
12289 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12290
12291         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
12292
12293         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
12294         (store_constructor_field, expand_expr): Pass new arg.
12295
12296 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
12297
12298         * Makefile.in (explow.o): Depend on function.h.
12299
12300         * stor-layout.c (set_sizetype): Fix typo.
12301
12302 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
12303
12304         * function.c (cfun): Renamed from current_function.  All users
12305         changed.
12306         * function.h (cfun): Rename declaration as well.
12307
12308         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
12309         to be of type regset_head, not regset.  All users changed by adding
12310         address operator.
12311         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
12312
12313 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12314
12315         * config/c4x/rtems.h: New file.
12316
12317 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
12318
12319         * reload1.c (spill_failure): Take class of failed reload as argument
12320         and print it.  Caller changed.
12321
12322 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12323
12324         * rs6000.h (SUBTARGET_DEFAULT): New macro.
12325         (TARGET_SWITCHES): Allow subtargets to default switches.
12326         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
12327
12328 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
12329
12330         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
12331         in a main program.
12332
12333 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
12334
12335         * cccp.c (main): Define __STDC_VERSION__ as necessary.
12336         * cppinit.c (cpp_handle_option): Likewise.
12337
12338         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
12339         determine when to define.
12340
12341 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
12342
12343         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
12344         cmove with mismatched test and data modes.
12345
12346 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
12347
12348         * c-typeck.c (c_expand_start_case): Don't warn for long switch
12349         in system headers.
12350
12351 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12352
12353         * alias.c: Minor reformatting.
12354         * flow.c: Likewise.
12355         * regs.h: Likewise.
12356         * stor-layout.c: Likewise.
12357         * fold-const.c: Likewise.
12358         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
12359         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
12360         not arg itself.
12361         (size_int_wide): Cache nodes even if garbage collecting.
12362         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
12363         of SAVE_EXPR has no side effects.
12364         * cse.c: Move a comment.
12365         * tree.c: Minor reformatting.
12366         (int_size_in_bytes): Return -1 if constant overflows.
12367
12368 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12369
12370         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
12371
12372 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
12373
12374         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
12375         after any change to c-parse.in, even if objc-parse.y didn't
12376         change.  Oops.
12377
12378 1999-12-18  David S. Miller  <davem@redhat.com>
12379
12380         * toplev.c (rest_of_compilation): Restore BLOCK tree
12381         reconstruction and branch shortening changes lost in
12382         December 18th change.
12383
12384 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
12385
12386         * config/arm/linux-elf.h: Change all instances of
12387         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
12388         * config/arm/uclinux-elf.h: Likewise.
12389
12390 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
12391
12392         * toplev.c (notice, vmessage, v_message_with_file_and_line,
12393         v_message_with_decl, file_and_line_for_asm,
12394         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
12395         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
12396         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
12397         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
12398         pfatal_with_name, fatal_io_error, need_error_newline,
12399         last_error_function, last_error_tick, announce_function,
12400         default_print_error_function, print_error_function,
12401         report_error_function, fnotice, error_with_file_and_line,
12402         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
12403         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
12404         warning_with_decl, warning_for_asm, warning, pedwarn,
12405         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
12406         diagnostic.c
12407         (compile_file): Use fnotice instead of notice.  Adjust call.
12408
12409         * diagnostic.c: New file.
12410
12411         * Makefile.in (OBJS): Include diagnostic.o
12412         (diagnostic.o): Define dependence.
12413
12414 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12415
12416         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
12417         Tweak formatting.
12418
12419 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12420
12421         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
12422
12423 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
12424
12425         * fixtests.c (is_cxx_header): New fn, split out of
12426         double_slash_test.
12427         (else_endif_label): Allow "#endif // comment" in C++ headers,
12428         as determined by is_cxx_header.
12429         * fixfixes.c (else_endif_label_fix): Update comment.
12430         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
12431         a tty.
12432         * genfixes: Correct double thinko in commandline parsing.
12433         * hackshell.tpl: Generate correct sh syntax for bypass
12434         entries.
12435
12436         * inclhack.def (all): Whenever an inserted preprocessor
12437         conditional is split over multiple lines, use double
12438         backslashes in this file so the fixed header will be readable.
12439
12440         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
12441         and add bypass entry for correct version of this header.
12442         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
12443         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
12444
12445         (hpux8_bogus_inlines): New fix, split from...
12446         (ultrix_atof_param) ... here.
12447         (math_expression): Add bypass entry keyed to glibc comment
12448         indicating the problem has been dealt with; disable
12449         unnecessary sed operations; update commentary.
12450         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
12451         add select and bypass entries, simplify shell operation.
12452         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
12453
12454         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
12455          ultrix_atof_param): Add select entry.
12456         (stdio_va_list, sunos_mather_decl): Add bypass entry.
12457         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
12458         comments with the fixes they describe.
12459
12460         * c-parse.in (string action): Do not warn about ANSI string
12461         concatenation in system headers.  Affects C parser only.
12462         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
12463
12464 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
12465
12466         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
12467         compiling libgcc2 the macro depends always on arch cpp defines.
12468
12469 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
12470
12471         * loop.c (insert_loop_mem): Don't record MEMs from inside
12472         EXPR_LISTs.
12473
12474 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
12475
12476         * regclass.c (regclass): Do not use flowgraph when not optimizing.
12477
12478         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
12479         notes too, create one when replacement failed, attempt to simplify
12480         resulting notes.
12481         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
12482         or REG_EQUIV notes.
12483
12484 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
12485
12486         * crtstuff.c (__dso_handle): Declare.
12487         (__cxa_finalize): Likewise.
12488         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
12489         non-NULL.
12490
12491         * invoke.texi: Document -fuse-cxa-atexit.
12492
12493         * tree.h (ptr_type_node): Document.
12494         (const_ptr_type_node): Likewise.
12495
12496 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12497
12498         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
12499         (optimize_reg_copy_2): Likewise.
12500         (optimize_reg_copy_3): Likewise.
12501         (fixup_match_2): Likewise.
12502         (regmove_optimize): Likewise.
12503         (fixup_match_1): Liekwise.
12504
12505         * i386.md (HI to SImode promoting splitters): Rewrite.
12506         (pushsf mem peep2): New.
12507         (testhi to andhi peep2): Remove.
12508         * i386.h (x86_promote_QImode): New.
12509         (TARGET_PROMOTE_QImode): New.
12510         (PREDICATE_CODES): Add promotable_binary_operator.
12511         * i386.c (x86_promote_QImode0: New.
12512         (promotable_binary_operator): New.
12513         * i386-protos.h (promotable_binary_operator): New.
12514
12515         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
12516         condition.
12517         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
12518
12519 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
12520
12521         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
12522         * function.c (insert_block_after_note): Remove.
12523         (retrofit_block): Likewise.
12524         (identify_blocks): Fix indentation.
12525         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
12526         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
12527         * function.h (insert_block_after_note): Remove prototype.
12528         (retrofit_block): Likewise.
12529         * integrate.c (expand_inline_function): Don't call
12530         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
12531         just expand_start_bindings.  Use the block_map to remap old
12532         NOTE_BLOCKs to new ones.
12533         (integrate_decl_tree): Keep track of remapped blocks.
12534         * integrate.h (struct inline_remap): Add block_map.
12535         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
12536         NOTE_BLOCK on the notes.
12537         (expand_start_bindings): Rename to ...
12538         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
12539         (expand_end_bindings): Set NOTE_BLOCK.
12540         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
12541         reconstruct the BLOCK tree.
12542         * tree.h (expand_start_bindings): Macroize.  Call ...
12543         (expand_start_bindings_and_block): New function.
12544
12545 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
12546
12547         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
12548         to match the format.
12549
12550 1999-12-16  David S. Miller  <davem@redhat.com>
12551
12552         * expr.c (emit_move_insn_1): Only emit clobbers if one of
12553         the outputs is a SUBREG.
12554         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
12555         change.
12556
12557         * config/sparc/sparc.c (epilogue_renumber): Add default case
12558         to switch stmt.
12559
12560 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12561
12562         * toplev.c (rest_of_compilation): Run branch shortening after
12563         reg-stack.
12564
12565         * regclass.c (loop_depth): Remove
12566         (scan_one_insn): Do not handle LOOP_NOTE insns.
12567         (regclass): Go through basic blocks and set loop_cost
12568
12569 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
12570
12571         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
12572
12573 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12574
12575         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
12576         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
12577         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
12578
12579 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
12580
12581         * loop.c (insert_loop_mem): Ignore memory clobbers.
12582
12583         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
12584         to (OP A B).
12585
12586 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
12587
12588         * profile.c: Remove redundant #include "output.h".
12589
12590         * h8300.md (HImode preinc peephole): Fix typo.
12591
12592 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
12593
12594         * function.c (retrofit_block): Abort if we don't find a suitable insn.
12595         (insert_block_after_note): Abort if we don't have a previous block.
12596         Remove FN parameter.
12597         * function.h: Adjust.
12598
12599 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
12600
12601         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
12602         argument more than once.
12603
12604 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
12605
12606         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
12607
12608 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
12609
12610         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
12611
12612 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12613
12614         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
12615         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
12616         update stack_alignment_needed.
12617         (prepare_function_start): Initialize stack_alignment_needed
12618         * function.h (struct function): Add field stack_alignment_needed.
12619
12620 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12621
12622         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
12623         Handle live_throughout / dead_or_set instead of live_before /
12624         live_after.
12625         (save_call_clobbered_regs): Get register livenessinformation from
12626         chain->live_throughout.
12627         (add_stored_regs): New function.
12628         (insert_restore, insert_save): Add restored / saved registers to
12629         dead_or_set.
12630         * global.c (reg_dies): New parameter chain.
12631         (reg_becomes_live): Third parameter is regs_set now.
12632         Changed all callers.
12633         (reg_dies): New parameter chain.  Changed all callers.
12634         (build_insn_chain): Set live_throughout instead of
12635         live_before / live_after.
12636         * reload.h (struct insn_chain): Replace members live_before /
12637         live_after with live_throughout / dead_or_set.
12638         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
12639         instead of live_before / live_after.
12640         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
12641         (order_regs_for_reload, find_reg, finish_spills): Likewise.
12642         (choose_reload_regs_init): Likewise.
12643         * stupid.c (current_chain, find_clobbered_regs): Delete.
12644         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
12645         instead of chain->live_before / chain->live_after.
12646         (mark_hard_ref): New function.
12647         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
12648
12649 1999-12-15  David S. Miller  <davem@redhat.com>
12650
12651         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
12652
12653 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12654
12655         * flow.c (calculate_loop_depth): Make global, remove prototype,
12656         rewrite to use new loop infrastructure.
12657         (find_basic_block): Remove calculate_loop_depth call.
12658         * toplev.c (rest_of_compilation): Call find_basic_block.
12659         * output.h (calculate_loop_depth): Declare.
12660
12661         * flow.c (dump_flow_info): Dump loop_depth.
12662         (flow_loops_nodes_find): Increase loop_depth for basic block in the
12663         body.
12664         (flow_loops_find): Initialize the loop_depth for each basic block.
12665
12666 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
12667
12668         * tree.c (decl_function_context): Handle virtual functions.
12669
12670         * tlink.c (scan_linker_output): Don't look in demangled name when
12671         looking for linker output keywords.
12672
12673         * dwarfout.c (output_type): We can defer namespace-scope classes.
12674
12675 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
12676
12677         * regclass.c (record_reg_classes): Update comment for merging
12678         register class preferences in reg->reg copies.  Tighten conditions
12679         for merging register class preferences in reg->reg copies.
12680
12681 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
12682
12683         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
12684
12685 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
12686
12687         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
12688         (INIT_SECTION_ASM_OP): Delete.
12689         (FINI_SECTION_ASM_OP): Delete.
12690         (STARTFILE_SPEC): Define to hold just crtbegin.o.
12691
12692 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
12693
12694         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
12695         the abstract origin wasn't emitted.
12696
12697         * dwarf2out.c (class_scope_p): New fn.
12698         (gen_subprogram_die): Use it.
12699         (gen_variable_die): Use it.  Tweak logic.
12700         (gen_struct_or_union_type_die): Check context_die to determine
12701         if we're function-local.
12702         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
12703
12704 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
12705
12706         * loop.c (check_dbra_loop): Can't reverse a biv that has
12707         maybe_multiple set.
12708
12709 1999-12-14  Nick Clifton  <nickc@cygnus.com>
12710
12711         * config/arm/arm.c: Add support for -mcpu=arm720 command line
12712         switch.
12713
12714 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12715
12716         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
12717         for givs made from biv increments.
12718
12719 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
12720
12721         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
12722         * alpha.c (override_options): Recognize -mcpu=ev67.
12723         * alpha.h (CPP_CPU_EV67_SPEC): New.
12724         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
12725         (EXTRA_SPECS): Update.
12726
12727 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
12728
12729         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
12730         appropriate for -lang-c89 and -std=*.
12731         * cppinit.c (cpp_handle_option): Likewise.
12732         (new_pending_define): New, split out from cpp_handle_option.
12733         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
12734         or enable trigraphs for -ansi/-std=*.
12735
12736         * ginclude/stdarg.h (__va_copy): New.
12737         (va_copy): Don't define for C89.
12738
12739 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
12740
12741         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
12742         for long long multiply-accumulate.
12743
12744 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12745
12746         * regclass.c (scan_one_insn): Set loop_cost to 1 when
12747         optimizing for size.
12748
12749 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
12750
12751         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
12752         if something changed.  Back out that part of yesterday's changes.
12753
12754         * loop.c (loop_max_reg): New static variable.
12755         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
12756         max_reg_num.
12757         (scan_loop): Call reg_scan_update whenever we may have added new
12758         registers, and update loop_max_reg.
12759
12760 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12761
12762         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
12763         when source does not die.
12764
12765         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
12766
12767 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
12768
12769         * config/sparc/linux64.h (TARGET_LIVE_G0,
12770         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
12771         variants on Linux.
12772         * config/sparc/linux.h (TARGET_LIVE_G0,
12773         TARGET_BROKEN_SAVERESTORE): Likewise.
12774         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
12775         TARGET_BROKEN_SAVERESTORE): Likewise.
12776
12777         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
12778         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
12779         not %g2.
12780         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
12781         as sparc64 block profiling register.
12782         * config/sparc/sparc.c (sparc_override_options): Allow block
12783         profiling with -m32.
12784         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
12785         profiling register.
12786         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
12787         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
12788         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
12789
12790         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
12791         for sparc64.
12792         * config/sparc/sparc.h: Likewise.
12793         * config/sparc/xm-sysv4-64.h: Likewise.
12794         * config/float-sparc.h: Likewise.
12795         * glimits.h: Likewise.
12796         * longlong.h: Likewise.
12797
12798         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
12799         (ASM_IDENTIFY_GCC): Remove.
12800
12801 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
12802
12803         * combine.c (combine_simplify_rtx): Don't make shared rtl.
12804         (simplify_logical): Likewise.
12805
12806 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
12807
12808         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
12809         * cppfiles.c (INO_T_EQ): Likewise.
12810
12811 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
12812
12813         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
12814         * i386/mingw32.h (LIB_SPEC): Likewise.
12815         (STARTFILE_SPEC): Likewise.
12816         * i386/uwin.h (LIB_SPEC): Likewise.
12817         (STARTFILE_SPEC): Likewise.
12818
12819         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
12820         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
12821
12822 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
12823
12824         * combine.c (combine_simplify_rtx): Fix order of checks for
12825         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
12826
12827 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
12828
12829         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
12830         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
12831
12832 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
12833
12834         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
12835         defined.
12836         * regclass.c (inv_reg_alloc_order): New array.
12837         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
12838
12839         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
12840         counted_for_groups, counted_for_nongroups.  Add fields rld and
12841         n_reloads.
12842         * reload.c (push_secondary_reload): Don't set nongroup field of
12843         new reloads.
12844         (push_reload): Likewise.
12845         (find_reloads): Delete code to compute nongroup fields.
12846         * reload1.c (reload_insn_firstobj): New static variable.
12847         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
12848         users changed.
12849         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
12850         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
12851         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
12852         functions.
12853         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
12854         functions.
12855         (struct hard_reg_n_uses): Deleted.
12856         (potential_reload_regs): Deleted.
12857         (init_reload): Initialize spilled_pseudos and pseudos_counted.
12858         (reload): Don't try to allocate reload registers if we already know
12859         we have to make another pass.  Call select_reload_regs.  Free memory
12860         starting with reload_firstobj when starting another pass.
12861         Don't allocate spilled_pseudos.
12862         (calculate_needs_all_insns): Call copy_reloads for an insn that
12863         needs reloads; don't call calculate_needs.
12864         (spill_cost): New static array.
12865         (used_spill_regs_local): New static variable.
12866         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
12867         to compute potential_reload_regs.
12868         (find_reload_regs): Completely rewritten to use find_reg.
12869         (allocate_reload_reg): Don't test counted_for_groups or
12870         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
12871         all cllers changed.
12872         (choose_reload_regs): Add fallback code that uses the existing
12873         register allocation from find_reload_regs.
12874
12875 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
12876
12877         * flow.c (create_edge_list): Cast xmalloc return value.
12878
12879 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
12880
12881         * doprnt.c: Remove incorrect comment closure.
12882
12883         * cse.c: Fix a few minor whitespace goofs.
12884
12885 1999-12-13  Don Bowman  <don@pixstream.com>
12886
12887         * mips/vxworks.h: Fix problem with comment termination.
12888         (EXTRA_SECTIONS): Add in_sbss.
12889         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
12890
12891 1999-12-12  David S. Miller  <davem@redhat.com>
12892
12893         * cse.c (struct cse_reg_info): Add hash_next member,
12894         reorder rest of struct for better packing on 64-bit
12895         hosts.
12896         (cse_reg_info_tree): Kill.
12897         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
12898         REGHASH_FN): New custom pow2 hash mechanism.
12899         (NBUCKETS): Kill.
12900         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
12901         use a pow2 hash table.
12902         (get_cse_reg_info): Rework to use new REGHASH.
12903         (new_basic_block): Likewise, use HASH_SIZE, and inline
12904         free_element call.
12905         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
12906         and inline free_element call.
12907         (lookup_as_function, insert, flush_hash_table, invalidate,
12908         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
12909         invalidate_for_call, use_related_value, find_comparison_args,
12910         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
12911         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
12912         get_element): Kill.
12913
12914 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
12915
12916         * cse.c (cse_basic_block): Free qty_table consistently.
12917
12918 1999-12-12  David S. Miller  <davem@redhat.com>
12919             Jakub Jelinek    <jakub@redhat.com>
12920
12921         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
12922         SUBREGs by hand, gen the appropriate hard reg directly.
12923         (movtf reg/mem split): Likewise and alter_subreg on destination
12924         if necessary.
12925         (movtf mem/reg split): Similarly.
12926         (movdf_cc_sp64): Rename from hidden pattern.
12927         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
12928         (movtf_cc_sp64, following split): New pattern and splitter.
12929         (movdf_cc_reg_sp64): Rename from hidden pattern.
12930         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
12931         TARGET_HARD_QUAD.
12932         (movtf_cc_reg_sp64, following split): New pattern and splitter.
12933
12934 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
12935
12936         * loop.c (load_mems): Don't hoist written floating point mem
12937         if -ffloat-store.
12938
12939 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
12940
12941         * except.h (struct eh_queue): Add `next' pointer.
12942         (struct eh_status): Make x_ehqueue a pointer.
12943         (push_ehqueue):  Declare.
12944         (pop_ehqueue): Likewise.
12945         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
12946         pointer.
12947         (expand_fixup_region_end): Likewise.
12948         (expand_leftover_cleanups): Likewise.
12949         (push_ehqueue): Define.
12950         (pop_ehqueue): Likewise.
12951         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
12952         than doing it inline.
12953         (expand_start_all_catch):  Adjust now that ehqueue is a
12954         pointer.
12955         (mark_eh_queue): Mark all level of the queue.
12956         (mark_eh_status):  Adjust now that ehqueue is a
12957         pointer.
12958         (init_eh_for_function): Allocate ehqueue.
12959         (free_eh_status): Free it.
12960         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
12961         expansion for a fixup.
12962
12963 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12964
12965         * gthr-single.h (__gthread_active_p): Add prototype arguments.
12966
12967         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
12968         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
12969         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
12970         function_ptr, getpagesize, __enable_execute_stack,
12971         __enable_execute_stack, __clear_insn_cache,
12972         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
12973         _cleanup, _exit, __default_terminate, __terminate_func,
12974         __terminate, __empty, __throw, new_eh_context,
12975         eh_context_initialize, eh_context_static, eh_context_specific,
12976         get_eh_context, __get_eh_context, __get_eh_info,
12977         init_reg_size_table, eh_threads_initialize,
12978         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
12979         __unwinding_cleanup, throw_helper, __throw, __rethrow,
12980         __pure_virtual): Add prototype arguments.
12981         (__bb_exit_func): Cast a sizeof to long when comparing against one.
12982         Cast a signed value to unsigned long when comparing against one.
12983         (new_eh_context): Wrap in _GTHREADS macro.
12984         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
12985         declaration.
12986         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
12987         (throw_helper): Initialize variables `handler_p' and `pc_p'.
12988
12989 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12990
12991         * combine.c (record_promoted_value): Remove unused variable
12992         `links2'.
12993
12994         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
12995
12996         * global.c (record_conflicts): Likewise for `j'.
12997
12998         * genoutput.c (output_insn_data): Don't unnecessarily cast away
12999         const-ness.
13000
13001 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13002
13003         * i386-protos.h (output_387_binary_op, output_fix_trunc,
13004         output_fp_compare): Constify a char*.
13005
13006         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
13007         static prototypes.
13008         (override_options, ix86_comp_type_attributes, print_operand,
13009         output_387_binary_op, output_fix_trunc, output_fp_compare):
13010         Constify a char*.
13011         (ix86_sched_reorder): Mark parameter `clock_var' with
13012         ATTRIBUTE_UNUSED.
13013
13014         * i386.h (DEBUG_PRINT_REG): Constify a char*.
13015
13016 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
13017
13018         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
13019         operand, for use in the Java front-end.
13020
13021 1999-12-10  Ben Collins  <bcollins@debian.org>
13022
13023         * configure.in: Fix typo for "-64" in 64bit as check.
13024         * configure: Rebuilt.
13025
13026 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
13027
13028         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
13029         appropriate.
13030
13031 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13032
13033         * c-parse.in (string): With -Wtraditional, warn if ANSI string
13034         concatenation is utilized.
13035
13036         * invoke.texi (-Wtraditional): Document it.
13037
13038 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13039
13040         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
13041         Cast a ptrdiff_t to long and pass it to printf with %ld.
13042
13043 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
13044
13045         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
13046         68881, we have no 68881 registers at all.
13047         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
13048         value in a 68881 register if it is available.
13049
13050 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
13051
13052         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
13053         for long long multiply-accumulate.
13054
13055 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
13056
13057         * loop.c (insert_loop_mem): Undo last change.
13058
13059 1999-12-10  David S. Miller  <davem@redhat.com>
13060
13061         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
13062         New functions.
13063         * config/sparc/sparc-protos.h: Add them.
13064         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
13065         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
13066         constraints which use those helpers.
13067         (EXTRA_CONSTRAINT): Use this new macro.
13068         * md.texi: Update sparc target constraints documentation.
13069         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
13070         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
13071         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
13072         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
13073         (movsf high/lo_sum split): Rework for new patterns.
13074         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
13075
13076 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
13077
13078         * c-common.c (c_common_nodes_and_builtins):
13079         Create __builtin_ptrdiff_t and __builtin_size_t.
13080
13081 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
13082
13083         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
13084
13085 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13086
13087         * regclass.c (globalize_reg): Re-instate test that allows
13088         fixed registers to be declared as a variable even after functions
13089         are defined.
13090
13091 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13092
13093         * i386.md (cpu attribute): Add "athlon".
13094         (athlon_decode): New attribute.
13095         (Athlon scheduling units definitions): New.
13096         (fcmp and shld patterns): Set athlon_decode to "vector".
13097         * i386.c (athlon_cost): New.
13098         (m_ATHLON): New.
13099         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
13100         x86_use_sahf): Set for Athlon.
13101         (x86_use_fiop): Unset for Athlon.
13102         (override_options): Define Athlon alignments and "athlon" name.
13103         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
13104         * i386.h (TARGET_ATHLON): New.
13105         (enum processor_type): Add PROCESSOR_ATHLON.
13106         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
13107         for CPU_DEFAULT==5
13108         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
13109
13110 1999-12-09  Andreas Jaeger  <aj@suse.de>
13111
13112         * loop.c (record_biv): Declare parameter as int.
13113
13114         * config/i386/i386-protos.h: Declare long_memory_operand.
13115
13116 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
13117
13118         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
13119         EXPR_WITH_FILE_LOCATION.
13120
13121 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
13122
13123         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
13124         in expander.
13125
13126         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
13127
13128         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
13129         updating code.
13130
13131 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
13132
13133         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
13134         default on linux64 again.
13135         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
13136         models for multilibing.
13137         * genmultilib: Accept | as alternative separator within a set in
13138         MULTILIB_OPTIONS.
13139
13140         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
13141
13142         * calls.c (precompute_arguments): Make sure initial_value contains
13143         value pseudo which CSE expects.
13144         * cse.c (struct set): New entry orig_src.
13145         (cse_insn): Set it early on entry, use it for libcall EQUIV note
13146         replacement.
13147
13148 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
13149
13150         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
13151
13152 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
13153
13154         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
13155
13156 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
13157
13158         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
13159         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
13160
13161         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
13162         if TARGET_ARCH32.
13163
13164         * longlong.h: Merge in changes from glibc.
13165         Also don't clobber %g2 register in 32bit SPARC assembly, so that
13166         -mno-app-regs libgcc can be compiled.
13167         * libgcc2.c: Add defines so that the updated longlong.h
13168         can be used in libgcc2.a. Also, make sure on most architectures
13169         (at least on all which have optimized code in longlong.h defined
13170         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
13171
13172 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13173
13174         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
13175         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
13176         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
13177         is GNU ld.
13178         * configure: Rebuilt.
13179
13180 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
13181
13182         * alpha.c (secondary_reload_class): For !BWX, sub-simode
13183         outputs require a register.
13184
13185 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
13186
13187         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
13188         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
13189         functions like dptoul will be resolved.
13190         (libgcc2.a): Make sure that the object files from DPBIT are named
13191         differently (prefix `_dp') from those that would be coming from
13192         FPBIT.
13193
13194 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
13195
13196         * configure.in: When target is sparc* and tm_file contains 64,
13197         test for 64bit support in assembler.  If not supported, remove
13198         sparc/t-sol2-64 from target-dependent Makefile fragments.
13199         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
13200         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
13201         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
13202         * acconfig.h (AS_SPARC64_FLAG): Added.
13203         * configure, config.in: Rebuilt.
13204         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
13205         support.  Use AS_SPARC64_FLAG.
13206
13207 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
13208
13209         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
13210         suitable for holding OFmode values so that gcc works with complex
13211         quad long doubles.
13212         (hard_64bit_mode_classes): Likewise.
13213
13214         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
13215         so that it is actually matched.
13216         (sethi_di_medlow): Likewise.
13217
13218         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
13219         as legitimate constant if -mvis.
13220         * config/sparc/sparc.md (movtf): Likewise.
13221         (clear_sf): Use const_double_operand.
13222         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
13223
13224         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
13225         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
13226         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
13227         routines, _Qp_* cannot be handled like that now.
13228         (INIT_TARGET_OPTABS): Likewise.
13229         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
13230         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
13231         sparc_emit_float_lib_cmp if ARCH64 and soft float.
13232         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
13233         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
13234         divtf3, sqrttf3): New expanders.
13235         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
13236         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
13237         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
13238         non-_hq patterns.
13239
13240         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
13241         * configure: Rebuilt.
13242         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
13243         -mcpu is given and we're doing 64bit compiles.
13244
13245 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
13246
13247         * loop.h (struct induction): Add multi_insn_incr.
13248         * loop.c (basic_induction_var): New multi_insn_incr argument.
13249         Set it if we search back through previous insns for the biv.
13250         (record_biv): New multi_insn_incr argument; fill in struct induction.
13251         (strength_reduce): Discard an iv with multiple bivs, any of
13252         which require multiple insns to increment.
13253
13254 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13255
13256         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
13257         documentation.
13258
13259 1999-12-06  David S. Miller  <davem@redhat.com>
13260
13261         * combine.c (check_promoted_subreg): Do not conditionalize this upon
13262         PROMOTE_FUNCTION_RETURN.
13263
13264 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
13265
13266         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
13267         and handle REG_UNUSED note on insn.
13268
13269         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
13270         inner_mask instead of mask.
13271
13272 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
13273
13274         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
13275         zero if there was an error.
13276
13277 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
13278
13279         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
13280         output string.
13281
13282         * longlong.h: Fix clobbers in SPARC asm statements.
13283
13284         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
13285         valid sethi operations when TARGET_ARCH64.
13286
13287         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
13288         always use move_by_pieces to avoid infinite recursion.
13289         (restore_fixed_argument_area): Likewise.
13290
13291         * combine.c (check_promoted_subreg, record_promoted_value): New
13292         functions.
13293         (combine_instructions): Use them to retain nonzero and sign bit
13294         information after SUBREGs are eliminated by optimizations in
13295         this pass if PROMOTE_FUNCTION_RETURN.
13296
13297         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
13298         .register declaration. Don't use variables with __ prefixes.
13299
13300 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13301
13302         * fold-const.c (optimize_bit_field_compare): Only use one mode
13303         for both RHS and LHS in non-constant case.
13304
13305 1999-12-06  Nathan Sidwell  <nathan@acm.org>
13306
13307         * frame.c (start_fde_sort): Only allocate erratic array, if
13308         linear one was allocated. Return allocated flag.
13309         (fde_insert): Only insert, if there's a valid array.
13310         (fde_end_sort): Split, sort and merge if linear and erratic
13311         arrays exist, else just sort linear one.
13312         (search_fdes): New function. Linear search through original fde
13313         structure.
13314         (frame_init): Permit multiple initializations. Cope with
13315         memory shortages.
13316         (find_fde): Fallback on linear search, if failed to sort array.
13317         (__deregister_frame_info): Only free sorted array, if we
13318         allocated it.
13319
13320 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
13321
13322         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
13323
13324 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
13325
13326         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
13327
13328 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
13329
13330         * tree.h (special_function_p): Declare.
13331         * calls.c (special_function_p): Make it global.  Don't take `name'
13332         as a parameter.  Fix typo in 1999-11-28 change.
13333         (expand_cal): Adjust.
13334
13335 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
13336
13337         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
13338         * tree.h (EXPR_WFL_FILENAME): Define in terms of
13339         EXPR_WFL_FILENAME_NODE.
13340         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
13341         the TREE_CHAIN.
13342         * print-tree.c (print_note): Print TREE_PRIVATE and
13343         TREE_PROTECTED.
13344
13345         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
13346         the original die cannot be found.
13347
13348         * varray.h (varray_head_tag): Add elements_used.
13349         (VARRAY_PUSH): New macro.
13350         (VARRAY_POP): Likewise.
13351         (VARRAY_TOP): Likewise.
13352         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
13353         types.
13354         * varray.c (varray_init): Initialize elements_used.
13355         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
13356         (INTEGRATE_H): New variable.
13357         (integrate.o): Depend on INTEGRATE_H.
13358         (unroll.o): Likewise.
13359
13360         * function.h (insert_block_after_note): Declare.
13361         * function.c (insert_block_after_note): Split out from ...
13362         (retrofit_block): ... here.
13363
13364         * stmt.c (expand_fixup): Fix typo in comment.
13365
13366 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13367
13368         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
13369         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
13370         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
13371         (regmove_optimize, fixup_match_1): Likewise.
13372
13373 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13374
13375         * flow.c (flow_loops_dump): Add missing argument when calling
13376         flow_loop_nested_p.
13377
13378 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
13379             Greg McGary  <gkm@gnu.org>
13380
13381         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
13382         (init_attributes): Add A_NO_LIMIT_STACK.
13383         (decl_attributes): Handle A_NO_LIMIT_STACK.
13384         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
13385         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
13386         Handle stack bounds checking.
13387         * flags.h (flag_stack_check): Use the word 'probe' rather than
13388         'check', because the flag doesn't actually cause any checking to
13389         be done.
13390         * function.c (expand_function_start): Set
13391         current_function_limit_stack.
13392         * function.h (struct function): Add limit_stack.
13393         (current_function_limit_stack): Define.
13394         * invoke.texi (Code Gen Options): Document new options.
13395         * rtl.h: Declare stack_limit_rtx.
13396         * toplev.c (stack_limit_rtx): New variable.
13397         (decode_f_option): Handle new options -fstack-limit-register=REG,
13398         -fstack-limit-symbol=IDENT, -fno-stack-limit.
13399         (main): Add stack_limit_rtx as GC root.
13400         * tree.h (DECL_NO_LIMIT_STACK): New macro.
13401         (struct tree_decl): New member no_limit_stack.
13402
13403         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
13404         stack_limit_rtx.
13405         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
13406         (conditional_trap+1): Get new mnemonic correct.
13407         (conditional_trap+2): New pattern for DImode traps.
13408
13409         * config/m68k/m68k.c (output_function_prologue): Handle
13410         stack_limit_rtx.
13411         * config/m68k/m68k.md (trap): New insn.
13412         (conditional_trap): New insn.
13413         * md.texi (Standard Names): Document `trap' and
13414         `conditional_trap'.
13415         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
13416         so a cc0 setter doesn't get emitted at some random place in the
13417         function.
13418
13419         * config/i960/i960.md (trap): New insn.
13420         (conditional_trap): New expander.
13421         (conditional_trap+1, conditional_trap+2): New insns for signed
13422         and unsigned cases.
13423         * config/i960/i960.c (i960_function_prologue): Use
13424         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
13425
13426 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
13427                           Geoffrey Keating  <geoffk@cygnus.com>
13428
13429         * flags.h (warn_padded, warn_packed): Add global var decls.
13430         * toplev.c (warn_padded, warn_packed): Add global var defns.
13431         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
13432         * stor-layout.c (layout_record): Add local variable `type'
13433         to hold often-used TREE_TYPE (field).  Add local variable
13434         `unpacked_align' to hold alignment that would be in force
13435         if no `packed' attribute were present.  Warn if `packed' attribute
13436         is unnecessary, or even harmful.  Warn when gcc inserts padding
13437         to satisfy alignment requirements of members.  Use NULL_TREE
13438         when checking whether var_size is set.
13439         * invoke.texi: Document new flags.
13440
13441 1999-12-03  Nathan Sidwell  <nathan@acm.org>
13442
13443         * frame.c (fde_split): Reimplement to avoid variable sized array.
13444
13445 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13446
13447         * combine.c (try_combine): Before fixing up LOG_LINKS for the
13448         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
13449
13450 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
13451
13452         * invoke.texi: Document the mips option -mno-crt0
13453
13454 1999-12-02  Mike Karr  <mkarr@mathworks.com>
13455
13456         * cccp.c (argdata): Added free_ptr member.
13457         (macroexpand): Initialize free_ptr of each argument. When an
13458         argument's buffers are freed, if the argument's free_ptr corresponds
13459         to a buffer on the input stack, then return the free_ptr to that stack
13460         frame, otherwise, free it.
13461         (macarg): If an argument begins and ends on the same input stack level,
13462         then transfer the free_ptr of that buffer to the argument in case
13463         the stack is popped during the processing of a subsequent argument.
13464
13465 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
13466
13467         * loop.c (note_reg_stored): New function.
13468         (struct note_reg_stored_arg): New structure.
13469         (try_copy_prop): Change to be more conservative; only replace within
13470         one extended basic block and stop replacing if a store to the
13471         replacement reg is seen.
13472
13473 1999-12-02  Nick Clifton  <nickc@cygnus.com>
13474
13475         * config/fp-bit.c: Initialise all fields of the NAN
13476         constants.
13477
13478         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
13479         to HANDLE_PRAGMA.
13480
13481 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
13482
13483         * i386.md (extend?f?f2): Force the input into a register, not
13484         the output.
13485
13486 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
13487
13488         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
13489         regclass' sake.
13490         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
13491         alternative because setting up 64bit constant is usually costly,
13492         especially when reload is in progress or completed.
13493         (movdf_const_intreg_sp64): Likewise.
13494         (movdf_const_intreg split): Fix building up constants when
13495         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
13496
13497 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
13498
13499         * combine.c (if_then_else_cond): Use const_true_rtx instead of
13500         const1_rtx for return values in EQ/NE comparison against (const_int 0)
13501         case.
13502
13503         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
13504         (asm_file_start): Emit .am33 into assembly file when compiling for
13505         the AM33.
13506         (print_operand_address): Handle POST_INC addresses.
13507         (can_use_return_insn, initial_offset): Check AM33 registers too.
13508         (expand_prologue): Check & save AM33 registers too.
13509         (expand_epilogue): Similarly.
13510         (secondary_reload_class): Handle AM33 specific secondary reloads.
13511         (output_tst): Emit efficient code for the AM33 too.
13512         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
13513         (TARGET_SWITCHES): Add -mam33 switch.
13514         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
13515         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
13516         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
13517         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
13518         (enum reg_class, REG_CLASS_NAMES): Likewise.
13519         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
13520         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
13521         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
13522         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
13523         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
13524         (HAVE_POST_INCREMENT): Define.
13525         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
13526         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
13527         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
13528         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
13529         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
13530         (zero_extend to SI from QI/HI): Likewise.
13531         (sign_extend to SI from QI/HI): Likewise.
13532         (mulsidi3, umulsidi3): New patterns for the AM33.
13533         (tstsi with zero extension from QI/HI): Add AM33 variants.
13534         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
13535         (return_internal_regs, store_movm): Handle new AM33 registers.
13536         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
13537         (LIBGCC, INSTALL_LIBGCC): Likewise.
13538         * invoke.texi: Document new flags.
13539
13540 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13541
13542         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
13543         (addsi3_carry): Likewise.
13544         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
13545         (sbbsi3_carry): Likewise.
13546         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
13547         (mulhi3): Likewise.
13548         (test?i_1): Ensure that only one operand is memory.
13549         (conditional move patterns): likewise.
13550         (shift and rotate patterns): Rewrite to expander, add
13551         "binary_operator_ok" to the condition.
13552
13553         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
13554         * i386.h (procesor_costs): Add movzbl_load field.
13555         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
13556         non-Q registers, accept DImode registers anywhere.
13557         (Q_CLASS_P): New.
13558         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
13559         * i386.c (*_cost): Set value for movxbl_load field.
13560
13561         * (addsi): New add to lea splitter.
13562         (ashlsi): Likewise.
13563         (lea to add/shift peep2): New.
13564
13565 1999-12-01  Mark Salter <msalter@cygnus.com>
13566
13567         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
13568         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
13569         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
13570
13571 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13572
13573         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
13574         * i386.md (movsi_xor): New.
13575         (movsi_or): New.
13576         (movsi_1, movhi_1, movqi_1): Remove.
13577         (movsi_2): Rename to movsi_1.
13578         (movhi_2): Rename to movhi_1.
13579         (movqi_2): Rename to movqi_1.
13580         (movdi_1): Remove; remove splitter.
13581         (movdi_2): Rename to movdi_1.
13582         (divmodsi4 splitter): Do not emit clobbers for move patterns.
13583         (long move peep2): Do not create QI or HI mode mov0s
13584         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
13585
13586         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
13587         rewrite splitters.
13588
13589         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
13590         (abs?f2_if): Likewise.
13591
13592 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
13593
13594         * ggc.h (ggc_test_and_set_mark): New macro.
13595         (ggc_mark_rtx): Use ggc_test_and_set_mark.
13596         (ggc_mark_tree): Likewise.
13597         (ggc_mark_rtvec): Likewise.
13598         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
13599
13600 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
13601
13602         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
13603         containing types.
13604         (decl_scope_table): Just an array of trees now.
13605         (push_decl_scope): Simplify.
13606         (dwarf2out_init): Adjust.
13607         (local_scope_p): New fn.
13608         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
13609         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
13610         (gen_typedef_die): Likewise.
13611         (gen_lexical_block_die): Don't call push/pop_decl_scope.
13612         (gen_inlined_subroutine_die): Likewise.
13613         (gen_abstract_function): Set current_function_decl temporarily.
13614         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
13615         Handle block extern declarations.  Don't call push/pop_decl_scope.
13616         (gen_decl_die): Fix logic for block externs.
13617
13618 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13619
13620         * calls.c (special_function_p): Remove `realloc' and add `strdup'
13621         to the list of functions which have attribute malloc by default.
13622
13623 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13624
13625         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
13626         integer constant does not match the traditional type, limit the
13627         warnings to cases where the base of the type is ten.
13628
13629         * invoke.texi (-Wtraditional): Document it.
13630
13631 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13632
13633         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
13634         * rs6000.md: Only access a CONST_INT with INTVAL
13635
13636 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
13637
13638         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
13639         (compute_nearerout): Likewise.
13640         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
13641         size_t to unsigned long for formatting.
13642
13643 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
13644
13645         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
13646         Allow the user to override call-used/fixed state of %g2-5
13647         registers from the command line (with the exception of %g4 for
13648         embedded model).
13649         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
13650         there is a higher chance of having a leaf function.
13651         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
13652         for ARCH64 which has %ccr register.
13653         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
13654         patterns.
13655         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
13656         insn accept into delay slot any insn which does not use %[ol]
13657         registers.  Accept some LO_SUM and shift left by 1 for the normal
13658         restore case.
13659         (output_function_epilogue): Likewise.
13660         (epilogue_renumber): Added argument which inhibits any renumbering
13661         and just tests if the rtx does not use any %[ol] registers.
13662         (output_return): Reflect above change.
13663
13664 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
13665
13666         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
13667         aggregate passing for sizes <= 16 bytes.
13668
13669 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
13670
13671         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
13672         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
13673         * reload.c (find_dummy_reload): Likewise.
13674         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
13675         * reload1.c (reload_as_needed): Likewise.
13676         * stupid.c (stupid_find_reg): Likewise.
13677         * tm.texi (Obsolete Register Macros): Delete section.
13678         * gmicro.h: Remove all traces of the two macros.
13679         * i386.h: Likewise.
13680         * m88k.h: Likewise.
13681         * mips.h: Likewise.
13682
13683 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
13684
13685         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
13686         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
13687         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
13688         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
13689         units for the sparclite86x chip.
13690         (flush): Revert October 14th change; add SImode specifically.
13691         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
13692         * invoke.texi: Document it.
13693
13694 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
13695
13696         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
13697         psimode_truncation_operand.
13698
13699         * config/mn10200/mn10200.c (psimode_truncation_operand): New
13700         function.  Return true if the operand is either a MEM valid
13701         for a PSImode address or not a MEM at all.
13702
13703         * config/mn10200/mn10200.md (truncsipsi2): Use
13704         psimode_truncation_operand.
13705
13706 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13707
13708         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
13709         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
13710         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
13711         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
13712         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
13713         (flow_loop_level_compute, low_loops_level_compute): Likewise.
13714         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
13715         * basic-block.h: Protect from multiple inclusion.
13716         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
13717         (struct loops, struct loop): Define structures.
13718         * sbitmap.c (sbitmap_a_subset_b_p): New function.
13719         * sbitmap.h: Protect from multiple inclusion.
13720         (sbitmap_a_subset_b_p): Add prototype.
13721         * Makefile.in (LOOP_H): New macro.
13722         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
13723
13724 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
13725
13726         * cppinit.c (CAT): The argument list of this macro may not contain
13727         spaces !
13728
13729 1999-11-29  David S. Miller  <davem@redhat.com>
13730
13731         Move quantity tables and register equivalence chains into
13732         per-qty and per-register structure arrays respectively.
13733         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
13734         qty_const_insn, qty_comparison_code, qty_comparison_const,
13735         qty_comparison_qty): Delete, replace with...
13736         (qty_table): this structure table.
13737         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
13738         (reg_eqv_table): this structure table.
13739         (make_new_qty): Add argument MODE.  Caller updated.
13740         Update to use qty_table and reg_eqv_table.
13741         (make_regs_eqv, delete_reg_equiv, insert_regs,
13742         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
13743         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
13744         cse_process_notes, cse_main, cse_basic_block): Likewise.
13745
13746 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13747
13748         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
13749         operation if C is negative.
13750         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
13751         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
13752         law for some divisions if constant is negative and change other
13753         divisions to the opposite rounding.
13754
13755         * expr.c (store_constructor_field): If bit position is not multiple
13756         of alignment of TARGET's mode, use BLKmode.
13757
13758         * expr.c (expand_expr_unaligned): Add more code from full case
13759         that is needed when OP0 is in a register.
13760
13761 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13762
13763         * dwarfout.c (field_byte_offset): Size can be zero if there was
13764         an error.
13765
13766 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
13767
13768         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
13769         (associate_trees): Delete unused var TEM.
13770         (extract_muldiv): Delete unused var CANCEL_P.
13771
13772         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
13773         (target_isinf, target_isnan, target_negative): Add return types to
13774         function definitions.
13775
13776 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
13777
13778         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
13779         * fixinc/hackshell.tpl: ditto
13780         * fixinc/fixtests.c(double_slash_test): more C++ header testing
13781         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
13782
13783 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
13784
13785         * reload.c (push_reload): When looking for a register to put into
13786         reg_rtx, make sure all hard regs in a multi-reg register are in the
13787         right class and nonfixed.
13788
13789         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
13790         pending_read_insns, pending_write_insns, pending_read_mems,
13791         pending_write_mems, pending_list_length, last_pending_memory_flush,
13792         last_function_call, sched_before_next_call): Move static variables
13793         into a structure.
13794         (bb_ prefixed versions): Replace with single array bb_deps.
13795         (struct deps): New structure.
13796         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
13797         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
13798         argument of type "struct deps *"; use that instead of global
13799         variables.  All callers changed.
13800         (init_rgn_data_dependencies): Delete function.
13801         (init_rtx_vector): Delete function.
13802         (init_deps): New function.
13803
13804         (free_pending_lists): Simplify, we always use the bb_deps array even
13805         if only one basic block.
13806         (compute_block_backward_dependences): Likewise.
13807         (schedule_region): Likewise.
13808
13809         (propagate_deps): New function, broken out of
13810         compute_block_backward_dependences.
13811         (compute_block_backward_dependences): Use it.
13812
13813         * alpha.md: Delete useless patterns that tried to work around
13814         register elimination problems.
13815
13816         * unroll.c (loop_iterations): Don't abort if iteration variable
13817         was made by loop.
13818
13819         From Joern Rennecke:
13820         * reload1.c (reloads_conflict): Reverse test comparing operand
13821         numbers when testing for conflict between output/outaddr reloads.
13822
13823 1999-11-29  David S. Miller  <davem@redhat.com>
13824
13825         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
13826         arg.
13827         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
13828
13829 1999-11-28  Robert Lipe  <robertl@cygnus.com>
13830
13831         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
13832         table from .fini into .dtor.
13833
13834 1999-11-28  Anthony Green  <green@cygnus.com>
13835
13836         * tree.h (struct tree_decl): Add malloc_flag.
13837         (DECL_IS_MALLOC): Define.
13838         * c-common.c (attrs): Add A_MALLOC attribute.
13839         (init_attributes): Add this attribute to the table.
13840         (decl_attributes): Handle malloc attribute.
13841         * calls.c (special_function_p): Check for the malloc attribute.
13842         * extend.texi (Function Attributes): Document malloc attribute.
13843
13844 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
13845
13846         * pa.md (reload shift-add patterns): Remove.
13847
13848 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13849
13850         * reorg.c (dbr_schedule) Print more statistics. Corrected
13851         problem when printing info when 3 delay slots are filled.
13852
13853 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
13854
13855         * combine.c (setup_incoming_promotions): Pass an outgoing
13856         regno to FUNCTION_ARG_REGNO_P which it expects.
13857
13858 1999-11-28  Andreas Jaeger  <aj@suse.de>
13859
13860         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
13861
13862 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
13863
13864         * cccp.c (do_include): Avoid initialization of automatic variable.
13865
13866         * integrate.c (mark_stores): Function definition made void, to match
13867         previous declaration.
13868         * regclass.c (dump_regclass): Ditto.
13869         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
13870
13871 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13872
13873         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
13874         known to be multiple of divisor.
13875
13876         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
13877
13878         * combine.c (try_combine): Add code to try to merge a set of a
13879         two-word pseudo to a constant with a setting of one of those words
13880         to a constant.
13881
13882         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
13883         (split_tree): Completely rework to make more general.
13884         (make_range, fold): Call negate_expr.
13885         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
13886         (fold, associate): Call new split_tree and associate_trees.
13887         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
13888
13889 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
13890
13891         * loop.c (try_copy_prop): Avoid GNU C extension.
13892
13893 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
13894
13895         * except.c (init_eh_for_function): Still zero eh_return_context,
13896         eh_return_stack_adjust, and eh_return_handler.
13897
13898         * except.h (eh_status): Adjust documentation for x_protect_list.
13899         (begin_protect_partials): New function.
13900         * except.c (enqueue_eh_entry): Fix formatting.
13901         (get_first_handler): Add consistency check.
13902         (add_partial_entry): Adjust usage of protect_list.
13903         (emit_cleanup_handler): Save and restore ehqueue.
13904         (expand_start_all_catch): Add comment.
13905         (begin_protect_partials): New function.
13906         (end_protect_partials): Adjust usage of protect_list.
13907         (init_eh_for_function): Use xcalloc.
13908
13909 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13910
13911         * c-common.c (check_format_info): Don't call a variadic function
13912         with a non-literal format string.
13913
13914         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
13915
13916         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
13917         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
13918         Likewise.
13919
13920         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
13921         Likewise.
13922
13923         * collect2.c (collect_wait): Likewise.
13924
13925         * dbxout.c (dbxout_type): Likewise.
13926
13927         * gcc.c (do_spec_1): Likewise.
13928
13929         * genemit.c (gen_insn, gen_expand): Likewise.
13930
13931         * genrecog.c (write_switch, write_subroutine): Likewise.
13932
13933         * mips-tfile.c (catch_signal, botch): Likewise.
13934
13935         * print-rtl.c (print_rtx): Likewise.
13936
13937         * toplev.c (default_print_error_function, report_error_function,
13938         _fatal_insn): Likewise.
13939
13940 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
13941
13942         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
13943
13944 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13945
13946         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
13947         operations when needed.
13948         * i386.md (fop_?f_comm): New.
13949         (fop_?f_1): Do not accept commutative operands.
13950
13951 1999-11-25  Andreas Jaeger  <aj@suse.de>
13952
13953         * config/mips/mips.md (casesi_internal): Add missing brace.
13954
13955 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
13956
13957         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
13958         (splice_child_die): Handle moving a child DIE from the declaration
13959         DIE of a class to its specification.
13960         (gen_struct_or_union_type_die): Use 'complete' consistently.
13961         (gen_decl_die): Generate the virtual context DIE first.
13962         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
13963
13964 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
13965
13966         * config/mips/mips.md (call_value_multiple_interanal1): New.
13967
13968 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
13969
13970         * dwarf2out.c (free_AT, free_die): New fns.
13971         (remove_children): Call them.
13972         (output_line_info): Disable removal of duplicate notes.
13973
13974         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
13975         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
13976         means pretend the type isn't defined.
13977         Don't defer emitting types.
13978         (gen_type_die_for_member): New fn.
13979         (gen_decl_die): Call it.
13980         (splice_child_die): New fn.
13981         (gen_member_die): Call it rather than generate duplicate dies.
13982
13983         Defer emitting information for the abstract instance of an inline
13984         until we either inline it or emit an out-of-line copy.
13985         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
13986         from output_inline_function if DECL_ABSTRACT is also set.
13987         (block_ultimate_origin): Likewise.
13988         (gen_abstract_function): New fn.
13989         (gen_decl_die, gen_inlined_subroutine_die): Call it.
13990         (gen_subprogram_die):  An abstract instance is not a declaration
13991         just because it doesn't match current_function_decl.  Don't abort
13992         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
13993         has an abstract origin.
13994         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
13995         abstract instance here.
13996
13997 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
13998
13999         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
14000         where we need to reload fpul from a system register.
14001
14002 1999-11-24  Andreas Jaeger  <aj@suse.de>
14003
14004         * config/mips/linux.h (CPP_PREDEFINES): Added.
14005         (LINK_SPEC): Remove -Y since this is only needed on sparc.
14006
14007 1999-11-24  Andreas Jaeger  <aj@suse.de>
14008
14009         * config/mips/linux.h (TARGET_VERSION): Added.
14010         (HANDLE_SYSV_PRAGMA): Added.
14011         (DEFAULT_VTABLE_THUNKS): Added.
14012
14013 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14014
14015         * local-alloc.c (qty): New structure and static variable.
14016         (qty_phys_reg): Remove, all references changed to qty.
14017         (qty_n_refs): Likewise.
14018         (qty_min_class): Likewise.
14019         (qty_birth): Likewise.
14020         (qty_death): Likewise.
14021         (qty_size): Likewise.
14022         (qty_mode): Likewise.
14023         (qty_n_calls_crossed): Likewise.
14024         (qty_alternate_class): Likewise.
14025         (qty_changes_size): Likewise.
14026         (qty_first_reg): Likewise.
14027         (alloc_qty): Rename variable QTY to QTYNO.
14028         (finf_free_reg): Likewise.
14029         (local_alloc): Allocate qty, do not allocate the removed variables.
14030
14031 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
14032
14033         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
14034         when -membedded-pic is passed.
14035
14036         * config/mips/mips.md (casesi): Handle 64-bit case too.
14037         (casesi_internal_di): New insn.
14038
14039         * config/mips/mips.c (embedded_pic_offset): Always make the
14040         embedded-pic subtractions relative to the name of the current
14041         function by use of the magic string "..CURRENT_FUNCTION".
14042         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
14043
14044 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
14045
14046         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
14047         of (const_int 0), when what we really care about is
14048         whether it's a zero constant anyway.
14049         (div_trap_mips16): Likewise.
14050
14051 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
14052
14053         * loop.c (loop_optimize): Always find_loop_tree_blocks and
14054         unroll_block_trees when generating debuggable code.
14055
14056         * tree.h (unsave_expr_1): New function.
14057         (lang_unsave): New variable.
14058         (get_callee_fndecl): New function.
14059         * tree.c (unsave_expr_now_r): New function.
14060         (lang_unsave): Define.
14061         (unsave_expr_1): Likewise.
14062         (unsave_expr_now_r): Split out from unsave_expr_now.
14063         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
14064         call unsave_expr_now_r.
14065         (get_callee_fndecl): Define.
14066
14067         * Makefile.in (gencheck): Don't depend on lang_tree_files.
14068         (gencheck.o): Do depend on lang_tree_files.
14069
14070         * integrate.h (copy_decl_for_inlining): New declaration.
14071         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
14072         (copy_decl_for_inlining): New function.
14073         (integrate_parm_decls): Use it.
14074         (integrate_decl_tree): Likewise.
14075
14076 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
14077
14078         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
14079         the second two from the first.
14080         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
14081         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
14082         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
14083         ISA_HAS_FP4.
14084         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
14085         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
14086         ISA_HAS_FP4.
14087
14088 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
14089
14090         * pa.md (call_internal_symref, call_value_internal_symref): No mode
14091         needed on the address operand.
14092         * pa.c (call_operand_address): Check for the correct mode.
14093
14094 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
14095
14096         * loop.c: Include "basic-block.h".
14097         (try_copy_prop, replace_loop_reg): New functions.
14098         (load_mems): Detect registers that just hold copies of the hoisted
14099         mem, and call try_copy_prop to eliminate them.
14100         * Makefile.in (loop.o): Update dependencies.
14101
14102 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
14103
14104         * Makefile.in (gencheck.o): Depend on gencheck.h.
14105         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
14106         (insn-peep.o): Depend on except.h and function.h.
14107         (insn-attrtab.o): Depend on RECOG_H.
14108         (insn-output.o): Depend on toplev.h and flags.h.
14109         (gengenrtl.o): Depend on real.h.
14110         (gen-protos.o): Depend on cpplib.h and cpphash.h.
14111         Unify all dependencies to be on RECOG_H rather than recog.h.
14112
14113 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14114
14115         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
14116         * configure.in: Try building a bi-arch 32/64-bit compiler on
14117         sparc-*-solaris2.7 and higher.
14118         * configure: Rebuild.
14119
14120 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
14121
14122         * config/freebsd.h: New, FreeBSD architecture independent file.
14123         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
14124         independent pieces.
14125         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
14126         directly by i386/freebsd.h.
14127         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
14128         independent configuration file.
14129         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
14130         directly by i386/freebsd.h.
14131         * configure: Rebuilt.
14132
14133         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
14134         which is in the user's namespace.
14135         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
14136         `i386' which is not in our namespace.
14137
14138 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
14139
14140         * invoke.texi (ARM Options): Add in -mno-alignment-traps
14141
14142 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
14143
14144         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
14145         (add_dwarf_attr, add_child_die): Just push onto the front.
14146         (reverse_die_lists): New fn.
14147         (add_sibling_attributes): Use it.
14148         (push_decl_scope): Reorganize.
14149         (add_name_and_src_coords_attributes): Don't set file and line for
14150         an artificial decl.
14151         (gen_subprogram_die): An artificial function doesn't need to match
14152         file and line.
14153         (gen_compile_unit_die): Return the generated die.  Only add
14154         AT_comp_dir if the filename is relative.
14155         (remove_AT): Simplify loop.  Also free string values.
14156         (output_die): A DIE ref can't be null.
14157         (output_value_format, value_format): Take a dw_attr_ref.
14158         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
14159         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
14160         AT_addr, AT_lbl): New fns.
14161         (various): Use them.
14162         (various): Constify.
14163
14164 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14165
14166         * combine.c (combine_simplify_rtx): When handling a SUBREG,
14167         take SUBREG_WORD into account.
14168         (if_then_else_cond): Likewise.
14169
14170 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
14171
14172         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
14173         clause from BSD license, pursuant with
14174
14175           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
14176
14177 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
14178
14179         * loop.c (load_mems): Reformat slightly.
14180         * basic-block.h (regset_head): New typedef.
14181         (INIT_REG_SET): New macro.
14182
14183 1999-11-22  Bruce Korb  <autogen@linuxbox.com
14184
14185         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
14186         (mips-dec-bsd*): non-functional code
14187         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
14188
14189         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
14190         added three replacement fixes
14191         (no_double_slash): removed comments that are not (any longer) pertinent
14192         (bad_lval): this fix currently runs against many files.
14193         The comment seems to indicate that we should select for files
14194         containing 'pragma extern_prefix'.
14195
14196         * fixinc/fixinc.x86-linux-gnu: deleted
14197         * fixinc/inclhack.sh:  regen
14198         * fixinc/fixincl.x:  regen
14199         * fixinc/fixincl.sh:  regen
14200
14201 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
14202
14203         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
14204         its code is INSN and it has no notes.
14205
14206 1999-11-22  Andrew Haley  <aph@cygnus.com>
14207
14208         * varasm.c (function_defined): Remove.
14209         (make_function_rtl): Don't set function_defined.
14210         (make_decl_rtl): Remove global register warning.
14211         * regclass.c (no_global_reg_vars): New variable.
14212         (globalize_reg): Warn if function has already been defined.
14213         (regclass_init): Set no_global_reg_vars.
14214
14215 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14216
14217         * regclass.c (reg_pref): New structure and static variable
14218         (prefclass): Delete.
14219         (altclass): Delete.
14220         (all uses of prefclass and altclass): Use reg_pref instead.
14221
14222 1999-11-21  Nick Clifton  <nickc@cygnus.com>
14223
14224         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
14225         -malignment-traps.
14226         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
14227         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
14228         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
14229
14230 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
14231
14232         * varasm.c (output_constructor): Solve problem with long long
14233         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
14234
14235 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14236
14237         * global.c (allocno): New structure and static variable.
14238         (allocno_reg): Remove, all references replaced by allocno.
14239         (allocno_size): Likewise.
14240         (hard_reg_conflicts): Likewise.
14241         (hard_reg_preferences): Likewise.
14242         (hard_reg_copy_preferences): Likewise.
14243         (hard_reg_full_preferences): Likewise.
14244         (regs_someone_prefers): Likewise.
14245         (allocno_calls_crossed): Likewise.
14246         (allocno_n_refs): Likewise.
14247         (allocno_live_length): Likewise.
14248         (find_reg): Rename ALLOCNO to NUM.
14249
14250         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
14251         references updated.
14252         (may_move_out_cost): New variable.
14253         (init_reg_sets_1): Initialize may_move_out_cost.
14254         (record_reg_classes): Use may_move_out_cost.
14255
14256         * regclass.c (dump_regclass): New function.
14257         (regclass): New parameter DUMP, call DUMP_REGCLASS.
14258         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
14259         pass rtl_dump_file to regclass.
14260         * rtl.h (regclass): Update prototype.
14261
14262 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14263
14264         * i386.md (neg, not and abs patterns): Revmap to use
14265         ix86_expand_unary_operator and ix86_unary_operator_ok.
14266         (add?f and sub?f expanders): Force operand 1 to register.
14267         * i386.c (ix86_expand_unary_operator): Rewrite.
14268         (ix86_unary_operator_ok): Ensure that memory operands
14269         match real opcode.
14270         (ix86_binary_operator_ok): Do not allow operand 1 to
14271         come into memory and operand 0 not.
14272         (ix86_expand_binary_operator): Ensure that
14273         src1 is not non-matching memory.
14274
14275         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
14276         to support integer registers and memory.
14277         (abss?2_integer): Likewise.
14278
14279         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
14280         (REG_CLASS_NAMES): Likewise.
14281         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
14282         and GENERAL_REGS.
14283         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
14284         (movsf): Likewise; unify 4th and 5th alternative.
14285         (pushdf): Likewise.
14286         (movdf_1): Likewise; rename to movdf_integer.
14287         (pushxf): Likewise; rename to pushxf_integer; fix output template;
14288         remove redundant splitter.
14289         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
14290         (movdf_nointeger): New.
14291         (movxf_nointeger): New.
14292         (pushxf_nointeger): New.
14293
14294         * i386.md (extend?f?f): Split to expander and pattern, refuse two
14295         memory operands in patterns.
14296         (fop*): Refuse two memory operands.
14297
14298         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
14299         on !TARGET_USE_CLTD CPUs.
14300
14301 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
14302
14303         * extend.texi: Document C++ restricted pointers and references.
14304
14305 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
14306
14307         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
14308         (invalidate_skipped_set): Call it unconditionally.
14309         (cse_set_around_loop): Likewise.
14310
14311 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
14312
14313         * rtl.texi (mem): Add documentation for alias-set argument
14314         to RTX `mem'.
14315
14316 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14317
14318         * i386.h (struct_processor_costs): New fields int_load, int_store,
14319         fp_move, fp_load and fp_store
14320         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
14321         fp->int moves
14322         (MEMORY_MOVE_COST): New macro.
14323         * i386.c (386_cost): Define new fields.
14324         (i486_cost): Likewise.
14325         (pentium_cost): Likewise.
14326         (pentiumpro_cost): Likewise.
14327         (k6_cost): Likewise.
14328
14329 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
14330                           Geoffrey Keating  <geoffk@cygnus.com>
14331
14332         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
14333
14334         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
14335         MASK_ALIGN_INT.
14336
14337         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
14338         (TARGET_STRICT_ALIGNMENT): New macro.
14339         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
14340         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
14341         * invoke.texi (M680x0 Options): Document -mstrict-align.
14342
14343 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
14344                           Richard Henderson  <rth@cygnus.com>
14345
14346         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
14347         (ix86_split_long_move): Declare.
14348         * i386.c (split_xf, ix86_split_movdi): Remove.
14349         (ix86_split_to_parts, ix86_split_long_move): New.
14350         * i386.md (dimode move splitters): Use ix86_split_long_move.
14351         (dfmode move splitters): Likewise.
14352         (xfmode move splitters): Likewise.
14353         (movsf_1): Allow F->r.
14354         (movdf_1, movxf_1): Allow F->ro.
14355
14356 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
14357
14358         * except.h (struct eh_entry): Add goto_entry_p.
14359         (eh_region_from_symbol): Remove prototype.
14360         * except.c (find_func_region_from_symbol): New function.
14361         (emit_cleanup_handler): Likewise.
14362         (eh_region_from_symbol): Make it static.
14363         (add_new_handler): Verify the argument.
14364         (find_func_region): Update comment.
14365         (expand_eh_region_end): Expand handlers here, rater than waiting
14366         until expand_leftover_cleanups or start_all_catch.
14367         (expand_leftover_cleanups): Don't expand here.
14368         (expand_start_all_catch): Or here.
14369         (expand_rethrow): Check the return value from find_func_region.
14370         * function.c (expand_function_end): Emit the catch_clauses.
14371
14372 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
14373
14374         * integrate.c (expand_inline_function): Add necessary check for NULL.
14375
14376 1999-11-18  Nick Clifton  <nickc@cygnus.com>
14377
14378         * toplev.c (main): Correctly detect an unrecognised option.
14379
14380         * cppinit.c (cpp_handle_option): Do not claim to have consumed
14381         a -f option if it has not been recognised.
14382
14383 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
14384
14385         * basic-block.h (update_life_extent): Remove trailing comma on
14386         enumeration type list.
14387
14388 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14389
14390         * varasm.c (output_constructor) Solved problem with long long
14391         bitfields. Corrected calculating this_time and shift. Also
14392         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
14393
14394 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
14395
14396         * flow.c (split_edge): Take looping structure into account when
14397         determining where to put the new block note.
14398
14399 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
14400
14401         * Makefile.in (ggc-none.o): Provide host specific version if
14402         needed.
14403
14404 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
14405
14406         * cse.c (delete_trivially_dead_insns): Identify no-op insns
14407         containing subregs too.
14408
14409 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
14410
14411         * invoke.texi: Add documentation for -muninit-const-in-rodata.
14412         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
14413         (TARGET_UNINIT_CONST_IN_RODATA): Define.
14414         (text_section): Add switches -munint-const-in-rodata and
14415         -mno-uninit-const-in-rodata.
14416         (ASM_OUTPUT_COMMON): Remove.
14417         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
14418         const objects should be placed in read-only data. Otherwise declare
14419         them in common.
14420
14421 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
14422
14423         * jump.c (jump_optimize_1): Revert last change.
14424
14425 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
14426
14427         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
14428         test if optimizing for size.
14429
14430 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
14431
14432         * Makefile.in (toplev.o): Depend on except.h.
14433         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
14434
14435 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14436
14437         * i386.md (divmodsi4): Rewrite to expander.
14438         (*divmodsi4_nocltd): New.
14439         (*divmodsi4_cltd): New.
14440         (divmodsi4 splitter): Handle the case when input comes in edx.
14441         (udivmodhi4): Do not use constraints in exander.
14442         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
14443
14444 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
14445
14446         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
14447         for the common case.
14448
14449 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
14450
14451         * explow.c (hard_function_value): Add outgoing argument.
14452         * expr.h (hard_function_value): Declare it.
14453         * calls.c (expand_call, emit_library_call_value): Update callers.
14454         * function.c (aggregate_value_p): Ditto.
14455         (diddle_return_value): Must look at the outgoing registers
14456         on archs with register windows.
14457
14458 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
14459
14460         * alpha.c (alpha_build_va_list): Use make_lang_type and
14461         initialize TYPE_NAME for the va_list record.
14462
14463         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
14464
14465         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
14466         for printing.
14467         * ggc.h (struct ggc_statistics): Rearrange elements for better
14468         packing on 64-bit hosts.
14469         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
14470         (compute_nearerout): Likewise.
14471
14472 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
14473
14474         * config/rs6000/rs6000.c (first_reg_to_save): Save
14475         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
14476
14477 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
14478
14479         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
14480         notion of nesting to find the DIE for a type or function.
14481         DIEs can go in limbo even if we got a context_die.
14482         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
14483         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
14484         for local type.
14485         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
14486         (gen_type_die): Writing out the context doesn't cause member class
14487         template instantiations to be written out as well.
14488
14489 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
14490
14491         * rs6000.h (ASM_OUTPUT_DEF): New.
14492         Based on proposed addition from David Edelsohn.
14493
14494 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
14495             Bruce Korb  <autogen@linuxbox.com>
14496
14497         * fixinc/inclhack.def
14498         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
14499         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
14500                 in net/inet.h.
14501         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
14502         (svr4_endian): enabled with SVR5
14503         (svr4_mkdev): simplified syntax and enabled with SVR5
14504
14505 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
14506
14507         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
14508         * configure: Rebuilt.
14509         * config/t-freebsd-thread: New file.
14510
14511 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
14512
14513         * i386.c (ix86_decompose_address): Verify the base is a REG
14514         before trying to examine its register number.
14515
14516         * basic-block.h: Remove all #defines and prototypes related to
14517         integer lists.
14518         (free_bb_mem, compute_preds_succs): Remove prototype.
14519         * rtl.h (free_bb_mem): Remove prototype.
14520         * flow.c (alloc_int_list_node); Remove function.
14521         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
14522         (compute_preds_succs, free_bb_mem): Likewise.
14523         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
14524         * toplev.c (rest_of_compilation): Likewise.
14525         * haifa-sched.c (build_control_flow): Use flow generated edge
14526         list to build the haifa specific edge list.
14527         (find_rgns): Use new CFG data structures instead of pred/succ lists.
14528         (schedule_insns): Do not build pred/succ lists anymore.  Instead
14529         build the edge table.
14530
14531         * basic-block.h (dump_bb_data): Remove declaration.
14532         * flow.c (dump_bb_data): Remove function.
14533         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
14534         (sbitmap_union_of_predsucc): Likewise.
14535
14536         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
14537         argument.  All callers changed.
14538         (delete_null_pointer_checks_1): No longer need to compute the
14539         pred/succ lists.
14540
14541         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
14542         All callers changed.
14543         (pre_expr_reaches_here_p_work): Likewise.
14544         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
14545         * lcm.c (compute_laterin): Fix initialization of LATER.
14546         (compute_nearerout): Similarly for NEARER.
14547
14548 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14549
14550         * cse.c (set_nonvarying_address_components): Delete unused function.
14551         (refers_to_p): Likewise.
14552
14553 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
14554
14555         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
14556         needed.
14557
14558 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14559
14560         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
14561         definition in do while (0).
14562
14563 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
14564
14565         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
14566
14567 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
14568
14569         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
14570
14571 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
14572
14573         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
14574         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
14575         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
14576         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
14577
14578         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
14579         saved on the stack.  Output more accurate stack frame statistics
14580         into assembler file.
14581
14582 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
14583
14584         * genextract.c (record_insn_name): New function.
14585         (get_insn_name): No longer a stub.
14586         (main): Call record_insn_name for each insn.  After each label
14587         written, print the insn name in a comment.
14588
14589 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14590
14591         * output.h (const_section, init_section, fini_section): Add
14592         prototypes.
14593
14594         * alpha/elf.h (const_section): Delete declaration.
14595
14596         * svr4.h (const_section): Likewise.
14597
14598 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
14599
14600         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
14601         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
14602         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
14603         expressions.
14604         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
14605         variable-sized array bounds.
14606
14607 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
14608
14609         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
14610         ASM_OUTPUT_LABEL.
14611
14612 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14613
14614         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
14615         addresses the same way GO_IF_LEGITIMATE_INDEX does.
14616
14617 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14618
14619         * cse.c (hash_arg_in_struct): Delete.
14620         (struct table_elt): Delete elt in_struct.
14621         (struct set): Delete elt src_in_struct.
14622         (merge_equiv_classes): Don't set either hash_arg_in_struct or
14623         the corresponding in_struct elts.
14624         (canon_hash): Likewise.
14625         (safe_hash): Likewise.
14626         (find_best_addr): Likewise.
14627         (record_jump_cond): Likewise.
14628         (cse_insn): Likewise.
14629
14630 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
14631
14632         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
14633
14634         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
14635         unsigned types.
14636
14637 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
14638
14639         * function.c (diddle_return_value): Put back check that the DECL_RTL
14640         for the function is a register.
14641
14642         * function.c (diddle_return_value): Use hard_function_value to
14643         get an rtx suitable for use in the USE/CLOBBER insn.
14644
14645         * global.c (global_conflicts): Update comments.
14646         (record_conflicts): No need to record conflicts between pseudos here.
14647
14648 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
14649
14650         * fixinc/fixincl.c: Added verbose levels for status messages
14651
14652 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14653
14654         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
14655         operand as argument to expand_and or expand_binop.
14656
14657 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
14658
14659         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
14660         gcc_add_string_root.
14661
14662 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
14663
14664         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
14665
14666 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
14667
14668         * flow.c (compute_flow_dominators): Initially put all blocks on
14669         the worklist.
14670         * lcm.c (compute_antinout_edge, compute_available): Similarly.
14671         * gcse.c (compute_cprop_avinout): Remove.
14672         (compute_cprop_data): Use compute_available.
14673         (delete_null_pointer_checks_1): Use compute_available.
14674
14675         * basic-block.h (compute_available): Returns a void now.
14676         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
14677         to return a value anymore.
14678         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
14679         worklists.  Fix boundary cases. Compute maximal solutions.
14680         (compute_laterin, compute_nearerout): Similarly.
14681
14682         * dwarf2out.c (add_AT_location_description): Allow
14683         (mem (plus (pseudo) (...)) too.
14684
14685 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
14686
14687         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
14688
14689 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
14690                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14691
14692         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
14693
14694         * gansidecl.h: Likewise.
14695
14696         * rtl.c: Likewise.
14697
14698         * rtl.h: Likewise.
14699
14700         * toplev.h: Likewise.
14701
14702         * tree.c: Likewise.
14703
14704         * tree.h: Likewise.
14705
14706         * varray.c: Likewise.
14707
14708         * varray.h: Likewise.
14709
14710 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
14711
14712         * gcov.c (struct arcdata): Add hits and total, remove prob.
14713         (output_branch_counts): New.
14714         (process_args): Set output_branch_counts if -c.
14715         (calculate_branch_probs): Store hits and total instead of
14716         percentage.
14717         (output_data): Emit counts if output_branch_counts is true.
14718         * gcov.texi (Invoking Gcov): Document -c switch..
14719
14720 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
14721
14722         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
14723         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
14724
14725 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
14726
14727         * invoke.texi (C Dialect Options): Add missing builtins from
14728         c-common.c to list.
14729         * extend.texi (Other Builtins): Copy to this list.
14730
14731 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14732
14733         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
14734         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
14735         redundant bitmap.h.
14736
14737 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
14738
14739         * flow.c (compute_flow_dominators): No longer treat basic block 0
14740         or (n_basic_blocks - 1) specially.  Clear the AUX field before
14741         starting computation of doms/pdoms.  Fix initial state for pdoms.
14742
14743 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14744
14745         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
14746         match rtl.o's: added ggc.h and toplev.h
14747         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
14748         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
14749         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
14750
14751 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
14752
14753         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
14754         from HAVE_DOS_BASED_FILESYSTEM.
14755         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
14756         HAVE_DOS_BASED_FILESYSTEM.
14757         (main): Likewise.
14758         (split_directories): Only special-case DOS file names if
14759         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
14760         instead of explicit tests.  Conditionalize on !VMS.
14761         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
14762         tests.  Conditionalize on !VMS.
14763         (process_command): Only use make_relative_prefix if !VMS.
14764         (free_split_directories): Conditionalize on !VMS.
14765         (DIR_UP): Conditionalize on !VMS.
14766
14767 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14768
14769         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
14770
14771 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14772
14773         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
14774         case.
14775
14776 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
14777
14778         * invoke.texi (Environment Variables): Document relative path
14779         lookup.
14780         * gcc.c (DIR_UP): If not defined, define as "..".
14781         (standard_bindir_prefix): New static, holds target location to
14782         install binaries.
14783         (split_directories): New function to split a filename into
14784         component directories.
14785         (free_split_directories): New function, release memory allocated
14786         by split_directories.
14787         (make_relative_prefix): New function, make a relative pathname if
14788         the compiler is not in the expected location.
14789         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
14790         can figure out an appropriate prefix from argv[0].
14791         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
14792         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
14793         STANDARD_BINDIR_PREFIX.
14794
14795 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14796
14797         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
14798         in c4x.c.
14799         * config/c4x/c4x.h: Moved prototypes to c4x.h.
14800         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
14801         c4x_secondary_memory_needed) Delete.
14802         (fp_zero_operand): Add mode argument.
14803
14804 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
14805
14806         * reload1.c (reload_reg_free_for_value_p): Don't use a register
14807         that is in reload_reg_used.
14808
14809 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
14810
14811         * config/arm/arm-protos.h: New file: Prototypes for functions
14812         defined in arm.c and pe.c.
14813         * config/arm/arm.h: Fix compile time warnings.
14814         * config/arm/arm.c: Fix compile time warnings.
14815         * config/arm/pe.h: Fix compile time warnings.
14816         * config/arm/aout.h: Fix compile time warnings.
14817
14818 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
14819
14820         * config/m32r/m32r-protos.h: New file: Prototypes for functions
14821         defined in m32r.c
14822
14823         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
14824         Add support for subtargets.
14825         Add prototypes for new predicates.
14826         Add scheduling macros.
14827
14828         * config/m32r/m32r.c: Fix compile time warnings.
14829         (int8_operand): New predicate function.
14830         (reg_or_cmp_int16_operand): New predicate function.
14831         (extend_operand): New predicate function.
14832         (m32r_adjust_code): New scheduling function.
14833         (m32r_adjust_priorty): New scheduling function.
14834         (m32r_sched_init): New scheduling function.
14835         (m32r_sched_reorder): New scheduling function.
14836         (m32r_sched_variable_issue): New scheduling function.
14837         (direct_return): New codegen function.
14838         (m32r_not_same_reg): New rtl testsing function.
14839
14840         * config/m32r/m32r.md: Fix compile time warnings.
14841         Add support for pre decrement and post increment memory
14842         references.
14843         Add S<cc> patterns.
14844         Add fabs patterns.
14845
14846 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14847
14848         * global.c (EXECUTE_IF_CONFLICT): Don't define.
14849         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
14850         (find_reg): Likewise.
14851
14852 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
14853
14854         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
14855         to avoid assembler errors.
14856
14857 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
14858
14859         * config/v850/v850-protos.h: New file: Prototypes for functions
14860         defined in v850.c
14861         * config/v850/v850.h: Move prototypes to v850-protos.h
14862         * config/v850/v850.c: Move prototypes to v850-protos.h
14863         * config/v850/v850.md: Fix compile time warnings.
14864
14865         * config/fr30/fr30-protos.h: New file: Prototypes for functions
14866         defined in fr30.c
14867         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
14868         * config/fr30/fr30.c: Fix compile time warnings.
14869         * config/fr30/fr30.md: Fix compile time warnings.
14870
14871 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
14872
14873         * tree.h (get_containing_scope): Declare it.
14874         * tree.c (get_containing_scope): New fucntion.
14875         (decl_function_context): Use it.
14876         * toplev.c (rest_of_compilation): Use get_containing_scope.
14877
14878 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14879
14880         * Makefile.in (rtl.o): Depend on toplev.h.
14881
14882 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
14883
14884         * cse.c (delete_trivially_dead_insns): Replace alloca with
14885         xmalloc/xcalloc.
14886         * except.c (update_rethrow_references): Likewise.
14887         (init_eh_nesting_info): Likewise.
14888         * function.c (identify_blocks): Likewise.
14889         * gcse.c (dump_hash_table): Likewise.
14890         * graph.c (print_rtl_graph_with_bb): Likewise.
14891         * loop.c (combine_movables): Likewise.
14892         (move_movables): Likewise.
14893         (count_loop_regs_set): Likewise.
14894         (strength_reduce): Likewise.
14895         * profile.c (compute_branch_probabilities): New function, split
14896         out from ...
14897         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
14898         * regclass.c (regclass): Likewise.
14899         * regmove.c (regmove_optimize): Likewise.
14900         * toplev.c (compile_file): Likewise.
14901         (main): Don't mess with the stack rlimit.
14902
14903 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
14904
14905         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
14906         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
14907
14908 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
14909
14910         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
14911
14912 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
14913
14914         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
14915         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
14916         macro expansion.
14917
14918 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
14919
14920         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
14921
14922 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
14923
14924         * gcse.c (post_dominators): Kill.
14925         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
14926         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
14927         pass in a pdom array since we do not need pdoms.
14928         * haifa-sched.c (schedule_insns): Similarly.
14929         * flow.c (compute_dominators): Remove dead function.
14930         (compute_flow_dominators): Do not compute doms or pdoms if the
14931         caller does not request them.  Split up loop to build doms and
14932         pdoms.  Use a worklist to compute doms and pdoms.
14933         * basic-block.h (compute_dominators): Remove prototype.
14934
14935 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
14936
14937         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
14938         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
14939         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
14940         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
14941         (cant_move, fed_by_spec_load, is_load_insn): Remove.
14942         (schedule_region): Remove unused variable.
14943         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
14944
14945 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
14946
14947         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
14948         (update_equiv_regs): Likewise.
14949         (block_alloc): Likewise.
14950         * reg-stack.c (reg_to_stack): Likewise.
14951         (convert_regs_2): Likewise.
14952         * reload1.c (reload_as_needed): Likewise.
14953
14954 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
14955
14956         * Makefile.in (dbxout.o): Depend on ggc.h.
14957         (dwarf2out.o): Likewise.
14958         (xcoffout.o): Likewise.
14959         * dbxout.c: Include ggc.h.
14960         (dbxout_init): Register lastfile as a root.
14961         * dwarf2out.c: Include ggc.h.
14962         (dwarf2out_line): Register lastfile as a root.
14963         * xcoffout.c: Include ggc.h.
14964         (xcoffout_source_line): Register xcoff_lastfile as a root.
14965
14966 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
14967
14968         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
14969
14970 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
14971
14972         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
14973         defined.
14974         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
14975
14976 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14977
14978         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
14979         (EXECUTE_IF_CONFLICT): Likewise.
14980         (ALLOCNO_LIVE_P): Avoid signed division.
14981         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
14982         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
14983         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
14984
14985 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
14986
14987         * haifa-sched.c (schedule_block): Don't crash if there's no
14988         next insn for an interblock movement.
14989         (add_branch_dependences): Don't allow clobber insns to move either.
14990
14991 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
14992
14993         * i386.c (split_xf): New.
14994         * i386-protos.h: Declare it.
14995         * i386.md (movxf_1): Add general regs alternatives.
14996         (movxf_1+1): New splitter for same.
14997
14998 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
14999
15000         * function.c (purge_addressof_1): Add missing return values.
15001
15002 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
15003
15004         * function.c (is_addressof): New function.  Returns true if
15005         the given piece of RTL is an ADDRESSOF.
15006         (purge_addressof_1): Make boolean.  Return false if the
15007         ADDRESSOFs could not be purged.
15008         (purge_addressof): If ADDRESSOFs could not be purged from the
15009         notes attached to an insn, remove the offending note(s),
15010         unless they are attached to a libcall.
15011
15012 1999-11-05  Andreas Jaeger  <aj@suse.de>
15013
15014         * genoutput.c (null_operand =): Initialize all fields.
15015
15016         * errors.h: Add extern to prototypes.
15017
15018 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
15019
15020         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
15021         * configure: Rebuilt.
15022
15023 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15024
15025         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
15026         (mirror_conflicts): New function.
15027         (global_alloc): Call it.
15028         (expand_preferences): Remove redundant CONFLICTP test.
15029         (find_reg, dump_conflicts): Likewise.
15030         (prune_preferences): Process conflicts one word at a time.
15031
15032 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
15033
15034         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
15035         instead of an explicit loop.
15036
15037 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
15038
15039         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
15040         if REG_RETVAL check succeeds, then put classp in src_elt.
15041
15042 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
15043
15044         * function.c (pad_to_arg_alignment): Only update argument_pad
15045         if the argument's alignment is greater than STACK_BOUNDARY.
15046
15047 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
15048
15049         * bitmap.h (BITMAP_XFREE): New.
15050         * flow.c (life_analysis): Use it.
15051         (life_analysis_1): Free blocks.
15052
15053         * combine.c (undo_commit): New.
15054         (try_combine): Use it.  Don't zap undobuf.undos.
15055         (combine_instructions): Don't zap undobuf.undos; free the
15056         undobuf.frees list.
15057
15058         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
15059
15060         * stmt.c (cost_table_): New.
15061         (estimate_case_costs): Use it instead of xmalloc.
15062
15063         * toplev.c (compile_file): Reuse dumpname memory instead
15064         of strdup'ing it.
15065
15066 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
15067
15068         * reg-stack.c (convert_regs_1): Initialize target_stack->top
15069         after verifying an EH edge.
15070
15071         * haifa-sched.c (init_rgn_data_dependences): Correctly
15072         size bb_pending_lists_length when zeroing.
15073
15074 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
15075
15076         * function.c (diddle_return_value): New.
15077         (expand_function_end): Use it.
15078         * stmt.c (expand_null_return): Likewise.
15079         (expand_value_return): Likewise.
15080
15081         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
15082
15083         * reload1.c (reload): Don't remove return value clobbers.
15084
15085 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
15086
15087         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
15088
15089 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
15090
15091         * cse.c (cse_main): Use xmalloc, not alloca.
15092         (cse_basic_block): Likewise.
15093         * local-alloc.c (local_alloc): Likewise.
15094
15095 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
15096                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15097
15098         * rtl.c: Include toplev.h.
15099         (fatal): Remove declaration.
15100
15101 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
15102
15103         * haifa-sched.c (schedule_block): Fix thinko.
15104
15105 1999-11-03  James McKelvey <mckelvey@fafnir.com>
15106
15107         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
15108         S_IR* defined values
15109
15110 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
15111
15112         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
15113         call `malloc' instead.
15114
15115 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
15116
15117         * flags.h (flag_renumber_insns): Declare.
15118         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
15119         renumbering table.
15120         * rtl.h (renumber_insns): Change prototype.
15121         * toplev.c (flag_renumber_insns): Define.
15122         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
15123
15124 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
15125
15126         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
15127         and fpsqrtd.  Use them and create fdiv function unit to more
15128         accurately represent fpu sqrt pipeline semantics on UltraSparc.
15129         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
15130
15131 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
15132
15133         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
15134         3 on UltraSparc.
15135         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
15136         insn into ready list, do not use just a raw swap.
15137
15138 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
15139
15140         * rtl.h (renumber_insns): New function.
15141         (remove_unnecessary_notes): Likewise.
15142         * emit-rtl.c (renumber_insns): Define.
15143         (remove_unncessary_notes): Likewise.
15144         * toplev.c (rest_of_compilation): Remove dead code.
15145         Use renumber_insns and remove_unncessary_notes.
15146
15147         * gcse.c (struct null_pointer_info): New type.
15148         (get_bitmap_width): New function.
15149         (current_block): Remove.
15150         (nonnull_local): Likewise.
15151         (nonnull_killed): Likewise.
15152         (invalidate_nonnull_info): Take a null_pointer_info as input.
15153         (delete_null_pointer_checks_1): New function.
15154         (delete_null_pointer_checks): Use it.
15155
15156         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
15157         (split_edges): Likewise.
15158         (schedule_block): Likewise.
15159         (compute_block_backward_dependencies): Likewise.
15160         (schedule_region): Likewise.
15161         (schedule_insns): Likewise.
15162
15163 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
15164
15165         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
15166         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
15167         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
15168         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
15169         * jump.c (delete_unreferenced_labels): Don't delete if
15170         LABEL_ALTERNATE_NAME is set.
15171         * print-rtl.c (print_rtx): Dump alternate name.
15172         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
15173         * rtl.h (LABEL_ALTERNATE_NAME): Define.
15174         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
15175         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
15176
15177 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15178
15179         * fix-header.c (recognized_extern, recognized_function): Constify
15180         a char*.
15181
15182         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
15183         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
15184         (compute_available): Remove unused variable `last'.
15185         (compute_nearerout): Remove unused variable `temp_bitmap'.
15186         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
15187         Remove unused variable `x'.
15188
15189         * scan.h (recognized_function, recognized_extern): Constify a
15190         char*.
15191
15192         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
15193
15194 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15195
15196         * varasm.c (decode_rtx_const): Use XSTR to access the string
15197         of a SYMBOL_REF.
15198
15199 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
15200
15201         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
15202
15203 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15204
15205         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
15206
15207 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
15208
15209         * pa.c (ireg_operand): New function.
15210         * pa.h (PREDICATE_CODES): Handle ireg_operand.
15211         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
15212         Fix out of date comment.
15213
15214         * pa.md (negdi2): Turn into expander + anonymous pattern.
15215
15216         * reload.c (find_reloads): Fix typos in recent change.
15217
15218         * dwarf2out.c: Do not include ctype.h.
15219
15220 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15221
15222         * regclass.c (record_reg_classes): Always use may_move_cost when
15223         seeing how operand fits with various register classes.
15224
15225 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
15226
15227         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
15228         * toplev.c: Revert Nov 1 13:22 change.
15229
15230 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
15231
15232         * config/pa/pa.md (height reduction patterns): Add checks for
15233         overlapping operands to avoid semantic-destroying splits for
15234         height reduction patterns.
15235
15236 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15237
15238         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
15239         have been an hyphen, fixed.
15240         * configure: Rebuilt.
15241
15242 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
15243
15244         * config/arm/tpe.h: Add prototypes for exported functions.
15245         * config/arm/pe.c: Fix compile time warnings.
15246         * config/arm/semi.h: Fix compile time warnings.
15247         * config/arm/arm.c: Fix compile time warnings.
15248         * config/arm/arm.h: Fix compile time warnings.
15249         * config/arm/arm.md: Fix compile time warnings.
15250         * config/arm/thumb.c: Fix compile time warnings.
15251         * config/arm/thumb.h: Fix compile time warnings.
15252         * config/arm/thumb.md: Fix compile time warnings.
15253
15254 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
15255
15256         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
15257         detection code
15258
15259         * unroll.c (unroll_loop): Remove LOOP notes when loop is
15260         completely unrolled.
15261
15262 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15263
15264         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
15265
15266 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
15267
15268         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
15269         * rtl.h (rtx_equal_p): Move prototype.
15270         * rtl.c (rtx_equal_function_value_matters): Move from
15271         rtlanal.c
15272         (rtx_equal_p): Likewise.
15273         * rtlanal.c (rtx_equal_function_value_matters): Delete.
15274         (rtx_equal_p): Likewise.
15275
15276 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
15277
15278         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
15279         ! HAS_INIT_SECTION.
15280
15281 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
15282
15283         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
15284
15285         * pa.h (ADDR_VEC_ALIGN): Define.
15286
15287         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
15288         notes when presented with "if (foo) break; end_of_loop" and
15289         the break sequence gets moved out of the loop.
15290
15291         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
15292         Remove explicit zero initializations of entries within MAP.
15293
15294 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
15295
15296         * reg-stack.c (convert_regs_1): Handle EH edges specially.
15297
15298 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
15299
15300         * bitmap.h (BITMAP_XMALLOC): New macro.
15301         * flow.c (CLEAN_ALLOCA): Remove.
15302         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
15303         (life_analysis): Likewise.
15304         (update_life_info): Don't use CLEAN_ALLOCA.
15305         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
15306         (calculate_global_regs_live): Likewise.
15307         (print_rtl_with_bb): Likewise.
15308         (verify_flow_info): Likewise.
15309         * global.c (global_alloc): Likewise.
15310         (global_conflicts): Likewise.
15311         * integrate.c (save_for_inline_nocopy): Likewise.
15312         (expand_inline_function): Likewise.
15313         * jump.c (jump_optimize_1): Likewise.
15314         (duplicate_loop_exit_test): Likewise.
15315         (thread_jumps): Likewise.
15316         * loop.c (loop_optimize): Likewise.
15317         (combine_givs): Likewise.
15318         (recombine_givs): Likewise.
15319         * reorg.c (dbr_schedule): Likewise.
15320         * unroll.c (unroll_loop): Likewise.
15321
15322         * combine.c (combine_instructions): Use xmalloc instead of alloca.
15323
15324 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
15325
15326         * toplev.c (rest_of_compilation): Don't optimize the CFG
15327         when rebuilding, just before dbr.
15328
15329 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15330
15331         * output.h (assemble_end_function, assemble_destructor,
15332         assemble_constructor, assemble_gc_entry, assemble_global,
15333         assemble_label, output_constant_pool) Constify a char*.
15334
15335         * varasm.c (assemble_destructor, assemble_constructor,
15336         assemble_gc_entry, assemble_end_function, assemble_global,
15337         assemble_label, output_constant_pool): Likewise.
15338
15339 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
15340
15341         * config/arm/thumb.c (thumb_expand_prologue): Add comments
15342         explaining what is goin on in this function.
15343
15344 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15345
15346         * regclass.c (record_reg_classes): In matching case, recompute
15347         costs since the direction of movement is different.
15348
15349 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
15350
15351         * resource.c (mark_target_live_regs): For unconditional branches,
15352         the resources found at the branch target should be added to the
15353         resources found so far, not intersected.
15354
15355 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
15356
15357         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
15358         old cpp's.
15359         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
15360         (sys/mman.h): Include this file only if #HAVE_MMAP.
15361         (run_compiles): Initialize `esac_fmt' with one old KR string, not
15362         with automatically concatenated ANSI strings.
15363
15364 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
15365
15366         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
15367         (DIV_ROUND_UP): Robustify.
15368         (ggc_recalculate_in_use_p): New function.
15369         (release_pages): Don't inline it.
15370         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
15371         outer contexts.
15372         (ggc_pop_context): Use ggc_recalculate_in_use_p.
15373         (clear_marks): Always save in_use_p.
15374         (sweep_pages): Use ggc_recalculate_in_use_p.
15375         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
15376         Release pages before counting statistics.
15377
15378 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
15379
15380         * toplev.c (rest_of_compilation): Fix thinko in this change:
15381
15382         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
15383
15384         (rest_of_compilation): If inside an inlined external function,
15385         pretend we are just being declared.
15386
15387 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
15388
15389         * flow.c (calculate_global_regs_live): Fix thinko.
15390
15391         * integrate.c (expand_inline_function): Fix bugs in previous
15392         change from Oct 28, 1999.
15393
15394 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
15395
15396         * stmt.c (expand_value_return): Fix typo in this change:
15397
15398         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15399         (expand_value_return): Correctly convert VAL when promoting function
15400         return; support RETURN_REG being a PARALLEL.
15401
15402 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
15403
15404         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
15405
15406 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15407
15408         * hard-reg-set.h (reg_names): Constify a char*.
15409
15410         * regclass.c  (reg_names): Likewise.
15411
15412         * regs.h (reg_names): Likewise
15413
15414         * a29k/a29k.c (reg_names): Delete declaration.
15415
15416         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
15417
15418         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
15419         arc_output_function_epilogue): Likewise.
15420
15421         * elxsi/elxsi.c (reg_names): Likewise.
15422
15423         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
15424
15425         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
15426         Likewise.
15427
15428         * m88k/m88k.c (output_function_profiler): Likewise.
15429
15430         * sparc/sparc.c (sparc_flat_output_function_prologue,
15431         sparc_flat_output_function_epilogue): Likewise.
15432
15433 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
15434
15435         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
15436         warning from -Wuninitialized and put it under -W.
15437         * function.c (uninitialized_vars_warning): Warn only when the
15438         corresponding flag is set.
15439
15440 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
15441
15442         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
15443         is nonzero and the single set does not have an elt, then assign
15444         it an elt.
15445
15446         * simplify-rtx.c: New file.
15447         * Makefile.in (OBJS): Add simplify-rtx.o
15448         (simplify-rtx.o): Add dependencies.
15449         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
15450         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
15451         (cse_gen_binary, simplify_unary_operation): Delete.
15452         (simplify_binary_operation, simplify_plus_minus): Likewise.
15453         (check_fold_consts, simplify_relation_operation): Likewise.
15454         (simplify_ternary_operation): Likewise.
15455         (delete_trivially_dead_insns): Simplify the contents of the
15456         REG_EQUAL note before trying to substitute it into the source
15457         of the reg-reg copy at the end of a libcall sequence.
15458
15459         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
15460         references/callers changed.
15461
15462         * mn10200.c (mn10200_va_arg): Force the return value into a
15463         register.
15464
15465         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
15466
15467         * cccp.c (macroexpand): Avoid out of range accesses for omitted
15468         arguments.
15469
15470 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
15471
15472         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
15473
15474 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
15475
15476         * fold-const.c (fold): Fix thinko when optimizing comparisons
15477         against -0.0.
15478
15479 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
15480
15481         * gcc.texi (Passes): Update front-end files to their current
15482         location.
15483
15484 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
15485
15486         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
15487         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
15488         (PREDICATE_CODES): Add addition_operation.
15489         * alpha-protos.h (addition_operation): Declare.
15490         (secondary_reload_class): Likewise.
15491         * alpha.c (addition_operation): New.
15492         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
15493         * alpha.md (adddi3): Turn into expander.
15494         (*lda, *adddi_2): New.
15495         (movsf, movdf patterns): Don't preference integer regs.
15496         (movsi, movdi patterns): Don't preference fp regs.
15497
15498 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
15499
15500         * genrecog.c (write_switch): Check for duplicate CODE cases.
15501
15502 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
15503
15504         * ggc-common.c: Update pre-function commentary.
15505         * ggc-page.c: Likewise.
15506         (poison): Remove.
15507         (poison_pages): Use memset directly.
15508         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
15509         (ggc_collect): Poison before sweeping.
15510         * ggc-simple.c: Update pre-function commentary.
15511         (ggc_alloc_obj): Poison non-zeroed memory.
15512
15513 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
15514
15515         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
15516         match format string, even on 64-bit hosts.
15517         * gcc-page.c (ggc_page_print_statistics): Likewise.
15518
15519 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
15520
15521         * config/i386/i386.c (ix86_cpu): Revert last patch.
15522         * config/i386/i386.h (ix86_cpu): Ditto.
15523
15524 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
15525
15526         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
15527         TYPE_SIZE, convert type of result to sizetype.
15528
15529 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
15530
15531         * flow.c (count_or_remove_death_notes): Equate NULL with the
15532         universal set.
15533
15534         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
15535         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
15536         dbr_schedule.
15537
15538         * i386.c (pic_label_no): Delete.
15539         (ix86_attr_length_default): Don't use single_set to peek
15540         inside a parallel.
15541
15542         * recog.c (peephole2_optimize): Allow recog_next_insn to index
15543         the first insn after bb->end.
15544         * i386.md (push mem peeps): Scratch is live after evaluation
15545         of the memory.
15546         (cmp mem peep): Similarly.
15547
15548 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
15549
15550         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
15551         * function.c (pad_to_arg_alignment): Add missing braces.
15552
15553 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15554
15555         * alpha/alpha-protos.h (literal_section): Add prototype.
15556         (alpha_need_linkage, alpha_start_function,alpha_end_function):
15557         Constify a char*.
15558
15559         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
15560         prototype.
15561         (alpha_start_function, alpha_end_function, float_strings,
15562         alpha_need_linkage): Constify a char*
15563
15564         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
15565
15566         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
15567
15568         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
15569
15570         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
15571
15572 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15573
15574         * flow.c (debug_flow_info): Add prototype.
15575
15576         * gcc.c (main): Likewise.
15577
15578         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
15579         Likewise.
15580
15581         * reload1.c (failed_reload, set_reload_reg): Likewise.
15582
15583         * mips-tfile.c (main): Likewise.
15584         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
15585         with ATTRIBUTE_NORETURN.
15586
15587 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
15588
15589         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
15590         DECL is not a memory ref.
15591
15592 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
15593
15594         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
15595         * config/i386/i386.c (ix86_cpu): Add extern attribute.
15596
15597 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
15598
15599         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
15600         * config/mips/elf64.h: ditto.
15601
15602 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
15603
15604         * expr.c (emit_push_insn): New argument alignment_pad.
15605         Update all callers.  Adjust stack pointer based on alignment pad.
15606         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
15607         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
15608         (locate_and_pad_parm): New argument alignment_pad.  Update all
15609         callers.
15610         * expr.h (emit_push_insn): Update prototype.
15611         (locate_and_pad_parm): Update prototype.
15612         * calls.c (arg_data):  Add new field alignment_pad.
15613         (initialize_argument_information): Initialize alignment_pad.
15614
15615 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
15616
15617         * except.c (free_eh_nesting_info): Free the info itself.
15618         * function.c (free_after_compilation): Don't free NULL.
15619         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
15620         (pre_edge_insert): Free inserted.
15621         * stmt.c (free_stmt_status): Don't free NULL.
15622
15623 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
15624
15625         * gcov.c (DIR_SEPARATOR): Provide default.
15626         (output_data): Add test for MS-DOS format absolute filename.
15627         (fancy_abort): Correct program name.
15628         (open_files): Open all files in binary mode.
15629         * libgcc2.c (__bb_exit_func): Likewise.
15630
15631         * profile.c (init_branch_prob): Specify binary when opening files.
15632
15633         * flags.h (flag_unwind_tables): New decl.
15634         * toplev.c (flag_unwind_table): New definition.
15635         (f_options): Add -funwind-tables.
15636         (decode_g_option): Clarify warning when unknown -g option is given.
15637         (rest_of_compilation): If inside an inlined external function,
15638         pretend we are just being declared.
15639
15640         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
15641         (dwarf2out_frame_finish): Likewise.
15642
15643 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
15644
15645         * fold-const.c (merge_ranges): If not in0, but in1, handle
15646         upper bounds equal like subset case.
15647
15648 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
15649
15650         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
15651         passed in a register but moved to the stack.
15652
15653 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
15654
15655         * gcc.c (pass_exit_codes, greatest_status): New variables.
15656         (struct option_map): Add entry for "--pass-exit-codes".
15657         (execute): Update greatest_status if error.
15658         (display_help): Add documentation for -pass-exit-codes.
15659         (process_command): Handle -pass-exit-codes.
15660         (main): Look at pass_exit_codes and greatest_status on call to exit.
15661
15662 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15663
15664         * reload.c (find_reloads): Refine test for no input reload
15665         case to not includes reloads emitted after insn.
15666
15667         * function.c (find_temp_slots_from_address): Handle sum involving
15668         a register that points to a temp slot.
15669         (update_temp_slot_address): Make recursive call if both old and
15670         new are PLUS with a common operand.
15671         * calls.c (expand_call): Mark temp slot for result as having
15672         address taken.
15673
15674         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
15675
15676         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
15677         component as well as "BINUTILS".
15678
15679         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
15680         * integrate.c (copy_rtx_and_substitute): Likewise.
15681         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
15682         All callers changed.
15683         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
15684
15685         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
15686         gdb extensions, write size of type; also be more consistent
15687         in using references when this is a subtype.
15688
15689         * pa.md (extv, extzv, insv): Use define_expand to reject constant
15690         that is out of range.
15691
15692         * loop.c (unknown_constant_address_altered): New variable.
15693         (prescan_loop): Initialize it.
15694         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
15695         (invariant_p, case MEM): Remove handling for volatile and readonly;
15696         check new variable if readonly.
15697         (check_dbra_loop): Chdeck unknown_constant_address_altered.
15698
15699         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
15700         (addr_affects_sp_p): Removed from note_mem_written and only
15701         define #ifdef AUTO_INC_DEC.
15702
15703         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
15704
15705         * regclass.c (record_reg_classes): Properly handle register move
15706         directions.
15707
15708         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
15709         Don't think valid if both operands are invalid.
15710         (struct constant_descriptor): New field RTL.
15711         (mark_const_hash_entry): Mark it.
15712         (record_constant{,_rtx}): Initialize it.
15713         (output_constant_def): Allocate RTL in permanent obstack and
15714         save in table.
15715         ({record,compare}_constant_1): Modes must match for
15716         CONSTRUCTOR of ARRAY_TYPE.
15717
15718         * c-common.h (initializer_constant_valid_p): Delete decl from here.
15719         * output.h (initializer_constant_valid_p): Move decl to here.
15720         * c-common.c (initializer_constant_valid_p): Delete function from here.
15721         * varasm.c (initializer_constant_valid_p): Move function to here.
15722
15723         * tree.h (STRIP_SIGN_NOPS): New macro.
15724         * fold-const.c (optimize_minmax_comparison): New function.
15725         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
15726         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
15727         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
15728         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
15729         widening conversions.
15730         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
15731         to look at size of mode, not precision of type; also add missing cases.
15732         (optimize_bit_field_compare, decode_field_reference): Don't try to
15733         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
15734
15735         * dwarf2out.c (ctype.h): Include.
15736         (dwarf2out_set_demangle_name_func): New function.
15737         (size_of_line_info): Deleted.
15738         (output_line_info): Compute size of line info table from difference
15739         of labels.
15740         (base_type_die, add_name_attribute): Call demangle function, if any.
15741         (field_byte_offset): Use bits per word for variable length fields.
15742         (gen_array_type_die): Add array name.
15743         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
15744         (dwarf2out_add_library_unit_info): New function.
15745
15746         * explow.c (set_stack_check_libfunc): New function.
15747         (stack_check_libfunc): New static variable.
15748         (probe_stack_range): Allow front-end to set up a libfunc to call.
15749
15750         * combine.c (simplify_comparison): When making comparison in wider
15751         mode, check for having commuted an AND and a SUBREG.
15752         (contains_muldiv): New function.
15753         (try_combine): Call it when dividing a PARALLEL.
15754         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
15755         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
15756         a PLUS.
15757         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
15758         use one of the CLOBBERs instead.
15759         (if_then_else_cond): If comparing against zero, just return thing
15760         being compared.
15761
15762         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
15763         Don't generate shifts and subtract if have conditional arithmetic.
15764
15765         * rtl.h (delete_barrier): New declaration.
15766         * jump.c (jump_optimize): Set up to handle conditional call.
15767         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
15768         (delete_barrier): New function.
15769
15770         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
15771
15772         * recog.c (nonmemory_operand): Accept ADDRESSOF.
15773
15774         * tree.c (build_type_attribute_variant): Push to obstack of
15775         ttype around type_hash_canon call.
15776
15777         * expr.c (placeholder_list): Move decl to file scope.
15778         (expand_expr): Don't force access to volatile just because its
15779         address is taken.
15780         If ignoring reference operations, just expand the operands.
15781         (expand_expr, case COMPONENT_REF): Propagate
15782         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
15783         Refine test for using bitfield operations vs pointer punning.
15784         (expand_expr, case CONVERT_EXPR): If converting to
15785         BLKmode UNION_TYPE from BLKmode, just return inner object.
15786         Use proper mode in store_field call.
15787         Properly set sizes of object to store and total size in store_field
15788         call for convert to union.
15789         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
15790         memory (like for ADDR_EXPR).  Also, don't put constant in register if
15791         we'll want it in memory.
15792         (readonly_fields_p): New function.
15793         (expand_expr, case INDIRECT_REF): Call it if LHS.
15794         (expand_assignment): Handle a RESULT_DECL where
15795         DECL_RTL is a PARALLEL.
15796         (do_jump, case WITH_RECORD_EXPR): New case.
15797         (get_inner_reference): Always go inside a CONVERT_EXPR
15798         and NOP_EXPR if both modes are the same.
15799         (store_field): Use bitfield operations if size of bitsize is not same
15800         as size of RHS's type.
15801         Check for bitpos not a multiple of alignment in BLKmode case.
15802         Do block move in largest possible alignment.
15803         (store_constructor): Set BITSIZE to -1 for variable size and properly
15804         in case of array of BLKmode.
15805         (expand_expr_unaligned): New function.
15806         (do_compare_and_jump): Call it.
15807
15808         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
15809         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
15810         does not include 'o'.
15811
15812         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
15813         both SET_DEST and SET_SRC reference a virtual register.
15814         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
15815
15816         * integrate.c (expand_inline_function): Handle case of setting
15817         virtual stack vars register (from built in setjmp); when parameter
15818         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
15819         (subst_constant): Add new parm, MEMONLY.
15820         (expand_inline_function, integrate_parm_decls): Pass new parm.
15821         (integrate_decl_tree): Likewise.
15822         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
15823         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
15824         (copy_rtx_and_substitute, case SET): Add explicit calls to
15825         copy_rtx_and_substitute for both sides.
15826
15827         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
15828         constraints.
15829         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
15830         within INDEX_TYPE, instead of before.
15831         (fixup_gotos): Use f->target_rtl, not the next insn,
15832         since latter may be from a later fixup.
15833         (expand_value_return): Correctly convert VAL when promoting function
15834         return; support RETURN_REG being a PARALLEL.
15835         (expand_return): When checking for result in regs and having
15836         cleanup, consider PARALLEL in DECL_RTL as being in regs.
15837
15838 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
15839
15840         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
15841         last_nominal_fname): Mark const.
15842         (struct include_hash: name, nshort, control_macro): Mark
15843         const.
15844         (struct macrodef: symnam): Mark const.
15845         (struct if_stack: fname): Mark const.
15846         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
15847         (IStable): New character-syntax array which encompasses all
15848         the old is_foo arrays.
15849         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
15850         is_space): New macros for interrogating IStable.
15851         (check_macro_name): Kill last argument.  All callers changed.
15852
15853         * cppinit.c (initialize_char_syntax): Delete.
15854         (is_idchar, is_idstart, is_hor_space, is_space,
15855         trigraph_table): Delete.
15856         (IStable): New.  Initialize with clever macros to avoid
15857         information duplication.
15858         (builtin_array): Table of builtins to get rid of explicit list
15859         in initialize_builtins.
15860         (initialize_builtins): Use builtins_array.
15861         (cpp_start_read): Call init_IStable, and set IStable['$'] if
15862         opts->dollars_in_ident.
15863
15864         * cppexp.c: Change all refs to is_xyz[] arrays to use new
15865         is_xyz() macros.
15866         (cpp_parse_expr): Avoid 'format string is not constant'
15867         warning. Use ISGRAPH to identify printable chars.
15868         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
15869         is_xyz() macros.
15870         (read_and_prescan): Map trigraphs to chars with open-coded
15871         if-else-if-... sequence, not a lookup table.
15872         * cpphash.c: Change all refs to is_xyz[] arrays to use new
15873         is_xyz() macros.
15874         * cpplib.c: Change all refs to is_xyz[] arrays to use new
15875         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
15876         (check_macro_name): Remove ability to report an invalid
15877         assertion name, which is never used.
15878         (do_line): Constify a couple of char *'s.
15879         * cppmain.c (main): Call cpp_cleanup before returning.
15880
15881 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
15882
15883         * ggc.h (struct ggc_statistics): New type.
15884         (ggc_get_size): New function.
15885         (ggc_print_statistics): Likewise.
15886         * ggc-common.c (ggc_stats): New variable.
15887         (ggc_mark_rtx_children): Keep statistics.
15888         (ggc_mark_tree_children): Likewise.
15889         (ggc_print_statistics): New function.
15890         * ggc-page.c (struct globals): Add bytes_mapped field.
15891         (alloc_anon): Update it.
15892         (release_pages): Likewise.
15893         (ggc_get_size): New function.
15894         (ggc_page_print_statistics): New function.
15895         * ggc-simple.c (ggc_get_size): New function.
15896
15897 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
15898
15899         * flow.c (propagate_block): When the last reference to a label
15900         before an ADDR_VEC is deleted because the reference is a dead
15901         store, delete the ADDR_VEC.
15902
15903 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
15904
15905         * resource.c (find_free_register): Don't use the frame pointer
15906         if frame_pointer_needed.
15907
15908 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
15909
15910         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
15911         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
15912
15913         * config/i960/i960.c (i960_va_start): New locals base, num.
15914         Use INDIRECT_REF instead of ARRAY_REF on valist.
15915         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
15916
15917 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
15918
15919         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
15920
15921 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
15922
15923         * tree.def (PLACEHOLDER_EXPR): Update comments.
15924
15925 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15926
15927         * c-common.c (check_format_info): Avoid non-literal format string
15928         warnings when `first_arg_num' is zero.
15929
15930 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15931
15932         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
15933
15934 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
15935
15936         * arm.md (casesi_insn): Add a clobber of the condition code
15937         register.
15938
15939 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
15940
15941         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
15942         used by both cc1 and cc1plus.
15943
15944 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
15945
15946         * config/arm/arm.c: Initialise arm_structure_size_boundary to
15947         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
15948         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
15949         to the value 32 if it has not already been defined.
15950         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
15951         Override definition in arm.h with a value of 8.
15952
15953 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
15954
15955         * c-pragma.c (push_alignment): Don't check the return value
15956         of xmalloc.
15957
15958 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
15959
15960         * sparc.h (ADJUST_COST): Fix thinko.
15961
15962 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
15963
15964         * cccp.c (rescan): Fixed obp pointer handling around call to
15965         check_expand subroutine.
15966
15967 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
15968
15969         * gcse.c (delete_null_pointer_checks): Only record non-null info
15970         for pseudos when examining stores.
15971
15972         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
15973         splitters for these patterns.  Use "#" for output templates.
15974         (addsi3_carryin_shift): New pattern.
15975
15976 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
15977
15978         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
15979         of the function return register into a plain REG until
15980         after function inlining is done.
15981
15982 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
15983
15984         * jump.c (jump_optimize_1): If we did cross-jumping, and
15985         the data will matter, rebuild the CFG.
15986         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
15987         not optimizing.  Don't run shorten_branches.
15988         * toplev.c (rest_of_compilation): Run shorten_branches after
15989         reg_to_stack.
15990
15991 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
15992
15993         * rtl.h (note_stores): Add additional paramter.
15994         * rtlanal.c (reg_set_p_1): Take additional paramter.
15995         (reg_set_last_1): Likewise.
15996         (reg_set_p): Adjust call to note_stores.
15997         (reg_set_last): Likewise.
15998         (note_stores): Pass data parameter to worker function.
15999         * alias.c (record_set): Take additional parameter.
16000         (init_alias_analysis): Pass it.
16001         * caller-save.c (mark_set_regs): Take additional parameter.
16002         (save_call_clobbered_regs): Pass NULL to note_stores.
16003         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
16004         parameter.
16005         (record_dead_and_set_regs_1): Likewise.
16006         (reg_dead_at_p_1): Likewise.
16007         (combine_instructions): Adjust calls to note_stores.
16008         (try_combine): Likewise.
16009         (record_dead_insn): Remove.
16010         (record_dead_and_set_regs): Adjust calls to note_stores.
16011         (reg_dead_at_p): Likewise.
16012         * cse.c (invalidate_skipped_set): Take additional parameter.
16013         (cse_check_loop_start): Likewise.
16014         (cse_check_loop_start_value): Remove.
16015         (cse_set_around_loop): Adjust calls to note_stores.
16016         * flow.c (notice_stack_pointer_modification): Take additional
16017         parameter.  Remove duplicate declaration.
16018         (record_volatile_insns): Adjust calls to note_stores.
16019         * gcse.c (record_set_info): Take additional parameter.
16020         (record_last_set_info): Likewise.
16021         (invalidate_nonnull_info): Likewise.
16022         (record_set_insn): Remove.
16023         (compute_sets): Adjust calls to note_stores.
16024         (last_set_insn): Remove.
16025         (compute_hash_table): Adjust calls to note_stores.
16026         (insert_insn_end_bb): Likewise.
16027         (delete_null_pointer_checks): Likewise.
16028         * global.c (mark_reg_store): Take additional parameter.
16029         (mark_reg_clobber): Likewise.
16030         (reg_becomes_live): Likewise.
16031         (global_conflicts): Adjust calls to note_stores.
16032         (build_insn_chain): Likewise.
16033         * integrate.c (note_modified_parmregs): Take additional parameter.
16034         (mark_stores): Likewise.  Make it static.
16035         (save_for_inline_nocopy): Adjust calls to note_stores.
16036         (try_constants): Likewise.
16037         * integrate.h (mark_stores): Remove declaration.
16038         * jump.c (mark_modified_reg): Take additional parameter.
16039         (thread_jumps): Adjust calls to note_stores.
16040         * local-alloc.c (validate_equiv_mem_from_store): Take additional
16041         parameter.
16042         (no_equiv): Likewise.
16043         (reg_is_set): Likewise.
16044         (validate_equiv_mem): Adjust calls to note_stores.
16045         (update_equiv_regs): Likewise.
16046         (block_alloc): Likewise.
16047         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
16048         (note_addr_stored): Take additional parameter.
16049         (note_set_pseudo_multiple_uses): Likewise.
16050         (record_initial): Likewise.
16051         (prescan_loop): Adjust calls to note_stores.
16052         (strength_reduce): Likewise.
16053         (check_dbra_loop): Likewise.
16054         * regmove.c (flags_set_1): Take additional paramter.
16055         (mark_flags_life_zones): Adjust calls to note_stores.
16056         * reload1.c (mark_not_eliminable): Take additional parameter.
16057         (forget_old_reloads_1): Likewise.
16058         (reload_cse_invalidate_rtx): Likewise.
16059         (reload_cse_check_clobber): Likewise.
16060         (reload_combine_note_store): Likewise.
16061         (move2add_note_store): Likewise.
16062         (reload): Adjust calls to note_stores.
16063         (reload_as_needed): Likewise.
16064         (emit_reload_insns): Likewise.
16065         (reload_cse_regs_1): Likewise.
16066         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
16067         (reload_combine): Adjust calls to note_stores.
16068         * resource.c (update_live_status): Take additional paramter.
16069         (mark_target_live_regs): Adjust calls to note_stores.
16070         * stupid.c (find_clobbered_regs): Take additional parameter.
16071         (stupid_life_analysis): Adjust calls to note_stores.
16072
16073 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
16074
16075         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
16076         definition.
16077
16078         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
16079         definition.
16080
16081         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
16082         of the variable arm_structure_size_boundary.
16083
16084 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
16085
16086         * alias.c (init_alias_analysis): Allocate reg_known_value and
16087         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
16088         and reg_seen.
16089         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
16090         * cse.c (cse_main): Call end_alias_analysis.
16091         * haifa-sched.c (schedule_insns): Likewise.
16092         * local-alloc. (update_equiv_regs): Likewise.
16093         * reload1.c (reload_cse_regs): Likewise.
16094
16095 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16096
16097         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
16098         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
16099         mapping from MASK_FPU.
16100
16101 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
16102
16103         * sparc.md (call): Don't bound structure return size to 0xfff.
16104
16105 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
16106
16107         * resource.c (mark_target_live_regs): Check that the target
16108         insn wasn't created after compute_bb_for_insn.
16109
16110 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
16111
16112         * ggc-page.c (poison_pages): Don't be overzealous.
16113
16114 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
16115
16116         * alias.c: Update comments for ADDRESS.
16117         (nonlocal_reference_p): Look inside the ADDRESS to determine if
16118         it is a local memory reference.
16119
16120         * c-typeck.c (build_function_call): Check that the built-in
16121         function is of class BUILT_IN_NORMAL before trying to recongize
16122         it as BUILT_IN_ABS.
16123         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
16124         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
16125
16126 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
16127
16128         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
16129         of alloca.
16130         (pre_gcse): Likewise.
16131         (hoist_expr_reaches_here_p): Likewise.
16132         (hoist_code): Likewise.
16133         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
16134         code to ...
16135         (pre_expr_reaches_here_p_work): ... here.
16136         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
16137         code to ...
16138         (expr_reaches_here_p_work): ... here.
16139
16140 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
16141
16142         * resource.c (find_basic_block): Delete.
16143         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
16144         (init_resource_info): Call compute_bb_for_insn.
16145
16146 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
16147
16148         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
16149         with already adjacent blocks, but no fallthru.
16150         (merge_blocks_move_successor_nojumps): Simplify.
16151         (debug_flow_info): New.
16152
16153         * toplev.c (rest_of_compilation): Open jump1 dump file before
16154         jump and close after, as opposed to just using dump_rtl.
16155
16156 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16157
16158         * reload.h (earlyclobber_operand_p): Declare.
16159         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
16160         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
16161         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
16162         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
16163
16164 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
16165                           Richard Henderson  <rth@cygnus.com>
16166
16167         * emit-rtl.c (emit_block_insn_before): New.
16168         (emit_block_insn_after): New.
16169         * basic-block.h: Declare them.
16170
16171         * bitmap.h: Protect from multiple inclusion.
16172
16173         * recog.c (scratch_operand): Handle VOIDmode correctly.
16174
16175         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
16176
16177         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
16178         * function.c (assign_parms): Likewise.
16179         * global.c (global_conflicts): Clarify STACK_REGS commentary.
16180
16181         * reg-stack.c (max_uid): Remove.
16182         (blocks, block_begin, block_end, block_drops_in): Remove.
16183         (block_stack_in, block_out_reg_set, block_number): Remove.
16184         (struct block_info_def, BLOCK_INFO): New.
16185         (enum emit_where): New.
16186         (current_block): New.
16187         (BLOCK_NUM): Remove.
16188         (mark_regs_pat, record_label_references): Remove.
16189         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
16190         (nan): New.
16191         (goto_block_pat, print_blocks, dump_stack_info): Remove.
16192         (reg_to_stack): Simplified test for existance of fp code.  Use
16193         flow.c code.  Call shorten_branches after cross-jump opt.
16194         (check_asm_stack_operands): Renamed from record_asm_reg_life.
16195         Return false if the asm doesn't use stack regs.  Don't do life
16196         analysis on the asm.
16197         (emit_pop_insn): Replace function pointer arg `when' with
16198         enum `where'.  Update all callers.
16199         (change_stack): Likewise.  Update basic block end.
16200         (emit_swap_insn): Use current_block->head to limit reverse search
16201         for start of block.  Use emit_block_insn_after.
16202         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
16203         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
16204         structure assignment instead of bcopy.
16205         (print_stack): New.
16206         (convert_regs_entry, convert_regs_exit): New.
16207         (convert_regs_1, convert_regs_2): Split out from convert_regs.
16208         Work on basic blocks and the CFG.
16209         (convert_regs): Use them.
16210
16211         * i386.c (output_fix_trunc): Remove code for DImode input operand
16212         not at top-of-stack.
16213         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
16214         appropriate mode.
16215         (fix_truncdi_1): Allow any mode scratch.
16216
16217 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
16218
16219         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
16220         * linux.h, netbsd.h, vms.h: Not here.
16221
16222 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
16223
16224         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
16225         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
16226         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
16227         CONDITIONAL_REGISTER_USEAGE): Use them.
16228         * config/mips/mips.c (mips_move_1word,mips_move_2words,
16229         gen_conditional_branch,override_options) : Use them.
16230         * config/mips/mips.md : Use them.
16231
16232 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
16233
16234         * i386.md (zero_extendqihi2): Use SImode register name with andl.
16235
16236 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
16237
16238         * integrate.c (function_cannot_inline_p): Don't allow inlining
16239         if setjmp is used.
16240
16241 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16242
16243         * c-parse.in (cast_expr): Constify.
16244
16245         * cccp.c (special_symbol): Likewise.
16246
16247         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
16248
16249         * dwarf2out.c (base_type_die): Likewise.
16250
16251         * global.c (allocno_compare): Likewise.
16252
16253         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
16254
16255         * regclass.c (fix_register): Likewise.
16256
16257         * rtl.h (fix_register): Likewise.
16258
16259         * stupid.c (stupid_reg_compare): Likewise.
16260
16261         * toplev.c (decode_f_option): Likewise.
16262
16263         * tree.c (build_complex_type): Likewise.
16264
16265 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
16266
16267         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
16268
16269 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16270
16271         * reload.c (find_reloads): Compute mode and nregs fields of all
16272         reloads.
16273         * reload1.c (calculate_needs_all_insns): Simplify a bit.
16274         (calculate_needs): Use precomputed mode/nregs values.
16275         (allocate_reload_reg): Likewise.
16276         Break out two...
16277         (failed_reload, set_reload_reg): ... new functions.
16278         (choose_reload_regs_init): New function, mostly broken out from...
16279         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
16280         Also lose one #if 0 block.
16281
16282 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
16283
16284         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
16285         substitution.
16286
16287 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
16288
16289         * tree.h (BLOCK_TYPE_TAGS): Remove.
16290         (BLOCK_END_NOTE): Likewise.
16291         (BLOCK_LIVE_RANGE_FLAG): Likewise.
16292         (BLOCK_LIVE_RANGE_START): Likewise.
16293         (BLOCK_LIVE_RANGE_END): Likewise.
16294         (tree_block): Remove live_range_flag, live_range_var_flag, and
16295         type_tags.  Remove end_note, live_range_start, and live_range_end.
16296         (remember_end_note): Remove prototype.
16297         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
16298         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
16299         remember_end_note.
16300         * ggc-common.c (ggc_mark_tree_children): Don't mark
16301         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
16302         * integrate.c (adjust_copied_decl_tree): Remove.
16303         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
16304         * stmt.c (last_block_end_note): Remove.
16305         (init_stmt): Don't add a GC root for it.
16306         (expand_fixup): Don't set it.
16307         (remember_end_note): Remove.
16308         (expand_end_bindings): Don't set last_block_end_note.
16309
16310 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16311
16312         * reload1.c (reload_reg_free_for_value_p): Show
16313         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
16314         reloads.
16315
16316 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
16317
16318         * expmed.c (extract_bit_field): Allow for the case of non-integer
16319         objects that are smaller than a word (like SFmode on a 64-bit
16320         machine).
16321
16322         * loop.c (basic_induction_var): A non-integer variable which is
16323         being set by a paradoxical subreg is probably not a biv.
16324
16325 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16326
16327         * prefix.c (translate_name) Check for empty prefix string.
16328
16329 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
16330
16331         * Makefile.in (CPP_CROSS_NAME): New variable.
16332         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
16333         xcpp.
16334         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
16335         names of the files to be uninstalled.
16336
16337 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
16338
16339         * collect2.c (IS_DIR_SEPARATOR): Define.
16340         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
16341
16342         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
16343         functions too.
16344
16345         * haifa-sched.c (add_dependence): Update the true dependency
16346         cache the first time we add a true dependence to the LOG_LINKS chain.
16347
16348 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
16349
16350         * fold-const.c (fold): Fix comment.
16351
16352 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16353
16354         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
16355         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
16356         dbxout_start_new_source_file, dbxout_source_file,
16357         dbxout_source_line, dbxout_finish, dbxout_type_fields,
16358         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
16359         Constify a char*.
16360         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
16361         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
16362         (dbxout_block): Initialize variable `blocknum'.
16363
16364         * dbxout.h (dbxout_init, dbxout_finish,
16365         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
16366         dbxout_args, dbxout_source_line): Constify a char*.
16367
16368         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
16369         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
16370         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
16371         low_pc_attribute, high_pc_attribute, body_begin_attribute,
16372         body_end_attribute, comp_dir_attribute, sf_names_attribute,
16373         src_info_attribute, mac_info_attribute, producer_attribute,
16374         lookup_filename, generate_macinfo_entry, fundamental_type_code,
16375         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
16376         dwarfout_undef): Constify a char*.
16377         (add_incomplete_type, retry_incomplete_types): Add prototypes.
16378
16379         * dwarfout.h (dwarfout_define, dwarfout_undef,
16380         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
16381
16382 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
16383
16384         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
16385         (MULTILIB_ISA_DEFAULT): New.
16386         (MULTILIB_DEFAULTS): Use it.
16387         * config/mips/mips.c (): Remove the now unnecessary definition
16388         of MIPS_ISA_DEFAULT.
16389         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
16390         unnecessary definition.
16391
16392 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
16393
16394         * arm.md (pic_load_addr): Add constraints to operand 1.
16395
16396 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
16397
16398         * fixinc/genfixes:  Provide a means for specifying -D options to
16399         AutoGen
16400
16401 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
16402
16403         * arm.c (arm_override_options): Correct initialization of
16404         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
16405         arm_is_strong, and arm_is_6_or_7.
16406
16407         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
16408         (note_set_pseudo_multiple_uses): New function.
16409         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
16410         if a pseudo set in the loop exit is used elsewhere.
16411
16412 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
16413
16414         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
16415
16416 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
16417
16418         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
16419         a single load-address pattern.
16420
16421 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
16422
16423         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
16424         depending on whether or not line-number notes are present.
16425
16426 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16427
16428         * cccp.c (progname, file_buf, default_include, include_file,
16429         macrodef, definition, hashval, wchar_type, user_label_prefix,
16430         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
16431         expand_to_temp_buffer, is_system_include, base_name,
16432         absolute_filename, read_name_map, open_include_file,
16433         record_control_macro, check_precompiled, check_preconditions,
16434         pcfinclude, pass_thru_directive, create_definition,
16435         check_macro_name, comp_def_part, collect_expansion,
16436         check_assertion, read_token_list, assertion_install,
16437         assertion_lookup, eval_if_expression, conditional_skip,
16438         validate_else, skip_quoted_string, quote_string, macarg1,
16439         error_from_errno, install, lookup, hashf, dump_defn_1,
16440         perror_with_name, pfatal_with_name, main, trigraph_pcp,
16441         check_white_space, rescan, handle_directive, monthnames,
16442         special_symbol, do_include, remap_include_file, write_output,
16443         arglist, do_assert, do_unassert, do_line, do_error, do_once,
16444         do_ident, do_sccs, do_xifdef, skip_if_group,
16445         output_line_directive, macroexpand, macarg, change_newlines,
16446         initialize_builtins, make_definition): Constify a char*.
16447
16448         * pcp.h (stringdef): Likewise.
16449
16450 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
16451
16452         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
16453         not of pattern.
16454
16455 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
16456                           Richard Henderson  <rth@cygnus.com>
16457
16458         * alias.c: Include ggc.h.
16459         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
16460         (record_set): Verify enough room in reg_base_value.
16461         (init_alias_analysis): Allocate reg_base_value with xcalloc.
16462         Register it as a GC root.
16463         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
16464         * Makefile.in (alias.o): Depend on ggc.h.
16465
16466         * unroll.c (unroll_loop): Verify the insn before a barrier
16467         is a JUMP_INSN before checking JUMP_LABEL.
16468
16469 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16470
16471         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
16472         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
16473         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
16474         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
16475         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
16476         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
16477
16478 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16479
16480         * output.h (ctors_section, dtors_section, bss_section): Prototype.
16481
16482         * alpha/alpha-interix.h (text_section): Delete prototype.
16483         * alpha/elf.h (text_section): Likewise.
16484         * arm/linux-elf.h (text_section): Likewise.
16485         * arm/linux-telf.h (text_section): Likewise.
16486         * c4x/c4x.h (text_section): Likewise.
16487         * dsp16xx/dsp16xx.h (bss_section): Likewise.
16488         * elfos.h (text_section): Likewise.
16489         * i386/aix386ng.h (text_section): Likewise.
16490         * i386/i386-interix.h (text_section): Likewise.
16491         * i386/sco5.h (text_section): Likewise.
16492         * i386/svr3gas.h (text_section): Likewise.
16493         * nextstep.h (text_section): Likewise.
16494         * psos.h (text_section): Likewise.
16495         * ptx4.h (text_section): Likewise.
16496         * svr3.h (text_section): Likewise.
16497         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
16498
16499 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16500
16501         * final.c (peephole): Delete prototype.
16502
16503         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
16504         (pre_insert_copies): Remove unused variable `bb'.
16505
16506         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
16507         prototypes.
16508
16509         * output.h (peephole): Add prototype.
16510
16511 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
16512
16513         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
16514         -O0.
16515
16516 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
16517
16518         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
16519         for inlined declarations.
16520
16521 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
16522
16523         * arm.c (logical_binary_operator): New fucntion.
16524         * arm.h (logical_binary_operator): Declare it.
16525         (PREDICATE_CODES): Handle logical_binary_operator.
16526         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
16527         output constraints.  Add appropriate splitters.
16528         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
16529         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
16530         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
16531
16532 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16533
16534         * genoutput.c (struct operand_data): New elt eliminable.
16535         (output_operand_data): Write it.
16536         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
16537         (compare_operands): Take it into account.
16538         * recog.h (struct insn_operand_data): New elt eliminable.
16539         * reload1.c (check_eliminable_occurrences, elimination_effects): New
16540         functions.
16541         (old_asm_operands_vec, new_asm_operands_vec): Delete.
16542         (eliminate_regs): Move code that detects changes to elimination
16543         target regs into new function elimination_effects.
16544         Delete one #if 0 block.
16545         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
16546         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
16547         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
16548         Only call eliminate_regs for real operands of the insn, not for parts
16549         of its structure or parts matched by things like match_operator.
16550         Use elimination_effects and check_eliminable_occurrences.  Use
16551         copy_insn to duplicate the pattern when not in the final pass.
16552
16553 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
16554
16555         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
16556         and fld.
16557
16558 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
16559
16560         * fixinc/README: document the "mach" machine matching test
16561         * fixinc/fixfixes.c: Implement the #else/#endif label fix
16562         * fixinc/fixtests.c: Implement the #else/#endif label test
16563         * fixinc/inclhack.def: utilize these tests and fixes
16564         * fixinc/inclhack.sh:  regen
16565         * fixinc/fixincl.x:  regen
16566         * fixinc/fixincl.sh:  regen
16567
16568 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
16569
16570         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
16571         depend on ggc.h.
16572
16573 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
16574
16575         * gcc.1: Document exit codes.
16576
16577 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16578
16579         * calls.c: Include tm_p.h later, so everything we need is defined.
16580         * expr.c: Likewise.
16581         * function.c: Likewise.
16582
16583         * except.c: Include tm_p.h.
16584
16585         * sparc.c: Likewise.
16586         (dwarf2out_cfi_label): Don't prototype.
16587         (check_return_regs, epilogue_renumber,
16588         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
16589         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
16590         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
16591         ultra_schedule_insn): Add static prototype.
16592         (data_segment_operand, text_segment_operand): Call itself with the
16593         proper number of arguments.
16594         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
16595
16596         * sparc.h: Move all declarations to sparc-protos.h.
16597         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
16598         symbolic_operand.
16599
16600         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
16601
16602         * config/svr4.h (text_section, ctors_section, dtors_section): Add
16603         Prototypes.
16604         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
16605         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
16606         ASM_OUTPUT_ASCII): Constify a char*.
16607
16608         * sparc-protos.h: New file for sparc prototypes.
16609
16610 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16611
16612         * function.c (record_insns, contains): Always declare and define.
16613         (record_insns): Mark with ATTRIBUTE_UNUSED.
16614
16615 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
16616
16617         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
16618         to .section when outputting a .bss section to deal with multiple
16619         .bss input sections (as happens with -fdata-sections)
16620         Also output %progbits, not @progbits so the assembler doesn't treat as
16621         a comment.
16622         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
16623
16624         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
16625         thumb parts even when building with non-thumb CPUs, by forcing
16626         thumb mode.
16627
16628 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
16629
16630         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
16631         (movdf_const_intreg_sp64): Similarly.
16632
16633         * local-alloc.c (update_equiv_regs): Check the correct insn
16634         for pre-existing REG_EQUIV notes.
16635
16636 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
16637
16638         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
16639         block reached by a branch if we're not going to actually process
16640         this block.
16641
16642 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
16643
16644         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
16645         a local extern function declaration.
16646
16647 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
16648
16649         * i386.c (ix86_expand_prologue): Properly wrap USE around
16650         reg for CALL_INSN_FUNCTION_USAGE.
16651
16652 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
16653
16654         * config/mips/mips.md (movdf_internal1a): Allow floating-point
16655         move between GP_REGs.
16656
16657 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
16658
16659         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
16660         the mode size when finding out if an offset is legal.
16661
16662 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
16663
16664         * basic-block.h (PROP_*): Move constants from ...
16665         * flow.c: ... here.
16666         (compute_bb_for_insn): Free the array before reallocating.
16667         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
16668         (allocate_reg_life_data): Reset all reg variables collected by
16669         propagate_block.
16670         (get_block_head_tail): Don't convert from bb to block.
16671         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
16672         (find_insn_reg_weight): Take block not bb.
16673         (schedule_block): Don't set block num for moved insns.
16674         (schedule_region): Don't update_life_info or find_insn_reg_weight.
16675         (schedule_insns): Do it here instead.
16676         * combine.c (combine_instructions): Invoke compute_bb_for_insn
16677         before update_life_info.
16678         * recog.c (split_all_insns, peephole2_optimize): Update for
16679         new arg to update_life_info.
16680         * rtlanal.c (remove_note): Cope with NULL note.
16681         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
16682         if we did sched1.
16683
16684 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
16685
16686         * jump.c (jump_optimize_1): More accurately detect casesi insns.
16687
16688         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
16689         block records so that merge_blocks_nomove will clean up correctly.
16690         (split_edge): Handle casesi insns.
16691
16692         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
16693
16694 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
16695
16696         * pa.md (call, call_value): Do not emit a blockage after restoring
16697         the PIC register.
16698
16699 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
16700
16701         * c-typeck.c (c_expand_asm_operands): Fix typo.
16702
16703 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16704
16705         * arm.c (fpu_rhs_operand): Verify modes.
16706         (fpu_add_operand): Likewise.
16707         (di_operand): Likewise.
16708         (soft_df_operand): Likewise.
16709
16710 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
16711
16712         * arm.c (arm_return_in_memory): APCS rules state that the elements
16713         of a structure returned in a register must be 'integer-like'.
16714
16715 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
16716
16717         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
16718         in the source tree when the generated targets are out of date
16719         * fixinc/genfixes: Alter it to run individual fixes for make.
16720         * fixinc/README: rewrite
16721         * fixinc/inclhack.def: moved initial comments to README
16722
16723 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
16724
16725         * toplev.c (main): Do not generate an error message if an
16726         unrecognised command line switch is recognisable by another
16727         language.  If extra_warnings are enabled, then generate a
16728         warning message instead.
16729
16730 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16731
16732         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
16733         (insert_pack_attributes): Delete prototype.
16734
16735         * c-pragma.c (default_alignment): New static variable.
16736         (push_alignment): Initialize to current effective alignment.
16737         (pop_alignment): Use to set new alignment.
16738         (insert_pack_attributes): Delete function.
16739         (handle_pragma_token): Set default_alignment as well each time
16740         a #pragma pack(<n>) is encountered.
16741
16742 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
16743
16744         * reg-stack.c (stack_result): Aggregates are not returned in
16745         stack registers.
16746
16747 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
16748
16749         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
16750
16751 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
16752
16753         * basic-block.h (set_block_num): Declare.
16754         * flow.c (update_life_info): Don't call compute_bb_for_insn
16755         or free_basic_block_vars.
16756         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
16757         (insn_orig_block): Remove.
16758         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
16759         (schedule_block): Keep BLOCK_NUM up-to-date.
16760         (schedule_insns): Use compute_bb_for_insn.
16761         * recog.c (split_all_insns): Likewise.
16762         (peephole2_optimize): Likewise.
16763
16764 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
16765
16766         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
16767         if the pic register is used.
16768
16769 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16770
16771         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
16772         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
16773         if that tests TREE_PERMANENT.
16774
16775 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
16776
16777         * cse.c (invalidate_for_call): Do not remove memory references from
16778         the table here.  It's handled elsewhere.
16779
16780         * haifa-sched.c (add_dependence): Protect references to the
16781         true dependency cache with #ifdef INSN_SCHEDULING.
16782         (remove_dependence): Similarly.
16783
16784         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
16785         to the cfg code that this is a return instruction.
16786         * mn10300.md (return_internal): Similarly.
16787
16788         * combine.c (get_last_value): If the last set of a register
16789         is after subst_low_cuid, then we can not use it to determine
16790         the register's last value.
16791
16792 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
16793
16794         * Makefile.in: Back out previous change.
16795
16796 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
16797
16798         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
16799
16800         * haifa-sched.c (add_dependence): Only check/update the cache
16801         if it exists.
16802         (remove_dependence): Likewise.
16803         (schedule_insns): Only create the true_dependency_cache if the
16804         average number of instructions in a basic block is very large.
16805
16806 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
16807
16808         * Makefile.in (ggc-common.o): Depend on genrtl.h.
16809         (ggc-simple.o): Likewise.
16810         (ggc-page.o): Likewise.
16811
16812 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
16813
16814         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
16815         Prototype for exported functions.
16816         (pre_lcm, pre_rev_lcm): Remove prototypes.
16817         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
16818         (compute_available): Move to lcm.c, and change parameter order.
16819         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
16820         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
16821         (gcse_main): No longer call compute_preds_succs.  Rebuild the
16822         set table after reach pre pass.
16823         (pre_insert_map, pre_delete_map, edge_list): New.
16824         (alloc_pre_mem): Allocate edge vectors.
16825         (free_pre_mem): Delete edge vectors.
16826         (compute_pre_data): Call new edge based lcm routines.
16827         (process_insert_insn): New function.
16828         (insert_insn_end_bb): Use it.
16829         (pre_edge_insert): New function.
16830         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
16831         needed.
16832         (pre_insert_copies): Revamp using new edge based lcm outputs.
16833         (pre_delete): Likewise.
16834         (one_pre_gcse_pass): Insert & remove fake edges to the exit
16835         block.
16836         (compute_code_hoist_vbeinout): New new edge based routines.
16837         * lcm.c: Remove all the old LCM functions.  Replace with new ones
16838         that work with the new cfg datastructures and work with edges
16839         instead of blocks.
16840
16841 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16842
16843         * reload.h (struct reload): Add new fields "mode" and "nregs".
16844         * reload1.c: Change all occurrences of reload_mode and reload_nregs
16845         to reference the "mode" and "nregs" field within struct reload.
16846
16847 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
16848
16849         * haifa-sched.c (true_dependency_cache): New.
16850         (add_dependence): Use the true dependency cache to avoid expensive
16851         walks down the LOG_LINKS dependency list.  Add entries to the
16852         cache as necessary.
16853         (remove_dependence): Remove entries from the true dependency cache
16854         as needed.
16855         (schedule_insns): Allocate and initialize and free the true
16856         dependency cache.
16857
16858         * haifa-sched.c (schedule_insns): Do not remove inter-block
16859         dependencies anymore.
16860
16861 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
16862
16863         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
16864         * i386/t-winnt: Likewise.
16865
16866 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
16867
16868         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
16869
16870 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
16871
16872         * Makefile.in (LANGUAGES): Omit "proto".
16873         (clean): Remove stale comment about removing unprotoize.c.
16874
16875 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16876
16877         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
16878         using arithmetic on void pointers.
16879
16880 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
16881
16882         * haifa-sched.c (compute_block_forward_dependencies): Only check
16883         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
16884
16885 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
16886
16887         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
16888         (expr_equiv_p): Reject memories with different alias sets.
16889
16890 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
16891
16892         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
16893         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
16894         (f_options): Add "bounded-pointers" and "bounds-check" entries.
16895         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
16896         (lang_init): Set default for flag_bounds_check if still "unspecified".
16897
16898 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16899
16900         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
16901
16902 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16903
16904         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
16905         instructions.
16906
16907 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16908
16909         * config/c4x/c4x.md (*db_noclobber,
16910         *decrement_and_branch_until_zero_noclobber): New patterns and
16911         associated splitters.
16912
16913 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16914
16915         * config/c4x/c4x.md (parallel instruction patterns): Rework
16916         constraints to keep reload happy.
16917
16918 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16919
16920         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
16921         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
16922         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
16923         Add new patterns and associated post-reload splitters.
16924
16925 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16926
16927         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
16928
16929 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16930
16931         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
16932         if appropriate.
16933         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
16934
16935 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16936
16937         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
16938         memory mode.
16939
16940 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
16941
16942         * pa.c (move_operand): Rely on memory_address_p to determine the
16943         validity of non-indexed memory addresses.
16944         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
16945         operand in DFmode and SFmode when generating PA2.0 code.
16946
16947 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
16948
16949         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
16950
16951 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
16952
16953         * mips.c (function_prologue): Fix argument types.
16954         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
16955         (casesi_internal): Write to the scratch register.
16956
16957 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
16958
16959         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
16960         to U_CHAR **.
16961         (parse_charconst): Delete unnecessary cast when calling
16962         cpp_parse_escape.
16963         (cpplib.h): Kill prototype of cpp_parse_escape.
16964
16965 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
16966
16967         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
16968         * unroll.c (unroll_loop): Cast return value of alloca.
16969         * i370/i370.c: Include function.h and toplev.h.
16970         (i370_label_scan): Remove c++ commented abort.
16971         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
16972         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
16973         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
16974         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
16975
16976 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
16977
16978         * config/t-freebsd: Do not override USER_H.
16979         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
16980
16981 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
16982                           Mumit Khan  <khan@xraylith.wisc.edu>
16983
16984         * c-parse.in (component_decl): Support anonymous struct/union.
16985         (%expect): Update.
16986         * c-parse.y: Regenerate.
16987         * c-parse.c: Likewise.
16988         * objc/objc-parse.y: Likewise.
16989         * objc/objc-parse.c: Likewise.
16990         * c-decl.c (finish_struct): Don't sort the fields.
16991         (field_decl_cmp): Delete unused function.
16992
16993 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
16994
16995         * sparc.md (movsf_const_intreg): Revert last constraint change.
16996         (movdf_const_intreg_sp32): Likewise.
16997
16998 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
16999
17000         * cse.c: Include hashtab.h instead of splay-tree.h
17001         (struct cse_reg_info): No longer use variant union.  Add new
17002         field "regno".  All references changed to avoid union.
17003         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
17004         (free_cse_reg_info): Remove.
17005         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
17006         (get_cse_reg_info): Revamp to use expandable hash tables instead
17007         of splay trees.  Initialize new fields in cse_reg_info structure.
17008         (new_basic_block): Similarly.
17009
17010 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
17011
17012         * genrecog.c (message_with_line): Prototype.
17013         (validate_pattern): Pass along the set for the dest, not a flag.
17014         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
17015         Check for PC/CC0 as sources.
17016         (nodes_identical): Check for children position match before
17017         allowing the combination.
17018
17019         * rtl.c (read_rtx): Track line number across \\\n.
17020
17021 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
17022
17023         * mips.h (SPECIAL_MODE_PREDICATES): New.
17024         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
17025         (movdi+1, movsi+1): Add output reload constraint.
17026         (casesi_internal): Likewise.  Fix commentary.
17027         (return_internal): Use pmode_register_operand.
17028
17029 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
17030
17031         * 1750a.md (movstrqi): Add missing output reload constraint.
17032         (call_value): Likewise.
17033         * a29k.md (cpxxx patterns): Add missing match_operator mode.
17034         (jmpfdec): Add missing inout reload constraint.
17035         * elxsi.md (addsi patterns): Add missing output reload constraint.
17036         (move from sp): Use @ alternates.
17037         (call_value): No constraint on output.
17038         * fr30.md (movsi_pop): Add missing output reload constraint.
17039         (movsf_constant_store): Likewise.
17040         (splits): Remove constraints.
17041         (subsi3): Add missing mode.
17042         * i370.md (cmpstrsi+1): Add missing output reload constraint.
17043         (call_value): Likewise.
17044         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
17045         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
17046         * m32r.md (movsicc_internal): Add output reload constraint.
17047         (movstrsi_internal): Add inout reload constraints.
17048         * m88k.h (reg_names): Don't declare.
17049         (SPECIAL_MODE_PREDICATES): New.
17050         * m88k.md (*): Use register_operand not reg_or_0_operand
17051         on destinations.
17052         * mn10200.h (PREDICATE_CODES): New.
17053         * ns32k.md (ffs pattern): Add output reload constraint.
17054         * pdp11.md (sob pattern): Add inout reload constraint.
17055         * sh.md (splits): Remove constraints.
17056         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
17057         * v850.md (pattern_is_ok_for_epilogue): Likewise.
17058         * vax.md (jgequ pattern): Add inout reload constraint.
17059
17060 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
17061
17062         * configure.in (djgpp): Revert previous patch.
17063         * configure: Rebuit.
17064         * config/i386/djgpp.h: Revert previous patch.
17065
17066 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
17067
17068         * fixinc/inclhack.def: Restore patch lost during last merge of
17069         "no_bogosity" branch.
17070         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
17071
17072 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17073
17074         * fixincludes: Add a HPUX 11 fix for inttypes.h.
17075         * fixinc/inclhack.def: Same.
17076         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
17077
17078 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
17079
17080         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
17081         as the base of a PLUS.
17082
17083 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17084
17085         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
17086         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
17087
17088 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
17089
17090         * pa.md (post_stw+1): Use pmode_register_operand.
17091         (dcacheflush, icacheflush): Likewise.
17092
17093         * i386.md (movstricthi_1): Allow r/r.
17094
17095 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
17096
17097         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
17098         to (not (and (arg0) (arg1))). Similary for and.
17099
17100         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
17101         fallthrough to associate code.
17102         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
17103         bits in common.
17104
17105         * combine.c (simplify_logical): Convert XOR to IOR if operands have
17106         no bits in common; remove XOR to ROTATE conversion.
17107
17108 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17109
17110         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
17111
17112 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17113
17114         * config/c4x/c4x.c (dst_operand): New.
17115         (PREDICATE_CODES): Update.
17116         * config/c4x/c4x.h (dst_operand): Declare it.
17117         * config/c4x/c4x.md:  Define mode for each unspec usage.
17118         (move patterns):  Use dst_operand predicate instead of src_operand.
17119         (movqi_update, movqf_update): Delete.
17120
17121 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
17122
17123         * recog.c (pmode_register_operand): New.
17124         * recog.h: Declare it.
17125         * genrecog.c (pred_codes): Likewise.
17126         (special_mode_pred_table): Likewise.
17127         (validate_pattern): Don't warn no mode for address_operand.
17128
17129         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
17130         if the operand is not insn-like.
17131
17132 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
17133                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
17134
17135         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
17136
17137 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
17138
17139         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
17140         instead of general_operand in a SET_DEST.  Use const_double_operand
17141         instead of an explicit test against CONST_DOUBLE.
17142         (movsf_const_lo): Add missing register mode.
17143         (goto_handler_and_restore): Add auxiliary test for Pmode.
17144         (flush): Adjust to use address_operand.
17145         (return_sf_no_fpu): Add missing output constraint.
17146
17147 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
17148
17149         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
17150         for call return value.
17151         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
17152
17153 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
17154
17155         * toplev.c (main): Only warn about options for other languages.
17156         * collect2.c (main): Pass -w to sub-gcc.
17157
17158 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
17159
17160         * flow.c (propagate_block): Add call-clobbered registers to
17161         significant too.
17162
17163         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
17164         zapping mem_set_list.
17165         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
17166         (mark_set_1, mark_used_regs): Likewise.
17167
17168 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
17169
17170         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
17171
17172 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
17173
17174         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
17175         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
17176         options. Also add a new item "C-only Warning Options" to the
17177         option summary.
17178
17179 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
17180
17181         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
17182         from multiple calls.
17183
17184 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
17185
17186         * i386.md (call value patterns): Move to the end of the file.
17187         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
17188
17189 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
17190
17191         * configure.in (djgpp configuration): Define extra_objects..
17192         * configure: Rebuilt.
17193         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
17194         (DTORS_SECTION_ASM_OP): Define.
17195         (INIT_SECTION_ASM_OP): Define.
17196         (FINI_SECTION_ASM_OP): Define.
17197         (DATA_SECTION_ASM_OP): Define.
17198         (TEXT_SECTION_ASM_OP): Define.
17199         (EH_FRAME_SECTION_ASM_OP): Define.
17200         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
17201         (STARTFILE_SPEC): Add crtbegin.o.
17202         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
17203         to here from LINK_COMMAND_SPEC.
17204         (DO_GLOBAL_CTORS_BODY): Define.
17205         (CRTSTUFF_USE_FINI_SECTION): Define
17206         (HAS_INIT_SECTION): Delete.
17207
17208 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
17209
17210         * Makefile.in (all.cross): Depend on xcpp$(exeext).
17211
17212 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
17213
17214         * pa.h (PREDICATE_CODES): New.
17215
17216         * genrecog.c (validate_pattern): Condense the destination
17217         non-lvalue message.
17218
17219 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
17220
17221         * alpha.md (call-1): Supply missing mode for operator.
17222         (*): Add missing output reload constraints.  Remove constraints
17223         from define_splits.
17224
17225         * i386.h (SPECIAL_MODE_PREDICATES): New.
17226         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
17227         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
17228         (addsi_lea_3): Add missing mode for op 3.
17229         (prologue_set_got, prologue_get_pc): Add missing modes.
17230         (*) Add missing output reload constraints.
17231
17232 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
17233
17234         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
17235         check for member bit-size overflow and use var_size if it occurs.
17236         (layout_record): Use bitsize_int() to define the type size in bits.
17237         Likewise for computation and assignment to DECL_FIELD_BITPOS.
17238         (layout_decl): Likewise when assigning to DECL_SIZE.
17239
17240 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
17241
17242         * genrecog.c (validate_pattern): Typo last change.  Verify
17243         that output operands have output reloads.
17244
17245 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
17246
17247         * genrecog.c (special_mode_pred_table): New.
17248         (NUM_SPECIAL_MODE_PREDS): New.
17249         (find_operand): New.
17250         (validate_pattern): New argument `insn'.  Warn for assignment to
17251         any predicate accepting non-lvalues.  Conditionaly warn for
17252         match_operand without a mode.  Try much harder to match source
17253         and destination modes on a set.
17254         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
17255
17256 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
17257
17258         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
17259
17260 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
17261
17262         * combine.c (simplify_logical): Recognize xor pattern that encodes
17263         rotation.
17264
17265 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17266
17267         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
17268         alignment.
17269
17270 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
17271
17272         * ggc-page.c (MAP_FAILED): Provide default.
17273
17274 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
17275
17276         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
17277         * sparc.h (PREDICATE_CODES): Update.
17278
17279 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
17280
17281         * alpha.c (some_ni_operand): New.
17282         * alpha-protos.h: Declare it.
17283         * alpha.h (PREDICATE_CODES): Update.
17284         * alpha.md (sXaddq reload insns): Use some_ni_operand
17285         for SET_DEST instead of some_operand.
17286
17287 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
17288                           Jim Wilson  <wilson@cygnus.com>
17289
17290         * genrecog.c (maybe_both_true_2): Don't compare modes of
17291         two DT_pred tests.
17292         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
17293         after find_afterward.
17294         (debug_decision_1): Dump next and afterward codes.
17295
17296 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
17297
17298         * rtl.c (dump_and_abort): Remove.
17299         (fatal_with_file_and_line): New.
17300         (fatal_expected_char): New.
17301         (read_rtx_lineno, read_rtx_filename): New.
17302         (read_skip_spaces): Track line number.
17303         (read_name): Use fatal_with_file_and_line.
17304         (read_rtx): Use fatal_expected_char.  Track line number.
17305         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
17306
17307         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
17308         if it isn't a CODE_LABEL.
17309
17310         * genattr.c (main): Set read_rtx_filename.
17311         * genattrtab.c (main): Likewise.
17312         * gencodes.c (main): Likewise.
17313         * genconfig.c (main): Likewise.
17314         * genemit.c (main): Likewise.
17315         * genextract.c (main): Likewise.
17316         * genflags.c (main): Likewise.
17317         * genopinit.c (main): Likewise.
17318         * genoutput.c (main): Likewise.
17319         * genpeep.c (main): Likewise.
17320
17321         * genrecog.c (decision_test.u.insn): Add `lineno'.
17322         (pattern_lineno, error_count): New variables.
17323         (message_with_line): New.
17324         (add_to_sequence): Break out checking code to ...
17325         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
17326         (merge_insn): Use message_with_line.
17327         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
17328         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
17329
17330 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17331
17332         * expr.c (store_constructor): Clear union if constructor is empty.
17333
17334 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
17335
17336         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
17337         Add !endian checks.  Change %{...} to %(...).
17338
17339 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
17340
17341         * i386.md (*addsi3_cc): Renamed from addcsi3.
17342         (*addsi3_carry): Renamed from addxsi3.
17343         (*subsi3_cc): Renamed from subcsi3.
17344         (*subsi3_carry): Renamed from subxsi3.
17345         (*xorqi_cc_1): Renamed from xorcqi_1.
17346         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
17347         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
17348
17349 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
17350
17351         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
17352         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
17353
17354 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
17355
17356         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
17357         climb up the chain of insns.
17358
17359 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
17360
17361         * genrecog.c (write_subroutine): Careful for null trees.
17362         (process_tree): Don't elide empty functions.
17363
17364 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
17365
17366         * Makefile.in (genrtl.o): Depend on ggc.h.
17367         * configure.in (valloc): Probe for it.
17368         (with-gc): Use ggc-page if valloc present.
17369         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
17370         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
17371         (ggc_alloc_string): Moved from ggc-page.c.
17372         * ggc-none.c (ggc_alloc_obj): New.
17373         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
17374         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
17375         (struct globals): Likewise for dev_zero_fd.
17376         (init_ggc): Likewise for it's initialization.
17377         (ggc_allocated_p): Move careful dereference from ...
17378         (ggc_lookup_page_table): ... here.  Delete.
17379         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
17380         (alloc_anon): Use valloc if no mmap.
17381         (release_pages): Use free if using valloc.
17382         (ggc_alloc_obj): Renamed from alloc_obj.
17383         (ggc_set_mark): Renamed from mark_obj.
17384         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
17385         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
17386         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
17387         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
17388         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
17389         (ggc_collect): Use fp printing instead of our own rounding.
17390         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
17391         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
17392         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
17393         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
17394         (struct ggc_string, struct ggc_any): Delete.
17395         (offsetof): Provide default definition.
17396         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
17397         (PTR_KEY): New.
17398         (struct ggc_mem): New, from corpse of ggc_any.
17399         (struct ggc_status): Delete.
17400         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
17401         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
17402         (n_strings_collected, n_anys_collected): Delete.
17403         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
17404         (ggc_alloc_string, ggc_alloc): Delete.
17405         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
17406         (ggc_free_string, ggc_free_any): Delete.
17407         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
17408         (ggc_compare_addresses, ggc_mark_string): Delete.
17409         (ggc_mark_string_if_gcable, ggc_mark): Delete.
17410         (search_data): Delete.
17411         (struct globals): New.
17412         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
17413         (tree_insert, tree_lookup): New.
17414         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
17415         (clear_marks, sweep_objs): New.
17416         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
17417         (init_ggc): Set allocated_last_gc.
17418         (ggc_push_context): Gut.  Use G.context.
17419         (ggc_pop_context): Likewise.
17420         (ggc_pop_context_1): New.
17421         (debug_ggc_tree): New.
17422         (debug_ggc_balance, tally_leaves): New.
17423         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
17424         (ggc_mark_string_if_gcable): Remove decl.
17425         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
17426         (ggc_mark_rtvec_children): New.
17427         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
17428         (ggc_mark_if_gcable): New decl.
17429         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
17430         (ggc_alloc_tree, ggc_alloc): Likewise.
17431         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
17432         (ggc_alloc_obj): New decl.
17433         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
17434         (ggc_alloc_tree, ggc_alloc): Likewise.
17435         (ggc_set_mark): New decl.
17436         * rtl.h (struct rtx_def): Remove gc_mark.
17437         (struct rtvec_def): Likewise.
17438         * tree.h (struct tree_common): Likewise.
17439
17440 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
17441
17442         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
17443         float_format and thread_file definitions.
17444         * configure: Rebuilt.
17445
17446 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
17447
17448         * extend.texi (Function Names): Document types of function names.
17449
17450 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17451
17452         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
17453         an earlyclobbered output conflict with RELOAD_INPUT reloads.
17454
17455 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17456
17457         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
17458
17459 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17460
17461         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
17462
17463 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
17464
17465         * collect2.c (main): Do prelimnary link on AIX if rflag.
17466
17467 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
17468
17469         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
17470         __CTOR_LIST__ in opposite order, which is the correct order for sorted
17471         constructors.
17472         (__do_global_dtors): similarly for __DTOR_LIST__.
17473
17474 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17475                                 Diego Novillo <dnovillo@cygnus.com>
17476
17477         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
17478         FPUL_REGS.
17479
17480 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
17481
17482         * fixincl/*: Merged "no_bogosity" branch
17483         * fixincl/fixlib.h: protect against doubly defining t_bool
17484         * fixincl/server.h: protect against doubly defining t_bool
17485
17486 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
17487
17488         * genoutput.c: Include toplev.h.
17489
17490 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
17491
17492         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
17493         Undef.
17494         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
17495         * configure: Regenerate.
17496
17497 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
17498
17499         * gcse.c (delete_null_pointer_checks): Returns void.
17500
17501 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17502
17503         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
17504         * emit-rtl.c (copy_insn_1): Likewise.
17505
17506 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
17507
17508         * config/mips/mips.c (mips_build_va_list): Correct
17509         TREE_CHAIN setting when hard-float.
17510         (mips_va_start): Use corrected setting.
17511         (mips_va_arg): Likewise.  Also pass a tree to build of
17512         POSTINCREMENT_EXPR rather than a naked 'int'.
17513
17514 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
17515
17516         * ggc.h (ggc_push_context): Fix comment.
17517         (ggc_pop_context): Likewise.
17518         (mark_string_if_gcable): Likewise.
17519         * ggc-common.c (ggc_mark_rtx_children): Use
17520         ggc_mark_string_if_gcable.
17521         * ggc-page.c (ggc_lookup_page_table): New function.
17522         (ggc_allocated_p): Likewise.
17523         (mark_obj): Fix formatting.
17524         (ggc_mark_string_if_gcable): New function.
17525         * ggc-simple.c (ggc_allocated_strings): New variable.
17526         (ggc_strings_used): Likewise.
17527         (ggc_compare_addresses): New function.
17528         (ggc_pop_context): Pop the `any' memory too.
17529         (ggc_mark_string_if_gcable): New function.
17530         (ggc_collect): Initialize and tear down ggc_allocated_strings.
17531
17532 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
17533
17534         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
17535         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
17536         * rs6000.c (expand_block_move): Match movstrsi_?reg register
17537         changes.
17538
17539 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
17540
17541         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
17542         (sched_reg_live_length, sched_reg_basic_block): Delete.
17543         (current_block_num, bb_live_regs, old_live_regs): Delete.
17544         (dead_notes, struct sometimes): Delete.
17545         (sched_note_set, birthing_insn_p): Delete.
17546         (adjust_priority): Gut useless reg lifetime code.
17547         (create_reg_dead_note, attach_deaths): Delete.
17548         (attach_deaths_insn, new_sometimes_live): Delete.
17549         (finish_sometimes_live): Delete.
17550         (find_pre_sched_live, find_post_sched_live): Delete.
17551         (update_reg_usage): Delete.
17552         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
17553         (schedule_insns): Delete reg lifetime code.
17554         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
17555         (unlink_other_notes): Adjust REG_NOTE commentary.
17556         (reemit_notes): Use REG_SAVE_NOTE.
17557         (schedule_block): Likewise.
17558         (schedule_region): Allocate bitmap of blocks in region.  Use
17559         count_or_remove_death_notes.  Use update_life_info.
17560
17561         * rtl.h (REG_SAVE_NOTE): New.
17562         * rtl.c (reg_note_name): Update.
17563
17564 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
17565
17566         * combine.c (refresh_blocks, need_refresh): New.
17567         (combine_instructions): Allocate refresh_blocks.  Invoke
17568         update_life_info if needed.
17569         (distribute_notes): Mark refresh_blocks instead of installing
17570         USE insns.
17571         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
17572         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
17573
17574         * Makefile.in (recog.o): Depend on basic-block.h.
17575
17576 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
17577
17578         * genrecog.c (add_to_sequence): Thinko last change: delete
17579         shadowing allow_const_int variable.
17580
17581 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17582
17583         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
17584         __GNUC__ and __GNUC_MINOR__.
17585
17586         * gansidecl.h: Likewise.
17587
17588         * rtl.c: Likewise.
17589
17590         * rtl.h: Likewise.
17591
17592         * toplev.h: Likewise.
17593
17594         * tree.c: Likewise.
17595
17596         * tree.h: Likewise.
17597
17598         * varray.c: Likewise.
17599
17600         * varray.h: Likewise.
17601
17602 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17603
17604         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
17605         use one before a jump table.
17606
17607         * rtl.def (ADDRESS): Change documentation to match reality.
17608         * md.texi: Don't document it.
17609         * gmicro.md (load address pattern): Use 'p' constraint, delete use
17610         of ADDRESS rtx.
17611
17612         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
17613
17614 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
17615
17616         * genrecog.c (add_to_sequence): Move allow_const_int test outside
17617         known predicate block; default allow_const_int true.
17618         (debug_decision_list): New.
17619
17620 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
17621
17622         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
17623
17624 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
17625
17626         * gcse.c (gcse_main): Avoid global optimizations if we have a
17627         large number of basic blocks and the ratio of edges to blocks
17628         is high.
17629         (delete_null_pointer_checks): Likewise.
17630
17631 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
17632
17633         * c-common.c (check_format_info): Warn if format string isn't a
17634         string literal.
17635
17636 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
17637
17638         * configure.in (arm*-*-*): Don't let autoconf remove brackets
17639         * configure: regenerate
17640
17641 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
17642
17643         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
17644         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
17645         (peepholes): Re-enable.
17646
17647 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
17648
17649         * Makefile.in (flow.o): Depend on TREE_H.
17650         * basic-block.h (REG_SET_EQUAL_P): New.
17651         (XOR_REG_SET): New.
17652         (n_edges): Declare.
17653         (free_regset_vector): Remove declaration.
17654         (flow_delete_insn_chain): Declare.
17655         (enum update_life_extent): New.
17656         (update_life_info, count_or_remove_death_notes): Declare.
17657         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
17658         Verify register live at bb->global_live_at_start before adding USE.
17659         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
17660         (CLEAN_ALLOCA): New.
17661         (n_edges): New.
17662         (PROP_*): New flags.
17663         (find_basic_blocks_1): Use alloc_EXPR_LIST.
17664         (clear_edges): Zero n_edges.
17665         (make_edge): Increment n_edges.
17666         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
17667         (flow_delete_insn_chain): Export.
17668         (delete_block): Decrement n_edges.
17669         (merge_blocks_nomove): Likewise.
17670         (life_analysis): Give life_analysis_1 PROP flags.
17671         (verify_wide_reg_1, verify_wide_reg): New.
17672         (verify_local_live_at_start): New.
17673         (update_life_info): Rewrite to call into propogate_block.
17674         (mark_reg): New.
17675         (mark_regs_live_at_end): After reload, if epilogue as rtl,
17676         always mark stack pointer.  Conditionally mark PIC register.
17677         After reload, mark call-saved registers, return regsiters.
17678         (life_analysis_1): Accept PROP flags not remove_dead_code.
17679         Call mark_regs_live_at_end before zeroing regs_ever_live.
17680         Use calculate_global_regs_live.  Copy global_live_at_end before
17681         calling final propagate_block.  Zero reg_next_use on exit.
17682         (calculate_global_regs_live): New.
17683         (allocate_bb_life_data): Don't allocate bb->local_set.
17684         (init_regset_vector, free_regset_vector): Remove.
17685         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
17686         Test flags before every operation.  Warn if prologue/epilogue insn
17687         would have been deleted.
17688         (mark_set_regs, mark_set_1): Accept and use FLAGS.
17689         Use alloc_EXPR_LIST.
17690         (mark_used_regs): Accept and use FLAGS, not FINAL.
17691         Remove special handling for RETURN.
17692         (try_pre_increment): Use alloc_EXPR_LIST.
17693         (dump_flow_info): Dump n_edges.
17694         (unlink_insn_chain, split_hard_reg_notes): Remove.
17695         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
17696         (find_insn_with_note, new_insn_dead_notes): Remove.
17697         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
17698         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
17699         (replace_insns): Remove.
17700         (count_or_remove_death_notes): New.
17701         (verify_flow_info): Abort on error after all checks.
17702         (remove_edge): Decrement n_edges.
17703         (remove_fake_edges): Tweak format.
17704         * haifa-sched.c (schedule_insns): Use split_all_insns.
17705         * output.h (update_life_info): Remove declaration.
17706         * recog.c (split_all_insns): From the corpse of split_block_insns,
17707         do the whole function block by block.  Use update_life_info.
17708         (recog_last_allowed_insn): New.
17709         (recog_next_insn): Mind it.
17710         (peephole2_optimize): Set it.  Walk backwards through blocks.
17711         Use update_life_info.
17712         * rtl.h (update_flow_info, replace_insns): Remove declarations.
17713         (split_all_insns): Declare.
17714         * toplev.c (rest_of_compilation): Thread prologue before flow2.
17715         Use split_all_insns.
17716
17717         * i386.md (or -1 peep2s): Disable.
17718
17719 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
17720
17721         * config/mips/mips.md (movstrsi+[123]) : Combine these into
17722         a single pattern.  Scrap the 'd' versions as unnecessary.
17723
17724         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
17725         tablejump_mips162,tablejump_internal4): The operands to a
17726         label_ref must be VOIDmode.
17727
17728 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17729
17730         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
17731
17732 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
17733
17734         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
17735
17736 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
17737
17738         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
17739         cache every function if ggc_p.
17740
17741 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17742
17743         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
17744         instead of copy_rtx.  Accept sequences that contain asm statements.
17745         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
17746         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
17747         orig_asm_operands_vector, copy_asm_operands_vector,
17748         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
17749         variables.
17750         * rtl.h (copy_insn, copy_insn_1): Declare.
17751
17752 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17753
17754         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
17755
17756         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
17757         arguments to `current_file_function_operand'.
17758
17759         * genrecog.c: Include hard-reg-set.h and resource.h in the
17760         generated output file.
17761
17762         * real.c: Include tm_p.h.
17763
17764 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17765
17766         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
17767         output operand.
17768
17769 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
17770
17771         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
17772         before the fctiwz insn.
17773
17774 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17775                           Mark Mitchell  <mark@codesourcery.com>
17776
17777         * tree.c (make_lang_type_fn): New funtion pointer.
17778         (make_lang_type): Call it.
17779         * tree.h (make_lang_type): Declare.
17780         (make_lang_type_fn): Likewise.
17781         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
17782
17783 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
17784
17785         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
17786         make sure that HIGH instructions are copied into BASE_REGS.
17787
17788 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
17789
17790         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
17791
17792 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
17793
17794         * c-decl.c (finish_struct): Use simpler method of
17795         removing elements of a singly-linked list.
17796
17797 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
17798
17799         * alpha.md (peephole2's): Comment out peephole2's that generate
17800         buggy code.
17801
17802 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
17803
17804         * genrecog.c (add_to_sequence): Disable mode check for
17805         wildcard matches.
17806
17807 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17808
17809         * ggc-simple.c (init_ggc): Set empty_string.
17810
17811 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
17812
17813         * configure.in: Detect mmap.  Add --with-gc=foo to select
17814         garbage collector; default to page if mmap available.
17815         * Makefile.in (GGC): Substitute.
17816
17817 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
17818
17819         * c-decl.c (ggc_p): Enable.
17820
17821 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17822
17823         * flow.c (verify_flow_info): Make it extern & unconditionally define.
17824
17825 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
17826
17827         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
17828         string for little-endian-data.
17829
17830 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
17831
17832         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
17833         case somebody tries to compile --enable-checking code with gcc
17834         1.34 or such.
17835
17836 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
17837
17838         * genrecog.c (add_to_sequence): Verify operand to label_ref is
17839         VOIDmode.
17840
17841 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
17842
17843         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
17844         * jump.c (jump_optimize_1): Document why.
17845
17846 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17847
17848         * collect2.c (scan_prog_file, scan_libraries): Prototype function
17849         pointers and casts for `int_handler' and `quit_handler'.
17850
17851         * flow.c (verify_flow_info, split_hard_reg_notes,
17852         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
17853         remove_edge, remove_fake_successors): Add static prototypes.
17854         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
17855         (mark_set_1): Initialize variable `regno'.
17856         (unlink_insn_chain): Likewise for variable `curr'.
17857         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
17858
17859         * loop.c (strength_reduce): Initialize variable
17860         `unrolled_insn_copies'.
17861         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
17862         prototypes.  Change these functions to take const PTR parameters
17863         to avoid prototype conflict when used as the comparson argument
17864         for qsort.
17865         (check_dbra_loop): Initialize variable `comparison_val'.
17866
17867         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
17868         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
17869         (find_valid_class): Initialize variable `best_class'.
17870         (find_reloads): Call memcpy, not bcopy.
17871
17872         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
17873         (hard_reg_use_compare): Don't needlessly cast away const.
17874         (reload_reg_class_lower): Likewise.
17875         (choose_reload_regs): Initialize variable `regno'.
17876
17877 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
17878
17879         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
17880
17881 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
17882
17883         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
17884         ({,d}discard): Add forward declarations.  Declare parameter as
17885         unused.
17886         (main_without_main): Explicitly declare return type to be int.
17887         (memcpy): Properly declare.
17888
17889         * libgcc2.c (toplevel): If inhibit_libc is defined and not
17890         building the trampoline support, declare malloc, free, and
17891         atexit.
17892         (__clear_cache): Mark arguments as potentially unused.
17893
17894         * frame.c (toplevel): If inhibit_libc is defined, declare
17895         malloc and free.
17896
17897 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
17898
17899         * flow.c (make_edge): Accept an optional 2D bitmap in which
17900         to cache edge existence.  Update all callers.
17901         (make_label_edge, make_eh_edge): Pass through the edge cache.
17902         (make_edges): Provide the cache.
17903
17904 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17905
17906         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
17907         a char*.
17908         (local_mbtowc): Change the type of variable `i' from int to size_t.
17909
17910         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
17911         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
17912
17913 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
17914
17915         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
17916         after other includes that define the appropriate types.  Include
17917         tm_p.h for getting user prototypes.
17918         * ggc-callbacks.c (toplevel): Ditto.
17919         * ggc-none.c (toplevel): Ditto.
17920         * gcc-page.c (toplevel): Ditto.
17921         * ggc-simple.c (toplevel): Ditto.
17922
17923 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
17924                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
17925
17926         * config/mips/mips.c (mips_move_2words): Split doubles if
17927         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
17928
17929 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
17930
17931         * genrecog.c (struct decision_test): New.
17932         (struct decision): Remove test-related members, sort the rest by size.
17933         (IS_SPLIT): Simplify.
17934         (new_decision, new_decision_test): New.
17935         (add_to_sequence): Use them.  No special handling for args of
17936         non-MATCH codes.
17937         (maybe_both_true): Renamed from not_both_true; return sense changed.
17938         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
17939         of maybe_both_true and adjusted for decision_test.
17940         (position_merit): Remove.
17941         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
17942         (merge_accept_insn): New, broken out of merge_trees.
17943         (merge_trees): Use them.  No special case for c_test; no node
17944         splitting; use test type instead of position_merit.
17945         (factor_tests): New.
17946         (simplify_tests): New.
17947         (break_out_subroutines): Don't write code now.
17948         (find_afterward): New.
17949         (write_afterward, write_switch, write_cond): New.
17950         (write_action, is_unconditional): New.
17951         (write_node): New.  Use them.
17952         (write_tree_1): Rewrite.  Use the new functions above.
17953         (write_tree): Remove afterward processing.
17954         (write_subroutine): Simplify function variant emission.
17955         (write_subroutines): New.
17956         (same_codes, clear_codes): Remove.
17957         (same_modes, clear_modes): Remove.
17958         (write_header): New, broken out of main.
17959         (make_insn_sequence): Use new_decision and new_decision_test.
17960         (process_tree): New, broken out of main.
17961         (main): Adjust for merge_trees interface change.
17962         Don't #define operands in the output file.
17963         (record_insn_name): New, broken out of make_insn_sequence.
17964         (debug_decision_2, debug_decision_1, debug_decision_0): New.
17965         (debug_decision): New.
17966
17967 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
17968
17969         * resource.c (find_free_register): Mark class_str argument const.
17970         * resource.h: Update prototype to match.
17971
17972         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
17973         * i386.md: Give all anonymous insns names.
17974
17975 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
17976
17977         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
17978         blocks.
17979
17980 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
17981
17982         * toplev.c (dbr_sched_time): Unconditional.
17983         (peephole2_time): New.
17984         (compile_file): Add pass numbers to all of the dump file suffixes.
17985         Dump peephole2_time.  Don't dump times for non-applicable passes.
17986         (rest_of_compilation): Add pass numbers to dump file suffixes.
17987         Conditionalize calls to the scheduler.
17988         * invoke.texi: Update.
17989
17990 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
17991
17992         * flow.c (make_edges): Fix insn iteration.
17993         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
17994         (find_basic_blocks_1): Fix spelling mistake.
17995
17996 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
17997
17998         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
17999         always have side-effects.  Use memset not bzero.
18000         (make_node): Likewise.
18001
18002 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
18003
18004         * stmt.c (expand_anon_union_decl): When any of the elements of the
18005         union is addressable, so is the entire union.
18006
18007 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
18008
18009         * sbitmap.c (sbitmap_ones): Don't set too many bits.
18010
18011         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
18012         * bitmap.c (bitmap_operation): Return true iff TO changed.
18013         (bitmap_equal_p): New.
18014         (bitmap_bit_p): Tidy arithmetic.
18015         (debug_bitmap_file): Likewise.
18016
18017 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
18018
18019         * toplev.c (rest_of_compilation): Turn on cse_not_expected
18020         before cse2 instead of after.
18021
18022 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
18023
18024         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
18025         register offsets.
18026
18027 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18028
18029         * cppinit.c (is_idchar initializer): Loosen tests to accept
18030         gcc 2.>6 and >2.
18031
18032 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
18033
18034         * mips.md: Define conditional move patterns for floating point
18035         operands and DI mode conditions.
18036
18037 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
18038
18039         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
18040         always have side-effects.
18041
18042 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
18043
18044         * mn10200.c (asm_file_start): Fix typo.
18045
18046         * cppinit.c (is_idchar initializer): Tighten tests for when
18047         to put the table into initialized memory.
18048
18049         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
18050         not an array of rtunion.
18051         * gcc-page.c (ggc_alloc_rtvec): Similarly.
18052         * gcc-simple (ggc_free_rtvec): Similarly.
18053
18054         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
18055         of rtunions.
18056
18057         * mbchar.h: Add missing #endif.
18058
18059         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
18060         (FPBIT, DPBIT): Define.
18061
18062 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18063
18064         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
18065
18066         * profile.c (instrument_arcs, output_gcov_string,
18067         tablejump_entry_p): Add static prototypes.
18068         (output_gcov_string): Constify a char*.
18069
18070         * regmove.c (replacement_quality, fixup_match_2): Add static
18071         prototypes.
18072
18073         * resource.h (reg_dead_p): Add extern prototype.
18074
18075         * rtl.c (trim_filename): Add static prototype.
18076
18077         * scan-decls.c (skip_to_closing_brace): Likewise.
18078
18079         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
18080         (expand_end_case): Initialize variable `range'.
18081         (emit_case_nodes): Remove unused prototype `rtx_fn'.
18082
18083         * varasm.c (asm_emit_uninitialised): Add static prototype.
18084         (asm_emit_uninitialised, assemble_variable): Mark parameter with
18085         ATTRIBUTE_UNUSED.
18086
18087 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18088
18089         * cpplib.c (if_directive_nameo): Add static prototype.
18090
18091         * cse.c (cse_insn): Remove unused variable `p'.
18092
18093         * except.c (create_rethrow_ref, push_entry,
18094         receive_exception_label, new_eh_region_entry, find_func_region,
18095         clear_function_eh_region, process_nestinfo): Add static prototypes.
18096         (get_reg_for_handler): Hide definition.
18097         (process_nestinfo): Initialize variable `extra_handlers'.
18098
18099         * expr.h (expand_builtin_longjmp): Add extern prototype.
18100
18101         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
18102
18103         * function.c (prepare_function_start): Likewise.
18104         (pop_function_context_from): Mark parameter `context' with
18105         ATTRIBUTE_UNUSED.
18106         (push_temp_slots_for_block, flush_addressof): Hide definition.
18107
18108         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
18109         solve_program_flow_graph, calculate_branch_probs,
18110         function_summary, main, fancy_abort): Add prototypes.
18111
18112         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
18113         (add_hash): Constify a char*.
18114
18115         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
18116         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
18117         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
18118
18119         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
18120
18121         * lists.c (free_list, zap_lists): Likewise.
18122
18123 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18124
18125         * alias.c (nonlocal_reference_p): Add static prototype.
18126
18127         * bitmap.c (bitmap_element_allocate): Prototype args in function
18128         pointer cast.
18129
18130         * builtins.c (stabilize_va_list): Add static prototype.
18131         (expand_builtin_va_arg): Constify a char*.
18132
18133         * c-lex.c (getch, put_back, extend_token_buffer_to,
18134         read_line_number, token_getch, token_put_back): Add static
18135         prototypes.
18136
18137         * c-parse.gperf (hash, is_reserved_word): Likewise.
18138
18139         * cccp.c (is_dir_separator): Likewise.
18140
18141 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18142
18143         * graph.h: New file to prototype functions exported by graph.c.
18144
18145         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
18146
18147         * graph.c: Include graph.h.
18148
18149         * toplev.c: Likewise.  Remove redundant prototypes.
18150
18151 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
18152
18153         * invoke.texi: Removed duplicated description for -Q.
18154
18155 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
18156
18157         * extend.texi: Grammar fix in __extension__ text.
18158
18159 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
18160
18161         * md.texi (define_peephole2): New section.
18162
18163 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
18164
18165         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
18166         (mov $-1 to or peepholer): Enable for pentium when optimizing for
18167         speed.
18168
18169 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
18170
18171         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
18172
18173 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
18174
18175         * i386.md (ffs expander): Emit Pentium friendly code for
18176         TARGET_PENTIUM.
18177
18178 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
18179
18180         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
18181         for non-trees.
18182         (build1): Likewise.
18183
18184 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18185
18186         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
18187
18188 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
18189
18190         * config/m68k/m68k.c (use_return_insn): Return false if the pic
18191         register is in use.
18192
18193 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18194
18195         * md.texi (No Constraints): Delete section.
18196         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
18197         * final.c (final_scan_insn): We always have register constraints.
18198         * genattrtab.c: Don't include "insn-config.h".
18199         (write_attr_case): We always have register constraints.
18200         * genconfig.c (register_constraint_flag): Delete.
18201         (walk_insn_part): Don't check whether we have register constraints.
18202         (main): Don't write out "#define REGISTER_CONSTRAINTS".
18203         * genoutput.c (have_constraints): Delete.
18204         (main): Don't set it.
18205         (output_operand_data): We always have constraints.
18206         (scan_operands): Likewise.
18207         (compare_operands): Likewise.
18208         * local-alloc.c (block_alloc): We always have constraints.
18209         (requires_inout): Always compile this function.
18210         * recog.c (extract_insn): We always have constraints.
18211         (constrain_operands, reg_fits_class_p): Always compile these
18212         functions.
18213         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
18214         fields.
18215         (struct insn_operand_data): Likewise.
18216         * regclass.c (regclass): We always have constraints.
18217         (record_reg_classes, copy_cost, record_address_regs,
18218         auto_inc_dec_reg_p): Always compile these functions.
18219         * regmove.c (regmove_optimize): We always have constraints.
18220         * reload.c (find_reloads): Likewise.
18221         * reload1.c (reload): Likewise.
18222         (reload_cse_simplify_operands): Likewise.
18223         * i860.c (output_delay_insn): Likewise.
18224
18225 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
18226
18227         * iris6.h (BUILD_VA_LIST_TYPE): Define.
18228
18229 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18230
18231         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
18232         for the va_list record.
18233
18234 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
18235
18236         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
18237         prologues.
18238
18239 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
18240
18241         * alias.c: Include insn-flags.h.
18242         * Makefile.in (alias.o): Update.
18243
18244 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
18245
18246         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
18247         to LTU and GEU.  Handle more cases using sbb.
18248
18249 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
18250
18251         * i386.md (truncatexfdf splitters): Do not use subreg.
18252         (fop XFmode patterns): Fix mode in operand testing.
18253
18254 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
18255
18256         * jump.c (jump_optimize_1): Amend last change to test only the
18257         form of the operand, not the insn.
18258
18259         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
18260         not register_operand to determine when B may need preloading.
18261
18262 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
18263
18264         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
18265         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
18266         (call-value patterns): Move to end of file.
18267         (*): Remove mode from label_ref in (pc) context.
18268         (movstrqi): Use memory not general_operand for BLKmode operands.
18269         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
18270         to register_operand operands.
18271         (peep2 patterns): Convert from commented-out peephole patterns.
18272
18273 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18274
18275         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
18276         to BUILT_IN_INIT_DWARF_REG_SIZES.
18277         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
18278         Renamed from BUILT_IN_DWARF_REG_SIZE; call
18279         expand_builtin_init_dwarf_reg_sizes.
18280         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
18281         with __builtin_init_dwarf_reg_size_table.
18282         * dwarf2out.c (struct reg_size_range): Delete.
18283         (expand_builtin_init_dwarf_reg_sizes): New function.
18284         (expand_builtin_dwarf_reg_size): Delete.
18285         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
18286         (expand_builtin_dwarf_reg_size): Don't declare.
18287         * libgcc2.c (dwarf_reg_size_table_initialized): New.
18288         (dwarf_reg_size_table): New.
18289         (init_reg_size_table): New function.
18290         (copy_reg): Use dwarf_reg_size_table.
18291         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
18292         before use.
18293
18294 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
18295
18296         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
18297         Correctly build argument list to constructor and destructor functions.
18298
18299 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
18300
18301         * c-tree.h (warn_float_equal): Declare.
18302         * c-decl.c (warn_float_equal): Define.
18303         (c_decode_option): Recognize -W[no-]float-equal.
18304         * c-typeck.c (build_binary_op): Conditionally warn
18305         about equality tests of floating point types.
18306         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
18307         * invoke.texi: Add docs for -Wfloat-equal warning.
18308
18309 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
18310
18311         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
18312         generating RTL directly.
18313         * mips.h (INIT_TARGET_OPTABS): Likewise.
18314         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
18315
18316         * expr.h (init_mov_optab): Delete declaration
18317
18318         * h8300.c (WORD_REG_USED): Update to avoid useless register
18319         saves in interrupt functions and functions which never return.
18320
18321         * cse.c (struct set): Delete inner_dest_loc field.
18322         (cse_insn): Remove assignments to inner_dest_loc field.
18323
18324 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
18325
18326         * ggc-page.c: Don't include <unistd.h> etc taken care of
18327         by "system.h".  Include <sys/mman.h> afterward.
18328
18329 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
18330
18331         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
18332         ggc_alloc_string.
18333
18334 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
18335
18336         * xcoffout.c (xcoffout_declare_function): Add documentation.
18337         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
18338         TARGET_64BIT.  Compare constant to -1, not bit pattern.
18339         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
18340         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
18341         gen_movsi typos.
18342
18343 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
18344
18345         * dwarf2out.c (add_abstract_origin_attribute): Abort if
18346         origin_die is NULL.
18347         (gen_inlined_enumeration_type_die): Do not abort if the type has
18348         not been writeen out.
18349         (gen_inlined_structure_type_die): Do not abort if the type has
18350         not been writeen out.
18351         (gen_inlined_union_type_die): Do not abort if the type has
18352         not been writeen out.
18353         (gen_tagged_type_instantiation_die): Do not abort if the type
18354         has not been written out.
18355
18356 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18357
18358         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
18359         call it.
18360         * reg-stack.c (straighten_stack): Copy hard reg set with
18361         COPY_HARD_REG_SET.
18362
18363 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
18364
18365         * builtins.c (stabilize_va_list): Stabilize array type va_list
18366         to a pointer type, not the base record type.
18367         (expand_builtin_va_copy): Dereference the pointers explicitly;
18368         use the correct size for the copy.
18369
18370         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
18371         (rs6000_va_arg): Likewise.
18372
18373 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
18374
18375         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
18376
18377 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
18378
18379         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
18380         field.
18381         (DECL_BUILT_IN_CLASS): Adjust accordingly.
18382
18383 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
18384
18385         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
18386         (init_ggc): Use it instead of a constant.
18387         (ggc_collect): Bound allocated_last_gc by it.
18388
18389 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
18390
18391         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
18392         with va_list.
18393
18394 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
18395
18396         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
18397         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
18398         * configure:  Regen.
18399         * config/mips/openbsd.h:  New, OpenBSD little endian target.
18400         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
18401         * config/mips/xm-openbsd.h:  New, OpenBSD host.
18402
18403 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
18404
18405         * config/m68k/m68k.c (output_function_prologue,
18406         output_function_epilogue): Use
18407         current_function_uses_pic_offset_table instead of regs_ever_live
18408         to decide whether to save/restore pic register.
18409         (legitimize_pic_address): Don't modify regs_ever_live any more.
18410
18411 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
18412
18413         * function.h (struct function): Add x_dont_save_pending_sizes_p.
18414         * stor-layout.c (variable_size): Don't add sizes to the pending
18415         sizes list if x_dont_save_pending_sizes_p is set.
18416
18417 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
18418
18419         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
18420         for symbolic_operand().
18421         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
18422
18423 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18424
18425         * combine.c (gen_rtx_combine): Add missing call to va_end().
18426
18427         * final.c (asm_fprintf): Likewise.
18428
18429         * genattrtab.c (attr_rtx): Likewise.
18430
18431 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
18432
18433         * cse.c: Update comments.
18434         (cse_insn): When converting a conditional/computed jump into
18435         an unconditional jump, always make sure a BARRIER immediately
18436         follows the converted jump.  Do not delete unreachable code.
18437         (cse_basic_block): Do not delete unreachable code.
18438         * toplev.c (rest_of_compilation): Move call to
18439         delete_trivially_dead_insns after the conditional call to
18440         jump_optimize.
18441
18442 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18443
18444         * collect2.c (make_temp_file): Don't prototype.
18445
18446         * gcc.c (make_temp_file): Likewise.
18447
18448         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
18449
18450 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
18451
18452         * varasm.c (asm_emit_uninitialised): New function: Generate
18453         the assembler statements necessary to declare an uninitialised
18454         variable.
18455         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
18456         variable.
18457         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
18458         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
18459         section.
18460         (assemble_variable): Use asm_emit_uninitialised to emit an
18461         uninitialised variable.
18462
18463 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
18464
18465         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
18466         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
18467         <geoffk@cygnus.com>.
18468
18469 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18470
18471         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
18472         * c-common.h (builtin_function): Don't declare.
18473
18474         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
18475         DECL_BUILT_IN.
18476         (pushdecl): Likewise.
18477         (finish_decl): Likewise.
18478         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
18479         int.  All callers changed.
18480         Set the builtin's DECL_BUILT_IN_CLASS.
18481         * tree.h (enum built_in_class): New.
18482         (enum built_in_function): Delete NOT_BUILT_IN.
18483         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
18484         in a union.
18485         (DECL_SET_FUNCTION_CODE): Likewise.
18486         (DECL_BUILT_IN_CLASS): New macro.
18487         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
18488         (struct tree_decl): Split builtin function code field into a
18489         struct.
18490         (builtin_function): Declare.
18491
18492 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
18493
18494         * optabs.c (init_traps): Fix typo in last change.
18495
18496 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
18497
18498         * toplev.c (rest_of_decl_compilation): Update comment.
18499
18500 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
18501
18502         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
18503         in .sbss if appropriate.
18504         (EXTRA_SECTION_FUNCTIONS): Add sbss.
18505         (SBSS_SECTION_ASM_OP): New macro.
18506         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
18507         (EXTRA_SECTIONS): Add in_sbss.
18508         * config/mips/mips.h: Prototype sbss_section.
18509
18510 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
18511
18512         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
18513         to disappear.
18514
18515 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
18516
18517         * optabs.c (init_traps): Register trap_rtx as a GC root.
18518
18519 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18520
18521         * config/mips/mips.c (function_arg_pass_by_reference): Define
18522         unconditionally, since it's called unconditionally.
18523
18524 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
18525
18526         * toplev.c (documented_lang_options): Add -fshort-wchar.
18527         * c-decl.c (c_decode_option): Likewise.
18528         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
18529         for wchar_t.
18530         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
18531         * gcc.c (default_compilers): If -fshort-wchar,
18532         override __WCHAR_TYPE__.
18533         * tm.texi (C Dialect Options): Add -fshort-wchar.
18534
18535         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
18536         symbol for a variable.
18537
18538         * cpplib.h (CPP_PREPROCESSED): New macro.
18539         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
18540         we're seeing this input for a second time.
18541
18542 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
18543
18544         * emit-rtl.c (init_emit_once): Initialize modes first.
18545
18546 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
18547
18548         * config/i386/i386.c (pic_label_name): Change to char pointer.
18549         (global_offset_table): New variable.
18550         (load_pic_register): Fill global_offset_table if it hasn't
18551         already been done.  Allocate pic_label_name dynamically.
18552         * ggc.h (empty_string): New variable.
18553         * ggc-simple.c (empty_string): Likewise.
18554         (init_ggc): Allocate empty_string and add as root.
18555         * stmt.c (digit_strings): New variable.
18556         (init_stmt): Add last_block_end_note as root.  Allocate and
18557         initialize digit_strings.
18558         (expand_asm_operands): Use empty_string instead of string
18559         constant.  Use digit_strings instead of string constants.
18560         * profile.c (init_arc_profiler): Allocate string with
18561         ggc_alloc_string instead of xmalloc.
18562         (output_func_start_profiler): Likewise.
18563         * c-typeck.c (digest_init): Check if init is error_mark_node.
18564
18565 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
18566                           Richard Henderson  <rth@cygnus.com>
18567
18568         * ggc-page.c: New file.
18569         * Makefile.in (ggc-page.o): New.
18570
18571 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
18572
18573         * invoke.texi: Document -fdelete-null-pointer-checks
18574         * toplev.c (flag_delete_null_pointer_checks): New.
18575         (f_options): Add entry for -fdelete-null-pointer-checks.
18576         (rest_of_compilation): Conditionalize null pointer check
18577         elimination on flag_delete_null_pointer_checks.
18578         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
18579
18580 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
18581
18582         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
18583         copyright notice and special exception to GPL.
18584
18585 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18586
18587         * abi64.h (mips_function_value): Add prototype arguments.
18588
18589         * mips-protos.h: New file with mips prototypes.
18590
18591         * mips.c: Include "tm_p.h".
18592         (mktemp, lookup_name): Add prototype arguments.
18593         (extern_list, string_constant, mips_fill_delay_slot,
18594         mips_output_external, mips_output_external_libcall,
18595         mips_output_filename, mips_declare_object, function_prologue,
18596         mips_expand_prologue, function_epilogue, mips16_constant,
18597         build_mips16_function_stub, mips_output_conditional_branch):
18598         Constify a char*.
18599         (mips_va_start): Remove unused variable `u'.
18600         (mips_va_arg): Cast value to unsigned when comparing against one.
18601         (trace): Delete.
18602         (save_restore_insns, mips_expand_prologue): Add missing arg in
18603         call to `large_int'.
18604
18605         * mips.h: Move prototypes to mips-protos.h.
18606         (data_section, memory_address_p, rdata_section,
18607         readonly_data_section, simple_epilogue_p, text_section): Delete
18608         prototypes delcared elsewhere.
18609         (mips_epilogue_delay_slots, print_options): Delete unused decls.
18610         (trace): Delete.
18611         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
18612
18613         * mips.md: Delete extra args in call to `mips_move_2words'.
18614
18615         * xm-iris6.h (alloca): Add prototype argument.
18616
18617         * genpeep.c: Include "tm_p.h" in generated output file.
18618
18619 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18620
18621         * basic-block.h (find_edge_index): Change parameters.
18622         * flow.c (verify_edge_list): Pass basic_block parameters to
18623         find_edge_index instead of integers.
18624
18625 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
18626
18627         * combine.c (simplify_comparison): Use an unsigned shift to adjust
18628         the constant.
18629
18630 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
18631
18632         * gcc.1: Fix a formatting error.
18633
18634 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
18635
18636         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
18637         i786, mn10200, mn10300, pdp11, v850.
18638
18639 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
18640
18641         * libgcc2.c (num_digits): Add prototype with
18642         __attribute__((const)).
18643         (__terminate): Add prototype.
18644
18645 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
18646
18647         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
18648
18649         * alpha/alpha.c (print_operand): Fix type of `code'.
18650         (alpha_output_filename): Constify.
18651         * alpha/alpha.h: Move all function declarations ...
18652         * alpha/alpha-protos.h: ... here.  New file.
18653         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
18654         (SECTION_FUNCTION_TEMPLATE): Likewise.
18655
18656 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18657
18658         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
18659         * expr.c (expand_expr): Likewise.
18660         (do_jump): Likewise.
18661         (do_store_flag): Pass ccp_store_flag to can_compare_p.
18662         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
18663         accessor macros.
18664         (enum can_compare_purpose): New.
18665         (can_compare_p): Adjust prototype.
18666         (prepare_cmp_insn, prepare_operand): Declare.
18667         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
18668         * optabs.c (cmp_available_p): Deleted.
18669         (expand_abs): Pass ccp_jump to can_compare_p.
18670         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
18671         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
18672         Call can_compare_p rather than cmp_available_p.
18673         (prepare_operand): No longer static.
18674         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
18675         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
18676         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
18677         sequence to use emit_cmp_and_jump_insns.
18678         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
18679
18680 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
18681
18682         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
18683         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
18684         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
18685         (plus (reg) (const_int 0))
18686         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
18687
18688 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
18689
18690         * rs6000.c (expand_block_move): DImode loads and stores require
18691         word-aligned displacements.  Increment address registers with
18692         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
18693
18694 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
18695
18696         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
18697         is no name for the base type, rather than segfault.  If we are
18698         writing out a complex integer type, use DW_ATE_lo_user.
18699
18700         * expr.c (emit_move_insn_1): If we are copying a complex that fits
18701         in one word or less (complex char, complex short, or on 64 bit
18702         systems complex float) to/from a hard register, copy it through
18703         memory instead of dying in gen_{real,imag}part.  If we have a
18704         short complex type, prevent inlining since it allocates stack
18705         memory.
18706
18707         * tree.c (build_complex_type): If we are writing dwarf2 output,
18708         generate a name for complex integer types.
18709
18710 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18711
18712         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
18713         * flow.c (remove_edge): Remove extra whitespace.
18714         (remove_fake_edges): Fix comment.
18715         (add_noreturn_fake_exit_edges): Use the correct name.
18716
18717 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
18718
18719         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
18720         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
18721         (clean): Depend on INTL_CLEAN.
18722         (maintainer-clean): Adjust.
18723
18724 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18725
18726         * configure.in (AC_PREREQ): Bump to 2.13.
18727         (AC_C_STRINGIZE): Call this instead of using a custom macro.
18728
18729         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
18730
18731         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
18732
18733         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
18734
18735         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
18736         (HAVE_STRINGIZE): Define.
18737
18738 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
18739
18740         * c-parse.in: save and restore warn_pointer_arith on __extension__
18741         along with pedantic.
18742         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
18743         Set the type of extension to itype rather than $<itype>1 kludge.
18744         * extend.texi (Alternate Keywords): Adjust documentation.
18745         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
18746
18747 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
18748
18749         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
18750         most assembler templates.
18751
18752         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
18753         FP loads and stores.
18754         (following_call): Always return zero for the PA8000.
18755         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
18756         FP loads and stores.
18757         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
18758
18759         * pa.h (BRANCH_COST): Define.
18760
18761         * pa.md (return, return_internal): Use bve for PA2.0.
18762
18763         * pa.md (fused multiply): Add variants which reduce height for the
18764         fused multiply, but which still generate 2 insns.
18765         (fnegabs): Similarly.
18766
18767         * pa.md (subsi3): Turn into an expander.  Create two anonymous
18768         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
18769         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
18770
18771         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
18772         for TARGET_PA_20.
18773         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
18774         code generation.
18775         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
18776         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
18777
18778         * regclass.c (init_regs): Add "top_of_stack" as a garbage
18779         collection root.
18780
18781         * flow.c (record_active_eh_regions): Terminate loop after finding
18782         the last insn in the last basic block.
18783
18784 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18785
18786         * config/c4x/c4x.md: Delete parallel instruction peepholes.
18787
18788 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18789
18790         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
18791
18792 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18793
18794         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
18795         splitting to not use output template.
18796
18797 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18798
18799         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
18800         * config/c4x/c4x.c (c4x_va_start): New function.
18801
18802 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
18803
18804         * genrecog.c (not_both_true): Handle correctly cases when called for
18805         tests with different positions in the insn.
18806
18807 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18808
18809         * machmode.h (HOST_PTR_PRINTF): Move from here ...
18810
18811         * system.h (HOST_PTR_PRINTF): ... to here.
18812
18813         * mips-tfile.c: Don't include machmode.h.
18814
18815         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
18816         (mips-tfile.o): Don't depend on machmode.h.
18817
18818 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18819
18820         * haifa-sched.c (sched_analyze): Rename local variable `region' to
18821         avoid conflicts with typedef struct `region' at the top level scope.
18822
18823 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
18824
18825         * basic-block.h (basic_block): Add eh_beg, eh_end.
18826         * flow.c (entry_exit_blocks): Update.
18827         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
18828         Call new functions.
18829         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
18830         lists.c functions to allocate insn lists.
18831         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
18832         edge creation ...
18833         (make_eh_edge): ... here.  New.
18834         (move_stray_eh_region_notes): New.
18835         (record_active_eh_regions): New.
18836         (delete_unreachable_blocks): Split out block merging ...
18837         (try_merge_blocks): ... here.  New.
18838         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
18839         Dump debugging data.
18840         (merge_blocks_move_successor_nojumps): Likewise.
18841         (merge_blocks): Use eh_beg+eh_end to validate block movement.
18842
18843 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
18844
18845         * extend.texi (Bound member functions): Document unbound pmf
18846         conversion.
18847
18848 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18849
18850         * flow.c (split_edge): Handle insertion on a fallthrough edge which
18851         has the EXIT_BLOCK as a dest.
18852
18853 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18854
18855         * flow.c (remove_edge): New function to remove an edge from the
18856         flow graph.
18857         (remove_fake_successors): New function to remove fake successor edges.
18858         (remove_fake_edges): New function to remove all fake edges from the
18859         flow graph.
18860         (add_fake_exit_edges): New function to add fake edges from all blocks
18861         with no successors to the exit block.
18862         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
18863         prototypes for new functions.
18864
18865 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18866
18867         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
18868         Use Pmode to determine whether to output .dword or .word.
18869
18870 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
18871
18872         * tree.c (built_in_filename): New variable.
18873         (BUILT_IN_FILENAME): New macro.
18874         (init_tree_codes): Allocate built_in_filename.
18875         (make_node): Use built_in_filename instead of string constant.
18876
18877 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
18878
18879         * configure.in: Add fr30 target.
18880         * configure: Regenerate.
18881         * config/fr30: New directory.
18882         * config/fr30/crti.asm: New file.
18883         * config/fr30/fr30.c: New file.
18884         * config/fr30/crtn.asm: New file.
18885         * config/fr30/fr30.h: New file.
18886         * config/fr30/fr30.md: New file.
18887         * config/fr30/lib1funcs.asm: New file.
18888         * config/fr30/t-fr30: New file.
18889         * config/fr30/xm-fr30.h: New file.
18890
18891 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
18892
18893         * flow.c (merge_blocks_move_successor_nojumps): Delete the
18894         BARRIER at the end of the successor, not the BARRIER before
18895         the successor.
18896
18897         * pa.c (pa_add_gc_roots): Fix thinko in last change.
18898
18899 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
18900
18901         * stmt.c (any_pending_cleanups): Don't crash when
18902         current_function->stmt is unset.
18903
18904 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18905
18906         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
18907         other initializations that may use it for relative offsets.
18908
18909 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18910
18911         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
18912         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
18913         * config/i386/sol2dbg.h: Removed.
18914         * config/i386/sol2gas.h: New file, to enable gas work-around.
18915         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
18916         Don't use sol2dbg.h.
18917         * configure: Rebuilt.
18918
18919 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
18920
18921         * invoke.texi (-fthis-is-variable): Remove documentation.
18922
18923 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
18924
18925         * basic-block.h (compute_bb_for_insn): Declare.
18926         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
18927         to use; set size of basic_block_for_insn directly.
18928         (find_basic_blocks): Update.
18929
18930 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18931
18932         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
18933
18934 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18935
18936         * crtstuff.c (ON_EXIT): Delete empty macro definition.
18937         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
18938
18939 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
18940
18941         * c-decl.c (c_decode_option): Extend comment.
18942
18943 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
18944
18945         * toplev.c (progname): Make 'const char *'
18946         (flag_print_mem): Move out of main.
18947         (version_flag): Move out of main.
18948         (filename): Move out of main.
18949         (debug_args): Remove g prefix from options.
18950         (documented_lang_options): Remove cpplib specific options.
18951         (display_help): Add g prefix to debug options.
18952         (check_lang_option): Delete this function.
18953         (decode_d_option): New function: Decode -d... option.
18954         (decode_f_option): New function: Decode -f... option.
18955         (decode_W_option): New function: Decode -W... option.
18956         (decode_g_option): New function: Decode -g... option.
18957         (independent_decode_option): New function: Decode a language
18958         independent command line option.
18959         (main): Invoke lang_decode_option and then
18960         independent_decode_option on each command line option in
18961         turn.
18962
18963 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
18964
18965         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
18966          * fold-const.c (fold_range_test): Do not try to fold the range
18967          test if the rhs or lhs has side effects.
18968
18969         * basic-block.h (compute_flow_dominators): Declare.
18970
18971         * gcse.c (alloc_code_hoist_mem): New function.
18972         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
18973         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
18974         (hoist_code, one_code_hoisting_pass): Likewise.
18975         (gcse_main): If optimizing for size, then hoist expressions
18976         computed in multiple dominated basic blocks.
18977
18978         * gcse.c (invalid_nonnull_info): New function.
18979         (delete_null_pointer_checks): Likewise.
18980         * rtl.h (delete_null_pointer_checks): Declare.
18981         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
18982
18983         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
18984         (merge-blocks_move_successor_nojumps): Likewise.
18985         (merge_blocks): Allow merging of some blocks, even if it requires
18986         physical movement of the blocks, but not if it requires new jumps.
18987
18988         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
18989         Callers and prototype changed.
18990         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
18991
18992 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18993
18994         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
18995         -YP when both -p and -pg are present.  From i386/sol2.h.
18996
18997 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18998
18999         * Makefile.in (distclean): Delete tm_p.h.
19000         * configure.in: Create a new file, "tm_p.h", from a list in
19001         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
19002         "i386/i386-protos.h".
19003
19004         * alias.c: Include "tm_p.h".
19005         * c-typeck.c: Likewise.
19006         * calls.c: Likewise.
19007         * cse.c: Likewise.
19008         * emit-rtl.c: Likewise.
19009         * explow.c: Likewise.
19010         * expmed.c: Likewise.
19011         * expr.c: Likewise.
19012         * final.c: Likewise.
19013         * flow.c: Likewise.
19014         * fold-const.c: Likewise.
19015         * function.c: Likewise.
19016         * gcse.c: Likewise.
19017         * global.c: Likewise.
19018         * haifa-sched.c: Likewise.
19019         * integrate.c: Likewise.
19020         * jump.c: Likewise.
19021         * local-alloc.c: Likewise.
19022         * loop.c: Likewise.
19023         * optabs.c: Likewise.
19024         * recog.c: Likewise.
19025         * reg-stack.c: Likewise.
19026         * regclass.c: Likewise.
19027         * regmove.c: Likewise.
19028         * reload.c: Likewise.
19029         * reload1.c: Likewise.
19030         * reorg.c: Likewise.
19031         * resource.c: Likewise.
19032         * stmt.c: Likewise.
19033         * stor-layout.c: Likewise.
19034         * toplev.c: Likewise.
19035         * tree.c: Likewise.
19036         * unroll.c: Likewise.
19037         * genattrtab.c (main): Make generated file include "tm_p.h".
19038         * genemit.c (main): Likewise.
19039         * genoutput.c (main): Likewise.
19040         * genrecog.c (main): Likewise.
19041
19042         * i386.h: Delete all prototypes.
19043         * i386.c: Include "tm_p.h".
19044         (ix86_attr_length_default): Call constant_call_address_operand
19045         with correct number of arguments.
19046         * i386-protos.h: New file.
19047         * i386.md (unnamed patterns): Call constant_call_address_operand
19048         with correct number of arguments.
19049         (exception_receiver): Call load_pic_register with correct number
19050         of arguments.
19051
19052 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
19053
19054         * c-pragma.c (mark_align_stack): Dereference the void* properly.
19055
19056 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
19057
19058         * rtl.h (insns_safe_to_move_p): New function.
19059         * loop.c (find_and_verify_loops): Use it.
19060         * rtlanal.c (insns_safe_to_move_p): Define it.
19061
19062 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
19063
19064         * c-pragma.c: Include ggc.h.
19065         * Makefile.in (c-pragma.o): Update.
19066
19067 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19068
19069         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
19070         (LIB_SPEC): Likewise.
19071         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
19072         Reindent -YP/-p/-pg.
19073         Copied from config/sparc/sol2.h.
19074
19075 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
19076
19077         * c-pragma.c (mark_align_stack): New.
19078         (init_pragma): New.
19079         * c-pragma.h (init_pragma): Declare it.
19080         * c-lex.c (init_parse): Call it.
19081
19082 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19083
19084         * configure.in: Pick up thread library on Solaris/x86 just
19085         like on Solaris/sparc.
19086         * configure: Rebuilt.
19087
19088 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
19089
19090         * rtl.h (global_rtx_index): New enum.
19091         (global_rtl): Change to array of rtx.
19092         (pc_rtx, cc0_rtx): Redefine accordingly.
19093         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
19094         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
19095         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
19096         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
19097         (const_int_rtx): Change to array of rtx.
19098         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
19099         accordingly.
19100         * emit-rtl.c (global_rtl): Change to array of rtx.
19101         (const_int_rtx): Change to aray of rtx.
19102         (gen_rtx_CONST_INT): Redefine accordingly.
19103         (init_emit_once): Allocate and initialize global_rtl.  Likewise
19104         for const_int_rtx.  Add both as GC roots.
19105         * genattrtab.c (global_rtl): Update declaration.
19106
19107 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
19108
19109         * Makefile (USER_H): Add iso646.h back.
19110
19111 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
19112
19113         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
19114         zapping the LOG_LINKS of sched_before_next_call.
19115
19116         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
19117         * pa.c (insn_refs_are_delayed): Renamed from
19118         insn_sets_and_refs_are_delayed.
19119
19120 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
19121
19122         * functiion.h (struct function): Add x_whole_function_mode_p.
19123         (retrofit_block): Declare.
19124         * function.c (retrofit_block): New function.
19125         (identify_blocks): Add assertions.  Allow an incomplete set of
19126         block notes if we're still generating code for the function.
19127         * integrate.c: Include loop.h.
19128         (expand_inline_function): Call find_loop_tree_blocks to map block
19129         notes to blocks when in whole-function mode.  Use retrofit_block
19130         to insert new BLOCKs for the inlined function, rather than
19131         insert_block.
19132         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
19133         * Makefile.in (integrate.o): Depend on loop.h.
19134
19135 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
19136
19137         * tree.h (warn_about_unused_variables): Declare.
19138         * stmt.c (warn_about_unused_variables): New function, split out
19139         from ...
19140         (expand_end_bindings): Here.
19141
19142 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
19143
19144         * stmt.c (preserve_subexpressions_p): Don't crash when
19145         current_function->stmt is unset.
19146
19147 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
19148
19149         * stmt.c (expand_start_bindings): Allow callers to pass a flag
19150         indicating that no NOTE_INSN_BLOCK_BEG note is required.
19151         (expand_start_target_temps): Use it.
19152         * except.c (expand_eh_region_start_for_decl): Likewise.
19153         * expr.c (expand_expr): Likewise.
19154
19155 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19156
19157         * fold-const.c (operand_equal_p): Pay attention to side effects.
19158
19159 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
19160
19161         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
19162         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
19163
19164         * tlink.c (scan_linker_output): Look for keywords before accepting
19165         a mangled name in quotes.
19166
19167 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
19168
19169         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
19170         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
19171
19172 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
19173
19174         * alpha.md: Revert Thu Nov 26 change that came in through the
19175         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
19176         Avoid earlyclobber when possible.
19177
19178 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19179
19180         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
19181
19182         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
19183         Define HAVE_ON_EXIT.
19184
19185 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19186
19187         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
19188         CTYPE_CONV in all ctype macros.
19189
19190         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
19191         from system.h.
19192
19193         * cexp.y (initialize_random_junk): Likewise.
19194
19195         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
19196
19197         * i370.c (handle_pragma): Likewise.
19198
19199         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
19200
19201         * v850.c (override_options): Likewise.
19202
19203         * doprint.c (_doprnt): Likewise.
19204
19205         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
19206         Likewise.
19207
19208         * fixinc/server.c (load_data): Likewise.
19209
19210         * fold-const.c (real_hex_to_f): Likewise.
19211
19212         * genattr.c (write_upcase, gen_attr): Likewise.
19213
19214         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
19215         write_upcase): Likewise.
19216
19217         * genemit.c (print_code): Likewise.
19218
19219         * genopinit.c (gen_insn): Likewise.
19220
19221         * genpeep.c (print_code): Likewise.
19222
19223         * genrecog.c (print_code): Likewise.
19224
19225         * optabs.c (init_libfuncs): Likewise.
19226
19227 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
19228
19229         * haifa-sched.c (sched_analyze): Keep the list of notes organized
19230         in pairs.
19231         (reemit_notes): Likewise.
19232
19233 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
19234
19235         * ggc.h (ggc_root): Move to ggc-common.c.
19236         (roots): Remove.
19237         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
19238         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
19239         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
19240         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
19241         * ggc-common.c (ggc_root): Move from ggc.h.
19242         (roots): Declare, static.
19243         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
19244         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
19245         null or check/set mark bit.
19246         (ggc_mark_roots): New.
19247         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
19248
19249 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
19250
19251         * m32r.c: Include toplev.h.
19252         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
19253         (gen_compare): Rename swap_p to must_swap to match uses.
19254         Add default abort case.
19255         (m32r_output_function_epilogue): Remove unused variables.
19256         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
19257         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
19258         define to empty parameter list.  Update all uses.
19259         (predicate decls): Use enum machine_mode not int.
19260         * m32r.md (movsi): Call abort, not fatal_insn.
19261         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
19262
19263 1999-09-14  Andrew Haley  <aph@cygnus.com>
19264
19265         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
19266         use $0 instead of 0.
19267
19268 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19269
19270         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
19271         computation out of loop over hard regs.
19272
19273 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
19274
19275         * function.c (identify_blocks): Don't shadow a variable in an
19276         outer scope.
19277         * integrate.c (integrate_decl_tree): Don't use pushlevel,
19278         pushdecl, or poplevel to build up the new BLOCK tree.
19279         (expand_inline_function): Likewise.
19280         (integrate_parm_decls): Likewise.
19281
19282 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
19283
19284         * c-typeck.c (qualify_type): Merge qualifiers from both types.
19285
19286 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
19287
19288         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
19289         * invoke.texi: Document this change.
19290
19291 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
19292
19293         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
19294         Free the struct.
19295         (mark_emit_status): Renamed from mark_emit_state.
19296         * except.c (mark_eh_status): Renamed from mark_eh_state.
19297         Check not null before marking.
19298         (free_eh_status): New.
19299         * expr.c (mark_expr_status, free_expr_status): New.
19300         * function.c (free_machine_status): New.
19301         (free_after_parsing): New.
19302         (free_after_compilation): Move bits to free_after_parsing; call
19303         free_eh_status, free_expr_status; zero the marked members of the
19304         function state.
19305         (prepare_function_start): No can_garbage_collect.
19306         Call init_eh_for_function.
19307         (expand_dummy_function_end): Free up current_function state.
19308         (mark_function_status): Renamed from mark_function_state.
19309         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
19310         * function.h (struct function): No can_garbage_collect.
19311         (free_machine_status, free_after_parsing): Declare.
19312         (free_eh_status, free_expr_status): Declare.
19313         * ggc.h (mark_expr_status): Declare.
19314         * stmt.c (free_stmt_status): Free the struct.
19315         (mark_stmt_status): Renamed from mark_stmt_state.
19316         (init_stmt): Don't call init_eh.
19317         (init_stmt_for_function): Don't call init_eh_for_function.
19318         * toplev.c (compile_file): Call init_eh.
19319         (rest_of_compilation): Free basic block info before ggc_collect.
19320         Call free_after_parsing; conditionally call free_after_compilation.
19321         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
19322         Check not null before marking.
19323         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
19324
19325 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
19326
19327         * c-lex.c (yylex): Initialize warn.
19328
19329 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
19330
19331         * pa.c (emit_move_sequence): Properly set the mode of the scratch
19332         register when performing secondary reloads for the SAR register.
19333
19334 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
19335
19336         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
19337         (NOTE_BLOCK): New macro.
19338         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
19339         * function.h (identify_blocks): Change prototype.
19340         * function.c (identify_blocks): Simplify.
19341         (reorder_blocks): Likewise.
19342         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
19343         NOTE_INSN_BLOCK_{BEG,END}.
19344         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
19345         the list of saved notes if the note isn't a
19346         NOTE_INSN_BLOCK_{BEG,END}.
19347         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
19348         NOTE_BLOCK_NUMBER.
19349         (reemit_notes): Adjust recreation of notes to reflect new saved
19350         note structure.
19351         * print-rtl.c (print_rtx): Print the address of the BLOCK when
19352         printing a block note.
19353         * stmt.c (block_vector): Remove.
19354         (find_loop_tree_blocks): Simplify.
19355         (unroll_block_trees): Likewise.
19356         * tree.h (reorder_block): Change prototype.
19357
19358 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
19359
19360         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
19361         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
19362         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
19363         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
19364         (atexit, exit): Simplify.
19365         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
19366         * config/lots: Remove defns of HAVE_ATEXIT.
19367
19368 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
19369
19370         * calls.c (precompute_arguments): Fix typo in comment.
19371         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
19372         TARGET_EXPR.
19373
19374 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
19375
19376         * dsp16xx.c (override_options): Fix typos in GC root registration.
19377
19378 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
19379
19380         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
19381         from config/svr4.h.
19382         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
19383         (FUNCTION_PROFILER): Redefine appropriately for Linux.
19384         (CC1_SPEC): Likewise.
19385
19386 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19387
19388         * genattr.c (main): Add extern prototype.  Call return, not exit.
19389         * genattrtab.c (main): Likewise.
19390         * gencheck.c (main): Likewise.
19391         * gencodes.c (main): Likewise.
19392         * genconfig.c (main): Likewise.
19393         * genemit.c (main): Likewise.
19394         * genextract.c (main): Likewise.
19395         * genflags.c (main): Likewise.
19396         * gengenrtl.c (main): Likewise.
19397         * genopinit.c (main): Likewise.
19398         * genoutput.c (main): Likewise.
19399         * genpeep.c (main): Likewise.
19400         * genrecog.c (main): Likewise.
19401
19402         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
19403         * genattrtab.c (get_insn_name): Likewise.
19404         * gencodes.c (get_insn_name): Likewise.
19405         * genconfig.c (get_insn_name): Likewise.
19406         * genemit.c (get_insn_name): Likewise.
19407         * genextract.c (get_insn_name): Likewise.
19408         * genflags.c (get_insn_name): Likewise.
19409         * genopinit.c (get_insn_name): Likewise.
19410         * genpeep.c (get_insn_name): Likewise.
19411
19412         * gencheck.c (usage): Add static prototype.
19413         * genextract.c (print_path): Constify a char*.
19414         * genopinit.c (optabs): Likewise.
19415         * genoutput.c (operand_data, data, output_predicate_decls,
19416         compare_operands): Likewise.
19417         * genrecog.c (write_tree): Add default case in switch.
19418
19419 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19420
19421         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
19422
19423         * print-rtl.c (get_insn_name): Remove prototype.
19424
19425         * toplev.h (progname): Declare const.
19426
19427         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
19428         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
19429         dump_sched_info, dump_local_alloc, regset_release_memory,
19430         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
19431         error_with_file_and_line, error_with_decl, error_for_asm, error,
19432         fatal, warning_with_file_and_line, warning_with_decl, warning,
19433         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
19434         Remove redundant prototypes.
19435
19436         (notice, check_lang_option, report_file_and_line, vnotice,
19437         mark_file_stack): Add static prototype.
19438         (set_fatal_function): Add prototype.
19439         (vnotice, report_file_and_line, set_fatal_function,
19440         check_lang_option): Constify a char*.
19441         (main): Prototype.  Call return, not exit.
19442
19443 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19444
19445         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
19446
19447         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
19448
19449         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
19450
19451         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
19452
19453 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19454
19455         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
19456         behave as if it's zero in all cases.
19457         (expand_function_start): Adjust call to assign_parms.
19458         * tree.h (assign_parms): Adjust prototype.
19459         * objc/objc-act.c (hack_method_prototype): Adjust call to
19460         assign_parms.
19461
19462 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
19463
19464         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
19465         arg_pointer_rtx fixed if the argument pointer register is
19466         not fixed.
19467         (NONZERO_BASE_PLUS_P): Likewise.
19468
19469 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
19470
19471         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
19472         match_insn2 to match_insn.
19473         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
19474
19475 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
19476
19477         * Makefile.in (USER_H): Remove va-foo.h.
19478
19479         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
19480         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
19481         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
19482         va-spur.h,va-v850.h}: Remove.
19483
19484 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
19485
19486         * sparc/sparc.md (eligible_for_return_delay): New attribute.
19487         (in_return_delay): Use it instead of match_insn.
19488
19489 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19490
19491         * config/alpha/va_list.h (va-alpha.h): Do not include.
19492         (__gnuc_va_list): Typedef as in varargs.h.
19493
19494 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
19495
19496         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
19497         DECL_LIVE_RANGE_RTL.
19498
19499 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
19500
19501         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
19502         not NOTE_BLOCK_NUMBER.
19503         (expand_eh_region_end): Likewise.
19504         (find_exception_handler_labels): Likewise.
19505         (scan_region): Likewise.
19506         (exception_optimize): Likewise.
19507         (update_rethrow_references): Likewise.
19508         (set_insn_eh_region): Likewise.
19509         * final.c (final_scan_insn): Likewise.
19510         * flow.c (make_edges): Likewise.
19511         * integrate.c (expand_inline_function): Likewise.
19512         * print-rtl.c (print_rtx): Likewise.
19513
19514 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
19515
19516         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
19517         terms of builtin functions and types.
19518
19519         * mips.c (mips_build_va_list): New.
19520         (mips_va_start, mips_va_arg): New.
19521         * mips.h (BUILD_VA_LIST_TYPE): New.
19522         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
19523
19524         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
19525         (sh_build_va_list, sh_va_start, sh_va_arg): New.
19526         * sh.h (BUILD_VA_LIST_TYPE): New.
19527         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
19528
19529 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
19530
19531         * recog.h (struct recog_data): Make dup_num, operand_address_p,
19532         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
19533         (struct insn_data): Likewise with n_operands, n_dups,
19534         n_alternatives, output_format.
19535         * regclass.c (scan_one_insn): Cast n_operands to int before
19536         arithmetic inside comparison.
19537
19538 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
19539
19540         * toplev.c (compile_function): Unconditionally emit nop.
19541
19542 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19543
19544         * haifa-sched.c (actual_hazard): Move declaration of variable
19545         `this_cost' into the scope where it is used.
19546
19547 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19548
19549         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
19550         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
19551         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
19552
19553         * genrecog.c (make_insn_sequence): Call memset, not bzero.
19554
19555         * jump.c (find_insert_position): Don't declare or define unless
19556         !HAVE_conditional_arithmetic.
19557         (returnjump_p_1, delete_prior_computation): Add static prototypes.
19558
19559         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
19560
19561         * recog.c (offsettable_address_p): Prototype function pointer.
19562         (preprocess_constraints): Call memset, not bzero.
19563
19564         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
19565         (gcc_obstack_init): Don't declare.
19566         (fix_sizetype): Add static prototype.
19567         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
19568         (tree_cons): Call memset, not bzero.
19569
19570         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
19571         definition in macro ASM_WEAKEN_LABEL.
19572         (mark_const_hash_entry): Add static prototype.
19573
19574 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19575
19576         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
19577
19578         * unroll.c (find_common_reg_term, subtract_reg_term,
19579         loop_find_equiv_value): Add static prototypes.
19580         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
19581         (copy_loop_body): Remove unreachable break statement.
19582
19583         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
19584
19585         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
19586
19587 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19588
19589         Undo some changes from the gcc2 merge:
19590         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
19591         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
19592         pointers.
19593
19594         Undo this change:
19595         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
19596         * emit-rtl.c (gen_lowpart_common): Disable optimization of
19597         initialized float-int union if the value is a NaN.
19598
19599 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19600
19601         * gthr-win32.h: New file.
19602
19603         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
19604         shared as a valid attribute.
19605         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
19606         * extend.texi: Document `shared' variable attribute.
19607
19608 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
19609
19610         * configure.in: Handle --enable-threads on FreeBSD.
19611         * configure: Rebuit.
19612
19613 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
19614
19615         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
19616         thread support.
19617         * configure: Rebuilt.
19618
19619 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
19620                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
19621                           Rosimildo DaSilva <rdasilva@connecttel.com>
19622
19623         * configure.in (m68k-*-rtemscoff*): Added.
19624         * configure.in (mips64orion-*-rtems*): Converted to ELF.
19625         * configure.in (sparc-*-rtemsaout*): Added as alias for old
19626         sparc-rtems configuration.
19627         * configure.in (sparc-*-rtemself*): Added.
19628         * configure.in (sparc-*-rtems*): Now ELF not a.out.
19629         * config/i386/rtems.h: Added comment.
19630         * config/sparc/rtemself.h: New file.
19631
19632         * configure.in (m68k-rtemself): Added.
19633         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
19634         and DWARF_DEBUGGING_INFO.
19635         * config/m68k/crti.s: New file.
19636         * config/m68k/crtn.s: New file.
19637         * config/m68k/t-crtstuff: New file.
19638         * config/m68k/rtemself.h: New file.
19639
19640         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
19641         global ctor/dtor and C++ exception handling.
19642         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
19643         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
19644         ENDFILE_SPEC.
19645         * config/i386/t-rtems-i386: New File.
19646
19647 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
19648
19649         * stmt.c (expand_end_case): Return right away if the case stack is
19650         empty.
19651
19652 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
19653
19654         * Makefile.in (version.c): Remove rule incorrectly brought in from
19655         the gcc2 merge.
19656
19657 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
19658
19659         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
19660         * msdos/top.sed:  Take into account a prepended $(SHELL) to
19661         move-if-change.
19662         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
19663
19664         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
19665
19666 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19667
19668         * regmove.c (fixup_match_1): Don't change an unchanging register.
19669         (stable_but_for_p): Renamed to:
19670         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
19671         Changed all callers.
19672
19673 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
19674
19675         * loop.c (strength_reduce): Don't call reg_used_between_p if the
19676         insn from BL2 is after the insn from BL.
19677
19678 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
19679
19680         * recog.h (INSN_OUTPUT_FORMAT_*): New.
19681         (struct insn_data): Merge `template' and `outfun' into `output'.
19682         Add `output_format'.
19683         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
19684         (struct data): Remove `outfun'; add `output_format'.
19685         (name_for_index): Remove declaration.
19686         (output_insn_data): Handle output formats.
19687         (process_template): Emit the bare array for @.
19688         (gen_expand, gen_split): Set output_format to NONE.
19689         * output.h (get_insn_template): Declare.
19690         * final.c (get_insn_template): New.
19691         (final_scan_insn): Use it.
19692         * toplev.c (compile_file): Likewise.
19693
19694         * c4x/c4x.c (c4x_process_after_reload): Likewise.
19695         * i860/i860.c (output_delayed_branch): Likewise.
19696         (output_delay_insn): Likewise.
19697
19698 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19699
19700         * rtl.c (obstack_alloc_rtx): Removed.
19701
19702 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
19703
19704         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
19705
19706 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
19707
19708         * i386.c (call_insn_operand): Reject const_int.
19709         (expander_call_insn_operand): Use call_insn_operand.
19710
19711 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19712
19713         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
19714
19715 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
19716
19717         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
19718         Use DImode operation.
19719
19720 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
19721
19722         * gcc.c: Include sys/resource.h.
19723         (report_times): New flag.
19724         (execute):  If report_times is set, calculate and report the
19725         CPU time consumed by each subprocess.
19726
19727         (rus, prus): New globals.
19728         (option_map): Add --time.
19729         (display_help): Document -time.
19730         (process_command): Set report_times if -time is given.
19731         Turn off -pipe if -time is given.
19732
19733         * invoke.texi: Document new option -time.
19734
19735         * configure.in: Check for getrusage.  Check if we have to
19736         prototype getrusage.
19737         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
19738         * configure: Regenerate.
19739         * config.in: Regenerate.
19740
19741 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
19742
19743         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
19744         fields.
19745
19746 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
19747
19748         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
19749         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
19750         (nan): Return _thenan_sf or _thenan_df as appropriate.
19751         (L_thenan_sf): Define _thenan_sf.
19752         (L_thenan_df): Define _thenan_df.
19753
19754         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
19755         (DPBIT_FUNCS): Add _thenan_df.
19756
19757 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
19758
19759         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
19760         TYPE_SIZE_UNIT.
19761
19762 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19763
19764         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
19765
19766         * gcc.h: New file.
19767         (lang_specific_driver): Don't take a function pointer parameter.
19768         All callers changed.
19769
19770         * gcc.c: Include gcc.h.
19771         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
19772         lang_specific_extra_outfiles, fatal): Don't declare.
19773         (multilib_defaults_raw): Constify.
19774         (read_specs): Call memset, rather than bzero.
19775         (main): Call return, not exit.
19776         (lookup_compiler): Call memcpy, not bcopy.
19777         (fatal): Make extern.
19778
19779         * cppspec.c: Include gcc.h.
19780         (lang_specific_driver): Initialize variable `quote'.  Constify a
19781         char*.  All calls to the function pointer parameter now
19782         explicitly call `fatal'.
19783
19784         * gccspec.c (lang_specific_driver): Include gcc.h.
19785
19786 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
19787
19788         * arm.c (note_invalid_constants): Use recog_data.operand_type
19789         for recog_op_type.
19790
19791 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19792
19793         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
19794         Declare.
19795
19796         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
19797         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
19798         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
19799         reload_secondary_in_reload, reload_secondary_out_reload,
19800         reload_secondary_in_icode, reload_secondary_out_icode,
19801         reload_reg_rtx, reload_when_needed): Delete declarations.
19802         (struct reload): New structure.
19803         (rld): Declare new array.
19804         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
19805         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
19806         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
19807         reload_secondary_in_reload, reload_secondary_out_reload,
19808         reload_secondary_in_icode, reload_secondary_out_icode,
19809         reload_reg_rtx, reload_when_needed): Delete definitions.
19810         (rld): New array.
19811         (whole file): Replace uses of the deleted arrays with uses of rld.
19812         * reload1.c (whole file): Replace uses of the deleted arrays with
19813         uses of rld.
19814         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
19815         explicit loops, not with bcopy.
19816
19817 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
19818
19819         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
19820         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
19821         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
19822         insn_name): Delete and consolidate into new structures.
19823         (insn_operand_predicate_fn): New.
19824         (insn_output_fn): New.
19825         (insn_gen_fn): New.
19826         (struct insn_operand_data): New.
19827         (struct insn_data): New.
19828         (insn_data): New.
19829         (OUT_FCN): Update for insn_data change.
19830         * builtins.c (expand_builtin_strlen): Likewise.
19831         (expand_builtin_memcmp): Likewise.
19832         * combine.c (make_extraction, simplify_comparison): Likewise.
19833         * cse.c (canon_reg, cse_insn): Likewise.
19834         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
19835         * expmed.c (store_bit_field, extract_bit_field): Likewise.
19836         (emit_store_flag): Likewise.
19837         * expr.c (convert_move, emit_block_move): Likewise.
19838         (clear_storage, emit_push_insn, expand_increment): Likewise.
19839         (do_store_flag): Likewise.
19840         * expr.h (GEN_FCN): Likewise.
19841         (insn_gen_function): Die.
19842         * final.c (final_scan_insn): Update for insn_data change.
19843         (output_asm_name): Likewise.
19844         * function.c (fixup_var_refs_1): Likewise.
19845         * loop.c (check_dbra_loop): Likewise.
19846         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
19847         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
19848         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
19849         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
19850         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
19851         * regmove.c (gen_add3_insn): Likewise.
19852         * reload.c (push_secondary_reload, combine_reloads): Likewise.
19853         (find_reloads, find_reloads_address_1): Likewise.
19854         (debug_reload_to_stream): Likewise.
19855         * reload1.c (emit_reload_insns, gen_reload): Likewise.
19856         * stmt.c (expand_end_case): Likewise.
19857         * toplev.c (compile_file): Likewise.
19858
19859         * c4x/c4x.c (c4x_process_after_reload): Likewise.
19860         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
19861
19862         * print-rtl.c (insn_name_ptr): Remove declaration.
19863         (get_insn_name): Declare.
19864         (print_rtx): Use it.
19865         * genoutput.c (insn_name_ptr): Remove.
19866         (next_operand_number): New.
19867         (struct operand_data): New.
19868         (null_operand, odata, odata_end): New.
19869         (struct data): Use struct operand_data.
19870         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
19871         (get_insn_name): Renamed from name_for_index.
19872         (output_prologue): Define NO_MD_PROTOTYPES.
19873         (output_predicate_decls): Break out from output_epilogue.
19874         Iterate over the operands list.
19875         (output_operand_data): Break out from output_epilogue.  Emit
19876         just the operands list.
19877         (output_insn_data): Break out from output_epilogue.  Emit just
19878         the insn data.
19879         (output_epilogue): Remove.
19880         (output_get_insn_name): New.
19881         (constraints, op_n_alternatives, predicates, address_p): Die.
19882         (modes, strict_low, seen): Die.
19883         (scan_operands): Take new param `d' instead of writing to
19884         seven global variables.
19885         (compare_operands): New.
19886         (place_operands): New.
19887         (validate_insn_alternatives): Update for struct data change.
19888         (gen_insn): Don't zero or copy 7 global arrays.  Update for
19889         scan_operands; call place_operands.
19890         (gen_peephole, gen_expand, gen_split): Likewise.
19891         (main): Update for new output routines.
19892
19893         * genattr.c (insn_name_ptr): Remove.
19894         (get_insn_name): New function.
19895         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
19896         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
19897         * genrecog.c: Likewise.
19898
19899         * alpha.md (adddi3): Make `pattern' array static.
19900
19901 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19902
19903         * config/c4x/c4x.h (c4x_rpts_cycles_string,
19904         c4x_cpu_version_string): Constify char *.
19905         * config/c4x/c4x.c (c4x_rpts_cycles_string,
19906         c4x_cpu_version_string): Likewise.
19907
19908 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
19909
19910         * tree.c (save_tree_status): Revert 10 Sep change.
19911         (restore_tree_status): Likewise.  Call obstack_free with NULL
19912         before freeing the obstack proper.
19913
19914 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
19915
19916         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
19917
19918         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
19919         surrounding context.
19920
19921 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
19922
19923         * tree.c (type_hash_canon): Put all types in the hash-table, when
19924         GC'ing.
19925
19926 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
19927
19928         * recog.h (struct recog_data, recog_data): New.
19929         (recog_foo variables): Kill.
19930         * recog.c (recog_operand, recog_operand_loc): Kill.
19931         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
19932         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
19933         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
19934         (recog_data): Define.
19935         (extract_insn): Update all recog_foo references to use recog_data.
19936         (preprocess_constraints, constrain_operands): Likewise.
19937         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
19938         * genattrtab.c (main): Likewise.
19939         * genextract.c (main): Likewise.
19940         * genoutput.c: Likewise.
19941         * genrecog.c (write_subroutine, main): Likewise.
19942         * local-alloc.c (block_alloc): Likewise.
19943         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
19944         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
19945         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
19946         * reload.c (find_reloads, find_reloads_toplev): Likewise.
19947         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
19948         (reload_cse_simplify_operands): Likewise.
19949
19950         * arc/arc.c (arc_final_prescan_insn): Likewise.
19951         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
19952         * h8300/h8300.c (notice_update_cc): Likewise.
19953         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
19954         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
19955         * mn10200/mn10200.c (notice_update_cc): Likewise.
19956         * mn10300/mn10300.c (notice_update_cc): Likewise.
19957         * romp/romp.c (update_cc): Likewise.
19958         * sparc/sparc.c (check_pic): Likewise.
19959         * v850/v850.c (notice_update_cc): Likewise.
19960
19961         * genemit.c (main): Don't declare recog_operand.
19962
19963 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
19964
19965         * ggc.h (rtvec_def): Forward declare.
19966         (tree_node): Likewise.
19967         (ggc_root): Define.
19968         (roots): Declare.
19969         (ggc_set_mark_rtx): Add prototype.
19970         (ggc_set_mark_rtvec): Likewise.
19971         (ggc_set_mark_tree): Likewise.
19972         * ggc-simple.c (ggc_root): Don't define.
19973         (roots): Don't declare.
19974         (ggc_mark_rtx): Remove.
19975         (ggc_mark_rtvec): Likewise.
19976         (ggc_mark_tree): Likewise.
19977         (ggc_mark_varray): Likewise.
19978         (ggc_mark_tree_hash_table_entry): Likewise.
19979         (ggc_mark_tree_hash_table): Likewise.
19980         (ggc_set_mart_rtx): New function.
19981         (ggc_set_mark_rtvec): Likewise.
19982         (ggc_set_mark_tree): Likewise.
19983         (ggc_add_root): Remove.
19984         (ggc_add_rtx_root): Likewise.
19985         (ggc_remove_tree_root): Likewise.
19986         (ggc_add_string_root): Likewise.
19987         (ggc_add_tree_varray_root): Likewise.
19988         (ggc_add_tree_hash_table_root): Likewise.
19989         (ggc_del_root): Likewise.
19990         (ggc_mark_rtx_ptr): Likewise.
19991         (ggc_mark_tree_ptr): Likewise.
19992         (ggc_mark_string_ptr): Likewise.
19993         (ggc_mark_tree_varray_ptr): Likewise.
19994         (ggc_mark_tree_hash_table_ptr): Likewise.
19995         * ggc-common.c: New file.
19996         * Makefile.in (OBJS): Add ggc-common.o.
19997         (ggc-common.o): List dependencies.
19998
19999 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
20000
20001         * cppalloc.c (xstrdup): Use memcpy.
20002         * cpperror.c (cpp_print_containing_files): Don't use
20003         cpp_notice.
20004         * cpplib.c (conditional_skip): Set temp->lineno.
20005         (do_endif): Make error message less obscure.
20006         (if_directive_name): New function.
20007         (cpp_get_token [case EOF]): Unwind the if stack and generate
20008         error messages for each unterminated conditional in this file.
20009         (parse_string):  Do not behave differently if -traditional.
20010
20011 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
20012
20013         * builtins.c (expand_builtin_va_arg): Cope with an array-type
20014         va_list decomposing to pointer-type.
20015         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
20016         (rs6000_va_arg): Likewise.
20017
20018 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
20019
20020         * except.c (start_dynamic_handler): Compute size using
20021         STACK_SAVEAREA_MODE.
20022
20023 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20024
20025         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
20026         include directory headers.  Don't define strrchr.  Don't provide
20027         my_* replacement functions.  Prefer PTR over `pointer_type'.
20028         Don't prototype system functions.  Don't redefine getopt.
20029
20030         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
20031         safe_read, safe_write, save_pointers, restore_pointers,
20032         is_id_char, in_system_include_dir, directory_specified_p,
20033         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
20034         find_corresponding_lparen, referenced_file_is_newer,
20035         save_def_or_dec, munge_compile_params, gen_aux_info_file,
20036         process_aux_info_file, identify_lineno, check_source,
20037         seek_to_line, forward_to_next_token_char, output_bytes,
20038         output_string, output_up_to, other_variable_style_function,
20039         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
20040         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
20041         find_static_definition, connect_defs_and_decs, add_local_decl,
20042         add_global_decls, needs_to_be_converted, visit_each_hash_node,
20043         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
20044         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
20045         scan_for_missed_items, edit_file, string_list_cons): Add static
20046         prototypes.
20047         (standard_exec_prefix, target_machine, target_version,
20048         default_syscalls_dir, string_list, string_list_cons, find_file,
20049         do_cleaning): Constify a char*.
20050         (safe_read, safe_write): Use PTR, not a char*.
20051         (is_id_char): Take an int, not a char.
20052         (main): Add prototype.  Call return, not exit.
20053
20054 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
20055
20056         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
20057         when comparing types.
20058
20059 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
20060
20061         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
20062         (strength_reduce): Release the varrays from the no-bivs early exit.
20063
20064         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
20065         the loop over the registers.
20066
20067         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
20068         for a new obstack.
20069         (restore_tree_status): Check that instead when freeing the obstack.
20070
20071 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
20072
20073         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
20074         as pointers.
20075
20076 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20077
20078         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
20079         operand size modifiers.
20080
20081 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20082
20083         * c-common.c (c_common_nodes_and_builtins): Don't build
20084         va_list_type_node.
20085         * c-common.h (enum c_tree_index and related accesor macros): Remove
20086         everything now declared in tree.h.
20087         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
20088         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
20089         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
20090         (error_mark_node, void_type_node, char_type_node, integer_type_node,
20091         unsigned_type_node, ptr_type_node, va_list_type_node,
20092         integer_zero_node, null_pointer_node, integer_one_node): Delete.
20093         (init_decl_processing): Call build_common_tree_nodes and
20094         build_common_tree_nodes_2 instead of building their nodes here.
20095         Don't add roots for these nodes.
20096         * stor-layout.c (size_zero_node, size_one_node): Delete.
20097         (set_sizetype): Make a new node for bitsizetype each time.
20098         * tree.c (global_trees): New variable.
20099         (init_obstacks): Add a gc root for it.
20100         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
20101         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
20102         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
20103         (build_common_tree_nodes): New function.
20104         (fix_sizetype): New function.
20105         (build_common_tree_nodes_2): New function.
20106         * tree.h (enum tree_index): New.
20107         (global_trees): Declare.
20108         Add accessor macros for all nodes now moved to global_trees.
20109         Delete their declarations.
20110
20111 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
20112
20113         * c-decl.c (finish_function): When processing a nested function,
20114         push and pop GC context around rest_of_compilation.
20115
20116 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
20117
20118         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
20119         Default ix86_arch to PROCESSOR_I386.
20120         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
20121         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
20122         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
20123         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
20124         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
20125         (EXTRA_SPECS): Remove deleted specs.
20126
20127 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
20128
20129         * function.c (assign_stack_local_1): Allocate from
20130         function->x_frame_offset, not frame_offset.
20131
20132 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
20133
20134         * ggc.h (lang_cleanup_tree): Remove.
20135         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
20136         * ggc-callbacks.c (lang_cleanup_tree): Remove.
20137
20138         * c-decl.c (finish_struct): Use ggc_alloc to allocate
20139         TYPE_LANG_SPECIFIC when garbage collecting.
20140         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
20141         (lang_cleanup_tree): Remove.
20142
20143 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
20144
20145         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
20146         * crtstuff.c: Not here.
20147         * dwarf2out.c: Or here.
20148         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
20149         info.
20150
20151 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
20152
20153         * function.h (free_after_compilation): Remove decl parameter.
20154         (free_varasm_status0: Likewise.
20155         (free_emit_status): Likewise.
20156         (free_stmt_status): Likewise.
20157         (free_after_compilation): Likewise.
20158         (init_lang_status): New variable.
20159         (free_lang_status): Likewise.
20160         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
20161         * function.c (init_lang_status): New variable.
20162         (free_lang_status): Likewise.
20163         (push_function_context_to): Don't set function::decl here.
20164         (free_after_copmilation): Make decl parameter implicit.  Call
20165         free_lang_status if defined.
20166         (prepare_function_start): Call init_lang_status if defined.
20167         (init_function_start): Set function::decl here.
20168         * profile.c (output_func_start_profiler): Don't call pushdecl
20169         until we've actually started the function.
20170         * stmt.c (free_stmt_status): Make decl parameter implicit.
20171         * toplev.c (rest_of_compilation): Don't pass decl to
20172         free_after_compilation.
20173         * varasm.c (free_varasm_status): Likewise.
20174
20175 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20176
20177         * except.c (call_get_eh_context): Add root when allocating static
20178         tree variable.
20179
20180 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
20181
20182         * arm.c: Include "ggc.h".
20183         (arm_add_gc_roots): New function.
20184         (arm_override_options): Call it.
20185         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
20186
20187         * arm.md (define_asm_attributes): Add a pool_range attribute.
20188
20189 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
20190
20191         * extend.texi (Volatiles): New node.
20192
20193 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
20194
20195         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
20196         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
20197         (struct ggc_any): Replace `mark' with `magic_mark'.
20198         (ggc_alloc_string): Use memcpy, not bcopy.
20199         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
20200         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
20201         (ggc_free_any): New.
20202         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
20203         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
20204         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
20205         Use IS_MARKED. Use ggc_free_any.
20206
20207 1999-09-09  Scott Bambrough <scottb@netwinder.org>
20208
20209         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
20210
20211 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
20212
20213         * toplev.c (main): Always init_ggc.
20214
20215 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
20216
20217         * except.c (find_all_handler_type_matches): Free the list if
20218         we found no matches.
20219
20220         * combine.c (SUBST): Break out to a real function do_SUBST.
20221         (SUBST_INT): Likewise.
20222         * gcse.c (free_pre_mem): Free `temp_bitmap'.
20223         (pre_insert): Free `inserted'.
20224         * loop.c (basic_induction_var): Always set `location'.
20225
20226         * function.c (expand_function_end): Add initial_trampoline as a root.
20227         * rtl.h (init_varasm_once): Declare.
20228         * toplev.c (compile_file): Call it.
20229         * ggc-simple.c (ggc_mark_string_ptr): New.
20230         (ggc_add_string_root): New.
20231         (ggc_collect): Disable collection avoidance temporarily.
20232         * ggc.h (ggc_add_string_root): Declare.
20233         * except.c (create_rethrow_ref): Use ggc_alloc_string.
20234         * optabs.c (init_libfuncs): Likewise.
20235         * varasm.c (named_section): Use ggc_alloc_string.
20236         (make_function_rtl): Likewise.
20237         (make_decl_rtl): Likewise.
20238         (assemble_static_space): Likewise.
20239         (assemble_trampoline_template): Likewise.
20240         (output_constant_def): Likewise.
20241         (force_const_mem): Likewise.
20242         (mark_const_hash_entry): New.
20243         (mark_pool_sym_hash_table): New.
20244         (mark_varasm_state): Use it.
20245         (init_varasm_once): New.
20246
20247         * expr.h (init_one_libfunc): Declare.
20248         * optabs.c (init_one_libfunc): New.
20249         (init_optabs): Use it.
20250         * config/gofast.h: Likewise.
20251         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
20252         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
20253
20254 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
20255
20256         * Makefile.in (cppexp.o): Depend on cpphash.h.
20257         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
20258         Include cpphash.h.
20259         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
20260         * cpplib.c (do_define): Generalise to handle poisoned definitions,
20261         redefining poisoned identifiers, etc.
20262         (do_undef): Don't allow poisoned identifiers to be undefined.
20263         (do_pragma): Add #pragma poison.
20264         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
20265
20266         * cccp.c: Add T_POISON node type.
20267         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
20268         poisoned xxx.
20269         (do_define): Generalise to handle poisoned definitions,
20270         redefining poisoned identifiers, etc.
20271         (do_undef): Don't allow poisoned identifiers to be undefined.
20272         (do_pragma): Add #pragma poison.
20273         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
20274
20275         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
20276         * c-pragma.h: Add ps_poison state.  We now always have generic
20277         pragmas.
20278
20279 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
20280
20281         * ggc.h (ggc_alloc): New function.
20282         (ggc_mark): Likewise.
20283         * ggc-simple.c (ggc_any): New structure.
20284         (ggc_status): Add anys.
20285         (n_anys_collected): New variable.
20286         (ggc_alloc): Define.
20287         (ggc_mark): Likewise.
20288         (ggc_collect): Collect the anys.
20289
20290 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20291
20292         * c-decl.c (mark_binding_level): Make static to match prototype.
20293
20294 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
20295
20296         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
20297
20298 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
20299
20300         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
20301         will use into account.  Expand the max width to 5.
20302         * rtl.c: Likewise.
20303
20304 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
20305
20306         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
20307         for the rtx length.
20308
20309 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
20310
20311         * alpha.md (call value patterns): Remove the result predicates.
20312
20313 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
20314
20315         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
20316         last change.
20317
20318 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20319
20320         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
20321         changed from extern char *, to extern PTR.  Also fix typo in
20322         NEED_DECLARATION_REALLOC test.
20323
20324         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
20325
20326 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20327
20328         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
20329         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
20330         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
20331         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
20332
20333         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
20334
20335         * cccp.c (pcfinclude): Likewise.
20336
20337         * global.c (allocno_compare): Likewise.
20338
20339         * haifa-sched.c (rank_for_schedule): Likewise.
20340
20341         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
20342
20343         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
20344
20345         * stupid.c (stupid_reg_compare): Likewise.
20346
20347         * tree.c (_obstack_allocated_p): Likewise.
20348
20349         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
20350
20351 1999-09-08  Bruce Korb  autogen@linuxbox.com
20352
20353         * Makefile.in: Give the hapless gperf user a hint about
20354         why "gperf -F" fails.
20355
20356 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
20357
20358         * lists.c: Include ggc.h.
20359         (zap_lists): New.
20360         (init_EXPR_INSN_LIST_cache): Install it.
20361
20362         * ggc-simple.c (init_ggc): Absorb the old init.
20363         (ggc_push_context): Use xcalloc.
20364         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
20365         (ggc_collect): Add [rvts] tags to the collection stats.
20366
20367 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
20368
20369         * cccp.c (main): Fix handling of -include and -imacros options.
20370
20371 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
20372
20373         * cpplib.c (cpp_push_buffer): Fix order of arguments.
20374
20375 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
20376
20377         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
20378         genrtl.c.
20379
20380 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
20381
20382         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
20383         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
20384         and SET_DEST. Update comment.
20385
20386 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20387
20388         * config/c4x/c4x.c: Include ggc.h.
20389         (c4x_add_gc_roots): New function.
20390         (c4x_override_options): Call c4x_add_gc_roots.
20391
20392 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
20393
20394         * defaults.h (TARGET_ESC): Move ...
20395         * system.h: ... here, where Linas had it in the first place.  Silly me.
20396
20397 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
20398
20399         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
20400         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
20401         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
20402         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
20403         * defaults.h (TARGET_ESC): Add default.
20404
20405 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
20406
20407         * configure.in: add i370-*-openedition, i370-*-mvs and
20408         i370-*-linux targets
20409
20410 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
20411
20412         * dsp16xxx.c: Include ggc.h
20413         (override_options): Mark GC roots.
20414         * mn10200.c: Include ggc.h.
20415         (asm_file_start): Mark GC roots.
20416         * tahoe.c: Include ggc.h.
20417         (extensible_operand): Mark GC roots.
20418
20419 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
20420
20421         * README: Add section discussing status of ELF ABI.
20422         * i370.c: Fix misc spelling mistakes.
20423         (i370_label_scan): Updated notes, exception handling.
20424         (i370_function_prolog): Simplify ELF stack handling.
20425         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
20426         (STACK_GROWS_DOWNWARD): ELF stack grows down.
20427         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
20428         * i370.md: (movdi): Add notes.
20429         (floatsidf2): Use stack not rtca for scratch float area.
20430         (iorsi3): Correct operand constraints.
20431         * x-oe: Restore TAROUTOPTS which are used by pax.
20432
20433 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
20434
20435         * rs6000.c: Include ggc.h.
20436         (rs6000_add_gc_roots): New function.
20437         (override_options): Call it.
20438
20439 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
20440
20441         * alpha.h (alpha_compare): New.
20442         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
20443         * alpha.c: Likewise for the definitions.
20444         (alpha_emit_conditional_branch): Update for alpha_compare.
20445         (alpha_emit_conditional_move): Likewise.
20446         * alpha.md (cmpdf, cmpdi): Likewise.
20447         (setcc patterns): Likewise.  Zero alpha_compare after use.
20448         (sne): Optimize (x != 0) into (0U < x).
20449
20450 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
20451
20452         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
20453         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
20454         (INIT_EXPANDERS): Remove.
20455         * alpha.c: Include ggc.h.
20456         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
20457         (alpha_init_machine_status, alpha_mark_machine_status): New.
20458         (override_options): Install them.
20459         (struct machine_function): Moved to alpha.h.
20460         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
20461         (alpha_init_expanders): Remove.
20462         (alpha_return_addr): Adjust to use current_function->machine.
20463         (alpha_ra_ever_killed): Likewise.
20464         (alpha_expand_epilogue): Likewise.
20465         * alpha.md (eh_epilogue): Likewise.
20466
20467 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
20468                           Melissa O'Neill  <oneill@cs.sfu.ca>
20469                           Geoffrey Keating  <geoffk@cygnus.com>
20470
20471         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
20472         call-used registers (call-saved registers must still be contiguous
20473         and end with r31, of course).
20474
20475 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
20476
20477         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
20478         (self_promoting_type_p): Delete.
20479         (self_promoting_args_p): Move ...
20480         * c-common.c: ... here.
20481         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
20482         (simple_type_promotes_to): New.
20483         * builtins.c (lang_type_promotes_to): New.
20484         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
20485         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
20486         * c-common.h: ... here.
20487         (self_promoting_args_p, simple_type_promotes_to): Declare.
20488         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
20489         (grokdeclarator): Likewise.
20490         * tree.h (lang_type_promotes_to): Declare.
20491
20492 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
20493
20494         Add some machine-dependent GC roots.
20495         * sparc.c: Include ggc.h.
20496         (sparc_add_gc_roots): New function.
20497         (mark_ultrasparc_pipeline_state): Likewise.
20498         (override_options): Call sparc_add_gc_roots.
20499         * pa.c: Include ggc.h.
20500         (pa_add_gc_roots): New function.
20501         (mark_deferred_plabels): Likewise.
20502         (override_options): Call pa_add_gc_roots.
20503         * mips.c: Include ggc.h.
20504         (mips_add_gc_roots): New function.
20505         (override_options): Use it.
20506
20507 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20508
20509         * cpperror.c (cpp_file_line_for_message): Constify a char*.
20510
20511         * cppexp.c (parse_number, parse_charconst, cpp_lex,
20512         cpp_parse_expr): Add static prototypes.
20513         (parse_charconst): Don't cast away const-ness.
20514         (token): Constify a char*.
20515
20516         * cppfiles.c (file_name_list, include_hash, find_include_file,
20517         finclude, initialize_input_buffer): Constify a char*.
20518         (file_cleanup, find_position): Add static prototypes.
20519
20520         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
20521         collect_expansion): Add static prototypes.
20522         (cpp_install, create_definition, monthnames): Constify a char*.
20523
20524         * cpphash.h (cpp_install): Likewise.
20525
20526         * cppinit.c (known_suffixes, default_include,
20527         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
20528         (base_name, dump_special_to_buffer, initialize_dependency_output):
20529         Add static prototypes.
20530
20531         * cpplib.c (my_strerror): Constify a char*.
20532         (null_underflow, null_cleanup, skip_comment, copy_comment,
20533         copy_rest_of_line, handle_directive, pass_thru_directive,
20534         get_directive_token, read_line_number, cpp_print_file_and_line,
20535         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
20536         v_cpp_warning_with_line, detect_if_not_defined,
20537         consider_directive_while_skipping): Add static prototypes.
20538         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
20539         cpp_pedwarn_with_file_and_line): Constify a char*.
20540
20541         * cpplib.h (cpp_options, include_hash, progname, definition,
20542         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
20543         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
20544         find_include_file, deps_output, include_hash): Constify a char*.
20545
20546         * cppmain.c (progname): Constify.
20547         (main): Add prototype.  Use return, not exit.
20548
20549         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
20550         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
20551         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
20552         check_protection): Add static prototype.
20553         (xfree): Remove.
20554         (progname, recognized_macrom, recognized_extern): Constify a char*.
20555         (main): Add prototype.
20556
20557         * gen-protos.c (progname): Constify a char*.
20558
20559 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
20560
20561         * emit-rtl.c (free_emit_status): Take decl as a parameter.
20562         (init_emit_once): Add more GC roots.
20563         * except.c (mark_func_eh_entry): New function.
20564         (mark_eh_node): Mark false_label and rethrow_label.
20565         (init_eh): Add more GC roots.
20566         * function.c (free_after_compilation): Take decl as a paramter.
20567         Call free_stmt_status.
20568         (mark_function_state): Don't assume x_parm_reg_stack_loc is
20569         non-NULL.
20570         * function.h (free_after_compilation): Change prototype.
20571         (free_varasm_status): Likewise.
20572         (free_emit_status): Likewise.
20573         (free_stmt_status): New function.
20574         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
20575         Remove, replacing with ...
20576         (ggc_status): New structure.
20577         (ggc_chain): New variable.
20578         (init_gcc): Define.
20579         (ggc_push_context): New function.
20580         (ggc_pop_context): Likewise.
20581         (ggc_alloc_rtx): Adjust for use of ggc_chain.
20582         (ggc_alloc_rtvec): Likewise.
20583         (ggc_alloc_tree): Likewise.
20584         (ggc_alloc_string): Likewise.
20585         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
20586         (ggc_mark_tree): Give language-dependent code a chance to mark
20587         `x' nodes.
20588         (ggc_mark_tree_varray): Handle empty arrays.
20589         (ggc_collect): Adjust for use of ggc_chain.  Clear
20590         bytes_alloced_since_last_gc.
20591         * ggc.h (ggc_pop_context): New function.
20592         (ggc_push_context): Likewise.
20593         * print-tree.c (print_node): Don't print obstacks when GC'ing.
20594         * stmt.c (free_stmt_status): New function.
20595         (init_stmt_for_function): Clear last_expr_value.
20596         * toplev.c (rest_of_compilation): Always call free_after_compilation.
20597         Conditionalize call to ggc_collect.
20598         (main): Call init_ggc.
20599         * tree.c (push_obstacks): Do the push, even when GC'ing.
20600         (push_obstacks_nochange): Likewise.
20601         (pop_obstacks): Liekwise.
20602         * varasm.c (free_varasm_status): Take decl as a parameter.
20603
20604 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20605
20606         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
20607         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
20608         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
20609         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
20610
20611 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
20612
20613         * pa/x-pa-mpeix: New file for the MPE port.
20614
20615         * pa/quadlib.asm: New file for long double support.
20616
20617         * configure.in: Add hppa1.0-*-mpeix for MPE port.
20618         * configure: Rebuilt.
20619
20620 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
20621
20622         * final.c (shorten_branches): Fix last change.
20623
20624 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
20625
20626         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
20627
20628 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
20629
20630         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
20631         details.
20632
20633 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20634
20635         * c-aux-info.c (concat): Don't define.
20636
20637         * cccp.c (my_strerror): Likewise.  All callers changed to use
20638         xstrerror instead.
20639         (do_include): Call xstrdup, not xmalloc/strcpy.
20640         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
20641         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
20642
20643         * collect2.c (my_strsignal): Likewise.  All callers changed to use
20644         strsignal instead.
20645         (locatelib): Call xstrdup, not xmalloc/strcpy.
20646
20647         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
20648
20649         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
20650
20651         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
20652
20653         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
20654
20655         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
20656
20657         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
20658
20659         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
20660         malloc/realloc.
20661         (find_all_handler_type_matches): Likewise.  Don't check return
20662         value.
20663         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
20664         xmalloc, not malloc.
20665         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
20666
20667         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
20668         (init_spec): Call xcalloc, not xmalloc/bzero.
20669         (set_spec): Call xstrdup, not save_string.
20670         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
20671         (find_a_file): Call xstrdup, not xmalloc/strcpy.
20672         (process_command): Call xstrdup, not save_string.
20673         (main): Call xcalloc, not xmalloc/bzero.
20674
20675         * gcov.c (xmalloc): Don't define.
20676         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
20677         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
20678         (output_data): Call xcalloc, not xmalloc/bzero.
20679
20680         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
20681
20682         * mips-tdump.c (xmalloc): Don't define.
20683         (print_symbol): Call xmalloc, not malloc.
20684         (read_tfile): Call xcalloc, not calloc.
20685
20686         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
20687         Don't define.  All callers of xfree/my_strsignal changed to use
20688         free/strsignal instead.
20689         (allocate_cluster): Call xcalloc, not calloc.
20690
20691         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
20692         Fix memory leak, free allocated memory.
20693
20694         * prefix.c (translate_name): Call xstrdup, not save_string.
20695         (update_path): Likewise.
20696
20697         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
20698
20699         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
20700         Don't define.  Callers of xfree/savestring2 changed to use
20701         free/concat instead.
20702
20703         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
20704         (init_elim_table): Likewise.
20705
20706         * resource.c (init_resource_info): Likewise.
20707
20708         * stupid.c (stupid_life_analysis): Likewise.
20709
20710         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
20711         (open_dump_file): Call concat, not xmalloc/strcpy/...
20712         (clean_dump_file): Likewise.
20713         (compile_file): Call xstrdup, not xmalloc/strcpy.
20714
20715 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
20716
20717         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
20718         * v850.c (v850_va_arg): New.
20719
20720 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20721
20722         * haifa-sched.c: Tidy comments.
20723
20724 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20725
20726         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
20727         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
20728         $(out_object_file)): Depend on ggc.h.
20729         * c-common.c: Include "ggc.h".
20730         (combine_strings): If doing GC, use ggc_alloc_string.
20731         * c-decl.c: Include "ggc.h".
20732         (ggc_p): Define with value 0.
20733         (mark_binding_level): New function.
20734         (init_decl_processing): Add GC roots.
20735         (mark_c_function_context): New function.
20736         (lang_mark_false_label_stack): New function.
20737         (lang_mark_tree): New function.
20738         (lang_cleanup_tree): New function.
20739         * c-lang.c: Include "ggc.h".
20740         (lang_init): Call c_parse_init.
20741         * c-lex.c: Include "ggc.h".
20742         (check_linenum): If doing GC, don't copy filenames to permanent
20743         obstack.
20744         * c-parse.in: Include "ggc.h".
20745         (c_parse_init): New function.
20746         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
20747         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
20748
20749         * except.c (mark_eh_state): Mark more state.
20750         * function.c (mark_function_state): Likewise.
20751         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
20752         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
20753         * toplev.c (mark_file_stack): New function.
20754         (compile_file): If doing GC, use ggc_alloc_string on input filename.
20755         (main): Add root for input_file_stack.
20756
20757         * i386.c: Include "ggc.h".
20758         (ix86_mark_machine_status): New function.
20759         (override_options): Set mark_machine_status.
20760
20761 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20762
20763         * tree.c (copy_node): Copy node contents also if doing GC.
20764
20765 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
20766
20767         * collect2.c (scan_libraries): Fix double-thinko :-).
20768
20769 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
20770
20771         * collect2.c (scan_libraries): Fix thinko.
20772
20773         * cse.c (delete_trivially_dead_insns): Do not skip the last
20774         insn if it is a real insn.
20775
20776 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
20777
20778         * Makefile.in (ggc-simple.o): Depend on hash.h.
20779         * ggc.h (ggc_add_tree_hash_table_root): Declare.
20780         (ggc_mark_tree_varray): Likewise.
20781         (ggc_mark_tree_hash_table): Likewise.
20782         * ggc-simple.c: Include hash.h.
20783         (ggc_mark_tree_hash_table_ptr): New function.
20784         (ggc_mark_tree_hash_table_entry): Likewise.
20785         (ggc_mark_tree_hash_table): Likewise.
20786         (ggc_add_tree_hash_table_root): Likewise.
20787         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
20788         rtx, when defining fields.
20789
20790 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
20791
20792         * profile.c (output_func_start_profiler): Remove apparently
20793         nonsensical call to start_sequence.
20794
20795 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
20796
20797         * clipper/clipper.c (clipper_va_start): Fix typos.
20798
20799         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
20800         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
20801         (spur_va_arg): New stub.
20802
20803         * configure.in: Comment out pyramid.
20804
20805 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
20806
20807         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
20808         don't conflict with the bits that win32, cygwin, and dgux
20809         defines.
20810
20811 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
20812                           Bernd Schmidt <bernds@cygnus.co.uk>
20813
20814         * integrate.c (function_cannot_inline_p): Do not inline
20815         functions with forced labels.
20816
20817 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
20818                           Bernd Schmidt <bernds@cygnus.co.uk>
20819                           Mark Mitchell  <mark@codesourcery.com>
20820
20821         * Makefile.in (ggc-simple.o): Depend on varray.h.
20822         (rtl.o): Depend on ggc.h.
20823         (genattrtab.o): Depend on ggc.h.
20824         (print-tree.o): Likewise.
20825         (fold-const.o): Likewise.
20826         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
20827         (make_insn_raw): Don't cache insns when GC'ing.
20828         (emit_insn_before): Likewise.
20829         (emit_insn_after): Likewise.
20830         (emit_insn): Likewise.
20831         (start_sequence): Use xmalloc to allocate the sequence_stack.
20832         (end_sequence): Add free to free it.
20833         (gen_sequence): Don't cache insns when GC'ing.
20834         (clear_emit_caches): Don't use sequence_element_free_list.
20835         (init_emit): Use xcalloc, not xmalloc+bzero.
20836         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
20837         * function.c (pop_function_context_from): Use free to free the
20838         fixup_var_refs_queue.
20839         (put_reg_into_stack): Allocate it with xmalloc.
20840         * genattrtab.c: Include ggc.h.
20841         (operate_exp): Don't use obstack_free when GC'ing.
20842         (simplify_cond): Likewise.
20843         (simplify_text_exp): Likewise.
20844         (optimize_attrs): Likewise.
20845         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
20846         GC'ing.
20847         (gencode): Generate a #include for ggc.h.
20848         * ggc-callbacks.c (ggc_p): Define it to zero.
20849         * ggc-none.c (ggc_p): Likewise.
20850         * ggc-simple.c: Include varray.h.
20851         (ggc_mark_tree_varray): New function.
20852         (ggc_add_tree_varray_root): Likewise.
20853         (ggc_mark_tree_varray_ptr): Likewise.
20854         * ggc.h (ggc_p): Declare.
20855         (varray_head_tag): Likewise.
20856         (ggc_add_tree_varray_root): Declare.
20857         * print-tree.c (print_node): Don't check for TREE_PERMANENT
20858         inconsistencies when GC'ing.
20859         * rtl.c: Include ggc.h.
20860         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
20861         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
20862         (rtx_free): Don't call obstack_free when GC'ing.
20863         * toplev.c (rest_of_compilation): Call ggc_collect after every
20864         pass, if GC'ing.
20865         * tree.c (push_obstacks): Do nothing, if GC'ing.
20866         (pop_obstacks_nochange): Likewise.
20867         (pop_obstacks): Likewise.
20868         (make_node): Use ggc_alloc_tree when GC'ing.
20869         (copy_node): Likewise.
20870         (get_identifier): Use ggc_alloc_string when GC'ing.
20871         (build_string): Likewise.
20872         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
20873         (tree_cons): Likewise.
20874         (build1): Likewise.
20875         (type_hash_canon): Don't call obstack_free when GC'ing.
20876
20877 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
20878
20879         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
20880         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
20881
20882 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
20883                           Bernd Schmidt <bernds@cygnus.co.uk>
20884                           Mark Mitchell  <mark@codesourcery.com>
20885
20886         * Makefile.in (stor-layout.o): Depend on ggc.h.
20887         (expr.o): Depend on ggc.h.
20888         (profile.o): Depend on ggc.h.
20889         (stor-layout.o): Depend on ggc.h.
20890         * emit-rtl.c (init_emit_once): Add gc roots.
20891         * expr.c: Include ggc.h.
20892         (emit_block_move): Add gc roots.
20893         (clear_storage): Likewise.
20894         * expr.h (init_stor_layout_once): New function.
20895         * profile.c: Include ggc.h.
20896         (init_arc_profiler): profiler_label is a root.
20897         * scan.c (make_sstring_space): Trust xrealloc to function
20898         correctly with first parameter NULL.
20899         * stor-layout.c: Include ggc.h.
20900         (set_sizetype): Add gc root.
20901         (init_stor_layout_once): New function.
20902         * toplev.c (compile_file): Call it.
20903
20904 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
20905                           Bernd Schmidt <bernds@cygnus.co.uk>
20906                           Mark Mitchell  <mark@codesourcery.com>
20907
20908         * Makefile.in (tree.o): Depend on ggc.h.
20909         (varasm.o): Likewise.
20910         (function.o): Likewise.
20911         (stmt.o): Likewise.
20912         (except.o): Likewise.
20913         (optabs.o): Likewise.
20914         (emit-rtl.o): Likewise.
20915         * emit-rtl.c: Include ggc.h.
20916         (sequence_element_free_list): Remove, and all references.
20917         (mark_sequence): New functions.
20918         (mark_emit_state): New function.
20919         * except.c: Include ggc.h.
20920         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
20921         (mark_tree_label_node): New functions.
20922         (mark_eh_state): New function.
20923         * function.c: Include ggc.h.
20924         (mark_temp_slot, mark_function_chain): New functions.
20925         (mark_function_state): New function.
20926         (init_function_once): New function.
20927         * function.h (init_function_once): New function.
20928         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
20929         * ggc.h (label_node): Declare.
20930         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
20931         (lang_mark_false_label_stack): New function.
20932         (mark_temp_slot): Remove declaration.
20933         (mark_function_chain): Likewise.
20934         (mark_eh_state): Adjust prototype.
20935         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
20936         Likewise.
20937         * optabs.c: Include ggc.h.
20938         (mark_optab): New function.
20939         (init_optabs): Add gc roots.
20940         * stmt.c: Include ggc.h.
20941         (mark_cond_nesting, mark_loop_nesting): New functions.
20942         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
20943         (mark_stmt_state): New function.
20944         * toplev.c (compile_file): Call init_function_once.
20945         * tree.c: Include ggc.h.
20946         (type_hash): Move declaration earlier in file.
20947         (TYPE_HASH_SIZE, type_hash_table): Likewise.
20948         (init_obstacks): Add gc roots.
20949         (mark_type_hash): New function.
20950         * varasm.c: Include ggc.h.
20951         (mark_pool_constant): New function.
20952         (mark_varasm_state): New function.
20953
20954 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20955
20956         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
20957
20958 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
20959
20960         * c-decl.c (struct language_function): Renamed from struct c_function.
20961         Delete elt NEXT.
20962         (c_function_chain): Delete.
20963         (push_c_function_context): New arg F.  Don't warn about nested
20964         functions here.  Fill LANGUAGE elt of F.  Delete code to update
20965         c_function_chain.  Don't call push_function_context.
20966         (pop_c_function_context): New arg F.  Restore from there instead of
20967         from c_function_chain.  Don't call pop_function_context.  Clear out
20968         LANGUAGE field of F when done.
20969         * c-lang.c: Include "function.h"
20970         (lang_init): Initialize save_lang_status and restore_lang_status.
20971         * c-parse.in (nested_function, nested_function_notype): Warn about
20972         nested functions.  Call push_function_context/pop_function_context
20973         instead of the _c_ variants.
20974         * c-tree.h (push_c_function_context, pop_c_function_context): Update
20975         prototype.
20976         * Makefile.in (c-lang.o): Update dependencies.
20977
20978         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
20979         regno_pointer_flag, regno_pointer_align.
20980         (gen_reg_rtx): Use xrealloc to enlarge them.
20981         (free_emit_status): New function.
20982         * function.c (mark_machine_status, mark_lang_status): New variables.
20983         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
20984         in some bits from assign_stack_local.  All callers changed to use new
20985         name.
20986         (assign_stack_local): Just call assign_stack_local_1.
20987         (free_after_compilation): New function.
20988         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
20989         (trampoline_address): Likewise.
20990         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
20991         (prepare_function_start): Explicitly clear some more variables.
20992         * function.h (struct function): New elt can_garbage_collect.
20993         (mark_machine_status, mark_lang_status): Declare variables.
20994         (free_after_compilation, free_emit_status, free_varasm_status,
20995         init_varasm_status): Declare functions.
20996         * toplev.c (rest_of_compilation): Call free_after_compilation when
20997         done with the current function.
20998         * varasm.c (free_varasm_status): New function.
20999
21000 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
21001
21002         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
21003         (EXPAND_BUILTIN_VA_ARG): Define.
21004         * sparc.c (sparc_va_start): New.
21005         (sparc_va_arg): New.
21006
21007 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21008
21009         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
21010
21011 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21012
21013         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
21014
21015 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
21016
21017         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
21018         (OBJS): Add $(GGC).
21019         (ggc-callbacks.o): New target.
21020         * ggc-callbacks.c: New file.
21021
21022 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21023
21024         * expr.h: Collapse individual optab and libfunc vars to arrays.
21025         (optab_index, libfunc_index): New enumerations.
21026         (optab_table, libfunc_table): New arrays.
21027         Add accessor macros for both.
21028
21029         * optabs.c (optab_table, libfunc_table): New.
21030         Delete declarations for individual optab and libfunc vars.
21031
21032 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
21033
21034         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
21035
21036 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
21037
21038         * Makefile.in (GGC, GGC_LIB): New.
21039         (HOST_RTL): Include ggc-none.o.
21040         (ggc-simple.o): New target.
21041         (ggc-none.o): Likewise.
21042         * tree.h (tree_common): Add gc_mark.
21043         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
21044         (struct rtvec_def): Add gc_mark.
21045         * emit-rtl.c (global_rtl): Update static initializers to contain
21046         enough initializers.
21047         * ggc.h, ggc-none.c, ggc-simple.c: New files.
21048         * toplev.c (gc_time): New variable.
21049         (all_time): New variable.
21050         (compile_file): Print gc time.
21051         (print_time): Calculate percentage of the whole.
21052
21053 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21054
21055         Change obstack memory management and varasm constant pool handling so
21056         that nested functions are treated like any other functions.
21057         * function.c (init_machine_status): New variable.
21058         (push_function_context_to): Set contains_functions for the outer
21059         function.  Don't call save_varasm_status.
21060         (pop_function_context_from): Don't call restore_varasm_status.  Don't
21061         set current_function_contains_functions.
21062         (prepare_function_start): Call init_varasm_status rather than
21063         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
21064         is non-null.
21065         * function.h (struct function) Add field varasm.  Delete fields
21066         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
21067         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
21068         (init_machine_status): Declare.
21069         (save_varasm_status, restore_varasm_status): Delete declarations.
21070         (save_tree_status, restore_tree_status): Delete last argument.
21071         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
21072         code.  All callers changed.
21073         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
21074         save_constants_in_decl_trees, restore_constants, save_constants,
21075         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
21076         functions.
21077         (inlining): New variable.
21078         (reg_map, label_map, insn_map, orig_asm_operands_vector,
21079         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
21080         variables.
21081         (save_for_inline_nocopy): Don't save constants.
21082         Don't set inl_emit field in current_function.
21083         (expand_inline_function): Use emit field, not inl_emit, of the inlined
21084         function.  Set new variable inlining before
21085         calling copy_rtx_and_substitute.
21086         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
21087         constant pool references if inlining is nonzero.
21088         Delete ADDRESS and (most of the) CONST cases.
21089         (output_inline_function): Save and restore current_function/
21090         current_function_decl.  Delete restore_constants code.  Don't call
21091         init_const_rtx_hash_table.
21092         * output.h (init_const_rtx_hash_table): Don't declare.
21093         * rtl.h (struct function): Declare.
21094         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
21095         * toplev.c (rest_of_compilation): Don't treat nested functions or
21096         functions containing them specially.  Delete all code to deal with
21097         save_for_inline_copying.
21098         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
21099         inline_obstacks): Delete variables.
21100         (save_tree_status): Lose arg CONTEXT.  All callers changed.
21101         Simply allocate a new function_maybepermanent_obstack for the new
21102         function, delete all the special cases.
21103         Don't save inline_obstacks.
21104         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
21105         Delete special handling for function_maybepermanent_obstack; simply
21106         free it if empty.
21107         Don't restore inline_obstacks.
21108         (permanent_allocation):  Delete code that frees inline_obstacks.
21109         (print_inline_obstack_statistics): Delete function.
21110         (dump_tree_statistics): Don't call it.
21111         * varasm.c (struct varasm_status): New.
21112         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
21113         last_pool, pool_offset, const_double_chain): Delete global
21114         variables, replace with accessor macros.
21115         (immed_double_const): Don't walk const_double_chain outside a
21116         function, but don't treat nested functions specially anymore.
21117         (immed_real_const_1): Likewise.
21118         (clear_const_double_mem): Don't treat nested functions specially.
21119         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
21120         (save_varasm_status, restore_varasm_status): Delete functions.
21121         (init_varasm_status): New function.
21122         (force_const_mem): Don't treat nested functions specially.
21123         (find_pool_constant): Accept new arg F, search for constants in
21124         that function's pool rather than the current one.  All callers
21125         changed.
21126         (get_pool_constant_for_function, get_pool_mode_for_function): New
21127         functions.
21128
21129         * i386.c (init_386_machine_status): New function, mostly from
21130         clear_386_stack_locals.
21131         (struct machine_functions): Rename element names to avoid name
21132         clashes.
21133         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
21134         macros, replacing global variables.
21135         (clear_386_stack_locals, save_386_machine_status,
21136         restore_386_machine_status): Delete functions.
21137         (override_options): Initialize init_machine_status.
21138         * i386.h (INIT_EXPANDERS): Delete macro.
21139         (save_386_machine_status, restore_386_machine_status,
21140         clear_386_stack_locals): Delete declarations.
21141
21142 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21143
21144         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
21145         (doloop_begin):  Simplify pattern and use emit_jump_insn.
21146         (doloop_end): Simplify pattern, switch operand order,
21147         and use emit_jump_insn.
21148
21149 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
21150
21151         * function.h (struct function): Add new element LANGUAGE.
21152         (save_lang_status): Declare new variable.
21153         (restore_lang_status): Likewise.
21154         * function.c (save_lang_status): Define.
21155         (restore_lang_status): Likewise.
21156         (push_function_context_to): Call language-specific save function.
21157         (pop_function_context_from): Call language-specific restore function.
21158
21159 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
21160
21161         * i386.md (movsf_1): Check REG_P before use of REGNO.
21162         (movdf_1): Likewise.
21163         (movxf_1): Likewise.
21164         (extendsfdf2): Likewise.
21165         (extendsfxf2): Likewise.
21166         (extenddfxf2): Likewise.
21167
21168 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21169
21170         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
21171         constants into memory.
21172         (c4x_shiftable_constant): New function.
21173         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
21174         (c4x_shiftable_constant): Declare.
21175         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
21176         ashlqi3_noclobber): Add new patterns and associated splitters.
21177
21178 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
21179
21180         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
21181         * dwarf2out.c (dwarf2out_frame_init): Likewise.
21182         * final.c (shorten_branches): Likewise.
21183         * global.c (global_alloc): Likewise.
21184         * haifa-sched.c (build_control_flow): Likewise.
21185         * stmt.c (check_for_full_enumeration_handling): Likewise.
21186         (estimate_case_costs): Likewise.
21187
21188 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
21189
21190         * rtl.h (RTL_CHECKC2): Fix typo in last change.
21191
21192 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
21193
21194         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
21195         (recompute_reg_usage): Likewise.
21196         * rtlanal.c (find_regno_fusage): Likewise.
21197
21198         * rtl.c (rtl_check_failed_code1): New function.
21199         (rtl_check_failed_code2): New.
21200         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
21201         (RTL_CHECKC1, RTL_CHECKC2): New.
21202         (XC*): New accessor macros.
21203         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
21204         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
21205         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
21206         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
21207         (TRAP_*, RANGE_INFO_*): Likewise.
21208
21209 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21210
21211         * Makefile.in (tlink.o): Don't depend on toplev.h.
21212
21213         * collect2.c (c_file, o_file, export_file, import_file, ldout,
21214         output_file, nm_file_name, ldd_file_name, strip_file_name,
21215         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
21216         add_prefix, prefix_from_env, prefix_from_string, do_wait,
21217         fork_execute, maybe_unlink, add_to_list,
21218         extract_init_priority, write_list, dump_list,
21219         dump_prefix_list, write_list_with_asm, write_c_file,
21220         write_c_file_stat, write_c_file_glob, scan_prog_file,
21221         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
21222         ignore_library, extract_string, notice, dump_file, target_machine,
21223         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
21224         read_file, print_load_command): Constify a char*.
21225         (fdopen, error, fatal, fatal_perror): Don't prototype.
21226         (my_strerror): Remove.  All callers use xstrerror instead.
21227         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
21228         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
21229         to xcalloc/strcpy/strcat/...  to one call to concat.
21230         (main, scan_prog_file, scan_libraries): Use an intermediate
21231         `const char **' to build an argv array.
21232         (mapfile, libselect, libcompare, locatelib): Add prototypes.
21233
21234         * collect2.h (collect_execute, collect_wait, dump_file,
21235         file_exists): Constify a char*.
21236         (ldout, c_file_name, temporary_obstack, permanent_obstack,
21237         temporary_firstobj, vflag, debug): Add extern declarations.
21238         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
21239
21240         * tlink.c: Don't include toplev.h.
21241         (vflag, debug, ldout, c_file_name, temporary_obstack,
21242         permanent_obstack, temporary_firstobj): Don't declare.
21243         (tlink_execute, frob_extension, symbol_hash_lookup,
21244         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
21245         recompile_files, read_repo_files, demangle_new_symbols,
21246         scan_linker_output): Constify a char*.
21247         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
21248         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
21249
21250 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
21251
21252         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
21253         (relative) rather than jsr (absolute) subroutine call insns.
21254         * config/m68k/m68k-coff.h: Ditto.
21255
21256 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
21257
21258         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
21259         now rework these too.
21260         (arm_reorg): If an insn can't reach the end of the current pool,
21261         ensure that we emit that pool before the insn.
21262
21263 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
21264
21265         * tlink.c (scan_linker_output): Skip the initial underscore in
21266         a mangled name if appropriate.
21267
21268 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21269
21270         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
21271         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
21272         error_with_ivar, gen_declarator, create_builtin_decl,
21273         my_build_string, generate_descriptor_table, generate_ivars_list,
21274         generate_dispatch_table, check_protocols, TAG_GETCLASS,
21275         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
21276         dump_base_name, lang_decode_option, build_encode_expr,
21277         start_class, finish_class, encode_pointer, really_start_method,
21278         gen_declaration, dump_interface, handle_class_ref, handle_impent):
21279         Constify.
21280         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
21281         Add static prototypes.
21282         (build_objc_string_decl, build_selector_reference_decl,
21283         encode_bitfield, build_class_reference_decl): Remove unused
21284         parameter, all callers changed.
21285         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
21286         (objc_printable_name): Likewise.  Change second parameter to type int.
21287         (init_objc): Use memcpy, not bcopy, to avoid casts.
21288
21289 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
21290
21291         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
21292         reg notes on a deleted insn.
21293         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
21294
21295 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
21296
21297         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
21298
21299 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21300
21301         * stmt.c (expand_asm_operands): Fix index into inout_mode when
21302         reading it.
21303
21304 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
21305
21306         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
21307         * tm.texi (MD_ASM_CLOBBERS): Document it.
21308
21309 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
21310
21311         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
21312         * except.c (expand_rethrow): Remove unused variable.
21313         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
21314         * flow.c (replace_insns): Likewise.
21315         (create_edge_list, verify_edge_list): Likewise.
21316         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
21317
21318         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
21319         is special code to run.
21320         (main): Don't define operands to emit_operand.
21321         * genrecog.c (main): Don't emit an empty peephole2_insn function.
21322
21323         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
21324
21325         * alpha/alpha.h (normal_memory_operand): Declare.
21326         (reg_no_subreg_operand): Declare.
21327         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
21328
21329 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
21330
21331         * c-parse.in (compstmt_primary_start): New, broken out of first
21332         part of compstmt handling in primary.
21333         (primary): Use it.  Add an error clause.
21334         (compstmt_nostart): Renamed from compstmt; remove all
21335         initial invocations of compstmt_start.
21336         (compstmt): New.
21337
21338 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
21339
21340         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
21341         needed.
21342
21343 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
21344
21345         * combine.c (simplify_shift_const): Remove extra semicolon.
21346         * dwarf2out.c (remove_AT): Likewise.
21347         * expmed.c (expand_mult): Likewise.
21348         * gcov.c (create_program_flow_graph): Likewise.
21349         * reorg.c (mostly_true_jump): Likewise.
21350
21351 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
21352
21353         * fold-const.c (fold_range_test): Do not try to fold the range
21354         test if the rhs or lhs has side effects.
21355
21356         * combine.c (simplify_rtx): Recognize another case of a synthesized
21357         sign extension.
21358
21359         * varasm.c (mark_constant_pool): When marking indirect references,
21360         only look at SYMBOL_REFs.
21361
21362         * except.c (expand_fixup_region_end): Do not peek at
21363         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
21364
21365 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
21366
21367         * flags.h: New variables align_loops, align_loops_log,
21368         align_jumps, align_jumps_log, align_labels, align_labels_log,
21369         align_functions, align_functions_log.
21370         * toplev.c: Define them.
21371         (f_options): Handle -falign-* when they have no argument.
21372         (main): Add logic to set variables for -falign-functions,
21373         -falign-jumps, -falign-labels, -falign-loops.
21374         Make it -fsched-verbose=<n> and -finline-limit=<n>.
21375         (display_help): Change help to match options.
21376         * final.c (LABEL_ALIGN): Default to align_labels_log.
21377         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
21378         (LOOP_ALIGN): Default to align_loops_log.
21379         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
21380         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
21381         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
21382         * varasm.c (assemble_start_function): Handle align_functions.
21383
21384         * config/sparc/sparc.h: Don't declare sparc_align_*.
21385         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
21386         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
21387         sparc.c.
21388         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
21389         it's a promise.
21390         * config/sparc/sparc.c: Delete sparc_align_loops,
21391         sparc_align_jumps, sparc_align_funcs and the corresponding string
21392         variables.
21393         (sparc_override_options): Default align_functions on ultrasparc.
21394         Delete -malign-* handling.
21395
21396         * config/mips/mips.c (override_options):  On 64-bit targets,
21397         try to align code to 64-bit boundaries.
21398         (print_operand): New substitution, %~,
21399         which aligns labels to align_labels_log.
21400         * config/mips/mips.md (div_trap_normal): Use %~.
21401         (div_trap_mips16): Likewise.
21402         (abssi): Likewise.
21403         (absdi2): Likewise.
21404         (ffssi2): Likewise.
21405         (ffsdi2): Likewise.
21406         (ashldi3_internal): Likewise.
21407         (ashrdi3_internal): Likewise.
21408         (lshrdi3_internal): Likewise.
21409         (casesi_internal): Likewise.
21410
21411 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
21412
21413         Merge new ia32 backend from the branch!
21414
21415         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
21416         See ChangeLog.P2 on new_ia32_branch for details.
21417
21418         * rtl.h (stack_regs_mentioned_p): Delete prototype.
21419         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
21420         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
21421         * i386/gas.h (ASM_FILE_START): Define.
21422         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
21423         for name change of ix86_valid_decl_attribute_p.
21424         (i386_pe_valid_type_attribute_p): Similarly.
21425
21426 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
21427
21428         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
21429         to step through CC modes.
21430
21431 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21432
21433         * regmove.c (fixup_match_1): Don't move INSN in front of P if
21434         it would end up in the shadow of a live flags regsiter.
21435
21436 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21437
21438         * reload1.c: Fix many indentation problems.
21439         * reload.c: Likewise.
21440
21441 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
21442
21443         * alias.c (non_local_reference_p): Constify fmt.
21444
21445 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
21446
21447         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
21448
21449 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
21450
21451         * cse.c (delete_trivially_dead_insns): Do not delete stores to
21452         the internal_arg_pointer.
21453
21454 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
21455
21456         Merge peephole2 from new_ia32_branch:
21457         * Makefile.in (STAGESTUFF): Add *.peephole2.
21458         (mostlyclean): Likewise.
21459         (recog.o): Depend on resource.h.
21460
21461         * final.c (peephole): Conditionalize decl on HAVE_peephole.
21462         (final_scan_insn): Likewise for the invocation of peephole.
21463         * genconfig.c (main): Look for peephole and peephole2 patterns.
21464         Emit HAVE_peephole* accordingly.
21465         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
21466         * flags.h (flag_peephole2): Declare.
21467         * toplev.c: New pass peephole2.  New flag -fpeephole2.
21468
21469         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
21470         * gencodes.c (main): Likewise.
21471         * genextract.c (main): Likewise.
21472         * genoutput.c (main): Likewise.
21473         * genemit.c (max_operand_1): Look for the max scratch operand.
21474         (gen_rtx_scratch): New.
21475         (gen_exp): Use it, and pass on new arg subroutine_type.
21476         (gen_expand): Take max scratch into account.
21477         (gen_split): Emit peephole2 functions.
21478         (output_peephole2_scratch): New.
21479         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
21480         * genrecog.c (routine_type): Add PEEPHOLE2.
21481         (IS_SPLIT): New.
21482         (make_insn_sequence): Match outer parallel for peep2.  Discard
21483         top level scratches and dups.
21484         (add_to_sequence): New args insn_type and top.  Update all callers.
21485         Handle toplevel peep2 matching insns.
21486         (write_subroutine): Handle peep2.
21487         (write_tree_1): Likewise.
21488         (write_tree): Likewise.
21489         (main): Likewise.
21490         (change_state): New arg afterward.  Update all callers.
21491         Handle matching separate insns.
21492         * recog.c (recog_next_insn): New.
21493         (peephole2_optimize): New.
21494         * rtl.def (DEFINE_PEEPHOLE2): New.
21495         * resource.c (find_free_register): New argument last_insn.  Use it
21496         to find a register available through the entire span.
21497         * resource.h (find_free_register): Update prototype.
21498
21499 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
21500
21501         * i386.c (output_strlen_unroll): Don't write xops[7]
21502         label if it wasn't set.
21503
21504 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
21505
21506         * cpplib.c (struct directive): Const-ify name pointer and
21507         function pointer prototype.
21508         (validate_else, do_define, do_line, do_include, do_undef,
21509         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
21510         do_elif, do_endif, do_sccs, do_assert, do_unassert,
21511         do_warning): Const-ify second arg.
21512         (directive_table): Mark const.  Reorder entries by frequency
21513         of usage, record statistics.
21514
21515 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
21516
21517         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
21518         bounds- check RTL accesses if --enable-checking.
21519         (RTVEC_ELT): Bounds check if --enable-checking.
21520         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
21521         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
21522         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
21523         GET_NUM_ELEM.
21524         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
21525         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
21526
21527         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
21528         (NOTE_SOURCE_FILE): Use X0STR.
21529         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
21530         MEM_ALIAS_SET): Use X0INT.
21531         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
21532         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
21533         Use X0EXP.
21534         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
21535         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
21536         (rtl_check_failed_bounds, rtl_check_failed_type1,
21537         rtl_check_failed_type2, rtvec_check_failed_bounds): New
21538         functions.
21539         (fancy_abort): Fix comment.
21540
21541         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
21542         (cse_insn): Decrement LABEL_NUSES for jump target before
21543         deleting jump insn.
21544         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
21545         * final.c (alter_subreg): Compute regno before changing x to
21546         REG; set REGNO(x) after changing it.
21547         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
21548         notes containing CONST_INTs.
21549         (delete_eh_regions): Use NOTE_EH_HANDLER.
21550         * function.c (put_reg_into_stack): Make reg a MEM before
21551         initializing it.
21552         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
21553         delete insn.
21554         (gen_mem_addressof): Make reg a MEM before initializing it.
21555         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
21556         X0WINT.
21557         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
21558         deleting an insn, not after.
21559         (block_alloc): Only look at PATTERN(insn) if we have to, and
21560         only if it's format class 'i'.
21561         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
21562         CONST_INT before using its INTVAL.
21563         * print-rtl.c (print_rtx): Use X0STR.
21564         * regmove.c (fixup_match_1): Don't look at PATTERN of
21565         non-class-'i' insn chain elements.
21566         * reload.c (loc_mentioned_in_p): Take address of
21567         in->fld[1].rtx directly.
21568         * reload1.c (reload): Change reg to a MEM before initializing
21569         it.
21570         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
21571         have no names.
21572         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
21573
21574 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
21575
21576         * config/mips/mips.c (machine_dependent_reorg): Force a
21577         barrier to output the local constant pool if a barrier hasn't
21578         been found at a natural point in the instruction stream.
21579
21580 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21581
21582         * c-parse.in (language_string): Constify.
21583
21584         * dwarf2out.c (language_string): Remove declaration.
21585
21586         * dwarfout.c (language_string): Likewise.
21587
21588         * toplev.c (language_string, init_parse, finish_parse): Likewise.
21589
21590         * tree.h (language_string, init_parse, finish_parse): Declare.
21591
21592         * i386/sun386.h (language_string): Remove declaration.
21593
21594         * mips.h (language_string): Likewise.
21595
21596         * nextstep.h (language_string): Likewise.
21597
21598         * nextstep21.h (language_string): Likewise.
21599
21600         * rs6000.c (language_string): Likewise.
21601
21602 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21603
21604         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
21605         (getpwd.o): Remove target.
21606
21607         * getpwd.c: Delete file.  Its in libiberty now.
21608
21609         * dbxout.c (getpwd): Don't prototype.
21610         * dwarf2out.c (getpwd): Likewise
21611         * dwarfout.c (getpwd): Likewise
21612         * final.c (getpwd): Likewise.
21613         * protoize.c (getpwd): Likewise.
21614
21615 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21616
21617         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
21618
21619 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
21620
21621         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
21622         mark_set_resources.
21623
21624 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
21625
21626         * fixinc/Makefile.in (subdir): New.
21627         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
21628         (Makefile): New.
21629
21630 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
21631
21632         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
21633         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
21634         be shared.
21635
21636         * invoke.texi: Fix typo.
21637
21638         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
21639         changed.  Handle autoincrement addressing modes.
21640
21641         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
21642         just like we would the virtual incoming args register when
21643         integrating.
21644
21645 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
21646
21647         * rs6000.h (ASM_FILE_START): Specify complete filename, including
21648         path, in .file directive.
21649
21650 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
21651
21652         * gcc.texi (External Bugs): Remove obsolete note about Perl on
21653         SunOS.
21654
21655 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
21656
21657         * stdbool.h: Make the typedef name _Bool, with bool a #defined
21658         alias.
21659
21660 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21661
21662         * tree.c (tree_code_name): Constify a char*.
21663
21664         * tree.h (tree_code_name, decl_printable_name): Likewise.
21665
21666         * function.h (struct function): Likewise.
21667
21668         * toplev.c (decl_name, decl_printable_name): Likewise.
21669
21670         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
21671
21672         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
21673         (init_objc): Remove function pointer cast.
21674
21675 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
21676
21677         * pa.md (interspace_jump): New pattern.
21678         (builtin_longjmp): New expander.
21679
21680 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
21681
21682         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
21683         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
21684         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
21685
21686 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
21687
21688         * jump.c (delete_prior_computation): Also check calls
21689         to constant functions.  Don't bother checking for a
21690         REG_UNUSED note before adding it.
21691         (delete_computation): Handle multi-word hard registers
21692         when synthesizing missing REG_DEAD notes for a register
21693         which is both set and used by an insn.
21694
21695 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21696
21697         * loop.c (this_loop_info): New variable.
21698         (loop_has_call, loop_has_volatile, loop_has_tablejump,
21699         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
21700         All uses updated.
21701         (prescan_loop, strength_reduce): New argument loop_info.  All callers
21702         updated.
21703         (scan_loop): New variable loop_info, initialise to address of
21704         this_loop_info.
21705         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
21706         Delete variable loop_has_multiple_exit targets and replace with
21707         field in this_loop_info.
21708         (find_and_verify_loops): Rename this_loop to this_loop_num.
21709         (strength_reduce): Delete loop_iteration_info.  Replace variable
21710         loop_info with function argument of same name.
21711         (insert_bct): Rework test for loop being completely unrolled.
21712
21713         * loop.h (struct loop_info): New fields num, loops_enclosed,
21714         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
21715         has_indirect_jump, and cont.  Redefine use of unroll_number.
21716         (loop_unroll_number): Delete.
21717
21718         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
21719         field of loop_info.
21720         (loop_iterations): Delete variable vtop and instead use
21721         loop_info->vtop computed in prescan_loop.
21722
21723 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
21724
21725         * fix-header.c (main): Do not pass a null pointer to strcmp.
21726
21727 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
21728
21729         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
21730         filenames.
21731         * configure: Rebuilt.
21732
21733 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
21734
21735         * jump.c (jump_optimize_1): Do not delete assignments to
21736         internal_arg_pointer.
21737         * cse.c (delete_trivially_dead_insns): Always consider a set of
21738         the internal_arg_pointer live.
21739
21740 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
21741
21742         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
21743         (update_life_info) [REG_WAS_0]: Search the original insns rather
21744         than the new insns for the note.  Fix typos finding note_dest.
21745         If no dest found, discard the note rather than abort.
21746         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
21747         (replace_insns): Remove the old insn list after update_life_info
21748         not before.
21749
21750 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
21751
21752         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
21753         sched_analyze_insn.
21754         (sched_analyze_1): Let add_dependence care for not adding dups.
21755         (sched_analyze_2): Likewise.
21756         (add_branch_dependences): Likewise.
21757
21758 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21759
21760         * i386/winnt.c (export_list): New type.
21761         (exports_head): Rename to
21762         (export_head):  this.
21763         (i386_pe_record_exported_symbol): Add is_data flag.
21764         (i386_pe_asm_file_end): Emit directive for exported variables.
21765         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
21766         prototype.
21767         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
21768         (ASM_DECLARE_OBJECT_NAME): Likewise.
21769         (ASM_DECLARE_FUNCTION_NAME): Likewise.
21770         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
21771
21772 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
21773
21774         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
21775
21776         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
21777         operand.
21778
21779 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
21780
21781         * config/openbsd.h: Define SET_ASM_OP.
21782         * tm.texi: cross-reference SET_ASM_OP in the index.
21783
21784 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
21785
21786         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
21787         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
21788         and class_narrowest_mode at compile time.  Kill init_rtl.
21789         Mark rtx_length, mode_class, mode_size, mode_unit_size,
21790         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
21791         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
21792         EXTRA_CC_NAMES.
21793         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
21794         format.
21795         * rtl.h: Declare rtx_length and rtx_format as const.
21796         * machmode.def: Define CC().  Use CC() to define CCmode.  If
21797         EXTRA_CC_MODES is defined, expand it here.
21798         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
21799         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
21800         const.  Kill all references to EXTRA_CC_MODES.
21801
21802         * toplev.c: Don't prototype or call init_rtl.
21803         * optabs.c: Don't call init_mov_optab.
21804         * genemit.c: Don't generate init_mov_optab.  Don't call
21805         init_rtl.
21806         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
21807         here.
21808         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
21809         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
21810         genrecog.c: Don't call init_rtl.
21811
21812         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
21813         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
21814         definition of EXTRA_CC_MODES.
21815
21816         * md.texi: Kill ref to EXTRA_CC_NAMES.
21817         * tm.texi: Document new way to define EXTRA_CC_MODES.
21818
21819         * genrecog.c: Do not look up the name of a define_split.
21820         (Unrelated bugfix.)
21821
21822 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
21823
21824         * config/v850/v850.md: Fix typo introduced by previous delta.
21825
21826 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21827
21828         * gcc.c (fatal): Make definition static to match prototype.
21829
21830 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21831
21832         * combine.c (get_last_value): Don't look for earlier sets if the last
21833         known set is somewhere in between the insns being combined.
21834
21835 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
21836
21837         * configure.in: Don't use shell ! to negate exit codes
21838         * configure: Regenerate
21839
21840 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
21841
21842         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
21843         the fact that ALIGN is measured in bits, not bytes.
21844
21845 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
21846
21847         * errors.c: New file; defines functions error, warning, and
21848         fatal, variables have_error and progname.
21849         * errors.h: New file; prototypes and decls for stuff in errors.c.
21850
21851         * Makefile: Add rules to build errors.o and
21852         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
21853         genopinit, genrecog, genextract, genpeep, genattr, and
21854         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
21855         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
21856         genpeep.o, genattr.o, and genoutput.o.
21857
21858         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
21859         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
21860         define or prototype fatal.  Set progname at beginning of main.
21861         * genoutput.c:  Likewise, and don't define or prototype error
21862         either.
21863
21864         * c-typeck.c (c_expand_start_case): Return immediately if exp
21865         is an ERROR_MARK.
21866         * fold-const.c (operand_equal_p): Return immediately if arg1
21867         or arg0 are ERROR_MARKs.
21868         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
21869         fields of type ERROR_MARK when calculating if the record can
21870         go in a register.
21871
21872 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
21873         with much help from Jeffrey A Law and Richard Henderson
21874
21875         * i386.md: In the 6 insns which call output_fix_trunc,
21876         earlyclobber operands[0].
21877
21878 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
21879
21880         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
21881         creating new registers.
21882
21883 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
21884
21885         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
21886         i386_reg_alloc_order, i386_regparm_string,
21887         i386_align_loops_string, i386_align_jumps_string,
21888         i386_align_funcs_string, i386_preferred_stack_boundary_string,
21889         and i386_branch_cost_string as type "const char *".
21890         * i386.c: Define all above strings as type "const char *".
21891
21892 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
21893
21894         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
21895         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
21896
21897 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
21898
21899         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
21900         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
21901
21902 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
21903
21904         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
21905         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
21906         (dwarf2out_line, dwarf2out_finish): Likewise.
21907         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
21908
21909 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21910
21911         * tree.c (lang_unsave_expr_now) : Correct return type.
21912         * tree.h (lang_unsave_expr_now) : Same.
21913
21914 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
21915
21916         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
21917         instead of duplicating code.
21918
21919 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21920
21921         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
21922
21923 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
21924
21925         * tree.h: fancy_abort always takes three args.
21926         * resource.c: Move include of system.h before toplev.h.
21927
21928 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
21929
21930         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
21931         as SYMBOL_REFs.
21932
21933 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
21934
21935         * system.h: Don't redefine abort or trim_filename.
21936         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
21937         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
21938         whether or not __FUNCTION__ is available.
21939         * tree.h: Duplicate rtl.h's definition of abort, for files
21940         that don't include rtl.h.  Delete all code to perform type
21941         checking with a compiler other than GCC.
21942         * varray.h: Delete all code to perform type checking with a
21943         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
21944         its arguments exactly once, using a statement expression.
21945         Adjust the VARRAY_<type> accessor macros to match.
21946         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
21947         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
21948         caller's location.  Define fatal_insn and fatal_insn_not_found
21949         as macros that use _fatal_insn and _fatal_insn_not_found.
21950         (fancy_abort, trim_filename): Kill prototypes.
21951
21952         * rtl.c (trim_filename): Move here from toplev.c.
21953         (fancy_abort): New function.
21954         (DIR_SEPARATOR): Provide default definition.
21955         * tree.c (tree_check_failed, tree_class_check_failed): Go
21956         through fancy_abort.
21957         (tree_check, tree_class_check, cst_or_constructor_check,
21958         expr_check): Delete.
21959         * varray.c (varray_check_failed): New function.
21960         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
21961         _fatal_insn and _fatal_insn_not_found.  Go through
21962         fancy_abort.
21963         (trim_filename, fancy_abort): Delete.
21964
21965         * builtins.c (expand_builtin_args_info): Report ICE with abort.
21966         * except.c (start_catch_handler): Report ICE with error/abort
21967         combo.
21968         * final.c (output_operand_lossage): Likewise.
21969         * flow.c (verify_flow_info): Likewise.
21970
21971         * gcc.c: Prototype fatal.
21972         * gengenrtl.c: Undef abort after including rtl.h not system.h.
21973         * genattr.c, genattrtab.c, genemit.c, genextract.c,
21974         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
21975         Don't define fancy_abort.
21976
21977 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
21978
21979         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
21980         canonization.
21981
21982 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
21983
21984         * m88k.h (VERSION_INFO2): Kill.
21985         (VERSION_STRING): Kill.
21986         (TM_RCS_ID): Kill.
21987         (VERSION_INFO1): Tidy.
21988         (TARGET_VERSION): Update.
21989         * m88k/dgux.h (VERSION_INFO2): Kill.
21990         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
21991         * m88k/luna.h (VERSION_INFO1): Tidy.
21992         * m88k/sysv4.h (VERSION_INFO1): Likewise.
21993         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
21994         (output_file_start): Adjust for death of VERSION_STRING.
21995
21996 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
21997
21998         * cpplib.c (detect_if_not_defined): New function.
21999         (do_if): Use it to detect potential once-only headers.
22000
22001 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
22002
22003         * c-common.c (combine_strings): Always set TREE_CONSTANT.
22004
22005 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22006
22007         * combine.c (nonzero_bits) : Allow single-ly set registers to be
22008         anywere in the function only if they are pseudos and set before
22009         being used (not live at the start of the function).
22010         (num_sign_bit_copies) : Same.
22011         (get_last_value_validate) : Same.
22012         (get_last_value) : Same.
22013
22014 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
22015
22016         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
22017         where N and M are constant and N is an integer multiple of M.
22018
22019 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22020
22021         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
22022         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
22023         sbitmap_union_of_preds): Add prototypes.
22024         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
22025         the intersection of successors with the new flow graph structures.
22026         (sbitmap_intersection_of_preds): New function to compute the
22027         intersection of predecessors with the new flow graph structures.
22028         (sbitmap_union_of_succs): New function to compute the union of
22029         successors with the new flow graph structures.
22030         (sbitmap_union_of_preds): New function to compute the union of
22031         predecessors with the new flow graph structures.
22032         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
22033         (expr_reaches_here_p): Use edge and basic_block structures instead
22034         of s_preds and s_succs.
22035         (compute_cprop_avinout): Use new sbitmap routines.
22036         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
22037         of s_preds and s_succs.
22038         * flow.c (compute_flow_dominators): Compute dominators using
22039         edges and basic blocks instead of s_preds and s_succs.
22040
22041 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22042
22043         * lists.c (unused_insn_list, unused_expr_list): New file for
22044         maintaining various types of lists. New statics for maintaining a
22045         cache of available INSN_LIST and EXPR_LIST nodes.
22046         (free_list): Static function for freeing a list of INSN/EXPR nodes.
22047         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
22048         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
22049         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
22050         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
22051         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
22052         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
22053         (free_INSN_LIST_node): Free an individual INSN_LIST node.
22054         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
22055         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
22056         (remove_dependence, free_pending_lists): Use new global routines.
22057         (flush_pending_lists, sched_analyze_insn): Use new global routines.
22058         (sched_analyze, compute_block_backward_dependences): Use new routines.
22059         (sched_analyze_1, sched_analyze_2): Use new routines.
22060         (schedule_insns): Use new global routines.
22061         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
22062         prototypes.
22063         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
22064         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
22065         prototypes.
22066         * toplev.c (rest_of_compilation): Initialize node cache.
22067         * Makefile.in (OBJS): Add lists.o to list of object files.
22068         (lists.o): Add dependancies.
22069
22070 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
22071
22072         * config/v850/v850.md: Fix compile time warning messages.
22073         * config/v850/v850.c: Fix compile time warning messages.
22074         * config/v850/v850.h: Fix compile time warning messages.
22075
22076 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22077
22078         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
22079         Remove unused prototype for `init_lengths'.
22080
22081 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22082
22083         * calls.c (emit_call_1): Mark parameter `stack_size' with
22084         ATTRIBUTE_UNUSED.
22085         (expand_call): Initialize variable `insn'.
22086         (emit_library_call): Likewise for variable `high_to_save'.
22087         (emit_library_call_value): Likewise.
22088         (store_one_arg): Likewise for variables `lower_bound' and
22089         `upper_bound'.
22090
22091         * combine.c (try_combine): Likewise for variables `i2_code_number'
22092         and `other_code_number'.
22093         (find_split_point): Likewise for variables `pos', `unsignedp' and
22094         `inner'.
22095         (simplify_if_then_else): Likewise for variables `op' and `c1'.
22096         (simplify_and_const_int): Remove unused variable `width'.
22097         (merge_outer_ops): Likewise.
22098
22099         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
22100         HOST_WIDE_INT' when comparing against one.
22101         (simplify_relational_operation): Likewise.
22102         (cse_insn): Initialize variables `src_eqv_volatile',
22103         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
22104
22105         * final.c (init_final): Constify parameter `filename'.
22106         (final_start_function): Mark parameter `optimize' with
22107         ATTRIBUTE_UNUSED.
22108         (profile_function): Likewise for parameters `first' and `optimize'.
22109         (output_source_line): Likewise for parameter `file'.
22110
22111         * integrate.c (subst_constants): Cast a value to `size_t' when
22112         comparing against one.
22113         (mark_stores): Initialize variable `mode'.  Cast a value to
22114         `size_t' when comparing against one.
22115
22116         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
22117
22118         * loop.c (move_movables): Initialize variable `first'.
22119         (strength_reduce): Likewise for variable `increment'.
22120         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
22121         value to `size_t' when comparing against one.
22122         (load_mems): Initialize variable `end_label'.
22123
22124         * output.h (init_final): Constify parameter.
22125
22126         * reload.c (decompose): Initialize variable `base'.
22127
22128         * reload1.c (reload): Likewise for variable `is_scalar'.
22129         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
22130         (choose_reload_regs): Initialize variable `mode'.
22131         (emit_reload_insns): Likewise for variable `store_insn'.
22132         (reload_cse_noop_set_p): Mark parameter `insn' with
22133         ATTRIBUTE_UNUSED.
22134         (reload_combine): Initialize variable `set'.
22135
22136         * unroll.c (unroll_loop): Likewise for variable `local_label'.
22137         (copy_loop_body): Cast a value to `size_t' when comparing against
22138         one.
22139
22140         * varasm.c (assemble_variable): Initialize variable `size_tree'.
22141         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
22142         (remove_from_pending_weak_list): Mark parameter `name' with
22143         ATTRIBUTE_UNUSED.
22144
22145 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22146
22147         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
22148         gcse dump file.
22149
22150 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
22151
22152         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
22153         (ASM_DECLARE_FUNCTION_NAME): Define.
22154         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
22155         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
22156         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
22157         not already defined.
22158
22159 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
22160
22161         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
22162         of n_popped when call/call_value are not defined.
22163
22164 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
22165
22166         * tm.texi: GNU CC -> GCC conversion.
22167         (CC1_SPEC): Indicate it is used for all language front ends.
22168
22169 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
22170
22171         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
22172         NOTE_INSN_EH_REGION_END correctly.
22173
22174 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
22175                           Jeff Law <law@cygnus.com>
22176
22177         * loop.c (strength_reduce): Automatically unroll loops if the
22178         unrolled loop size is smaller than the rolled loop size.
22179
22180         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
22181         and delete comment that code should be rewritten.
22182
22183 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
22184
22185         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
22186         as reachable.
22187
22188         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
22189
22190 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22191
22192         * fixinc/mkfixinc.sh: Don't fix uwin headers.
22193         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
22194         (LINK_SPEC): Add -u _main when building executables.
22195         (ASM_DECLARE_FUNCTION): Update from Cygwin.
22196         (ASM_FILE_END): Use the default for ix86-pe.
22197         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
22198
22199 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
22200
22201         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
22202         and ASM_CLOSE_PAREN are empty strings.
22203
22204 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
22205                           Geoffrey Keating <geoffk@cygnus.com>
22206
22207         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
22208         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
22209         (unprotoize.o): Ditto.
22210         (test-protoize-simple): Don't define STD_PROTO_DIR.
22211         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
22212         changes to make 'test-protoize-simple' pass.
22213         (STD_PROTO_DIR): Remove define.
22214         (STANDARD_EXEC_PREFIX): Supply default define.
22215         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
22216         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
22217         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
22218         (GET_ENV_PATH_LIST): New macro.
22219         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
22220         (do_processing): Initialize default_syscalls_dir using new
22221         macros.  Use it to initialize syscalls_absolute_filename.
22222
22223 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
22224
22225         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
22226         B into a register before emit_conditional_move.
22227
22228 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
22229
22230         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
22231         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
22232         multiplicand out of (+ (* a b) (* c d)).
22233
22234 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
22235                           Richard Henderson  <rth@cygnus.com>
22236
22237         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
22238         (new_insn_dead_notes): Likewise.
22239         (update_n_sets): Likewise.
22240         (update_flow_info): Move to flow.c, renamed to update_life_info;
22241         extend to handle multiple source insns.
22242         * flow.c: Include resource.h
22243         (unlink_insn_chain): New.
22244         (split_hard_reg_notes): New.
22245         (maybe_add_dead_note): New.
22246         (maybe_add_dead_note_use): New.
22247         (find_insn_with_note): New.
22248         (new_insn_dead_notes): New.
22249         (update_n_sets): New.
22250         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
22251         (maybe_remove_dead_notes): New.
22252         (update_life_info): New.
22253         (prepend_reg_notes): New.
22254         (replace_insns): New.
22255         * output.h (update_life_info): Declare.
22256         * recog.c (split_block_insns): Use update_life_info.
22257         * resource.c (find_free_register): Use reg_alloc_order, don't use
22258         fixed regs, make sure the mode is supported, don't use new regs.
22259         (reg_dead_p): New.
22260         * rtl.h (replace_insns): Declare.
22261
22262 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
22263
22264         * expr.c (expand_expr): Cope with COND_EXPRs with one
22265         non-returning branch.
22266
22267 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
22268
22269         * expr.c (store_expr): Always pass down the target, even when not
22270         doing CSE.
22271
22272 1999-08-24  Nick Clifton  <nickc@cygnus.com>
22273
22274         * configure.in: Define target_cpu_default for v850 targets.
22275         * configure: Regenerate
22276
22277         * config/v850/v850.h (TARGET_CPU_generic): Define.
22278         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
22279         addresses are 4 byte aligned.
22280
22281         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
22282         addresses.
22283
22284 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22285
22286         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
22287         (main): Add prototypes.
22288
22289         * genattrtab.c (substitute_address, write_const_num_delay_slots,
22290         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
22291         (write_attr_get): Emit prototypes along with function definition.
22292         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
22293         (write_complex_function): Emit static prototype along with
22294         function definition.
22295
22296         * genemit.c (gen_split): Emit prototypes along with function
22297         definition.
22298
22299         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
22300         Likewise for predicates and `insn_operand_predicate'.
22301         (process_template): Emit static prototype along with function
22302         definition.
22303
22304         * genrecog.c (make_insn_sequence): Constify a char*.  Add
22305         prototypes for get_split_*().
22306         (write_subroutine): Emit prototypes along with function
22307         definition.
22308
22309 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22310
22311         * gcse.c (find_avail_set): Follow chains of register-register copies.
22312         Use oprs_not_set_p to guarantee that the returned value can be
22313         substituted.
22314         (cprop_insn): Don't verify the return value of find_avail_set with
22315         oprs_not_set_p.
22316
22317         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
22318         (cprop_cc0_jump): New function.
22319         (cprop_insn): Break out new function cprop_jump and use it.
22320         Also use cprop_cc0_jump for machines with CC0.
22321         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
22322
22323         * tree.h (current_function_calls_setjmp,
22324         current_function_calls_longjmp): Delete declarations.
22325         * dsp16xx.c: Include "function.h".
22326         * elxsi.c: Likewise.
22327         * gmicro.c: Likewise.
22328         * h8300.c: Likewise.
22329         * i370.c: Likewise.
22330         * m32r.c: Likewise.
22331         * mn10200.c: Likewise.
22332         * mn10300.c: Likewise.
22333         * ns32k.c: Likewise.
22334         * spur.c: Likewise.
22335         * v850.c: Likewise.
22336
22337         * rtl.h (rtx_equal_function_value_matters): Declare.
22338         * toplev.c (rtx_equal_function_value_matters): Don't declare.
22339         * cse.c: Likewise.
22340         * function.c: Likewise.
22341         * emit-rtl.c: Likewise.
22342
22343 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
22344
22345         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
22346         call.
22347
22348 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
22349
22350         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
22351         exactly.
22352
22353 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
22354
22355         * cpp.texi: Add a node documenting macro varargs (copied
22356         from extend.texi).
22357
22358 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
22359
22360         * cppspec.c: Put a null pointer at the end of the new argv.
22361
22362 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
22363
22364         * configure.in: Remove code to select/de-select the haifa
22365         scheduler.  Every scheduled port gets haifa now.
22366         * configure: Rebuilt.
22367         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
22368         * sched.c Deleted.
22369         * Makefile.in: Corresponding changes.
22370
22371 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22372
22373         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
22374         All callers changed.
22375         (prepare_float_lib_cmp): Likewise.
22376         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
22377         * expr.h (emit_float_lib_cmp): Delete declaration.
22378         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
22379         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
22380         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
22381         specially.
22382         (cmptf): Now conditional on TARGET_HARD_QUAD.
22383
22384 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
22385
22386         * resource.c (mark_target_live_regs): Use
22387         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
22388
22389 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22390
22391         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
22392
22393         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
22394
22395         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
22396
22397 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22398
22399         * rtl.h (rtx_format): Constify a char*.
22400
22401         * rtl.c (rtx_format): Likewise.
22402         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
22403         (init_rtl): Use accessor macro, not `rtx_format'.
22404
22405         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
22406         char*.
22407
22408         * caller-save.c (mark_referenced_regs): Likewise.
22409
22410         * combine.c (subst, make_compound_operation, known_cond,
22411         gen_rtx_combine, update_table_tick, get_last_value_validate,
22412         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
22413
22414         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
22415         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
22416         count_reg_usage): Likewise.
22417
22418         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
22419         Likewise.
22420
22421         * final.c (leaf_renumber_regs_insn): Likewise.
22422
22423         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
22424         dump_edge_info, count_reg_references): Likewise.
22425
22426         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
22427         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
22428         Likewise.
22429
22430         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
22431         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
22432         add_label_notes): Likewise.
22433
22434         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
22435         clear_struct_flag, count_sub_rtxs, count_alternatives,
22436         compares_alternatives_p, contained_in_p, walk_attr_value,
22437         write_expr_attr_cache): Likewise.
22438
22439         * genconfig.c (walk_insn_part): Likewise.
22440
22441         * genemit.c (max_operand_1, gen_exp): Likewise.
22442
22443         * genextract.c (walk_rtx): Likewise.
22444
22445         * genflags.c (num_operands): Likewise.
22446
22447         * genoutput.c (scan_operands): Likewise.
22448
22449         * genpeep.c (match_rtx): Likewise.
22450
22451         * genrecog.c (add_to_sequence): Likewise.
22452
22453         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
22454         Likewise.
22455
22456         * integrate.c (save_constants, copy_for_inline,
22457         copy_rtx_and_substitute, subst_constants, restore_constants):
22458         Likewise.
22459
22460         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
22461         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
22462
22463         * local-alloc.c (contains_replace_regs, memref_referenced_p):
22464         Likewise.
22465
22466         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
22467         add_label_notes, replace_call_address, count_nonfixed_reads,
22468         invariant_p, find_single_use_in_loop, find_mem_givs,
22469         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
22470         Likewise.
22471
22472         * print-rtl.c (reg_names, print_rtx): Likewise.
22473
22474         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
22475
22476         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
22477         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
22478         print_blocks): Likewise.
22479
22480         * regclass.c (fix_register, record_address_regs,
22481         reg_scan_mark_refs): Likewise.
22482
22483         * regmove.c (stable_but_for_p): Likewise.
22484
22485         * reload.c (loc_mentioned_in_p, operands_match_p,
22486         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
22487         copy_replacements, refers_to_regno_for_reload_p,
22488         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
22489         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
22490         Likewise.
22491
22492         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
22493         delete_address_reloads_1, count_occurrences,
22494         reload_cse_mem_conflict_p, reload_combine_note_use,
22495         add_auto_inc_notes): Likewise.
22496
22497         * resource.c (mark_referenced_resources, mark_set_resources):
22498         Likewise.
22499
22500         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
22501         reg_mentioned_p, regs_set_between_p, modified_between_p,
22502         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
22503         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
22504         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
22505         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
22506
22507         * sched.c (sched_analyze_2, attach_deaths): Likewise.
22508
22509         * stupid.c (stupid_mark_refs): Likewise.
22510
22511         * unroll.c (remap_split_bivs): Likewise.
22512
22513         * varasm.c (mark_constants): Likewise.
22514
22515         * a29k/a29k.c (uses_local_reg_p): Likewise.
22516
22517         * alpha/alpha.c (summarize_insn): Likewise.
22518
22519         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
22520         eliminate_lr2ip): Likewise.
22521
22522         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
22523
22524         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
22525         reg_mentioned_in_mem): Likewise.
22526
22527         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
22528         symbolic_reference_mentioned_p): Likewise.
22529
22530         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
22531
22532         * sh/sh.c (regs_used, mark_use): Likewise.
22533
22534         * vax/vax.c (vax_rtx_cost): Likewise.
22535
22536 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22537
22538         * machmode.h (mode_name): Constify a char*.
22539
22540         * rtl.c (mode_name): Likewise.
22541
22542         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
22543
22544         * optabs.c (init_libfuncs): Constify a char*.
22545
22546         * print-tree.c (mode_name): Remove redundant declaration.
22547         (print_node): Use accessor macro, not `mode_name'.
22548
22549         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
22550         not `mode_name'.
22551         (new_spill_reg): Constify a char*.
22552
22553         * tree.c (mode_name): Remove redundant declaration.
22554
22555 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22556
22557         * rtl.c (rtx_name): Constify a char*.
22558
22559         * rtl.h (rtx_name, fix_sched_param): Likewise.
22560
22561         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
22562         (mypr): Use accessor macro, not `rtx_name'.
22563
22564         * genemit.c (print_code): Constify a char*.
22565
22566         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
22567
22568         * genpeep.c (print_code): Constify a char*.
22569
22570         * genrecog.c (print_code): Likewise.
22571
22572         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
22573         end_bb): Add static prototype.
22574         (draw_edge): Constify a char*.
22575         (end_bb): Remove unused parameter.
22576
22577         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
22578         print_block_visualization): Constify a char*.
22579
22580 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
22581
22582         * c-common.c (c_get_alias_set): Update comment.
22583
22584 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
22585
22586         * linux.h (LIB_SPEC): Added.
22587
22588 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22589
22590         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
22591
22592 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
22593
22594         * tree.c (expr_check): Fix typo in last change.
22595
22596 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
22597
22598         * rtl.def (NOTE): Change format to "iuu0n".
22599         (ADDR_DIFF_VEC): Change format to "eEee0".
22600         (ADDRESSOF): Change format to "eit".
22601
22602         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
22603         (RTVEC_ELT): Change to match.
22604         (XVECEXP): Use XVEC and RTVEC_ELT.
22605         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
22606         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
22607         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
22608         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
22609         TRAP_CONDITION, TRAP_CODE): Use XEXP.
22610         (INTVAL): Use XWINT.
22611         (ADDRESSOF_DECL): Use XTREE.
22612         (SET_ADDRESSOF_DECL): Delete.
22613         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
22614         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
22615         ifdefed out since 2.6 at least.
22616         (gen_rtvec_vv): Delete prototype.
22617
22618         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
22619         not rtunion.
22620         (copy_most_rtx): Handle 't' format letter.
22621         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
22622         (gen_rtvec_vv): Delete function.  All callers changed to use
22623         gen_rtvec_v instead.
22624         * print-rtl.c (print_rtx): Move special casing of NOTEs to
22625         the '0' format letter.
22626
22627         * function.c (gen_mem_addressof): Don't use
22628         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
22629         instead.
22630         * integrate.c (copy_rtx_and_substitute): Likewise.
22631         Copy 't' slots with XTREE.
22632         (subst_constants): Treat 't' slots like '[swi]' slots.
22633         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
22634         * jump.c (rtx_equal_for_thread_p): Likewise.
22635         * rtlanal.c (rtx_equal_p): Likewise.
22636         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
22637         only four arguments.
22638         * gengenrtl.c (type_from_format): Provide correct types for
22639         'b' and 't' slots.
22640
22641
22642         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
22643         If a recent gcc is in use (always in stage2 and beyond), use
22644         statement expressions, so we don't make a function call unless
22645         the check fails.  Evaluate arguments exactly once.
22646         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
22647         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
22648         Delete.
22649         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
22650         they evaluate their arguments exactly once, irrespective of
22651         the compiler in use.
22652
22653         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
22654         is used by the currently-enabled check macros.  This is:
22655         (tree_check_failed, tree_class_check_failed): For gcc.
22656         (tree_check, tree_class_check, cst_or_constructor_check,
22657         expr_check): For other compilers.
22658
22659         * gencheck.c: Do not define any *_CHECK1 macros.
22660
22661 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
22662                           Mark Mitchell <mark@codesourcery.com>
22663
22664         * c-common.c (c_get_alias_set): Fix support for poitners and
22665         references.
22666
22667 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
22668
22669         * alias.c: Include tree.h.
22670         (nonlocal_reference_p, mark_constant_function): New functions.
22671         * flow.c (life_analysis): Call mark_constant_function.
22672         * rtl.h (mark_constant_function): Declare it.
22673
22674 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
22675
22676         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
22677         unrecognisable switches.
22678
22679 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22680
22681         * loop.c (recombine_givs): Set ix field after sorting.
22682         (recombine_givs): Remove bogus index / giv lockstep looping.
22683
22684 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22685
22686         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
22687         on CODE.
22688         (emit_store_flag_force): Use do_compare_rtx_and_jump.
22689         (do_cmp_and_jump): Formatting fixes.
22690         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
22691         do_compare_rtx_and_jump instead of compare_from_rtx.
22692         (do_compare_rtx_and_jump): New function; mostly copied from
22693         compare_from_rtx.
22694         (do_jump_for_compare): Delete.
22695         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
22696         MIN_EXPR.
22697         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
22698         of compare/do_jump_for_compare pairs.
22699         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
22700         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
22701         compare_from_rtx/do_jump_for_compare pairs.
22702         (do_jump_by_parts_equality): Likewise.
22703         (do_jump_by_parts_equality_rtx): Likewise.
22704         * expr.h (do_compare_rtx_and_jump): Declare.
22705         * optabs.c (prepare_cmp_insn): New function, contains most of the code
22706         that used to be in emit_cmp_insn.
22707         (cmp_available_p): New function.
22708         (prepare_operand): New function.
22709         (emit_cmp_and_jump_insn_1): New function, contains some code that used
22710         to be in emit_cmp_insn.
22711         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
22712         parameters to be pointers; don't emit final compare but modify some of
22713         the values pointed to by the args so the caller can perform the
22714         correct comparison.
22715         (expand_binop): Call emit_store_flag_force with signed forms of
22716         comparison code.
22717         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
22718         emit_jump_insn pair.
22719         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
22720         emit_cmp_and_jump_insn_1.  Call emit_queue.
22721         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
22722         arg.
22723         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
22724         jump sets cc0 before deleting it.
22725         * integrate.c (expand_inline_function): Likewise.
22726         * unroll.c (unroll_loop): Similar changes in several places.
22727         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
22728         before deleting it.
22729
22730 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22731
22732         * Makefile.in (insn-recog.o): Update dependencies.
22733         * genrecog.c (main): Make generated file include "function.h".
22734
22735 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
22736
22737         * cse.c (cse_insn): Call never_reached_warning when a jump is
22738         changed to be unconditional.
22739         * flags.h: Declare warn_notreached.
22740         * flow.c (delete_block): Call never_reached_warning when
22741         a block is deleted.
22742         * jump.c (delete_barrier_successors): Call never_reached_warning
22743         when we delete everything after a BARRIER.
22744         (never_reached_warning): New function.
22745         * rtl.h: Declare never_reached_warning.
22746         * toplev.c (warn_notreached): New variable.
22747         (lang_independent_options): Set warn_notreached
22748         when -Wunreachable-code.
22749         (compile_file): We need line numbers for -Wunreachable-code.
22750
22751 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
22752
22753         * haifa-sched.c (insn_unit): Fix typo on out of range test.
22754         * sched.c (insn_unit): Likewise.
22755
22756 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
22757
22758         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
22759
22760 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22761
22762         * flow.c (create_edge_list): Use xmalloc, not malloc.
22763
22764 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
22765
22766         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
22767         C-style comments.  Do not lose the character before double slash.
22768
22769 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22770
22771         * basic-block.h (struct edge_list): Stucture to maintain a vector
22772         of edges.
22773         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
22774          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
22775         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
22776         New function prototypes.
22777         * flow.c (create_edge_list): Function to create an edge list.
22778         (free_edge_list): Discards memory used by an edge list.
22779         (print_edge_list): Debug output showing an edge list.
22780         (verify_edge_list): Internal consistency check for an edge list.
22781         (find_edge_index): Function to find an edge index for a pred and succ.
22782
22783 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
22784
22785         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
22786         hashtable.
22787
22788 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
22789
22790         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
22791
22792 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
22793
22794         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
22795
22796 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
22797
22798         * toplev.c (rest_of_compilation): Allow machine dependent
22799         reorganisation pass to place information into the RTL dump
22800         file if it so wishes.
22801
22802 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
22803
22804         * explow.c (hard_function_value): Use VOIDmode instead of
22805         MAX_MACHINE_MODE.
22806         * stmt.c (expand_return): Likewise.
22807         * stor-layout.c (get_best_mode): Likewise.
22808
22809         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
22810         emit call instead of emit_insn call.
22811
22812 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22813
22814         * configure.in: Handle --disable/enable-win32-registry.
22815         * install.texi: Document --disable/enable-win32-registry.
22816         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
22817         (WIN32_REGISTRY_KEY): New macro.
22818         * prefix.c: Use to enable/disable win32-specific code.
22819         (lookup_key): Use versioned key.
22820         * configure: Regenerate.
22821         * config.in: Likewise.
22822
22823 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
22824
22825         * cpplib.c (read_line_number): New fn, split out of...
22826         (do_line): Here.
22827
22828 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22829
22830         tree.c (lang_unsave_expr_now) : New.
22831         (unsave_expr_now): Call lang_unsave_expr_now.
22832         tree.h (lang_unsave_expr_now) : New.
22833
22834 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
22835
22836         * toplev.c (flag_new_exceptions): On by default.
22837
22838 1999-08-13  Michael Meissner  <meissner@cygnus.com>
22839
22840         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
22841
22842 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22843
22844         * dwarfout.c (fundamental_type_code): Return FT_boolean for
22845         INTEGER_TYPE with precision==1, it's __java_boolean.
22846
22847 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22848
22849         * global.c (prune_preferences): Move some invariants out of the
22850         inner loop.
22851
22852 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
22853
22854         * configure.in (alpha*-dec-osf*): Add osf5.
22855
22856 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
22857
22858         * configure.in: Rework handling of ARM GNU/Linux slightly.
22859         (arm*-*-linux-gnuoldld): New target.
22860         * configure: Regenerate.
22861         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
22862         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
22863         * config/arm/linux-oldld.h: New file.
22864         * config/arm/linux-elf26.h: Don't include linux-elf.h.
22865         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
22866         Don't define.
22867         * config/arm/linux-elf.h (ASM_SPEC): Define.
22868         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
22869         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
22870         for 26-bit APCS and old linker.
22871         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
22872         `arm_elf'.
22873         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
22874         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
22875         don't define `arm' or `arm_elf'.
22876         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
22877         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
22878
22879 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
22880
22881         * rtl.texi: Fix typo.
22882
22883 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
22884
22885         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
22886
22887 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
22888
22889         * extend.texi (C++ Signatures): Remove node.
22890         * invoke.texi: Remove discussion of -fhandle-signatures,
22891         signature, sigof, __signature__, and __sigof__.
22892
22893 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
22894
22895         * Makefile.in (JAVAGC): Removed.
22896
22897 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22898
22899         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
22900
22901 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
22902
22903         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
22904
22905 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
22906
22907         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
22908         a register that is already known to be a pointer.
22909
22910 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
22911
22912         * fixinc/inclhack.tpl: Only install assert.h conditionally.
22913         * fixinc/inclhack.sh: Regenerated.
22914         * fixinc/fixincl.sh: Regenerated.
22915
22916 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
22917
22918         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
22919         Fix documentation of -ansi flag to describe its C++ behavior.
22920         Remove bogus reference to GCC 2.9.
22921
22922 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
22923
22924         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
22925         note if it is non-NULL.
22926
22927 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22928
22929         * except.h (eh_nesting_info): Add new structure defintion.
22930         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
22931         (reachable_handlers, update_rethrow_references): Add function
22932         prototypes.
22933         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
22934         a rethrow symbol instead of an integer exception region number.
22935         * flow.c (Make_edges): Use new exception nesting routines to determine
22936         which handlers are reachable from a CALL or asynchronous insn.
22937         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
22938         goto receivers.
22939         (delete_eh_regions): Update rethrow labels, and don't delete
22940         regions which are the target of a rethrow.
22941         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
22942         avoid overloading the SYMBOL_REF_USED flag.
22943         (rethrow_symbol_map): Use new rethrow_ref field.
22944         (rethrow_used): Use new rethrow_ref field.
22945         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
22946         of an integer.  Fix formatting.
22947         (output_exception_table_entry): Use new rethrow_ref field.
22948         (can_throw): Check for EH_REGION_NOTE before deciding
22949         whether a CALL can throw or not.
22950         (scan_region): Call rethrow_used() instead of accessing data structure.
22951         (update_rethrow_references): New function to make sure only regions
22952         which are still targets of a rethrow are flagged as such.
22953         (process_nestinfo): New static function to initialize a handler
22954         list for a specific region.
22955         (init_eh_nesting_info): New function to allocate and initialize
22956         the list of all EH handlers reachable from all regions.
22957         (reachable_handlers): New function to retrieve the list of handlers
22958         reachable from a specific region and insn.
22959         (free_eh_nesting_info): New function to dispose of a list of
22960         reachable handlers.
22961
22962 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22963
22964         * flow.c (split_edge): Set JUMP_LABEL field.
22965         (commit_one_edge_insertion): Set head correctly for insert_before.
22966         When inserting insns, update insn block numbers if allocated.
22967
22968 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22969
22970         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
22971         retry_incomplete_types): Add static prototype.
22972         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
22973         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
22974         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
22975         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
22976         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
22977         Constify a char*.
22978
22979         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
22980         dwarf2out_start_source_file, dwarf2out_line): Likewise.
22981
22982 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22983
22984         * output.h (assemble_name): Constify a char*.
22985
22986         * varasm.c (UNIQUE_SECTION, assemble_start_function,
22987         assemble_variable, assemble_name): Likewise.
22988
22989         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
22990
22991         * arm/pe.c (arm_pe_unique_section): Likewise.
22992
22993         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
22994
22995         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
22996
22997         * i386/interix.c (i386_pe_unique_section): Likewise.
22998
22999         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
23000
23001         * i386/winnt.c (i386_pe_unique_section): Likewise.
23002
23003         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
23004
23005         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
23006
23007         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
23008
23009         * pa/pa.c (output_call): Likewise.
23010
23011         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
23012
23013         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
23014
23015         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
23016         Likewise.
23017
23018         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
23019         Likewise.
23020
23021         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
23022
23023         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
23024         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
23025
23026         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
23027
23028 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23029
23030         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
23031
23032 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23033
23034         * tree.h (lang_identify): Constify a char*.
23035         (print_error_function): Add extern prototype.  Constify a char*.
23036
23037         * c-lang.c (lang_identify): Constify a char*.
23038
23039         * objc/objc-act.c (lang_identify): Constify a char*.
23040
23041 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23042
23043         * genpeep.c (main): Make generated file include "function.h".
23044         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
23045
23046 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23047
23048         * Makefile.in: Update dependencies.
23049         * alias.c: Include "function.h"
23050         * c-decl.c: Likewise.
23051         * caller-save.c: Likewise.
23052         * calls.c: Likewise.
23053         * combine.c: Likewise.
23054         * cse.c: Likewise.
23055         * explow.c: Likewise.
23056         * final.c: Likewise.
23057         * global.c: Likewise.
23058         * graph.c: Likewise.
23059         * local-alloc.c: Likewise.
23060         * loop.c: Likewise.
23061         * optabs.c: Likewise.
23062         * profile.c: Likewise.
23063         * recog.c: Likewise.
23064         * regclass.c: Likewise.
23065         * regmove.c: Likewise.
23066         * reload.c: Likewise.
23067         * reorg.c: Likewise.
23068         * resource.c: Likewise.
23069         * sched.c: Likewise.
23070         * stupid.c: Likewise.
23071         * config/1750a/1750a.c: Likewise.
23072         * config/a29k/a29k.c: Likewise.
23073         * config/arc/arc.c: Likewise.
23074         * config/arm/arm.c: Likewise.
23075         * config/arm/thumb.c: Likewise.
23076         * config/c4x/c4x.c: Likewise.
23077         * config/clipper/clipper.c: Likewise.
23078         * config/convex/convex.c: Likewise.
23079         * config/fx80/fx80.c: Likewise.
23080         * config/i860/i860.c: Likewise.
23081         * config/m68k/m68k.c: Likewise.
23082         * config/m88k/m88k.c: Likewise.
23083         * config/mips/mips.c: Likewise.
23084         * config/pdp11/pdp11.c: Likewise.
23085         * config/pyr/pyr.c: Likewise.
23086         * config/romp/romp.c: Likewise.
23087         * config/sh/sh.c: Likewise.
23088         * config/tahoe/tahoe.c: Likewise.
23089         * config/vax/vax.c: Likewise.
23090         * config/we32k/we32k.c: Likewise.
23091         * config/sparc/sparc.c: Include "function.h".
23092         (mem_min_alignment): Test current_function rather than
23093         regno_pointer_align.
23094         * config/pa/pa.c: Likewise.
23095         (compute_frame_size): Delete declaration of
23096         current_function_outgoing_args_size.
23097         * config/arc/arc.h (current_function_varargs): Delete declaration.
23098         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
23099         declaration.
23100         * config/i370/i370.h (current_function_outgoing_args_size): Delete
23101         declaration.
23102         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
23103         current_function_uses_pic_offset_table.
23104         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
23105         of current_function_returns_pointer.
23106         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23107         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23108         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23109         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23110         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23111         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23112         * config/m88k/m88k.c: Include "function.h"
23113         (call_used_regs, current_function_pretend_args_size,
23114         current_function_outgoing_args_size, frame_pointer_needed): Delete
23115         declarations.
23116         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
23117         declaration.
23118         * config/mips/mips.h (current_function_calls_alloca): Delete
23119         declaration.
23120         * config/mn10200/mn10200.h (current_function_needs_context,
23121         rtx_equal_function_value_matters): Delete declarations.
23122         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
23123         flag_pic): Delete declarations.
23124         * config/pa/pa.h (current_function_pretend_args_size,
23125         current_function_decl): Delete declarations.
23126         * config/pa/som.h (current_function_varargs): Delete declaration.
23127         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
23128         declaration.
23129         * config/pyr/pyr.h (current_function_pretend_args_size,
23130         current_function_args_size, current_function_calls_alloca): Delete
23131         declarations.
23132         * config/sh/sh.h (current_function_varargs): Delete declaration.
23133         * config/sparc/sparc.h (current_function_outgoing_args_size,
23134         current_function_calls_alloca, current_function_decl): Delete
23135         declarations.
23136         * config/spur/spur.h (current_function_pretend_args_size,
23137         current_function_calls_alloca): Delete declarations.
23138         * config/v850/v850.c (current_function_outgoing_args_size): Delete
23139         declaration.
23140         * config/vax/vms.h (current_function_name): Delete declaration.
23141         * gcse.c: Include "function.h".
23142         (current_function_name, current_function_calls_setjmp): Delete
23143         declarations.
23144         * haifa-sched.c: Include "function.h".
23145         (forced_labels): Delete declaration.
23146         * jump.c: Likewise.
23147         * reg-stack.c: Likewise.
23148         * reload1.c: Likewise.
23149         * genemit.c (main): Make generated file include function.h.
23150         * genoutput.c (output_prologue): Likewise.
23151
23152         * builtins.c (saveregs_value, apply_args_value): Delete variables.
23153         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
23154         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
23155         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
23156         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
23157         macros for some of them.
23158         (emit_filename, emit_lineno): Delete declarations.
23159         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
23160         regno_pointer_* variables through current_function.
23161         (gen_inline_header_rtx): Delete function.
23162         (save_emit_status): Delete function.
23163         (set_new_last_label_num): New function.
23164         (clear_emit_caches): New function.
23165         (restore_emit_status): Just clear last_labelnum and call
23166         clear_emit_caches.
23167         (get_last_insn_anywhere): Variable sequence_stack is now accessed
23168         through macro seq_stack.
23169         (add_insn_after): Likewise.
23170         (add_insn_before): Likewise.
23171         (remove_insn): Likewise.
23172         (pop_topmost_sequence): Likewise.
23173         (in_sequence_p): Likewise.
23174         (start_sequence_for_rtl_expr): Likewise.
23175         (start_sequence): Likewise, and likewise for
23176         sequence_rtl_expr/seq_rtl_expr.
23177         (push_topmost_sequence): Likewise.
23178         (end_sequence): Likewise.
23179         (init_virtual_regs): Now takes a "struct emit_status *" argument.
23180         All callers changed.  Store into that pointer instead of globals.
23181         (init_emit): Allocate emit elt of current_function.
23182         Changes for sequence_rtl_expr/sequence_stack renaming.
23183         Call clear_emit_caches instead of doing it in-line.
23184         Access regno_pointer_* variables through current_function.
23185         (init_emit_once) Don't clear sequence_stack.
23186
23187         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
23188         Delete variables.
23189         (arg_pointer_save_area): Delete declaration.
23190         (finish_expr_for_function): Renamed from init_queue; no longer static.
23191         (init_expr): Don't call init_queue.
23192         (save_expr_status, restore_expr_status): Delete functions.
23193         (expand_expr): Changes to reflect new layout of struct function.
23194         Don't access current_function_check_memory_usage when current_function
23195         is 0.
23196         * expr.h (forced_labels, save_expr_regs, saveregs_value,
23197         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
23198         current_function_outgoing_args_size, current_function_arg_offset_rtx,
23199         current_function_uses_const_pool, function_call_count,
23200         current_function_uses_pic_offset_table, nonlocal_labels,
23201         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
23202         current_function_check_memory_usage, nonlocal_goto_handler_slots,
23203         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
23204         declarations.
23205         (finish_expr_for_function): Declare.
23206         * flags.h (current_function_has_nonlocal_label,
23207         current_function_has_nonlocal_goto, current_function_is_thunk,
23208         current_function_has_computed_jump): Delete declarations.
23209         * flow.c (forced_labels): Delete declaration.
23210         * function.c (current_function_pops_args,
23211         current_function_returns_struct, current_function_returns_pcc_struct,
23212         current_function_needs_context, current_function_calls_setjmp,
23213         current_function_calls_longjmp, current_function_has_nonlocal_label,
23214         current_function_has_nonlocal_goto, current_function_is_thunk,
23215         current_function_has_computed_jump, current_function_calls_alloca,
23216         current_function_contains_functions, current_function_returns_pointer,
23217         current_function_epilogue_delay_list, current_function_args_size,
23218         current_function_pretend_args_size, current_function_arg_offset_rtx,
23219         current_function_outgoing_args_size, current_function_varargs,
23220         current_function_stdarg, current_function_args_info, cleanup_label,
23221         current_function_name, current_function_uses_const_pool,
23222         current_function_instrument_entry_exit, current_function_return_rtx,
23223         current_function_uses_pic_offset_table, nonlocal_labels,
23224         current_function_internal_arg_pointer, current_function_cannot_inline,
23225         current_function_check_memory_usage, function_call_count,
23226         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
23227         nonlocal_goto_stack_level, return_label, save_expr_regs,
23228         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
23229         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
23230         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
23231         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
23232         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
23233         Delete variables.
23234         (push_function_context_to): Don't save them.  Don't call
23235         save_storage_status, save_emit_status or save_expr_status.
23236         (pop_function_context_from): Don't restore them.  Don't call
23237         restore_storage_status or restore_expr_status.
23238         (get_func_frame_size): New function.
23239         (get_frame_size): Use it.
23240         (assign_outer_stack_local): Reflect some member name changes in struct
23241         function.
23242         (put_reg_into_stack): Likewise.
23243         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
23244         seq_rtl_expr.
23245         (fixup_var_refs): Likewise.
23246         (fix_lexical_addr): Likewise.
23247         (trampoline_address): Likewise.
23248         (prepare_function_start): Clear field inlinable of current_function.
23249         (init_function_for_compilation): New function.
23250         (expand_dummy_function_end): New function.
23251         (expand_function_end): Call finish_expr_for_function.
23252         * function.h (struct emit_status): New; fields moved here from struct
23253         function and from global variables.  Add accessor macros for some of
23254         the fields.
23255         (struct expr_status): Likewise.
23256         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
23257         (struct function): Add fields expr and emit, inlinable, inl_emit,
23258         original_arg_vector, original_decl_initial, inl_last_parm_insn,
23259         inl_max_label_num.  Add many comments.
23260         Add accessor macros for all elts of struct function that no longer
23261         have a global variable.
23262         (cleanup_label, return_label, frame_offset, tail_recursion_label,
23263         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
23264         stack_slot_list): Delete declarations.
23265         (get_func_frame_size): Declare.
23266         (save_expr_status, restore_expr_status, save_emit_status,
23267         save_storage_status, restore_storage_status): Delete declarations.
23268         (init_virtual_regs): Declare.
23269         * output.h (current_function_pops_args,
23270         current_function_returns_struct, current_function_returns_pcc_struct,
23271         current_function_needs_context, current_function_calls_setjmp,
23272         current_function_calls_longjmp, current_function_calls_alloca,
23273         current_function_has_nonlocal_label, current_function_varargs,
23274         current_function_has_computed_jump, current_function_returns_pointer,
23275         current_function_contains_functions, current_function_args_size,
23276         current_function_pretend_args_size, current_function_stdarg,
23277         current_function_outgoing_args_size, current_function_args_info,
23278         current_function_name, current_function_return_rtx,
23279         current_function_epilogue_delay_list,
23280         current_function_uses_const_pool, current_function_cannot_inline):
23281         Delete declarations.
23282         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
23283         regno_reg_rtx): Delete declaration.
23284         (REGNO_POINTER_FLAG): Delete macro.
23285         * stmt.c (expand_goto): Changes to reflect that some fields in struct
23286         function were renamed.
23287         * stor-layout.c (save_storage_status, restore_storage_status): Delete
23288         functions.
23289         * toplev.c: Include "function.h".
23290         (current_function_decl): Delete declaration.
23291         (compile_file): Call init_dummy_function_start and
23292         expand_dummy_function_end around some initializations that need to
23293         emit rtl.
23294         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
23295         Call init_function_for_compilation.
23296         * unroll.c: Include "function.h"
23297         (unroll_loop): Access regno_pointer_* variables through
23298         current_function.
23299
23300         * tree.h (struct tree_decl): Add elt f to saved_insns member.
23301         (DECL_SAVED_INSNS): use it.
23302         (expand_dummy_function_end): Declare.
23303         (init_function_for_compilation): Declare.
23304         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
23305         that it's no longer an INLINE_HEADER.
23306         (expand_call): Likewise.
23307         * integrate.c (finish_inline): Delete function.
23308         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
23309         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
23310         args.  Don't generate an INLINE_HEADER rtx, just return the arg
23311         vector.  All callers changed.
23312         (save_for_inline_copying):  Create a duplicate struct emit_status to
23313         hold the emit state for compiling the current function.  Use this and
23314         the other new fields in struct function that are for integration
23315         instead of an INLINE_HEADER.
23316         Use memcpy instead of bcopy.
23317         Store the current struct function in DECL_SAVED_INSNS of fndecl.
23318         (save_for_inline_nocopy): Similar changes, except no new emit_status
23319         is needed here.
23320         (expand_inline_function): Get information from function structure,
23321         not from an inline header rtx.
23322         (output_inline_function): Lose code to extract the necessary
23323         information from an inline header; simply put back the function
23324         structure into current_function.  Clear its inlinable elt.
23325         * rtl.def (INLINE_HEADER): Delete.
23326         * rtl.h: Delete all accessors for an INLINE_HEADER.
23327         (gen_inline_header_rtx): Delete declaration.
23328         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
23329         Delete declarations.
23330         (REGNO_POINTER_ALIGN): Delete.
23331         (clear_emit_caches): Declare.
23332         (set_new_last_label_num): Declare.
23333
23334 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
23335
23336         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
23337
23338         * except.c (expand_eh_region_start_for_decl): Always start a new block.
23339         * stmt.c (is_eh_region): Make sure current_function is present, too.
23340
23341 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
23342
23343         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
23344         for 64bit PA targets.
23345
23346         * pa.h (SELECT_SECTION): Define.
23347         * som.h (SELECT_SECTION): Delete.
23348
23349 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23350
23351         * alias.c (init_alias_analysis): Wrap call to
23352         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
23353
23354 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
23355
23356         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
23357         <sys/asm.h> contains an asm comment with an apostrophe
23358         * fixinc/inclhack.sh:  regen
23359         * fixinc/fixincl.x:  regen
23360
23361 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
23362
23363         * function.c (init_function_start): Clear prologue & epilogue.
23364         (prologue_epilogue_contains): New function.
23365         * alias.c (init_alias_analysis): Use it.
23366         * rtl.h (prologue_epilogue_contains): Declare it.
23367
23368 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
23369
23370         * jump.c (onlyjump_p): New function.
23371         * rtl.h: Declare it.
23372         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
23373         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
23374
23375 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
23376
23377         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
23378         to invert loops.  Simplify block scanning.
23379
23380 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
23381
23382         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
23383         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
23384
23385 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
23386
23387         * config/sparc/liteelf.h: New file to support sparclite-elf target
23388         * config/sparc/t-sp86x: New file to support sparc86x targets
23389         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
23390         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
23391         * configure.in: Support above target triplets
23392         * configure: Regenerated
23393
23394 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
23395
23396         * fixinc/server.c (server_setup): Do not prefix function used as
23397         parameter with `&'.
23398
23399 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
23400
23401         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
23402         Remove fp reg alternatives.
23403
23404 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
23405
23406         * Makefiin (TAROUTOPTS): Kill.
23407         (install-headers-tar): Use "xpf" for tar headerfile extraction
23408         * i370/x-oe (TAROUTOPTS): Delete.
23409         * m68k/x-apollo68 (TAROUTOPTS): Delete.
23410         * m68k/x-hp320 (TAROUTOPTS): Delete.
23411         * m68k/x-hp320g (TAROUTOPTS): Delete.
23412         * gcc.texi: Update bug reporting text.
23413
23414 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
23415
23416         * reg-stack.c (change_stack) Fixed problem with negative array index.
23417
23418 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
23419
23420         * extend.texi, install.texi: Fix spelling mistakes.
23421
23422         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
23423         (s-attrtab); No longer try to use pre-made insn-attrtab file.
23424         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
23425         PREMADE_ATTRTAB_MD.
23426         * mips/t-ecoff: Likewise.
23427         * mips/t-elf: Likewise.
23428         * mips/t-mips: Likewise.
23429         * mips/t-osfrose: Likewise.
23430         * mips/t-r3900: Likewise.
23431         * mips/t-svr3: Likewise.
23432         * mips/t-svr4: Likewise.
23433         * mips/t-ultrix: Likewise.
23434
23435         * gcc.texi: Document recommend means to provide software floating
23436         point libraries in libgcc.a
23437
23438 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
23439
23440         * c-lex.c (yylex): We can have a number with no digits.
23441
23442 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
23443
23444         * jump.c (delete_prior_computation): New function, broken
23445         out of delete_computation.  Check for side effects with
23446         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
23447         multi-word hard registers.
23448         (delete_computation): Use it.  Check for side effects with
23449         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
23450         missing REG_DEAD note for a register which is both set and
23451         used by an insn.
23452
23453 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
23454
23455         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
23456         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
23457         (ASM_FILE_START): Import _mcount with the right type.
23458         (ASM_DECLARE_FUNCTION_NAME): Define.
23459         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
23460         * pa.c (output_function_prologue): Always emit the function's label
23461         here.
23462         * pa.h (TEXT_SPACE_P): Define.
23463         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
23464         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
23465         * som.h (TEXT_SPACE_P): Delete.
23466         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
23467         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
23468
23469 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
23470
23471         * expr.c (emit_group_load): Allow src to be a CONCAT.
23472
23473 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23474
23475         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
23476         (___mulsi3): Use '!' comment character.
23477
23478 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23479
23480         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
23481
23482 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
23483
23484         * gcc.c: Update URLs and mail addresses.
23485         * gcc.texi: Likewise.
23486
23487 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
23488
23489         * rs6000.c (current_file_function_operand): Return zero for
23490         weak functions.
23491         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
23492         weak symbols.
23493         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
23494         for weak symbols.
23495
23496 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
23497
23498         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
23499         allocate space in the stack frame for the PIC register.
23500
23501 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
23502
23503         * m68k.md (xordi3, anddi3): These patterns are not available on
23504         the coldfire.
23505
23506 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
23507
23508         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
23509         (PUT_REAL): Likewise.
23510
23511 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23512
23513         * final.c (shorten_branches): Don't add an alignment for loops
23514         that have no label inside.
23515
23516 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23517
23518         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
23519         prototypes in macro HAVE_cmpstrsi.
23520
23521         * cpplib.c (cpp_get_token): Remove unused label `op3'.
23522
23523         * emit-rtl.c (operand_subword): Remove unused variable
23524         `bits_per_word'.
23525
23526         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
23527
23528         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
23529
23530 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
23531
23532         * cpphash.c (macroexpand): Delete leading whitespace when arg
23533         is concatenated before.
23534         (unsafe_chars): Correct test for whether + and - can extend a
23535         token.
23536
23537         * cppinit.c (cpp_start_read): Do dependencies for
23538         -include/-imacros files also.
23539
23540         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
23541         tokenizing non-directive lines.
23542         (cpp_expand_to_buffer): Temporarily disable no-output mode.
23543         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
23544         the input file.
23545
23546 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
23547
23548         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
23549
23550         * c-lex.c: Sync with C++ frontend.
23551         (linemode): New variable.
23552         (parse_float): imag, conversion_errno, and type are output only.
23553         (yylex): Adjust.  Move initial '.' case into main switch.
23554         Use linemode.
23555         (handle_generic_pragma): Just deal with tokens.
23556         (readescape): Use ISXDIGIT and ISGRAPH.
23557         * c-parse.in: Add END_OF_LINE token.
23558
23559         * c-lex.c (lang_init): Generalize.
23560         (nextchar): Remove.  Replace uses with UNGETC.
23561         (skip_white_space): Handle linemode here.  Optimize for cpplib.
23562         (skip_white_space_on_line): Remove.
23563         (extend_token_buffer_to): New fn.
23564         (extend_token_buffer): Use it.
23565         (read_line_number, check_newline): Just deal with tokens.
23566         (token_getch, token_put_back): New fns.
23567         (yylex): Use them.  More cpplib optimizations.  Simplify.
23568
23569 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
23570                           Jason Merrill  <jason@yorick.cygnus.com>
23571
23572         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
23573         (consume_string): Make this smart about USE_CPPLIB.
23574         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
23575         (yylex): Rewrite to be intelligent about USE_CPPLIB.
23576         Also, clean up cases where we redundantly set token_buffer[0].
23577         (read_line_number): New fn.
23578         (ignore_escape_flag): New variable.
23579
23580 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
23581
23582         * a29k/t-a29kbare: Fix some comments.
23583         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
23584         (FPBIT, DPBIT): Define.
23585         * a29k/t-vx29k: Likewise.
23586         * arc/t-arc: Likewise.
23587         * arm/t-arm-elf: Likewise.
23588         * arm/t-bare: Likewise.
23589         * arm/t-pe: Likewise.
23590         * arm/t-pe-thumb: Likewise.
23591         * arm/t-semi: Likewise.
23592         * arm/t-thumb: Likewise.
23593         * arm/t-thumb-elf: Likewise.
23594         * arm/t-thumb-linux: Likewise.
23595         * h8300/t-h8300: Likewise.
23596         * i960/t-i960: Likewise.
23597         * i960/t-vxworks960: Likewise.
23598         * m32r/t-m32r: Likewise.
23599         * mips/t-ecoff: Likewise.
23600         * mips/t-elf: Likewise.
23601         * mips/t-r3900: Likewise.
23602         * pa/t-pro: Likewise.
23603         * rs6000/t-aix43: Likewise.
23604         * rs6000/t-beos: Likewise.
23605         * rs6000/t-newas: Likewise.
23606         * rs6000/t-ppccomm: Likewise.
23607         * rs6000/t-rs6000: Likewise.
23608         * rs6000/t-winnt: Likewise.
23609         * rs6000/t-xnewas: Likewise.
23610         * rs6000/t-xrs6000: Likewise.
23611         * sh/t-sh: Likewise.
23612         * sparc/t-elf: Likewise.
23613         * sparc/t-sparcbare: Likewise.
23614         * sparc/t-sparclite: Likewise.
23615         * sparc/t-splet: Likewise.
23616         * v850/t-v850: Likewise.
23617         * mn10200/t-mn10200: Fix comments.
23618         * mn10300/t-mn10300: Likewise.
23619
23620         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
23621         dummy operand.  Allocate a new pseudo for the dummy operand.
23622         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
23623
23624         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
23625
23626 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
23627
23628         * configure: Rebuilt.
23629         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
23630
23631 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
23632
23633         * recog.c (preproces_constraints): Zero recog_op_alt before
23634         processing the constraints.
23635
23636         * arm.c (typedef minipool_node): Renamed from pool_node.
23637         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
23638         (add_minipool_constant): New function.
23639         (dump_minipool): New function.
23640         (find_barrier): Remove special case for getting the insn size of
23641         an insn that references the constant pool.
23642         (minipool_fixup): New structure.
23643         (push_minipool_barrier): New function.
23644         (push_minipool_fix): New function.
23645         (note_invalid_constants): New function.
23646         (add_pool_constant, dump_table, fixit, broken_move): Delete.
23647         (arm_reorg): Rewrite code to fix up the constant pool into a
23648         series of mini-pools embedded in the insn stream.
23649         (arm_output_epilogue): New function, made mainly from the body
23650         of output_func_epilogue.
23651         (output_func_epilogue): Move insn generation part of epilogue code
23652         to arm_output_epilogue.
23653         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
23654         * arm.md (pool_range): New attribute.
23655         (zero_extendqidi2): Add attribute pool_range.
23656         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
23657         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
23658         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
23659         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
23660         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
23661         (epilogue): New expand.
23662         (epilogue_insn): New insn.  Call arm_output_epilogue.
23663
23664         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
23665         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
23666
23667 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
23668
23669         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
23670
23671 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
23672
23673         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
23674
23675 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
23676
23677         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
23678
23679 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
23680
23681         * global.c: Fix comment.
23682
23683 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
23684
23685         * gcc.c (access_check): New static function.
23686         (find_a_file): Use it when searching a directory list.
23687         * collect2.c (find_a_file): Don't accept directories found when
23688         searching a directory list.
23689
23690 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
23691
23692         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
23693         function parameters with `&'.
23694         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
23695
23696 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
23697
23698         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
23699         or tidy_fallthru_edge if the last insn in the block is not
23700         an unconditional jump or a simple conditional jump.
23701
23702 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23703
23704         * Makefile.in (c-decl.o): Depends on defaults.h.
23705
23706 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
23707
23708         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
23709         PA1.1 and above.
23710         (CLASS_MAX_NREGS): Likewise.
23711
23712 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
23713
23714         * cse.c (cse_insn): Fix dumb thinko in last change.
23715
23716 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23717
23718         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
23719         "const char *".
23720
23721 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
23722
23723         * dwarf2out.c (add_location_or_const_value_attribute): Correct
23724         test for sizes of passed and declared parameter types.
23725
23726 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23727
23728         * fixincludes: Fix the return type of bsearch, char* -> void*.
23729
23730         * fixinc/inclhack.def: Likewise.
23731
23732 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
23733
23734         * invoke.texi (-fdump-translation-unit): New option.
23735
23736 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
23737
23738         * expr.h (PROMOTE_PROTOTYPES): Move ...
23739         * defaults.h: ... to here.
23740         * c-decl.c: Include defaults.h instead of expr.h.
23741         * c-typeck.c: Include defaults.h.
23742
23743 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
23744
23745         * toplev.h (errorcount): Declare.
23746         (warningcount): Likewise.
23747         (sorrycount): Likewise.
23748         * c-lex.c (errorcount): Don't declare.
23749         * dwarf2out.c (errorcount): Don't declare.
23750
23751 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
23752
23753         * config/libgloss.h: Add a note discouraging use with ELF.
23754         * configure.in: Don't use libgloss.h for ELF targets.
23755         Always use_collect2 on a.out targets.
23756
23757 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
23758
23759         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
23760         (force_to_mode, case ASHIFTRT): Add shiftrt label.
23761
23762 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23763
23764         * loop.c (strength_reduce): When doing biv->giv conversion, update
23765         reg note of NEXT->insn.
23766
23767 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23768
23769         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
23770
23771 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23772
23773         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
23774         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
23775         Ensure expr.h is included.
23776         * c-typecheck.c (convert_arguments): Ditto.
23777
23778         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
23779
23780         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
23781         * config/convex/convex.h: Ditto.
23782         * config/dsp16xx/dsp16xx.h: Ditto.
23783         * config/fx80/fx80.h: Ditto.
23784         * config/gmicro/gmicro.h: Ditto.
23785         * config/i370/i370.h: Ditto.
23786         * config/i386/i386.h: Ditto.
23787         * config/m32r/m32r.h: Ditto.
23788         * config/m68k/m68k.h: Ditto.
23789         * config/m88k/m88k.h: Ditto.
23790         * config/mips/mips.h: Ditto.
23791         * config/pa/pa.h: Ditto.
23792         * config/pyr/pyr.h: Ditto.
23793         * config/tahoe/tahoe.h: Ditto.
23794         * config/we32k/we32k.h: Ditto.
23795
23796         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
23797         based on arch size.
23798
23799         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
23800
23801         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
23802         from comment.
23803
23804         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
23805
23806 1999-08-02  Richard Henderson  <rth@cygnus.com>
23807
23808         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
23809         for the register spill block.
23810         (m32r_va_arg): New.
23811         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
23812         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
23813
23814         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
23815         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
23816         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
23817
23818 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23819
23820         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
23821         MAX_WCHAR_TYPE defined in sparc.h.
23822         * config/sparc/linuxaout.h: Likewise.
23823         * config/sparc/linux64.h: Likewise.
23824         Also default to -mvis if CPU is UltraSPARC.
23825
23826 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23827
23828         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
23829         (RTX_OK_FOR_OLO10): Likewise.
23830         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
23831         %lo(), allow it in addresses...
23832         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
23833         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
23834         does not make sense.
23835         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
23836         (sparc_output_scratch_registers): New function.
23837         (output_function_prologue, sparc_flat_output_function_prologue): Use
23838         it.
23839         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
23840         defined.
23841         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
23842         * configure.in: Add check for .register pseudo-op support in as and
23843         check for offsetable %lo().
23844         * acconfig.h: Add templates for the above checks.
23845         * configure: Regenerate.
23846
23847 1999-08-02  Richard Henderson  <rth@cygnus.com>
23848
23849         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
23850         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
23851         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
23852
23853 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23854
23855         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23856         reg_biv_class.
23857
23858 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
23859
23860         * config/float-sparc.h: New file.
23861         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
23862         sparc-*-linux-gnu and sparc64-*-linux*.
23863
23864 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23865
23866         * rs6000.c (rs6000_va_list): Type is an array.
23867         (rs6000_va_start): Don't doubly adjust for varargs.
23868         (rs6000_va_arg): Evaluate long long GPR adjustment.
23869
23870 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
23871
23872         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
23873         -maix64 and -maix32.
23874         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
23875         LINK_SPEC): Change appropriately.
23876         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
23877         (u_short_cint_operand): Likewise.
23878         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
23879         for 64-bit hosts.
23880         * rs6000/t-aix43 (MULTILIB): Change to -m64.
23881
23882         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
23883
23884 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
23885
23886         * rs6000/rs6000.c (num_insns_constant_wide): Correct
23887         for type promotion.
23888         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
23889         (non_add_cint_operand): Likewise.
23890         (logical_operand): Likewise.
23891         (non_logical_cint_operand): Likewise.
23892         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
23893         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
23894         (rs6000_select_rtx_section): Suppress warning.
23895         (small_data_operand): Suppress warning.
23896         (rs6000_got_register): Suppress warning.
23897         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
23898         type, so `J' is generally the wrong constraint for a SImode value;
23899         use `L' instead.
23900         (andsi3_internal2): Likewise.
23901         (andsi3_internal3): Likewise.
23902         (iorsi3_internal1): Likewise.
23903         (xorsi3_internal1): Likewise.
23904         (movsi): Likewise.
23905         (movsf_softfloat): Likewise.
23906         (scc insns): Likewise.
23907         (movsi+2): Preserve sign bits of SImode constant.
23908         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
23909         (movdf+1): Sign-extend properly.
23910         (movdi_32+1): Sign-extend properly.
23911         (scc insns): Sign-extend properly.
23912
23913         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
23914         K, L, and T.
23915
23916 1999-08-02  Richard Henderson  <rth@cygnus.com>
23917
23918         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
23919         -mcpu parsing code.
23920         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
23921         * alpha.md (all fp insns): Likewise.
23922
23923 1999-08-02  Nick Clifton  <nickc@cygnus.com>
23924
23925         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
23926         already defined.
23927
23928 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
23929
23930         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
23931         pic_load_label generator directly.
23932         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
23933         No longer a named pattern.
23934
23935 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
23936
23937         * explow.c (force_reg): Call force_operand if X does not
23938         satisfy general_operand.
23939
23940 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
23941
23942         * fix-header.c (main): When testing for CONTINUED, use string
23943         equality, not pointer equality.
23944
23945 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
23946
23947         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
23948
23949 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
23950
23951         * cse.c (cse_insn): Fix loop which deletes insns after a jump
23952         that has become an unconditional jump.
23953
23954         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
23955         (output_function_epilogue): Similarly.
23956
23957 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23958
23959         * tree.h (init_dummy_function_start): Declare.
23960
23961 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23962
23963         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
23964         last_expr_type, last_expr_value, block_start_count, block_stack,
23965         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
23966         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
23967         dynamically in stmt elt of struct function for each function.
23968         (struct nesting): Rename function_call_count elt to n_function_calls,
23969         target_temp_slot_level to block_target_temp_slot_level.  All users
23970         changed.
23971         (struct stmt_status): New structure definition.
23972         Add many accessor macros for stmt_status elements which previously
23973         were global variables.
23974         (init_stmt_for_function): Allocate stmt elt for current_function.
23975         Reflect that block_start_count was renamed to
23976         current_block_start_count.
23977         (save_stmt_status, restore_stmt_status): Delete functions.
23978         (preserve_subexpressions_p): Don't access loop_stack when outside
23979         a function.
23980         (expand_start_bindings): Reflect that block_start_count was renamed to
23981         current_block_start_count.
23982         (expand_fixup): Likewise.
23983         (expand_decl): Don't access block_stack when outside a function.
23984         (expand_decl_cleanup): Likewise.
23985         (expand_dcc_cleanup): Likewise.
23986         (expand_dhc_cleanup): Likewise.
23987         (expand_anon_union_decl): Likewise.
23988         (set_file_and_line_for_stmt): New function.
23989         (in_control_zone_p): New function.
23990
23991         * function.h (struct function): Add new elt stmt.
23992         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
23993         case_stack, nesting_stack, nesting_depth, block_start_count,
23994         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
23995         emit_lineno, goto_fixup_chain.
23996         (save_eh_status, restore_eh_status, save_stmt_status,
23997         restore_stmt_status): Delete declarations.
23998         * function.c (push_function_context_to): Don't call save_stmt_status.
23999         (pop_function_context_to): Don't call restore_stmt_status.
24000         * tree.h (in_control_zone_p): Declare.
24001         * rtl.h (set_file_and_line_for_stmt): Declare.
24002
24003         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
24004         call set_file_and_line_for_stmt.
24005
24006 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
24007
24008         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
24009         Also update copyright.
24010
24011 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24012
24013         * c-pragma.c: Don't include "except.h".
24014         * emit-rtl.c: Likewise.
24015         * stor-layout.c: Likewise.
24016         * tree.c: Likewise.
24017         * varasm.c: Likewise.
24018
24019         * flow.c: Include "function.h".
24020         * tree.h (init_dummy_function_start): Declare new function.
24021
24022         * except.h (struct eh_status): New structure.
24023         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
24024         been included.
24025         (eh_return_stub_label, ehstack, catchstack, ehqueue,
24026         catch_clauses, false_label_stack, caught_return_label_stack,
24027         protect_list, current_function_ehc): Add accessor macros for the
24028         corresponding fields in current_function->eh; delete declarations
24029         for all items that used to be declared here.
24030         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
24031         catch_clauses, false_label_stack, caught_return_label_stack,
24032         protect_list, current_function_ehc): Delete variables.
24033         (init_eh_for_function): Allocate current_function->eh.
24034         (save_eh_status, restore_eh_status): Delete functions.
24035
24036         * function.h (struct function): Add fields next_global and eh.
24037         Delete all exception handling related fields.
24038         * function.c (current_function): New variable.
24039         (all_functions): New variable.
24040         (push_function_context_to): Don't allocate a struct function,
24041         use current_function instead.  Call init_dummy_function_start when
24042         outside a function.  Clear current_function before returning.
24043         (pop_function_context_from): Restore current_function.
24044         Don't free the restored struct function.
24045         (prepare_function_start): New function.
24046         (init_dummy_function_start): New function.
24047         (init_function_start): Break out some code into prepare_function_start
24048         and call it here.
24049
24050         * stmt.c (save_stmt_status): Don't call save_eh_status.
24051         (restore_stmt_status): Don't call restore_eh_status.
24052
24053         * Makefile.in: Update dependencies.
24054
24055 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
24056
24057         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
24058         of depending on a magic constant value.  Update comments.
24059         (hppa_expand_prologue): Similarly.
24060
24061         * pa.md (reload_indi, reload_outdi): Allow any register for the
24062         original reload register.
24063
24064 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
24065
24066         * cccp.c (print_help): Change marcos to macros.
24067
24068 1999-07-30  Richard Henderson  <rth@cygnus.com>
24069
24070         * c-typeck.c (initializer_constant_valid_p): Move ...
24071         * c-common.c (initializer_constant_valid_p): ... here.  Use
24072         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
24073         of label addresses.
24074         * c-common.h (initializer_constant_valid_p): Declare.
24075         * c-tree.h (initializer_constant_valid_p): Remove.
24076
24077 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
24078
24079         * config/i386/sol2-c1.asm: Align the stack.
24080         * config/i386/sol2-gc1.asm: Likewise.
24081
24082 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
24083
24084         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
24085         -Asparclite for sparc86x.
24086         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
24087         sparc86x.
24088         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
24089
24090 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24091
24092         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
24093         the user if using the non-default arch size in BI_ARCH configuration.
24094         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
24095
24096         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
24097         Fix patterns so that they actually match.
24098         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
24099         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
24100         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
24101         TARGET_HARD_MUL32.
24102         (mulsidi3): Reflect this in the expand.
24103         (smulsi3_highpart): Only on TARGET_ARCH32.
24104         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
24105         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
24106         (umulsidi3): Reflect this in the expand.
24107         (umulsi3_highpart): Only on TARGET_ARCH32.
24108         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
24109         don't require g0 to be zero.
24110         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
24111         ({,u}divsi3): New expands.
24112         ({,u}divsi3_sp64): New patterns.
24113         (after lshrdi3_v8plus): Four new patterns to help combiner
24114         optimizing nested mixed mode shifts.
24115
24116         * config/sparc/sparc.c (sparc_override_options): Use deprecated
24117         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
24118         speed things up. Don't use them by default on plain v9 in 64bit
24119         mode, according to what SPAMv9 sais.
24120
24121         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
24122         top 32 bits of %[og][0-7] in signal handlers.
24123         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
24124
24125 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
24126
24127         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
24128         (ashlsi3): Corresponding changes.
24129
24130         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
24131
24132 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
24133
24134         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
24135
24136 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24137
24138         * arm.h (Hint): Delete macro.
24139         Substitute HOST_WIDE_INT for Hint in some prototypes.
24140         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
24141
24142 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
24143
24144         * builtins.c (expand_builtin_setjmp): Use force_operand to
24145         make sure that the buffer address is in a suitable form to be
24146         passed to force_reg.
24147
24148 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
24149
24150         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
24151         them here.
24152
24153 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
24154
24155         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
24156         proper mode in the condition string.
24157         (icacheflush, dcacheflush): Remove modes from match_operands.
24158
24159         * pa.c (emit_move_sequence): Always convert scratch_reg to the
24160         proper mode before using it.
24161
24162         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
24163         pair.
24164
24165         * pa.c (store_reg): Do not call add_high_const generator directly.
24166         (load_reg, set_reg_plus_d): Likewise.
24167         * pa.md (add_high_const): No longer a named pattern.
24168
24169         * pa.c (legitimize_address): Consistently use Pmode rather than
24170         SImode.  Do not call gen_pic2_highpart directly anymore.
24171         * pa.md (pic2_highpart): No longer a named pattern.
24172         (pic2_lo_sum): Similarly.  Reformat to make more readable.
24173
24174         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
24175         needed.
24176
24177         * README: Update.
24178
24179 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24180
24181         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
24182
24183 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
24184
24185         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
24186         and tag the spill mems.
24187         (hppa_va_start): New.
24188         (hppa_va_arg): New.
24189         * pa.h (EXPAND_BUILTIN_VA_START): New.
24190         (EXPAND_BUILTIN_VA_ARG): New.
24191
24192 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
24193
24194         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
24195         and tag the spill mems.
24196         (mn10300_va_start): New.
24197         (mn10300_va_arg): New.
24198         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
24199         (EXPAND_BUILTIN_VA_ARG): New.
24200
24201 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
24202
24203         * mn10200.c (mn10200_va_arg): New.
24204         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
24205
24206 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
24207
24208         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
24209         rather than play with TREE_INT_CST_LOW.
24210
24211 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
24212
24213         * config/arm/telf.h: Include dbxelf.h.
24214         (CPP_PREDEFINES): Only define if not already defined.
24215         (ASM_IDENTIFY_GCC): Likewise.
24216         (SUBTARGET_EXTRA_SECTIONS): Likewise.
24217         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
24218         * config/arm/thumb.h (LINK_SPEC): Only define if not already
24219         defined.
24220         (DBX_DEBUGGING_INFO): Don't define.
24221         * config/arm/linux-telf.h: New file.
24222         * config/arm/linux-tgas.h: New file.
24223         * config/arm/t-thumb-linux: New file.
24224         * config/arm/uclinux-elf.h: New file.
24225         * config/arm/uclinux-telf.h: New file.
24226         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
24227         thumb-*-uclinux): New targets.
24228         * configure: Regenerate.
24229
24230 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
24231
24232         * pa.md (post_store, pre_load): New expanders.
24233         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
24234         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
24235         need to directly generate RTL for them.
24236         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
24237         changes.
24238
24239 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
24240
24241         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
24242         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
24243         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
24244         (secndary_reload_class): Make TARGET_ELF conditional compile.
24245         (print_operand_address): Similar.
24246         (output_toc): Print all values as hex.
24247         (get_issue_rate): Rearrange and add RS64A and PPC630.
24248         * rs6000.h (processor_type): Add RS64A and PPC630.
24249         (PROCESSOR_POWERPC64): New.
24250         (PROMOTE_MODE): Use word_mode.
24251         (RTX_COSTS): Add RS64A and PPC630.
24252         * rs6000.md (scheduling information): Add lmul and ldiv
24253         representing 64-bit integer multiply and divide.  Add rs64a and
24254         PPC630 information.
24255         (ashldi3): Add support for "rldic" instruction.
24256         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
24257
24258 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
24259
24260         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
24261         instead of V8 for sparclite86x in cpu_table.
24262
24263 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24264
24265         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
24266         output_file_directive.
24267
24268 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
24269
24270         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
24271         tree for op1, not the rtl.
24272
24273 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
24274
24275         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
24276         to m88k_va_start, leaving only the register spill.
24277         (m88k_build_va_list): New.
24278         (m88k_va_start): New.
24279         (m88k_va_arg): New.
24280         * m88k.h (BUILD_VA_LIST_TYPE): New.
24281         (EXPAND_BUILTIN_VA_START): New.
24282         (EXPAND_BUILTIN_VA_ARG): New.
24283
24284 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
24285
24286         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
24287         Rename from expand_builtin_saveregs.
24288         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
24289
24290 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
24291
24292         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
24293         for the register spill block.
24294         (i960_build_va_list): New.
24295         (i960_va_start): New.
24296         (i960_va_arg): New.
24297         * i960.h (BUILD_VA_LIST_TYPE): New.
24298         (EXPAND_BUILTIN_VA_START): New.
24299         (EXPAND_BUILTIN_VA_ARG): New.
24300         * i960.md (store_multiple): Use change_address on individul mems.
24301
24302 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
24303
24304         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
24305         an ARRAY_TYPE.
24306         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
24307         (expand_builtin_va_end): Evaluate arg for side effects.
24308         * c-common.c (c_common_nodes_and_builtins): Construct a
24309         va_list_arg_type_node to handle array decomposition to pointer.
24310
24311 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
24312
24313         * except.c (st_dynamic_cleanup): Use force_operand on the
24314         buffer's address.
24315
24316 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
24317
24318         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
24319         * c4x.c (c4x_va_arg): New.
24320
24321 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
24322
24323         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
24324         has manual_pop set.
24325
24326 1999-07-26  Nathan Sidwell  <nathan@acm.org>
24327
24328         * eh-common.h (__eh_matcher): Prototype correctly.
24329
24330 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
24331
24332         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
24333         (TARGET_SINGLE_PIC_BASE): Likewise.
24334         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
24335         definitions.
24336         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
24337         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
24338         (TARGET_OPTIONS): Add -mpic-register=N.
24339         (OUTPUT_INT_ADDR_CONST): New macro.
24340         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
24341         LEGITIMATE_PIC_OPERAND_P): Likewise.
24342         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
24343         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
24344         output_addr_const directly.
24345         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
24346         ARM port.
24347         (thumb_pic_register, thumb_pic_register_string): Declare.
24348
24349         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
24350         from arm.c.
24351         (label_mentioned_p): New function: Imported from arm.c.
24352         (legitimize_pic_address): New function: Imported from arm.c.
24353         (is_pic):New function: Imported from arm.c.
24354         (thumb_finalize_pic):New function: Imported from arm.c.
24355         (add_constant): Cope with PIC constants.
24356         (fixit): Cope with PIC constants.
24357         (output_return): Do not treat the PIC register as live if
24358         TARGET_SINGLE_PIC_BASE is true.
24359         (thumb_function_prologue): Do not treat the PIC register as live if
24360         TARGET_SINGLE_PIC_BASE is true.
24361         (thumb_expand_prologue): Do not treat the PIC register as live if
24362         TARGET_SINGLE_PIC_BASE is true.
24363         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
24364         TARGET_SINGLE_PIC_BASE is true.
24365         (thumb_print_operand): Accept '|'.
24366         (thumb_override_options): Process PIC options.
24367
24368         * config/arm/thumb.md (movsi): Support PIC.
24369         (call_insn): Change "i" constraint to "X".
24370         (call_value_insn): Likewise.
24371         (consttable_4, consttable_8, consttable_end): Set and clear
24372         "making_const_table" as appropriate.
24373         (pic_load_addr, pic_add_dot_plus_four): New insns.
24374
24375         * invoke.texi (Thumb Options): Fix spelling.  Document new
24376         options -msingle-pic-base and -mpic-register=.
24377
24378 1999-07-26  Andrew Haley  <aph@cygnus.com>
24379
24380         * config/m32r/initfini.c (__init): Use a full word immediate for
24381         __fini: this allows it to be placed in any memory region.
24382
24383         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
24384         -mmodel=medium.  This is OK for all memory models.
24385
24386 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
24387
24388         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
24389         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
24390
24391 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
24392
24393         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
24394         defined.
24395
24396         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
24397
24398 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
24399
24400         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
24401         (BUILD_VA_LIST_TYPE): New.
24402         (EXPAND_BUILTIN_VA_START): New.
24403         (EXPAND_BUILTIN_VA_ARG): New.
24404         * i860.c (output_delayed_branch): Disable.
24405         (output_delay_insn): Likewise.
24406         (i860_saveregs): New.
24407         (i860_build_va_list): New.
24408         (i860_va_start): New.
24409         (i860_va_arg): New.
24410         * i860.md: Disable all peepholes using output_delayed_branch.
24411         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
24412
24413 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
24414
24415         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
24416         (BUILD_VA_LIST_TYPE): New.
24417         (EXPAND_BUILTIN_VA_START): New.
24418         (EXPAND_BUILTIN_VA_ARG): New.
24419         * clipper.c (clipper_builtin_saveregs): Only dump registers.
24420         Return the address of the save area.
24421         (clipper_build_va_list): New.
24422         (clipper_va_start): New.
24423         (clipper_va_arg): New.
24424
24425 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
24426
24427         * arc.h (EXPAND_BUILTIN_VA_START): New.
24428         (EXPAND_BUILTIN_VA_ARG): New.
24429         * arc.c (arc_setup_incoming_varargs): Set alias set of
24430         varargs save area.
24431         (arc_va_start): New.
24432         (arc_va_arg): New.
24433
24434 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
24435
24436         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
24437         (BUILD_VA_LIST_TYPE): New.
24438         (EXPAND_BUILTIN_VA_START): New.
24439         (EXPAND_BUILTIN_VA_ARG): New.
24440         * alpha.c (alpha_builtin_saveregs): Delete.
24441         (alpha_build_va_list): New.
24442         (alpha_va_start): New.
24443         (alpha_va_arg): New.
24444
24445 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
24446
24447         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
24448         column zero.
24449         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
24450         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
24451
24452         * gcc.texi: More changes related to list conversion.
24453         * invoke.texi: Likewise.
24454
24455 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
24456
24457         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
24458         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
24459         (expand_builtin_next_arg): Accept ARGLIST not EXP.
24460         (stabilize_va_list): New function.
24461         (std_expand_builtin_va_start): New function.
24462         (expand_builtin_va_start): New function.
24463         (get_varargs_alias_set): New function.
24464         (std_expand_builtin_va_arg): New function.
24465         (expand_builtin_va_arg): New function.
24466         (expand_builtin_va_end): New function.
24467         (expand_builtin_va_copy): New function.
24468         (expand_builtin): Call them.
24469         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
24470         __builtin_{varargs_start,stdarg_start,end,copy}.
24471         (build_va_arg): New function.
24472         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
24473         (build_va_arg): Declare.
24474         * c-decl.c (ptr_type_node, va_list_type_node): New.
24475         * c-parse.gperf (__builtin_va_arg): New.
24476         * c-parse.in (VA_ARG): New token.
24477         (unary_expr): Recognize it.
24478         * expr.c (expand_expr): Expand VA_ARG_EXPR.
24479         * expr.h (std_expand_builtin_va_start): Declare.
24480         (std_expand_builtin_va_arg): Declare.
24481         (expand_builtin_va_arg): Declare.
24482         (get_varargs_alias_set): Declare.
24483         * tree.def (VA_ARG_EXPR): New.
24484         * tree.h (BUILT_IN_VARARGS_START): New.
24485         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
24486         (ptr_type_node, va_list_type_node): Declare.
24487         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
24488         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
24489         * m88k.h, m88k.c: Likewise.
24490         * mn10300.h, mn10300.c: Likewise.
24491         * pa.h, pa.c: Likewise.
24492         * rs6000.h, rs6000.c: Likewise.
24493         * sh.h, sh.c: Likewise.
24494         * sparc.h, sparc.c: Likewise.
24495
24496         * emit-rtl.c (operand_subword): Copy alias set.
24497         (change_address): Likewise.
24498
24499 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
24500
24501         * pa.c (compute_frame_size): Scan all the used callee saved registers,
24502         not just the first one.
24503
24504 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
24505
24506         * config/arm/arm.h (TARGET_SWITCHES): Add
24507         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
24508         (TARGET_OPTIONS): Add -mpic-register=.
24509         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
24510         (arm_pic_register_string): Declare.
24511         (NEED_PLT_GOT): Delete, replace with ...
24512         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
24513         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
24514         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
24515         * config/arm/arm.c (arm_override_options): Add new option
24516         -mpic-register=N.
24517         (arm_pic_register_string): New variable.
24518         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
24519         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
24520         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
24521         (output_return_instruction): Likewise.
24522         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
24523         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
24524         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
24525
24526         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
24527         mention of -msched-prolog.  Document new options -msingle-pic-base
24528         and -mpic-register=.
24529
24530 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
24531
24532         * haifa-sched.c (reemit_notes): Tidy.
24533         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
24534         haifa's routine.
24535
24536 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
24537
24538         * explow.c (trunc_int_for_mode): New function.
24539         (plus_constant_wide): Use it.
24540         * combine.c (simplify_and_const_int): Likewise.
24541         (merge_outer_ops): Likewise.
24542         (simplify_shift_const): Likewise.
24543         * cse.c (simplify_unary_operation): Likewise.
24544         (simplify_binary_operation): Likewise.
24545         * emit-rtl.c (operand_subword): Likewise.
24546         * rtl.h: Declare it.
24547
24548 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24549
24550         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
24551         (use NUM_REGS instead of NUM_INTS).
24552
24553 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24554
24555         * builtins.c: New file.
24556         * expr.c (saveregs_value, apply_args_value):  Delete definition,
24557         moved into builtins.c.
24558         (string_constant): No longer static.
24559         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
24560         apply_args_size, apply_result_size, result_vector,
24561         expand_builtin_apply_args, expand_builtin_apply,
24562         expand_builtin_return): Delete functions, moved into builtins.c.
24563         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
24564         * expr.h (saveregs_value, apply_args_value): Declare variables.
24565         (expand_builtin, string_constant): Declare functions.
24566         * Makefile.in: Update to build builtin.o.
24567
24568 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
24569
24570         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
24571         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
24572         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
24573         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
24574         false.
24575         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
24576         Define to zero.
24577
24578 1999-07-21  Michael Meissner  <meissner@cygnus.com>
24579
24580         * print-rtl.c (print_rtx): Print the names of the virtual
24581         registers.
24582
24583 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
24584
24585         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
24586         introduced in previous delta.
24587
24588 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24589
24590         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
24591         to avoid name clash.
24592
24593 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24594
24595         * c-lex.c (yylex) : Correct the test for overflow when lexing
24596         integer literals.
24597
24598 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
24599
24600         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
24601         (adjust_priority): Always call ADJUST_PRIORITY.
24602         (schedule_insn): Only put insns into the ready at cost 0.
24603         (schedule_block): Remove redundant initial sort.  Give clock_var
24604         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
24605         is not 0.
24606         * tm.texi (MD_SCHED_REORDER): Update docs.
24607
24608         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
24609         * sparc.c (ultra_reorder_called_this_block): Delete.
24610         (ultrasparc_sched_init): Don't set it.
24611         (ultrasparc_sched_reorder): Don't check it.
24612
24613 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
24614
24615         * rs6000.h (struct rs6000_args): Add sysv_gregno.
24616         * rs6000.c (init_cumulative_args): Init sysv_gregno.
24617         (function_arg_boundary): Align DFmode.
24618         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
24619         to get fp reg and stack overflow correct.
24620         (function_arg): Likewise.
24621         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
24622         (setup_incoming_varargs): Restructure for ABI_V4; use
24623         function_arg_advance to skip final named argument.
24624         (expand_builtin_saveregs): Properly unskip the last integer arg
24625         when doing varargs.  Adjust overflow location calculation.
24626
24627         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
24628         explicitly unsigned.
24629         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
24630         (__VA_GP_REGSAVE): Similarly.
24631         (__va_longlong_p): Delete.
24632         (__va_arg_type_violation): New declaration.
24633         (va_arg): Restructure.  Flag promotion errors.  Align double.
24634         TFmode passed by reference.
24635
24636         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
24637         in the HOST_BITS_PER_WIDE_INT > 32 case.
24638
24639 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
24640
24641         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
24642
24643 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
24644
24645         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
24646         * toplev.c (documented_lang_options): Add -fpreprocessed.
24647         * cpplib.h (struct cpp_buffer): Add preprocessed.
24648         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
24649         (cpp_start_read): Don't expand macros or emit an initial #line
24650         directive if -fpreprocessed.
24651
24652 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
24653
24654         * cpplib.h (struct cpp_buffer): Added manual_pop for
24655         better C++ tokenization.
24656         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
24657         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
24658         * c-common.c (cpp_token): Make non-static.
24659
24660 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24661
24662         * c-common.h: New file.
24663         * c-common.c (permanent_obstack): Delete unused declaration.
24664         (c_global_trees): New array.
24665         (c_common_nodes_and_builtins): New function; split off common code
24666         from init_decl_processing in both c-decl.c and cp/decl.c.
24667         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
24668         c_global_trees and accessor macros defined in c-common.h.
24669         Include c-common.h.
24670         * c-decl.c: Delete definitions for tree nodes that were replaced by
24671         c_global_trees.
24672         (init_decl_processing): Build void_list_node.
24673         Call c_common_nodes_and_builtins; delete code to generate the common
24674         builtins here.
24675         * objc/objc-act.c (build_module_descriptor): Rename variable
24676         void_list_node to avoid clash with c-common.h.
24677
24678         * Makefile.in: Update dependencies.
24679         * objc/Make-lang.in: Likewise.
24680
24681 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
24682
24683         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
24684         (UNIQUE_SECTION_P): Likewise.
24685         (UNIQUE_SECTION): Likewise.
24686
24687 1999-07-19  Linas Vepstas  <linas@linas.org>
24688
24689         * config/i370/README: New file.
24690         * config/i370/linux.h: New file.
24691         * config/i370/mvs.h: New file.
24692         * config/i370/oe.h: New file.
24693         * config/i370/t-linux: New file.
24694         * config/i370/t-mvs: New file.
24695         * config/i370/t-oe: New file.
24696         * config/i370/x-oe: New file.
24697         * config/i370/xm-linux.h: New file.
24698         * config/i370/xm-mvs.h: New file.
24699         * config/i370/xm-oe.h: New file.
24700
24701         * i370.c (label_node_t): Add first_ref_page, label_addr,
24702         label_first_ref, label_last_ref members.
24703         (mvs_need_base_reload): Renamed from mvs_label_emitted.
24704         (MAX_MVS_LABEL_SIZE): Define.
24705         (MAX_LONG_LABEL_SIZE): Define.
24706         (alias_node_t, alias_anchor, alias_number): New.
24707         (mvs_function_table): Reorder for EBCDIC.
24708         (ascebc, ebcasc): Unconditionally define.
24709         (i370_branch_dest, i370_branch_length): New functions.
24710         (i370_short_branch, i370_label_scan): New functions.
24711         (mvs_get_label): Renamed from mvs_add_label.  Search for
24712         an existing label before creating a new one.
24713         (mvs_add_label): New function.
24714         (mvs_get_label_page): New function.
24715         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
24716         over the entire list.
24717         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
24718         (mvs_check_page) [TARGET_ELF_ABI]: New function.
24719         (mvs_add_alias, mvs_need_alias): New functions.
24720         (mvs_get_alias, mvs_check_alias): New functions.
24721         (handle_pragma): New function.
24722         (mvs_function_check): New function.
24723         (unsigned_jump_follows_p): Search harder.
24724         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
24725         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
24726         * i370.h (TARGET_VERSION): Delete.
24727         (CPP_SPEC, CPP_PREDEFINES): Delete.
24728         (mvs_label_emitted): Delete.
24729         (TARGET_EBCDIC): Delete.
24730         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
24731         (HANDLE_PRAGMA): Define.
24732         (HARD_REGNO_NREGS): Handle complex modes.
24733         (HARD_REGNO_MODE_OK): Likewise.
24734         (CLASS_MAX_NREGS): Likewise.
24735         (RET_REG): Likewise.
24736         (EXTRA_CONSTRAINT): Define.
24737         (RETURN_IN_MEMORY): True for DImode.
24738         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
24739         (FUNCTION_PROFILER): Delete.
24740         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
24741         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
24742         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
24743         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
24744         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
24745         (ASM_FILE_START): Add "RMODE ANY".
24746         (ASM_OUTPUT_EXTERNAL): Check for aliases.
24747         (ASM_GLOBALIZE_LABEL): Likewise.
24748         (ASM_OUTPUT_LABELREF): Likewise.
24749         (ASM_OUTPUT_COMMON): Likewise.
24750         (PRINT_OPERAND): Handle 'K', 'W', default.
24751         (PRINT_OPERAND_ADDRESS): New.
24752         (Lots of defines): Add support for TARGET_ELF_ABI.
24753         * i370.md (attr length): New.  Define for all patterns.
24754         (*): Lots of tweeks to assembly output and constraints.
24755
24756 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
24757
24758         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
24759         Disable patterns performing SImode comparisons with SImode values
24760         if TARGET_POWERPC64 and instruction does not sign-extend or does
24761         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
24762         differ for signed quantities.
24763         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
24764         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
24765         (decrement_and_branch_on_count): Add 64-bit variant.
24766
24767 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24768
24769         * final.c (output_asm_insn): When searching for the matching string
24770         for a given dialect, don't run past the end of the list of
24771         alternatives if there are fewer alternatives in the template than
24772         dialects.
24773
24774 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
24775
24776         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
24777         Removed paragraph about compression of files and size limitation,
24778         duplicated in the FAQ.  Use gcc-patches for posting patches.
24779         * gcc.c (main): Updated URL with bug reporting instructions to
24780         gcc.gnu.org.  Removed e-mail address.
24781         * system.h (abort): Likewise.
24782
24783 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24784
24785         * Makefile.in (stmp-multilib-sub): Make the files extracted
24786         from $(LIBGCC1) writable.
24787
24788 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
24789
24790         * config/arm/aout.h: Reformat for improved readability.
24791
24792         * config/arm/arm.h: Reformat for improved readability.
24793         Replace uses of fprintf with asm_fprintf where appropriate.
24794         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
24795         function declaration assembler actions.
24796         (NUM_INTS): New macro: Convert from bytes to words.
24797         (NUM_REGS): New macro: Compute number of registers required to
24798         hold a quanitity of tyep MODE.
24799         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
24800         types.
24801         (NUM_ARG_REGS): New macro: The number of argument registers
24802         available.
24803         (ARG_REGISTER): New macro: Compute the register number of the Nth
24804         argument register.
24805         (LAST_ARG_REGNUM): New macro: The number of the last argument
24806         register.
24807         (SP_REGNUM): New macro: Register number of the stack pointer.
24808         (FP_REGNUM): New macro: Register number of the frame pointer.
24809         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
24810         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
24811         CUMULATIVE_ARGS so that it counts registers not bytes.
24812
24813         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
24814         TARGET_INTERWORK.
24815         Replace uses of fprintf with asm_fprintf where appropriate.
24816         (output_ascii_pseudo_op): Replace with version from thumb.c
24817
24818         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
24819
24820         * config/arm/elf.h (CPP_PREDEFINES): Replace with
24821         SUBTARGET_CPP_SPEC.
24822         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
24823         (ASM_FILE_START): Emit ASM_APP_OFF.
24824
24825 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
24826
24827         * pa.c (compute_frame_size): Round frame according to
24828         STACK_BOUNDARY rather than a hardwired value.
24829
24830         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
24831
24832         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
24833         of "1".
24834         * configure: Rebuilt.
24835
24836         * configure.in (hppa*-*-linux*): New configuration.
24837         * configure: Rebuilt.
24838         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
24839         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
24840         * pa/pa-linux.h: New file.
24841         * pa/t-linux: New file.
24842         * pa/xm-linux.h: New file.
24843
24844         * pa.c (hppa_legitimize_address): Change references from SImode to
24845         either Pmode or word_mode as appropriate.
24846         (emit_move_sequence, store_reg, load_reg): Likewise.
24847         (set_reg_plus_d, hppa_expand_prologue): Likewise.
24848         (output_mul_insn): Likewise.
24849         * pa.h (PROMOTE_MODE): Likewise.
24850         (INITIALZE_TRAMPOLINE): Likewise.
24851         (Pmode): Define to word_mode.
24852
24853         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
24854         value of 4.  Allocate 8 bytes for each FP register save.
24855         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
24856         value of 4.
24857         (hppa_expand_prologue): Likewise.
24858         * pa.h (PROMOTE_MODE): Likewise.
24859         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
24860         (FUNCTION_ARG_BOUNDARY): Likewise.
24861
24862         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
24863
24864         * pa.c (out_of_line_prologue_epilogue): Delete.
24865         (override_options): Remove -mspace related code.
24866         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
24867         (compute_frame_size): Only allocate space for register that
24868         actually need to be saved.
24869         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
24870         (TARGET_SWITCHES): Remove -mspace, -mno-space
24871         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
24872         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
24873         * pa/ee.asm, pa/ee_fp.asm: Delete.
24874
24875         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
24876
24877         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
24878         directive in column zero.
24879
24880 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
24881
24882         * m68k.c (output_function_prologue): Fix computation of save mask
24883         when generating PIC code.
24884
24885 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
24886
24887         * tree.c (build_type_attribute_variant): Move current_obstack restore
24888         after build_qualified_type call.
24889
24890 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
24891
24892         * configure.in: Use t-iris6, even with GNU LD.
24893         * config/mips/iris6gld.h: Fix typo in linker spec.
24894         * config/mips/t-iris6gld: Remove.
24895
24896 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
24897
24898         * rs6000.md (insv, extzv): Remove SImode dependence in named
24899         patterns.  Explicitly generate DImode RTL if PowerPC64 and
24900         operand is DImode.
24901         (insvdi): Reverse start and size in instruction template.
24902
24903 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
24904
24905         * invoke.texi: Typo fixes.
24906
24907 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
24908
24909         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
24910         handle at this time instead of silently generating incorrect code.
24911         (gen_imagpart): Likewise.
24912
24913         * reload.c (find_reloads): Emit a USE for a pseudo register without
24914         a hard register if we could not create an optional reload for the
24915         pseudo.
24916
24917 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24918
24919         * c-typeck.c (output_init_element, process_init_element):
24920         When advancing constructor_unfilled_fields for a RECORD_TYPE,
24921         check for nameless bit fields.
24922
24923 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
24924
24925         * regclass.c (scan_one_insn): Notice subregs that change the
24926         size of their operand.
24927         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
24928
24929 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
24930
24931         * configure.in (alpha*-*-*): Include alpha/t-ieee.
24932         * configure: Rebuilt.
24933         * alpha/t-ieee: New file.
24934
24935 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
24936
24937         * rs6000.c (find_addr_reg): Do not select r0 as an address
24938         register.
24939
24940 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
24941
24942         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
24943
24944 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
24945
24946         * rs6000.md (movsf): Do not force easy FP constants into memory.
24947
24948         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
24949         immed_double_const to ensure they are properly truncated then
24950         sign extended.
24951
24952 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
24953
24954         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
24955         always unless NO_DEBUG is used.  Compile this code
24956         unconditionally.
24957         (replace_symbols_in_block): Compile it unconditionally.
24958
24959 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
24960
24961         * configure.in (i?86-*-elf*): New target.
24962         * configure: Rebuilt.
24963         * i386/i386elf.h, i386/t-i386elf: New files.
24964
24965 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
24966
24967         * toplev.c (main): Don't complain about saying -gdwarf.
24968         (rest_of_compilation): Remove redundant code.
24969
24970 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
24971
24972         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
24973
24974 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
24975
24976         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
24977         "Li960R:", to avoid name clash.
24978
24979 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24980
24981         * loop.c (check_dbra_loop): When reversing a loop, delete all
24982         REG_EQUAL notes referencing the reversed biv except those which are
24983         for a giv based on it.
24984
24985 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
24986
24987         * version.c: Drop "gcc-" prefix from version #.
24988
24989 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
24990
24991         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
24992         the label if we're being verbose.
24993
24994 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
24995
24996         * m68k.c (output_function_prologue): Add pic register to mask
24997         if live and flag_pic.
24998         (output_function_epilogue): Likewise.
24999
25000 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
25001
25002         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
25003         directives in column zero.
25004
25005         * pa/elf.h (ASM_FILE_START): Define.
25006         * pa/som.h (ASM_FILE_START): Include .level directives.
25007         * pa/hpux10.h (ASM_FILE_START): Delete.
25008         * pa/hpux11.h (ASM_FILE_START): Delete.
25009
25010         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
25011
25012 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25013
25014         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
25015         when reload_out equals reload_in.
25016
25017 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
25018
25019         * invoke.texi (Spec Files): New node: Describe the contents of
25020         spec files.
25021
25022 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
25023
25024         * invoke.texi (DEC Alpha Options): Put @end table at
25025         beginning of line, to avoid confusing texi2html.
25026
25027 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
25028
25029         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
25030         introduced in previous delta.
25031
25032 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25033
25034         * reload1.c (gen_reload): When synthesizing a 3 operand add
25035         sequence, improve test for when to reload OP1 into the reload
25036         register instead of OP0.
25037
25038 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
25039
25040         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
25041
25042 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
25043
25044         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
25045         string literal.
25046
25047 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
25048
25049         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
25050         (va_dcl): Use __builtin_va_alist_t.
25051
25052 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
25053
25054         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
25055         on the permanent_obstack.
25056         * dwarfout.c (output_type): Likewise.
25057
25058 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25059
25060         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25061         Merged from c-typeck.c and cp/typeck.c.
25062         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25063         Merged into c-common.
25064
25065 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
25066
25067         * c-lex.c (errorcount): Declare it.
25068         (finish_parse): Update errorcount when using CPPLIB.
25069
25070 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
25071
25072         * fixinc/inclhack.def(end_else_label): Double the backslash so
25073         sed gets a chance to see it.
25074         * fixinc/inclhack.sh: regen
25075         * fixinc/fixincl.x: regen
25076
25077 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
25078
25079         Add framework to support armv5 architecture when it becomes
25080         available:
25081
25082         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
25083         (arm_arch5): New variable.
25084         (all_architectures): Add armv5 line.
25085         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
25086         -march=armv5 is specified on the command line.
25087         (arm_arch5): Export this variable.
25088         * invoke.texi: Document new string accepted by -march= switch for
25089         ARM ports.
25090
25091         * config/arm/arm.h: Replace use of constant 12 as a register
25092         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
25093         * config/arm/arm.c: Replace use of constant 12 as a register
25094         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
25095
25096         * config/arm/elf.h: Tidy up.
25097         * config/arm/coff.h: Tidy up.
25098
25099 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
25100
25101         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
25102         * gcc/config/mips/t-iris6gld: New file.
25103         * gcc/config/mips/iris6gld.h: Likewise.
25104
25105 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25106
25107         * c-decl.c (widest_integer_literal_type_node,
25108         widest_unsigned_literal_type) : New.
25109         (init_decl_processing): Handle/use the two new types.
25110         * c-common.c (type_for_size,type_for_mode) : Same.
25111         * c-lex.c (yylex) : Same.
25112         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25113         Same.
25114         * c-tree.h (widest_integer_literal_type_node,
25115         widest_unsigned_literal_type) : New.
25116
25117 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
25118
25119         * dwarfout.c (field_byte_offset): Correctly compute the object's
25120         byte offset for the first bit of a field which crosses an alignment
25121         boundary on a !BYTES_BIG_ENDIAN target.
25122
25123 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
25124
25125         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
25126         ntohs.
25127
25128 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
25129                           Jeff Law <law@cygnus.com>
25130
25131         * ginclude/varargs.h (va_dcl): Use word_mode for type of
25132         __builtin_va_list.
25133
25134         * except.c: Include intl.h.
25135         (expand_eh_return): Set current_function_cannot_inline.
25136         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
25137         * function.h (struct function): Add eh_return_stub_label.
25138         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
25139         * Makefile.in (except.o): Depend on intl.h.
25140
25141 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
25142
25143         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
25144         same as offsettable in cases 1 and 2.
25145
25146 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
25147
25148         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
25149         (extlh, extwh): Likewise.
25150
25151 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25152
25153         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
25154
25155 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
25156
25157         * configure.in: Add arm-pe and thumb-pe targets.
25158         * configure: Regenerate.
25159
25160         * thumb.c (arm_naked_function_p): New function: Determines if
25161         a function is naked (has no gcc generated prologue/epilogue).
25162         (is_called_in_ARM_mode): Return true if the func has the
25163         interfacearm attribute.
25164         (output_return): Do not generate a return for naked functions.
25165         (thumb_function_prologue): Do not generate a prologue for
25166         naked functions.
25167         (thumb_expand_prologue): Do not generate a prologue for naked
25168         functions.
25169         (thumb_expand_epilogue): Do not generate an epilogue for naked
25170         functions.
25171         (arm_valid_machine_decl_attribute): New function, copied from
25172         arm.c:  Permit naked and interfacearm attributes.
25173
25174         * config/arm/pe.c: New file: Support code for arm-pe target.
25175         * config/arm/pe.h: New file: Header file for arm-pe target.
25176         * config/arm/tpe.h: New file: Header file for thumb-pe target.
25177         * config/arm/t-thumb-pe: New file: Makefile fragment for
25178         thumb-pe target.
25179
25180 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
25181
25182         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
25183         -fPIC or -fpic is specified.
25184
25185 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
25186
25187         * expr.c (emit_block_move): Use copy_to_mode_reg for
25188         !TARGET_MEM_FUNCTIONS case too.
25189
25190         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
25191         appropriate.
25192         * configure: Rebuilt.
25193         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
25194         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
25195         definitions made redundant by dbxelf.h inclusion.  Delete
25196         lots of definitions related to assembly output that are
25197         specific to the SOM object format.
25198         * pa.c (output_function_prologue): Do not emit the function's
25199         name for OBJ_ELF.
25200         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
25201         * pa-pro.h: Deleted.
25202         * som.h: New file with SOM specific definitions.
25203         * elf.h: New file with ELF specific definitions.
25204
25205         * elfos.h (const_section): Output a tab before assembler directives.
25206         (ctors_section, dtors_section): Likewise.
25207         (ASM_OUTPUT_SECTION_NAME): Likewise.
25208
25209         * pa/pa1.h: Delete unused file.
25210
25211 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
25212
25213         * configure.in (hppa*-hp-hpux11*): New configuration.
25214         * configure: Rebuilt.
25215         * pa/pa-hpux11.h: New file.
25216         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
25217         command line.
25218
25219         * mips.md (leasi, leadi): New patterns.
25220
25221         * expr.c (emit_block_move): Properly handle case where one of the
25222         block move arguments has a queued increment or decrement.
25223         (clear_storage): Similarly.  Fix formatting goof.
25224
25225 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
25226
25227         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
25228         semicolon from the BSD VA_LIST replacement expression.
25229
25230         * fixinc/inclhack.sh: regen
25231         * fixinc/fixincl.x: regen
25232
25233         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
25234         now use the fixincl program.
25235
25236 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
25237
25238         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
25239         case.  Also make the PIC register call_used.
25240
25241         * m68k.h (FINALIZE_PIC): Delete.
25242         * m68k.c (finalize_pic): Delete.
25243
25244 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
25245
25246         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
25247         to memory.
25248
25249 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
25250
25251         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
25252
25253 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
25254
25255         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
25256
25257 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
25258
25259         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
25260
25261 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
25262
25263         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
25264
25265 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
25266
25267         * rs6000.c (output_toc): Always use hex values for floating-point
25268         constants.  Store single-precision values in upper-half of TOC
25269         entry in 64-bit mode.
25270         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
25271         to final constraints.
25272         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
25273         (fctiwz): Improve accuracy of RTL for pattern.
25274
25275 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25276
25277         * expr.c (expand_expr): Allow RTL_EXPR's through the
25278         MAX_INTEGER_COMPUTATION_MODE checks.
25279
25280 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
25281
25282         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
25283         such that MASK_SUPPORT_ARCH is not negative.
25284
25285 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
25286
25287         * loop.c (verify_dominator): Properly handle ADDR_VEC and
25288         ADDR_DIFF_VEC insns that appear inside loops.
25289
25290 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
25291                           Jeff Law <law@cygnus.com>
25292
25293         * rs6000.md (movdf_hardfloat32): Revert previous patch.
25294         Handle LO_SUM the same as offsettable in cases 1 and 2.
25295         * rs6000.c (find_addr_reg): Revert previous patch.
25296
25297 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
25298
25299         * system.h (strstr): New external function declaration.
25300         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
25301         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
25302         * config.in, configure: Rebuilt.
25303
25304 1999-06-24  Tom Tromey  <tromey@cygnus.com>
25305
25306         * gcc.c (main): Read user-specified specs files after computing
25307         additional startfile_prefixes.
25308
25309 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
25310
25311         Revert these two patches:
25312
25313         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25314         * loop.c (strength_reduce): When doing biv->giv conversion, update
25315         reg note of NEXT->insn.
25316
25317         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25318         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25319         reg_biv_class.
25320         (recombine_givs): Set ix field after sorting.
25321
25322 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25323
25324         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
25325         for the parts of an UNSPEC / UNSPEC_VOLATILE.
25326
25327 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
25328
25329         *fixinc/inclhack.def:  Add fix development commentary
25330         (read_ret_type): reactivate and add selection clause
25331         (zzz_*): tweak output file name to match what is used in hackshell.tpl
25332         *fixinc/{fixincl.x|inclhack.sh}: regen
25333
25334 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
25335
25336         * expr.c (expand_expr): STRIP_NOPS before checking against
25337         MAX_INTEGER_COMPUTATION_MODE
25338         (check_max_integer_computation_mode): Likewise.
25339
25340 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
25341
25342         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
25343
25344 1999-06-22  Jim Wilson  <wilson@cygnus.com>
25345
25346         * expr.c (store_expr): When target is a promoted subreg, return a
25347         promoted subreg as a result.
25348
25349 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
25350
25351         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
25352         coding standards.
25353         (dwarf2out_define): Mark unused parameters appropriately.
25354         (gen_unspecified_parameters_die): Ditto.
25355         (gen_subprogram_die): Fix signed/unsigned warnings.
25356         (gen_variable_die): Ditto.
25357
25358 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
25359
25360         * fixinc/inclhack.def(end_else_label): combined else_label
25361         and endif_label and fixed the sed expression.
25362         *fixinc/{fixincl.x|inclhack.sh}: regen
25363
25364 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
25365
25366         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
25367         'x' when handling non-offsettable addresses
25368
25369 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
25370
25371         * final.c (shorten_branches): Don't try to split an insn that has
25372         been deleted.
25373
25374 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
25375
25376         * config/mips/mips.c (symbolic_expression_p): New function.
25377         (mips_select_rtx_section): Put symbolic expressions in the
25378         data section, not the read-only data section.
25379
25380 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
25381
25382         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
25383
25384 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
25385
25386         * collect2.c (main): Log frame table count.
25387         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
25388         (scan_prog_file) [COFF]: Handle frame tables.
25389
25390         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
25391         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
25392         * alpha/elf.h: Undef them again.
25393         * alpha/vms.h: Remove their definitions.
25394
25395 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25396
25397         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
25398         remove the clobber of r0 and change the REG_UNUSED note to
25399         REG_INC.
25400
25401 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
25402
25403         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
25404         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
25405         fits in HOST_WIDE_INT and one uses union to access a long constant
25406         as double.
25407
25408 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
25409
25410         * sparc.c (sparc_override_options): Don't allow profiling for
25411         code models other than medlow.
25412         (sparc_function_profiler): New function from old FUNCTION_PROFILER
25413         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
25414         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
25415         (sparc_block_profiler): Likewise.
25416         (sparc_function_block_profiler_exit): Likewise.
25417         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
25418         (FUNCTION_BLOCK_PROFILER): Likewise.
25419         (BLOCK_PROFILER): Likewise.
25420         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
25421         (MCOUNT_FUNCTION): New.
25422         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
25423         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
25424         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
25425         (MCOUNT_FUNCTION): New.
25426         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
25427         (BLOCK_PROFILER): Delete.
25428         (MCOUNT_FUNCTION): New.
25429
25430 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
25431
25432         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
25433
25434 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
25435
25436         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25437         Add the macros.
25438
25439         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25440         Ditto.
25441
25442         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25443         Ditto.
25444
25445         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25446         Ditto.
25447
25448 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
25449
25450         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
25451         types.
25452
25453 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
25454
25455         * i386/djgpp.h (LIB_SPEC): New.
25456         (STARTFILE_SPEC): New.
25457
25458         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
25459
25460 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
25461
25462         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
25463         compiler flags.
25464
25465         * system.h (WSTOPSIG): New macro.
25466
25467 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
25468
25469         * c-pragma.c (push_alignment): Don't ignore alignments greater than
25470         4 bytes.
25471         (insert_pack_attributes): Take into account member natural
25472         alignment.
25473
25474         * i386/winnt.c (exports_head): New static variable.
25475         (i386_pe_record_exported_symbol): New function.
25476         (i386_pe_asm_file_end): Use.
25477         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
25478         symbols to be emitted at end of assembly.
25479         (ASM_DECLARE_OBJECT_NAME): Likewise.
25480         (ASM_DECLARE_FUNCTION_NAME): Likewise.
25481
25482         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
25483         -iwithprefix.
25484
25485 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
25486
25487         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
25488         in last change.
25489
25490 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
25491
25492         * haifa-sched.c (sched_analyze_1): Use free_list instead of
25493         zapping reg_last_uses directly.
25494         (sched_analyze_2, sched_analyze_insn): Likewise.
25495         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
25496
25497 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
25498
25499         * rs6000.md (movdf_hardfloat32): Use worst case insn length
25500         attributes for cases 1 and 2.
25501
25502 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
25503
25504         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
25505         instead of set.
25506
25507 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
25508
25509         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
25510
25511 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
25512
25513         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
25514         PIC_OFFSET_TABLE_REGNUM for general alloaction.
25515         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
25516         must be stacked if it is used for PIC accesses.
25517         * arm.c (use_return_insn): Handle PIC register specially.
25518         (output_return_instruction): Likewise.
25519         (output_func_{prologue,epilogue}): Likewise.
25520         (output_expand_prologue): Likewise.
25521
25522         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
25523         (*strsi_predec): Renamed from *strqi_predec.
25524         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
25525         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
25526
25527         * arm.c (arm_override_options): Remove warning about PIC code
25528         not being supported.
25529
25530 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
25531
25532         * rs6000.c (find_addr_reg): New function.
25533         * rs6000.h (find_addr_reg): Declare.
25534         (offsettable_addr_operand): Delete.
25535         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
25536         from and stores to GPRs.
25537
25538 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
25539
25540         * alpha.c (alpha_expand_block_move): Use get_insns rather than
25541         gen_sequence as argument to emit_no_conflict_block.
25542
25543 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25544
25545         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
25546         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
25547         *fixinc/fixincl.x: regen
25548         *fixinc/inclhack.sh: regen
25549
25550 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
25551
25552         * added support for -mpcrel (PC relative addressing for m68k)
25553         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
25554         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
25555         * m68k.c (print_operand_address): Handle 32-bit PIC case.
25556         (comments for general_src_operand): Add some explanation
25557         about EXTRA_CONSTRAINTS.
25558         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
25559         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
25560         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
25561         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
25562         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
25563         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
25564         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
25565         if not already set.
25566         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
25567         * m68k.h (TARGET_PCREL): New target flag.
25568         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
25569         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
25570         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
25571         contains a SYMBOL_REF.  Relax this constraint during reload, since
25572         we want to use the predicates, not reload's built-in concept of a
25573         valid memory address, to control what insns need reloading.
25574         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
25575         operands (essentially 'g', 'm', and 's' under normal circumstances).
25576         * m68k.c (print_operand): Cause printing of pc-relative addresses
25577         to include pc register.
25578         (print_operand_address): Ditto.
25579         (general_src_operand): Accept operands that are not only
25580         general_operands, but are also valid when used as a pc-relative
25581         source.
25582         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
25583         (memory_src_operand): Similar, for memory_operands.
25584         (pcrel_address): New predicate to accept the special case of a
25585         pc-relative address.
25586         * m68k.md (many patterns): Rewrite common SImode, HImode, and
25587         QImode insns to accept *_src_operand instead of *_operand where
25588         pc-relative operands can fit.  For example, a pc-relative operand
25589         can be used as a memory source operand for addsi3, but not as a
25590         memory destination.
25591         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
25592
25593 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
25594
25595         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
25596         .thumb_set pseudo op to mark aliases of thumb functions.
25597
25598 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
25599
25600         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
25601         preference to ASM_OUTPUT_DEF, if it is defined.
25602
25603         * tm.texi: Document new, optional target macro
25604         ASM_OUTPUT_DEF_FROM_DECLS.
25605
25606 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25607
25608         * fixincludes: ISCNTL patch
25609         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
25610         (dgux_int_varargs): new for DG/UX
25611         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
25612
25613 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
25614
25615         * invoke.texi (ia32 options): Fix typo.
25616
25617 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25618
25619         * loop.c (strength_reduce): When doing biv->giv conversion, update
25620         reg note of NEXT->insn.
25621
25622 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
25623
25624         * loop.c (move_movables): Note issues with replacing REGs with
25625         SUBREGs.
25626         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
25627
25628 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
25629
25630         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
25631
25632         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
25633         the reference to `mcount' was not correct for the ELF on FreeBSD.
25634
25635 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25636
25637         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25638         reg_biv_class.
25639
25640         (recombine_givs): Set ix field after sorting.
25641
25642 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
25643
25644         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
25645         to safe to extract a subword out of a REG.
25646
25647 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25648
25649         * sh.md (mulsi3): Don't add a no-op move at the end.
25650
25651 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25652
25653         * cse.c (cse_insn): Don't put hard register source into tables for
25654         the last insn of a libcall.
25655
25656 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25657
25658         * loop.c (strength_reduce): Insert sets of derived givs at every
25659         biv increment, even if it's the only one.
25660
25661 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
25662
25663         * dwarfout.c (add_incomplete_type): New fn.
25664         (output_type): Call it.
25665         (retry_incomplete_types): New fn.
25666         (dwarfout_finish): Call it.
25667
25668         From Eric Raskin <ehr@listworks.com>:
25669         (output_type): Output types for bases.
25670
25671 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
25672
25673         * mips.c (mips_output_conditional_branch): Add `break'
25674         between `default' label and `close braces'.
25675
25676 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
25677
25678         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
25679         specifications and make it realistic.
25680         (LIB_SPEC): Likewise.
25681
25682 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
25683
25684         * config/mips/mips.c (mips_secondary_reload_class): Check for
25685         (PLUS (SP) (REG)) and return appropriate register class.
25686         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
25687         Handle (PLUS (SP) (REG)).
25688         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
25689         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
25690         of emit_insn for tablejump.
25691
25692 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
25693
25694         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
25695         asm_fprintf format string by itself.
25696         (output_function_profiler): Likewise.
25697
25698 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
25699
25700         * combine.c (simplify_logical, case AND): Only call
25701         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
25702         or the constant is positive.
25703
25704 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
25705
25706         * configure.in: Fix typo in rs6000-ibm-aix4 case.
25707         * configure: Regenerate.
25708
25709 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
25710
25711         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
25712         require a sub-version #.
25713         * configure: Rebuilt.
25714
25715 1999-06-14  Robert Lipe  (robertlipe@usa.net)
25716
25717         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
25718
25719 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
25720
25721         * c-typeck.c (process_init_element): Detect excess elements in
25722         char array initializer.
25723
25724 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
25725
25726         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
25727
25728 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
25729
25730         * invoke.texi (Option Summary): Add -fpermissive flag.
25731
25732 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
25733
25734         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
25735         that require PIC code sequences.
25736
25737 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
25738
25739         * configure.in: Add new target: thumb-elf.
25740         * configure: Regenerate.
25741         * config/arm/t-thumb-elf: New file: Makefile fragment for
25742         thumb-elf build.
25743         * config/arm/telf.h: New file: Header file for thumb-elf
25744         build.
25745
25746 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
25747
25748         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
25749         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
25750         initializers is some circumstances.
25751
25752         * fixinc/inclhack.def (endif_label): Add additional selector for
25753         more bogus stuff after #endif statements.
25754         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
25755
25756 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
25757
25758         * i386/cygwin.h (SET_ASM_OP): Define.
25759
25760 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
25761
25762         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
25763
25764 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25765
25766         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
25767         latter.
25768
25769         * sh.md (ic_invalidate_line_i): Remove second alternative.
25770
25771 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25772
25773         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
25774         test for the presence of valid prototypes.  Delete bypass expr.
25775         (ioctl_fix_ctrl): Correct the selection expression.
25776         (no_double_slash): Correct quoting rules
25777         *fixinc/fixincl.x: regen
25778         *fixinc/inclhack.sh: regen
25779
25780 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
25781
25782         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
25783
25784 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25785
25786         * rs6000.md (movsi_got_internal_mem): Delete.
25787         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
25788         (GOT_TOC_REGNUM): Delete.
25789         (PIC_OFFSET_TABLE_REGNUM): Define.
25790         (FINALIZE_PIC): Disable.
25791         * rs6000.c (rs6000_got_register): New code for fixed pic register.
25792         (rs6000_replace_regno): Delete.
25793         (rs6000_finalize_pic): Likewise.
25794         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
25795
25796 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25797
25798         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
25799         is a note; use <= for the compare; advance P while it is
25800         a NOTE.
25801
25802 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
25803
25804         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
25805         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
25806
25807         * varasm.c (remove_from_pending_weak_list): Verify t->name
25808         is non-NULL before passing it to strcmp.
25809
25810 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25811
25812         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
25813         the typed arguments are not part of a comment
25814         (ioctl_fix_ctrl): Added a purpose comment
25815         *fixinc/fixincl.x: regenerate
25816         *fixinc/inclhack.sh: regenerate
25817
25818 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
25819
25820         * invoke.texi: Add C4x invocation docs.
25821
25822 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
25823
25824         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
25825         Define new macros.
25826         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
25827         TARGET_EXPOSE_LDP.
25828         (c4x_legitimize_reload_address): New function.
25829         * config/c4x/c4x.md: Update docs.
25830
25831 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
25832
25833         * fixincludes: Avoid removing '.'.
25834         * fixinc/fixinc.svr4: Likewise.
25835         * fixinc/fixinc.winnt: Likewise.
25836         * fixinc/inclhack.tpl: Likewise.
25837         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
25838
25839 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25840
25841         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
25842         pattern.
25843         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
25844
25845 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
25846
25847         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
25848         correctly.
25849
25850 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
25851
25852         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
25853         * configure: Regenerate.
25854
25855 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
25856
25857         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
25858         values.
25859
25860 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
25861
25862         * fixinc/inclhack.def (avoid_bool): Also catch
25863         "typedef [unsigned] int bool".
25864         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
25865
25866         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
25867         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
25868         * configure: Rebuilt.
25869
25870 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
25871
25872         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
25873         such that we can override its definitions if necessary.
25874         (CPP_SPEC): New define.  Support processor specific predefines via
25875         %(cpp_cpu).
25876         (CC1_SPEC): New define.  Support processor specific compiler
25877         options via %(cc1_cpu).
25878         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
25879         -static.
25880
25881 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25882
25883         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
25884         between sed's -e flag, and the open-quote following it.
25885         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
25886
25887 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
25888                           Jeffrey A Law  (law@cygnus.com)
25889
25890         * varasm.c (assemble_start_function): Remove the function
25891         from the pending weak decls list when we define a function.
25892         (assemble_variable): Similarly for variables.
25893         (weak_finish): Ignore items on the list with a NULL name.
25894         (remove_from_ending_weak_list); New function to "remove" an item
25895         from the pending weak declarations list.
25896
25897 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
25898
25899         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
25900
25901 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
25902
25903         * c-lex.c (GETC): Redefine to call getch.
25904         (UNGETC): Redefine to call put_back.
25905         (putback_buffer): New structure type.
25906         (putback): New static structure.
25907         (getch): New function.
25908         (put_back): New function.
25909         (yylex): Replace unused bytes from bad multibyte character.
25910
25911 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
25912
25913         * cpplib.c (do_define): Cast `alloca' return value.
25914         (do_include, do_undef, do_pragma): Likewise.
25915         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
25916         values.
25917         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
25918         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
25919
25920 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
25921
25922         * sparc.md (abstf2): This should be an expand.
25923         (split after abstf2_notv9): Fix mode.
25924         (abstf2_hq_v9): New pattern.
25925         (abstf2_v9): Only use when no hard quad.
25926         (absdf2_v9): Fix if target is not the same as source.
25927         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
25928         Add correct output constraints.
25929
25930 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
25931
25932         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
25933         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
25934
25935 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
25936
25937         * mips.h (mips_output_conditional_branch): New function.
25938         (mips_adjust_insn_length): Likewise.
25939         (ASSEMBLER_SCRATCH_REGNUM): New macro.
25940         (ADJUST_INSN_LENGTH): Likewise.
25941         * mips.c (print_operand): Add `F' and `W' for floating-point
25942         comparison opcodes.
25943         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
25944         are now in bytes.
25945         (mips_adjust_insn_length): New function.
25946         (mips_output_conditional_branch): New function.
25947         * mips.md (length): Adjust attribute definition to handle
25948         conditional branches.  Change lengths to bytes, rather than
25949         instructions throughout.  Remove length attribute from
25950         instructions whose length is four bytes, and rely on the default
25951         instead.
25952         (dslot): Fix typo in comment.
25953         Reword conditional branch patterns to use
25954         mips_output_conditional_branch.
25955
25956 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
25957
25958         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
25959         (LIB_SPEC): Likewise.
25960         Link with -lprof1_r for -g/-pg.
25961
25962 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
25963
25964         * loop.c (check_dbra_loop): Fix change of Jan 19.
25965
25966 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
25967
25968         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
25969         (STARTFILE_SPEC):  Define, override the svr4.h version.
25970         (ENDFILE_SPEC):  Likewise.
25971
25972 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
25973
25974         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
25975         * fixinc/fixincl.x: Regenerated.
25976         * fixinc/inclhack.sh: Regenerated.
25977
25978 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25979
25980         * sh.c (barrier_align): Don't return early for normal branch/barrier
25981         when optimizing for SH2.
25982
25983 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
25984
25985         * i386/udk.h (LINK_SPEC): Correct linker search path for
25986         system libraries.
25987
25988 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25989
25990         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
25991         (braf_label_ref_operand): Delete.
25992         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
25993         * sh.md (casesi_jump_2): Operand1 is now the inside of a
25994         label_ref, and has no predicate.
25995         The patten has a predicate to guard against invalid substitutions.
25996         (dummy_jump): Delete.
25997         (casesi): Update use of casesi_jump_2.
25998
25999 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26000
26001         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
26002         *fixinc/fixincl.x: regenerate
26003         *fixinc/inclhack.sh: regenerate
26004
26005 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
26006
26007         * dwarf2out.c (add_incomplete_type): New fn.
26008         (gen_struct_or_union_type_die): Call it.
26009         (retry_incomplete_types): New fn.
26010         (dwarf2out_finish): Call it.
26011
26012 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
26013
26014         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
26015         current block starts with a CODE_LABEL and ends with a CALL and
26016         we can not find all the argument setup instructions for the CALL.
26017
26018 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
26019
26020         Revert this change:
26021         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
26022         something is a candidate for optimize_bit_field_compare.
26023
26024 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26025
26026         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
26027
26028 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
26029
26030         * alpha.c (override_options): Thinko in last patch.
26031
26032         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
26033         (LIB_SPEC): Recognize -pthread.
26034
26035 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
26036
26037         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
26038         definition in config/arm/coff.h
26039         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
26040
26041 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26042
26043         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
26044         fixes that need "file=xxx\n" prepended before invocation
26045         (start_fixer - new): starting the fixer process is complex enough
26046         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
26047         (process): uses the new routine; omit usage of putenv()
26048         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
26049         * fixinc/fixincl.x: regenerate
26050
26051 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
26052
26053         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
26054         and version #s (1.1 -> 2.96) as needed.
26055         * README.g77: Kill way out of date file in the toplevel directory.
26056
26057 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
26058
26059         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
26060         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
26061         * configure: Rebuilt.
26062         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
26063         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
26064         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
26065         (SWITCH_TAKES_ARG): Likewise.
26066         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
26067         * config/t-freebsd: Moved from config/i386/ so it can used for all
26068         FreeBSD targets.
26069
26070 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
26071
26072         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
26073
26074 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
26075
26076         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
26077         * configure: Rebuilt.
26078
26079 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
26080
26081         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
26082         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
26083         * rs6000/rs6000.c (rs6000_file_start): Use putc.
26084         (rs6000_output_load_toc_table): Same.
26085         (output_prolog, output_mi_thunk): Same.
26086         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
26087         (ASM_GLOBALIZE_LABEL): Use putc.
26088
26089 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
26090
26091         * alpha.md (reload_*_help): New patterns and splitters.
26092         (reload_*): Use them.
26093         (mov[qh]i): Likewise.
26094
26095 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
26096
26097         * cccp.c (handle_directive): Handle backslash-newlines in quoted
26098         strings correctly.
26099
26100 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
26101
26102         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
26103
26104 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
26105
26106         * flow.c (mark_regs_live_at_end, insn_dead_p,
26107         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
26108         and HARD_FRAME_POINTER_REGNUM special treatment if reload
26109         hasn't run or the frame pointer is needed.
26110         * haifa-sched.c (attach_deaths): Likewise.
26111         * sched.c (attach_deaths): Likewise.
26112
26113 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
26114
26115         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
26116         calculate_can_reach_end returns nonzero.
26117
26118         * configure.in (native gas tests): Search for an assembler in the
26119         same manner that the installed compiler will.
26120         * configure: Rebuilt.
26121         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
26122
26123         * alias.c (find_base_term): Improve handling of addresses
26124         constructed from binary operations.
26125
26126 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
26127
26128         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
26129
26130 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
26131
26132         * function.h (cleanup_label, frame_offset): Declare.
26133         (tail_recursion_label, tail_recursion_reentry): Likewise.
26134         (arg_pointer_save_area, rtl_expr_chain): Likewise.
26135         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
26136         (tail_recursion_label, tail_recursion_reentry): Likewise.
26137         (arg_pointer_save_area, rtl_expr_chain): Likewise.
26138
26139 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
26140
26141         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
26142         defined.
26143         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
26144         (MAX_OFILE_ALIGNMENT): Define.
26145
26146 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
26147
26148         * fixincl.c: Replace local include scheme with #includes of
26149         gansidecl.h and system.h.
26150         * procopen.c:  Likewise.
26151         * server.c:  Likewise.
26152
26153 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
26154
26155         * i386/t-dgux (EXTRA_PARTS): Add crti.o
26156         (crti.o): Add build rule and dependencies.
26157         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
26158
26159 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26160
26161         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
26162         (LIB_LINUX_SPEC): Likewise.
26163         (LIB_LINUX_SPEC): Add support for -pthread
26164         (CPP_OS_LINUX_SPEC): Likewise.
26165         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
26166         specified.
26167
26168 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
26169
26170         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
26171         conditional move.
26172         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
26173         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
26174         for IEEE math and CC_FCOMI.
26175         (put_jump_code): No IEEE if CC_FCOMI is set.
26176
26177 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
26178
26179         * fold-const.c (fold_truthop): Make the field reference unsigned
26180         when converting a single bit compare.
26181
26182 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26183
26184         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
26185
26186 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
26187
26188         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
26189         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
26190         version did.
26191
26192         * reload.c (push_reload): Do not call remove_address_replacements
26193         when presented with identical optional reloads.
26194
26195 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
26196
26197         * alpha.h (MASK_FIX, TARGET_FIX): New.
26198         (MASK_*): Reorganize constants.
26199         (CPP_AM_FIX_SPEC): New.
26200         (TARGET_SWITCHES): Add FIX.
26201         (EXTRA_SPECS): Likewise.
26202         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
26203         (SECONDARY_MEMORY_NEEDED): Likewise.
26204         (REGISTER_MOVE_COST): Likewise.
26205         * alpha.c (override_options): Add FIX support.  Always use
26206         ALPHA_TP_PROG for ev6.
26207         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
26208         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
26209         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
26210
26211 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
26212
26213         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
26214         something is a candidate for optimize_bit_field_compare.
26215
26216 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
26217
26218         * gcc.texi (Passes): Document branch-shortening.
26219         * invoke.texi (Debugging Options): Document the fact that `-dp'
26220         outputs length information for instructions.
26221
26222 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
26223
26224         * flow.c: Revert previous delta.
26225
26226 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
26227
26228         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
26229         FRAME_POINTER_REGNUM.
26230         (mark_set_1): Ditto.
26231         (mark_used_regs): Ditto.
26232
26233 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
26234
26235         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
26236         (GOT_PCREL): New macro.  Define to 1 if not already defined.
26237         * arm/elf.h (GOT_PCREL): Define to 0.
26238         * arm.c (arm_finalize_pic): Take into account the setting of
26239         GOT_PCREL.
26240
26241 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
26242
26243         * output.h (STRIP_NAME_ENCODING): Provide default definition.
26244         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
26245
26246         * flow.c (mark_set_1): Do not record BLKmode stores as dead
26247         store elimination candidates.
26248
26249 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26250
26251         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
26252         TARGET_GAS.
26253
26254 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
26255
26256         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
26257         Add use of x-aix41-gld.
26258
26259 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
26260
26261         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
26262         (ASM_OUTPUT_DESTRUCTOR): Define.
26263
26264 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
26265
26266         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
26267         last CODE_LABEL in a loop if we have previously passed a jump
26268         to the top of the loop.
26269
26270 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
26271
26272         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
26273         applying Philip's patch.
26274
26275 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
26276
26277         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
26278         are not VAR_DECLs.
26279
26280 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
26281
26282         * loop.c (strength_reduce): Grow reg_single_usage as needed.
26283
26284 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
26285
26286         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
26287         Also remove a useless comment.
26288
26289 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
26290
26291         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
26292
26293 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
26294
26295         * collect2.c (main): Only generate import or export file and add
26296         to link arguments if non-empty.  Use xmalloc not alloca.
26297         (write_{export,import}_file): Delete.
26298         (write_aix_file): New function.
26299         (locatelib): Use xmalloc not malloc.
26300         (GCC_OK_SYMBOL): Do not check type if aix64.
26301
26302 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
26303
26304         Based on patch by Scott Bambrough and Pat Beirne:
26305         * config/arm/arm.c (making_const_table): New variable.
26306         * config/arm/arm.h (making_const_table): Declare.
26307         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
26308         appropriate.
26309         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
26310         Keep track of when we are building the constant table.
26311
26312 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
26313
26314         * config/arm/arm.c (arm_override_options): Fix erroneous warning
26315         message.
26316
26317 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
26318
26319         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
26320         defined.
26321
26322 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
26323
26324         * tm.texi (FUNCTION_ARG): Correct description of a stack element
26325         in a PARALLEL.
26326
26327 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
26328
26329         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
26330
26331 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26332
26333         * rs6000.c (output_mi_thunk): Enable full support again.
26334
26335 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26336
26337         * sh.h (BRANCH_COST): Define.
26338
26339 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
26340
26341         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
26342
26343 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
26344
26345         * function.c (assign_stack_local): Align stack slot propertly.
26346         (assign_outer_stack_local): Likewise.
26347
26348 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
26349
26350         * expr.h (lang_expand_constant): Declare.
26351         * toplev.c (lang_expand_constant): Define it.
26352         * varasm.c (output_constant): Use it.
26353
26354 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26355
26356         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
26357         Change function definitions to K&R style.
26358
26359 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26360
26361         * fixinc/fixincl.c: We must not ignore SIGCLD now.
26362
26363 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
26364
26365         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
26366         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
26367         (several places): omit static initialization
26368         (process): use single fd, since only the read fd is used
26369         * fixinc/gnu-regex.c: define 'const' away, if not supported
26370         * fixinc/procopen.c(several places): omit static initialization
26371         * fixinc/server.c: define 'volitile' away, if not supported
26372
26373 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
26374
26375         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
26376         asm_fprintf and %L to generate the label name.
26377         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
26378         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
26379
26380 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
26381
26382         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
26383         insn for a conditional jump can not be found.
26384
26385 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
26386
26387         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
26388         on variables in specific sections other than .sbss and .sdata.
26389
26390 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
26391
26392         * stmt.c (expand_return): Call start_cleanup_deferral and
26393         end_cleanup_deferral around conditional code.
26394
26395 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26396
26397         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
26398         filename lists.  Utilizes new "krstr" AutoGen function.
26399         * fixinc/fixincl.x: Rebuilt.
26400
26401 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
26402
26403         * i386.c (output_float_compare): Avoid GNU-C extensions.
26404
26405 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
26406
26407         * version.c: Bump to distinguish mainline tree from the
26408         gcc-2.95 branch.
26409
26410 See ChangeLog.1 for earlier changes.